generated/api/Models/PlanNameAndId.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 PlanNameAndId : Commvault.Powershell.Models.IPlanNameAndId, Commvault.Powershell.Models.IPlanNameAndIdInternal { /// <summary>Backing field for <see cref="PlanId" /> property.</summary> private long? _planId; /// <summary>Plan ID</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? PlanId { get => this._planId; set => this._planId = value; } /// <summary>Backing field for <see cref="PlanName" /> property.</summary> private string _planName; /// <summary>Plan Name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string PlanName { get => this._planName; set => this._planName = value; } /// <summary>Creates an new <see cref="PlanNameAndId" /> instance.</summary> public PlanNameAndId() { } } public partial interface IPlanNameAndId : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Plan ID</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Plan ID", SerializedName = @"planId", PossibleTypes = new [] { typeof(long) })] long? PlanId { get; set; } /// <summary>Plan Name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Plan Name", SerializedName = @"planName", PossibleTypes = new [] { typeof(string) })] string PlanName { get; set; } } internal partial interface IPlanNameAndIdInternal { /// <summary>Plan ID</summary> long? PlanId { get; set; } /// <summary>Plan Name</summary> string PlanName { get; set; } } } |