generated/api/Models/SamlAssociations.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>SAMLAssociations</summary>
    public partial class SamlAssociations :
        Commvault.Powershell.Models.ISamlAssociations,
        Commvault.Powershell.Models.ISamlAssociationsInternal
    {

        /// <summary>Backing field for <see cref="Companies" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _companies;

        /// <summary>Companies associated with SAML</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] Companies { get => this._companies; set => this._companies = value; }

        /// <summary>Backing field for <see cref="Domains" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _domains;

        /// <summary>Domains associated with SAML</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] Domains { get => this._domains; set => this._domains = value; }

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

        /// <summary>Email suffixes associated with SAML</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] EmailSuffixes { get => this._emailSuffixes; set => this._emailSuffixes = value; }

        /// <summary>Backing field for <see cref="UserGroups" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _userGroups;

        /// <summary>user groups associated with SAML</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] UserGroups { get => this._userGroups; set => this._userGroups = value; }

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

        }
    }
    /// SAMLAssociations
    public partial interface ISamlAssociations :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Companies associated with SAML</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Companies associated with SAML",
        SerializedName = @"companies",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] Companies { get; set; }
        /// <summary>Domains associated with SAML</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Domains associated with SAML",
        SerializedName = @"domains",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] Domains { get; set; }
        /// <summary>Email suffixes associated with SAML</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Email suffixes associated with SAML",
        SerializedName = @"emailSuffixes",
        PossibleTypes = new [] { typeof(string) })]
        string[] EmailSuffixes { get; set; }
        /// <summary>user groups associated with SAML</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"user groups associated with SAML",
        SerializedName = @"userGroups",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] UserGroups { get; set; }

    }
    /// SAMLAssociations
    internal partial interface ISamlAssociationsInternal

    {
        /// <summary>Companies associated with SAML</summary>
        Commvault.Powershell.Models.IIdName[] Companies { get; set; }
        /// <summary>Domains associated with SAML</summary>
        Commvault.Powershell.Models.IIdName[] Domains { get; set; }
        /// <summary>Email suffixes associated with SAML</summary>
        string[] EmailSuffixes { get; set; }
        /// <summary>user groups associated with SAML</summary>
        Commvault.Powershell.Models.IIdName[] UserGroups { get; set; }

    }
}