generated/api/Models/MediaAgentGeneralSummary.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; public partial class MediaAgentGeneralSummary : Commvault.Powershell.Models.IMediaAgentGeneralSummary, Commvault.Powershell.Models.IMediaAgentGeneralSummaryInternal { /// <summary>Backing field for <see cref="Description" /> property.</summary> private string _description; /// <summary>Description of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Description { get => this._description; set => this._description = value; } /// <summary>Backing field for <see cref="DisplayName" /> property.</summary> private string _displayName; /// <summary>Display name of the media agent.</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>Id of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="OfflineReason" /> property.</summary> private string _offlineReason; /// <summary> /// Provides a reason for the media agent being offline. Only given when the media agent is offline. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OfflineReason { get => this._offlineReason; set => this._offlineReason = value; } /// <summary>Backing field for <see cref="OperatingSystem" /> property.</summary> private string _operatingSystem; /// <summary>Name of the operating system of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OperatingSystem { get => this._operatingSystem; set => this._operatingSystem = value; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; /// <summary>Current status of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Backing field for <see cref="Version" /> property.</summary> private string _version; /// <summary>The service pack of the media agent.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Version { get => this._version; set => this._version = value; } /// <summary>Creates an new <see cref="MediaAgentGeneralSummary" /> instance.</summary> public MediaAgentGeneralSummary() { } } public partial interface IMediaAgentGeneralSummary : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Description of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Description of the media agent.", SerializedName = @"description", PossibleTypes = new [] { typeof(string) })] string Description { get; set; } /// <summary>Display name of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display name of the media agent.", SerializedName = @"displayName", PossibleTypes = new [] { typeof(string) })] string DisplayName { get; set; } /// <summary>Id of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of the media agent.", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Name of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the media agent.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary> /// Provides a reason for the media agent being offline. Only given when the media agent is offline. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Provides a reason for the media agent being offline. Only given when the media agent is offline.", SerializedName = @"offlineReason", PossibleTypes = new [] { typeof(string) })] string OfflineReason { get; set; } /// <summary>Name of the operating system of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the operating system of the media agent.", SerializedName = @"operatingSystem", PossibleTypes = new [] { typeof(string) })] string OperatingSystem { get; set; } /// <summary>Current status of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Current status of the media agent.", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } /// <summary>The service pack of the media agent.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The service pack of the media agent.", SerializedName = @"version", PossibleTypes = new [] { typeof(string) })] string Version { get; set; } } internal partial interface IMediaAgentGeneralSummaryInternal { /// <summary>Description of the media agent.</summary> string Description { get; set; } /// <summary>Display name of the media agent.</summary> string DisplayName { get; set; } /// <summary>Id of the media agent.</summary> long? Id { get; set; } /// <summary>Name of the media agent.</summary> string Name { get; set; } /// <summary> /// Provides a reason for the media agent being offline. Only given when the media agent is offline. /// </summary> string OfflineReason { get; set; } /// <summary>Name of the operating system of the media agent.</summary> string OperatingSystem { get; set; } /// <summary>Current status of the media agent.</summary> string Status { get; set; } /// <summary>The service pack of the media agent.</summary> string Version { get; set; } } } |