diff --git a/management/client.go b/management/client.go index 5e1753c8..142d6c8d 100644 --- a/management/client.go +++ b/management/client.go @@ -520,8 +520,9 @@ type SalesforceSandboxAPIClientAddon struct { type SAML2ClientAddon struct { // The mappings between the Auth0 user profile and the output attributes on the SAML Assertion. // Each "name" represents the property name on the Auth0 user profile. + // Each "value" can be a string or an array of strings if multiple values are expected. // Each "value" is the name (including namespace) for the resulting SAML attribute in the assertion. - Mappings *map[string]string `json:"mappings,omitempty"` + Mappings *map[string]interface{} `json:"mappings,omitempty"` // The audience of the SAML Assertion. Audience *string `json:"audience,omitempty"` // The recipient of the SAML Assertion. diff --git a/management/management.gen.go b/management/management.gen.go index e4907acb..7205ba38 100644 --- a/management/management.gen.go +++ b/management/management.gen.go @@ -10558,9 +10558,9 @@ func (s *SAML2ClientAddon) GetMapIdentities() bool { } // GetMappings returns the Mappings field if it's non-nil, zero value otherwise. -func (s *SAML2ClientAddon) GetMappings() map[string]string { +func (s *SAML2ClientAddon) GetMappings() map[string]interface{} { if s == nil || s.Mappings == nil { - return map[string]string{} + return map[string]interface{}{} } return *s.Mappings } diff --git a/management/management.gen_test.go b/management/management.gen_test.go index 33070f0d..fa22e3b5 100644 --- a/management/management.gen_test.go +++ b/management/management.gen_test.go @@ -13254,7 +13254,7 @@ func TestSAML2ClientAddon_GetMapIdentities(tt *testing.T) { } func TestSAML2ClientAddon_GetMappings(tt *testing.T) { - var zeroValue map[string]string + var zeroValue map[string]interface{} s := &SAML2ClientAddon{Mappings: &zeroValue} s.GetMappings() s = &SAML2ClientAddon{}