generated/api/Models/AgentDetails.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // 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 AgentDetails : Commvault.Powershell.Models.IAgentDetails, Commvault.Powershell.Models.IAgentDetailsInternal { /// <summary>Backing field for <see cref="AppTypeId" /> property.</summary> private long? _appTypeId; /// <summary>Id of the associated agent</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? AppTypeId { get => this._appTypeId; set => this._appTypeId = value; } /// <summary>Backing field for <see cref="AppTypeName" /> property.</summary> private string _appTypeName; /// <summary>Name of the associated agent</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string AppTypeName { get => this._appTypeName; set => this._appTypeName = value; } /// <summary>Creates an new <see cref="AgentDetails" /> instance.</summary> public AgentDetails() { } } public partial interface IAgentDetails : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Id of the associated agent</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of the associated agent", SerializedName = @"appTypeId", PossibleTypes = new [] { typeof(long) })] long? AppTypeId { get; set; } /// <summary>Name of the associated agent</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of the associated agent", SerializedName = @"appTypeName", PossibleTypes = new [] { typeof(string) })] string AppTypeName { get; set; } } internal partial interface IAgentDetailsInternal { /// <summary>Id of the associated agent</summary> long? AppTypeId { get; set; } /// <summary>Name of the associated agent</summary> string AppTypeName { get; set; } } } |