generated/api/Models/SpareGroupDetails.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>Details of a particular Spare Group</summary> public partial class SpareGroupDetails : Commvault.Powershell.Models.ISpareGroupDetails, Commvault.Powershell.Models.ISpareGroupDetailsInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; [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; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="TypeId" /> property.</summary> private long? _typeId; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? TypeId { get => this._typeId; set => this._typeId = value; } /// <summary>Creates an new <see cref="SpareGroupDetails" /> instance.</summary> public SpareGroupDetails() { } } /// Details of a particular Spare Group public partial interface ISpareGroupDetails : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"typeId", PossibleTypes = new [] { typeof(long) })] long? TypeId { get; set; } } /// Details of a particular Spare Group internal partial interface ISpareGroupDetailsInternal { long? Id { get; set; } string Name { get; set; } long? TypeId { get; set; } } } |