generated/api/Models/SamlspMetaData.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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;

    /// <summary>SAML service provider meta data</summary>
    public partial class SamlspMetaData :
        Commvault.Powershell.Models.ISamlspMetaData,
        Commvault.Powershell.Models.ISamlspMetaDataInternal
    {

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

        /// <summary>certificate alias name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string AliasName { get => this._aliasName; set => this._aliasName = value; }

        /// <summary>Backing field for <see cref="AutoGenerateSpMetaData" /> property.</summary>
        private bool _autoGenerateSpMetaData;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool AutoGenerateSpMetaData { get => this._autoGenerateSpMetaData; set => this._autoGenerateSpMetaData = value; }

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

        /// <summary>certificate alias name.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string CertificateData { get => this._certificateData; set => this._certificateData = value; }

        /// <summary>Backing field for <see cref="JksFileContents" /> property.</summary>
        private string[] _jksFileContents;

        /// <summary>jks file contents as byte array</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] JksFileContents { get => this._jksFileContents; set => this._jksFileContents = value; }

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

        /// <summary>key store password.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string JksPrivateKey { get => this._jksPrivateKey; set => this._jksPrivateKey = value; }

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

        /// <summary>jks contents key store password.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string KeyStorePassword { get => this._keyStorePassword; set => this._keyStorePassword = value; }

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

        /// <summary>certificate private key password</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string PrivateKeyPassword { get => this._privateKeyPassword; set => this._privateKeyPassword = value; }

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

        /// <summary>web console URL.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ServiceProviderEndpoint { get => this._serviceProviderEndpoint; set => this._serviceProviderEndpoint = value; }

        /// <summary>Backing field for <see cref="SpAliases" /> property.</summary>
        private string[] _spAliases;

        /// <summary>web console URL list.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] SpAliases { get => this._spAliases; set => this._spAliases = value; }

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

        }
    }
    /// SAML service provider meta data
    public partial interface ISamlspMetaData :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>certificate alias name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"certificate alias name",
        SerializedName = @"aliasName",
        PossibleTypes = new [] { typeof(string) })]
        string AliasName { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"autoGenerateSPMetaData",
        PossibleTypes = new [] { typeof(bool) })]
        bool AutoGenerateSpMetaData { get; set; }
        /// <summary>certificate alias name.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"certificate alias name.",
        SerializedName = @"certificateData",
        PossibleTypes = new [] { typeof(string) })]
        string CertificateData { get; set; }
        /// <summary>jks file contents as byte array</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"jks file contents as byte array",
        SerializedName = @"jksFileContents",
        PossibleTypes = new [] { typeof(string) })]
        string[] JksFileContents { get; set; }
        /// <summary>key store password.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"key store password.",
        SerializedName = @"JKSPrivateKey",
        PossibleTypes = new [] { typeof(string) })]
        string JksPrivateKey { get; set; }
        /// <summary>jks contents key store password.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"jks contents key store password.",
        SerializedName = @"keyStorePassword",
        PossibleTypes = new [] { typeof(string) })]
        string KeyStorePassword { get; set; }
        /// <summary>certificate private key password</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"certificate private key password",
        SerializedName = @"privateKeyPassword",
        PossibleTypes = new [] { typeof(string) })]
        string PrivateKeyPassword { get; set; }
        /// <summary>web console URL.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"web console URL.",
        SerializedName = @"serviceProviderEndpoint",
        PossibleTypes = new [] { typeof(string) })]
        string ServiceProviderEndpoint { get; set; }
        /// <summary>web console URL list.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"web console URL list.",
        SerializedName = @"spAliases",
        PossibleTypes = new [] { typeof(string) })]
        string[] SpAliases { get; set; }

    }
    /// SAML service provider meta data
    internal partial interface ISamlspMetaDataInternal

    {
        /// <summary>certificate alias name</summary>
        string AliasName { get; set; }

        bool AutoGenerateSpMetaData { get; set; }
        /// <summary>certificate alias name.</summary>
        string CertificateData { get; set; }
        /// <summary>jks file contents as byte array</summary>
        string[] JksFileContents { get; set; }
        /// <summary>key store password.</summary>
        string JksPrivateKey { get; set; }
        /// <summary>jks contents key store password.</summary>
        string KeyStorePassword { get; set; }
        /// <summary>certificate private key password</summary>
        string PrivateKeyPassword { get; set; }
        /// <summary>web console URL.</summary>
        string ServiceProviderEndpoint { get; set; }
        /// <summary>web console URL list.</summary>
        string[] SpAliases { get; set; }

    }
}