generated/api/Models/KeyManagementServer.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>KeyManagementServer</summary>
    public partial class KeyManagementServer :
        Commvault.Powershell.Models.IKeyManagementServer,
        Commvault.Powershell.Models.IKeyManagementServerInternal
    {

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

        /// <summary>Gives the key management server id</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>Gives the name of the key management server</summary>
        [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;

        /// <summary>Gives the key provider type for the key management server</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Type { get => this._type; set => this._type = value; }

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

        }
    }
    /// KeyManagementServer
    public partial interface IKeyManagementServer :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Gives the key management server id</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Gives the key management server id",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>Gives the name of the key management server</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Gives the name of the key management server",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Gives the key provider type for the key management server</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Gives the key provider type for the key management server",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string Type { get; set; }

    }
    /// KeyManagementServer
    internal partial interface IKeyManagementServerInternal

    {
        /// <summary>Gives the key management server id</summary>
        long? Id { get; set; }
        /// <summary>Gives the name of the key management server</summary>
        string Name { get; set; }
        /// <summary>Gives the key provider type for the key management server</summary>
        string Type { get; set; }

    }
}