generated/api/Models/SamlidpMetaDataReq.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;

    /// <summary>SAML IDP meta data request</summary>
    public partial class SamlidpMetaDataReq :
        Commvault.Powershell.Models.ISamlidpMetaDataReq,
        Commvault.Powershell.Models.ISamlidpMetaDataReqInternal
    {

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

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

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

        /// <summary>Identity provider entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string EntityId { get => this._entityId; set => this._entityId = value; }

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

        /// <summary>Identity Provider log-out URL</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string LogoutUrl { get => this._logoutUrl; set => this._logoutUrl = value; }

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

        /// <summary>Identity provider redirect URL</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string RedirectUrl { get => this._redirectUrl; set => this._redirectUrl = value; }

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

        /// <summary>SAML Protocol version</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SamlProtocolVersion { get => this._samlProtocolVersion; set => this._samlProtocolVersion = value; }

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

        /// <summary>IDP's secondary certificate</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SecondaryCertificateData { get => this._secondaryCertificateData; set => this._secondaryCertificateData = value; }

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

        }
    }
    /// SAML IDP meta data request
    public partial interface ISamlidpMetaDataReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>IDP certificate public key</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"IDP certificate public key",
        SerializedName = @"certificateData",
        PossibleTypes = new [] { typeof(string) })]
        string CertificateData { get; set; }
        /// <summary>Identity provider entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Identity provider entity",
        SerializedName = @"entityId",
        PossibleTypes = new [] { typeof(string) })]
        string EntityId { get; set; }
        /// <summary>Identity Provider log-out URL</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Identity Provider log-out URL",
        SerializedName = @"logoutUrl",
        PossibleTypes = new [] { typeof(string) })]
        string LogoutUrl { get; set; }
        /// <summary>Identity provider redirect URL</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Identity provider redirect URL",
        SerializedName = @"redirectUrl",
        PossibleTypes = new [] { typeof(string) })]
        string RedirectUrl { get; set; }
        /// <summary>SAML Protocol version</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"SAML Protocol version ",
        SerializedName = @"SAMLProtocolVersion",
        PossibleTypes = new [] { typeof(string) })]
        string SamlProtocolVersion { get; set; }
        /// <summary>IDP's secondary certificate</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"IDP's secondary certificate",
        SerializedName = @"secondaryCertificateData",
        PossibleTypes = new [] { typeof(string) })]
        string SecondaryCertificateData { get; set; }

    }
    /// SAML IDP meta data request
    internal partial interface ISamlidpMetaDataReqInternal

    {
        /// <summary>IDP certificate public key</summary>
        string CertificateData { get; set; }
        /// <summary>Identity provider entity</summary>
        string EntityId { get; set; }
        /// <summary>Identity Provider log-out URL</summary>
        string LogoutUrl { get; set; }
        /// <summary>Identity provider redirect URL</summary>
        string RedirectUrl { get; set; }
        /// <summary>SAML Protocol version</summary>
        string SamlProtocolVersion { get; set; }
        /// <summary>IDP's secondary certificate</summary>
        string SecondaryCertificateData { get; set; }

    }
}