generated/api/Models/MediaTypeDetails.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 Media Type</summary> public partial class MediaTypeDetails : Commvault.Powershell.Models.IMediaTypeDetails, Commvault.Powershell.Models.IMediaTypeDetailsInternal { /// <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="SpareGroupTypeId" /> property.</summary> private long? _spareGroupTypeId; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? SpareGroupTypeId { get => this._spareGroupTypeId; set => this._spareGroupTypeId = value; } /// <summary>Creates an new <see cref="MediaTypeDetails" /> instance.</summary> public MediaTypeDetails() { } } /// Details of a particular Media Type public partial interface IMediaTypeDetails : 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 = @"spareGroupTypeId", PossibleTypes = new [] { typeof(long) })] long? SpareGroupTypeId { get; set; } } /// Details of a particular Media Type internal partial interface IMediaTypeDetailsInternal { long? Id { get; set; } string Name { get; set; } long? SpareGroupTypeId { get; set; } } } |