Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 4.55 KB

File metadata and controls

114 lines (61 loc) · 4.55 KB

EnterpriseConnectionDto

Properties

Name Type Description Notes
ConnectionName string The connection name
DefaultRole string The purpose of this default role is to be associated to your users if: - you choose to not expose your IDPs groups to the SAML / OIDC connection - no associated group is found in your `group_mappings` defined You can define either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid.
EnforceGroupSync bool * if `true`, roles will be synchronized at each user login according to your `group_mappings` configuration based on your IDP groups * if `false`, no synchronization is done for your users and `group_mappings` configuration will be ignored
GroupMappings map[string][]string This will allow to create mapping rules based on your IDP group names. It's a dictionnary having: - key: either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid - value: an array of your IDP group names Example: "I want to associate the Qovery role `devops` to my IDP groups ['Administrators', 'DevSecOps']"

Methods

NewEnterpriseConnectionDto

func NewEnterpriseConnectionDto(connectionName string, defaultRole string, enforceGroupSync bool, groupMappings map[string][]string, ) *EnterpriseConnectionDto

NewEnterpriseConnectionDto instantiates a new EnterpriseConnectionDto object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewEnterpriseConnectionDtoWithDefaults

func NewEnterpriseConnectionDtoWithDefaults() *EnterpriseConnectionDto

NewEnterpriseConnectionDtoWithDefaults instantiates a new EnterpriseConnectionDto object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetConnectionName

func (o *EnterpriseConnectionDto) GetConnectionName() string

GetConnectionName returns the ConnectionName field if non-nil, zero value otherwise.

GetConnectionNameOk

func (o *EnterpriseConnectionDto) GetConnectionNameOk() (*string, bool)

GetConnectionNameOk returns a tuple with the ConnectionName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetConnectionName

func (o *EnterpriseConnectionDto) SetConnectionName(v string)

SetConnectionName sets ConnectionName field to given value.

GetDefaultRole

func (o *EnterpriseConnectionDto) GetDefaultRole() string

GetDefaultRole returns the DefaultRole field if non-nil, zero value otherwise.

GetDefaultRoleOk

func (o *EnterpriseConnectionDto) GetDefaultRoleOk() (*string, bool)

GetDefaultRoleOk returns a tuple with the DefaultRole field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDefaultRole

func (o *EnterpriseConnectionDto) SetDefaultRole(v string)

SetDefaultRole sets DefaultRole field to given value.

GetEnforceGroupSync

func (o *EnterpriseConnectionDto) GetEnforceGroupSync() bool

GetEnforceGroupSync returns the EnforceGroupSync field if non-nil, zero value otherwise.

GetEnforceGroupSyncOk

func (o *EnterpriseConnectionDto) GetEnforceGroupSyncOk() (*bool, bool)

GetEnforceGroupSyncOk returns a tuple with the EnforceGroupSync field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnforceGroupSync

func (o *EnterpriseConnectionDto) SetEnforceGroupSync(v bool)

SetEnforceGroupSync sets EnforceGroupSync field to given value.

GetGroupMappings

func (o *EnterpriseConnectionDto) GetGroupMappings() map[string][]string

GetGroupMappings returns the GroupMappings field if non-nil, zero value otherwise.

GetGroupMappingsOk

func (o *EnterpriseConnectionDto) GetGroupMappingsOk() (*map[string][]string, bool)

GetGroupMappingsOk returns a tuple with the GroupMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroupMappings

func (o *EnterpriseConnectionDto) SetGroupMappings(v map[string][]string)

SetGroupMappings sets GroupMappings field to given value.

[Back to Model list] [Back to API list] [Back to README]