generated/api/Models/FileServerAsset.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>FileServerAsset</summary> public partial class FileServerAsset : Commvault.Powershell.Models.IFileServerAsset, Commvault.Powershell.Models.IFileServerAssetInternal { /// <summary>Backing field for <see cref="CountryCode" /> property.</summary> private string _countryCode; /// <summary>Country code to which the server belongs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string CountryCode { get => this._countryCode; set => this._countryCode = value; } /// <summary>Backing field for <see cref="HostName" /> property.</summary> private string _hostName; /// <summary>Fully qualified domain name of the server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string HostName { get => this._hostName; set => this._hostName = value; } /// <summary>Backing field for <see cref="IPAddress" /> property.</summary> private string _iPAddress; /// <summary>Ip Address of the server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string IPAddress { get => this._iPAddress; set => this._iPAddress = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Display name of the file server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="OperatingSystem" /> property.</summary> private string _operatingSystem; /// <summary>Operating system of the server</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OperatingSystem { get => this._operatingSystem; set => this._operatingSystem = value; } /// <summary>Creates an new <see cref="FileServerAsset" /> instance.</summary> public FileServerAsset() { } } /// FileServerAsset public partial interface IFileServerAsset : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Country code to which the server belongs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Country code to which the server belongs", SerializedName = @"countryCode", PossibleTypes = new [] { typeof(string) })] string CountryCode { get; set; } /// <summary>Fully qualified domain name of the server</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Fully qualified domain name of the server", SerializedName = @"hostName", PossibleTypes = new [] { typeof(string) })] string HostName { get; set; } /// <summary>Ip Address of the server</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Ip Address of the server", SerializedName = @"ipAddress", PossibleTypes = new [] { typeof(string) })] string IPAddress { get; set; } /// <summary>Display name of the file server</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display name of the file server", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>Operating system of the server</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Operating system of the server", SerializedName = @"operatingSystem", PossibleTypes = new [] { typeof(string) })] string OperatingSystem { get; set; } } /// FileServerAsset internal partial interface IFileServerAssetInternal { /// <summary>Country code to which the server belongs</summary> string CountryCode { get; set; } /// <summary>Fully qualified domain name of the server</summary> string HostName { get; set; } /// <summary>Ip Address of the server</summary> string IPAddress { get; set; } /// <summary>Display name of the file server</summary> string Name { get; set; } /// <summary>Operating system of the server</summary> string OperatingSystem { get; set; } } } |