generated/api/Models/RegionInfo.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>RegionInfo</summary> public partial class RegionInfo : Commvault.Powershell.Models.IRegionInfo, Commvault.Powershell.Models.IRegionInfoInternal { /// <summary>Backing field for <see cref="DisplayName" /> property.</summary> private string _displayName; /// <summary>Display Name of Region</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DisplayName { get => this._displayName; set => this._displayName = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Region Id</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Latitude" /> property.</summary> private string _latitude; /// <summary>Geolocation Latitude</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Latitude { get => this._latitude; set => this._latitude = value; } /// <summary>Backing field for <see cref="Longitude" /> property.</summary> private string _longitude; /// <summary>Geolocation Longitude</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Longitude { get => this._longitude; set => this._longitude = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Region Name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="RegionInfo" /> instance.</summary> public RegionInfo() { } } /// RegionInfo public partial interface IRegionInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Display Name of Region</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display Name of Region", SerializedName = @"displayName", PossibleTypes = new [] { typeof(string) })] string DisplayName { get; set; } /// <summary>Region Id</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Region Id", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Geolocation Latitude</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Geolocation Latitude", SerializedName = @"latitude", PossibleTypes = new [] { typeof(string) })] string Latitude { get; set; } /// <summary>Geolocation Longitude</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Geolocation Longitude", SerializedName = @"longitude", PossibleTypes = new [] { typeof(string) })] string Longitude { get; set; } /// <summary>Region Name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Region Name", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// RegionInfo internal partial interface IRegionInfoInternal { /// <summary>Display Name of Region</summary> string DisplayName { get; set; } /// <summary>Region Id</summary> long? Id { get; set; } /// <summary>Geolocation Latitude</summary> string Latitude { get; set; } /// <summary>Geolocation Longitude</summary> string Longitude { get; set; } /// <summary>Region Name</summary> string Name { get; set; } } } |