generated/api/Models/IdNameType.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 IdNameType :
        Commvault.Powershell.Models.IIdNameType,
        Commvault.Powershell.Models.IIdNameTypeInternal
    {
 
        /// <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="Type" /> property.</summary>
        private string _type;
 
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Type { get => this._type; set => this._type = value; }
 
        /// <summary>Creates an new <see cref="IdNameType" /> instance.</summary>
        public IdNameType()
        {
 
        }
    }
    public partial interface IIdNameType :
        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 = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string Type { get; set; }
 
    }
    internal partial interface IIdNameTypeInternal
 
    {
        long? Id { get; set; }
 
        string Name { get; set; }
 
        string Type { get; set; }
 
    }
}