generated/api/Models/VMKeyPairInfo.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>VM Key pair info</summary>
    public partial class VMKeyPairInfo :
        Commvault.Powershell.Models.IVMKeyPairInfo,
        Commvault.Powershell.Models.IVMKeyPairInfoInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string KeyId { get => this._keyId; set => this._keyId = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string KeyName { get => this._keyName; set => this._keyName = value; }

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

        }
    }
    /// VM Key pair info
    public partial interface IVMKeyPairInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"keyId",
        PossibleTypes = new [] { typeof(string) })]
        string KeyId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"keyName",
        PossibleTypes = new [] { typeof(string) })]
        string KeyName { get; set; }

    }
    /// VM Key pair info
    internal partial interface IVMKeyPairInfoInternal

    {
        string KeyId { get; set; }

        string KeyName { get; set; }

    }
}