From f5fd417891920f1576f1f43d0a7764ea57102a84 Mon Sep 17 00:00:00 2001 From: "A. Craig West" Date: Thu, 12 Sep 2024 17:42:54 -0400 Subject: [PATCH] Remove strategy_version from OIDC connection options --- management/connection.go | 2 -- management/management.gen.go | 8 -------- management/management.gen_test.go | 10 ---------- 3 files changed, 20 deletions(-) diff --git a/management/connection.go b/management/connection.go index 7dd0c13d..c014e665 100644 --- a/management/connection.go +++ b/management/connection.go @@ -1017,8 +1017,6 @@ type ConnectionOptionsOIDC struct { ClientID *string `json:"client_id,omitempty"` ClientSecret *string `json:"client_secret,omitempty"` - StrategyVersion *int `json:"strategy_version,omitempty"` - TenantDomain *string `json:"tenant_domain,omitempty"` DomainAliases *[]string `json:"domain_aliases,omitempty"` LogoURL *string `json:"icon_url,omitempty"` diff --git a/management/management.gen.go b/management/management.gen.go index a6398197..37a43c89 100644 --- a/management/management.gen.go +++ b/management/management.gen.go @@ -4679,14 +4679,6 @@ func (c *ConnectionOptionsOIDC) GetSetUserAttributes() string { return *c.SetUserAttributes } -// GetStrategyVersion returns the StrategyVersion field if it's non-nil, zero value otherwise. -func (c *ConnectionOptionsOIDC) GetStrategyVersion() int { - if c == nil || c.StrategyVersion == nil { - return 0 - } - return *c.StrategyVersion -} - // GetTenantDomain returns the TenantDomain field if it's non-nil, zero value otherwise. func (c *ConnectionOptionsOIDC) GetTenantDomain() string { if c == nil || c.TenantDomain == nil { diff --git a/management/management.gen_test.go b/management/management.gen_test.go index 1ec2eb34..c8fe6831 100644 --- a/management/management.gen_test.go +++ b/management/management.gen_test.go @@ -5776,16 +5776,6 @@ func TestConnectionOptionsOIDC_GetSetUserAttributes(tt *testing.T) { c.GetSetUserAttributes() } -func TestConnectionOptionsOIDC_GetStrategyVersion(tt *testing.T) { - var zeroValue int - c := &ConnectionOptionsOIDC{StrategyVersion: &zeroValue} - c.GetStrategyVersion() - c = &ConnectionOptionsOIDC{} - c.GetStrategyVersion() - c = nil - c.GetStrategyVersion() -} - func TestConnectionOptionsOIDC_GetTenantDomain(tt *testing.T) { var zeroValue string c := &ConnectionOptionsOIDC{TenantDomain: &zeroValue}