generated/api/Models/DeviceType.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>DeviceType</summary> public partial class DeviceType : Commvault.Powershell.Models.IDeviceType, Commvault.Powershell.Models.IDeviceTypeInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Device Type Id of the storage.</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>Device type of the storage.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="DeviceType" /> instance.</summary> public DeviceType() { } } /// DeviceType public partial interface IDeviceType : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Device Type Id of the storage.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Device Type Id of the storage.", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Device type of the storage.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Device type of the storage.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// DeviceType internal partial interface IDeviceTypeInternal { /// <summary>Device Type Id of the storage.</summary> long? Id { get; set; } /// <summary>Device type of the storage.</summary> string Name { get; set; } } } |