| 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']" |
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
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
func (o *EnterpriseConnectionDto) GetConnectionName() string
GetConnectionName returns the ConnectionName field if non-nil, zero value otherwise.
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.
func (o *EnterpriseConnectionDto) SetConnectionName(v string)
SetConnectionName sets ConnectionName field to given value.
func (o *EnterpriseConnectionDto) GetDefaultRole() string
GetDefaultRole returns the DefaultRole field if non-nil, zero value otherwise.
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.
func (o *EnterpriseConnectionDto) SetDefaultRole(v string)
SetDefaultRole sets DefaultRole field to given value.
func (o *EnterpriseConnectionDto) GetEnforceGroupSync() bool
GetEnforceGroupSync returns the EnforceGroupSync field if non-nil, zero value otherwise.
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.
func (o *EnterpriseConnectionDto) SetEnforceGroupSync(v bool)
SetEnforceGroupSync sets EnforceGroupSync field to given value.
func (o *EnterpriseConnectionDto) GetGroupMappings() map[string][]string
GetGroupMappings returns the GroupMappings field if non-nil, zero value otherwise.
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.
func (o *EnterpriseConnectionDto) SetGroupMappings(v map[string][]string)
SetGroupMappings sets GroupMappings field to given value.