generated/api/Models/HypervisorCustomAttribute.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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 HypervisorCustomAttribute :
        Commvault.Powershell.Models.IHypervisorCustomAttribute,
        Commvault.Powershell.Models.IHypervisorCustomAttributeInternal
    {

        /// <summary>Backing field for <see cref="Type" /> property.</summary>
        private long? _type;

        /// <summary>client custom attribute type . Ex- 3 - For client 8- For clientGroup</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Type { get => this._type; set => this._type = value; }

        /// <summary>Backing field for <see cref="Value" /> property.</summary>
        private string _value;

        /// <summary>client/Client Group custom attribute value</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }

        /// <summary>Creates an new <see cref="HypervisorCustomAttribute" /> instance.</summary>
        public HypervisorCustomAttribute()
        {

        }
    }
    public partial interface IHypervisorCustomAttribute :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>client custom attribute type . Ex- 3 - For client 8- For clientGroup</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"client custom attribute type . Ex- 3 - For client 8- For clientGroup",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(long) })]
        long? Type { get; set; }
        /// <summary>client/Client Group custom attribute value</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"client/Client Group custom attribute value",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }

    }
    internal partial interface IHypervisorCustomAttributeInternal

    {
        /// <summary>client custom attribute type . Ex- 3 - For client 8- For clientGroup</summary>
        long? Type { get; set; }
        /// <summary>client/Client Group custom attribute value</summary>
        string Value { get; set; }

    }
}