Skip to content

Commit

Permalink
fix initialisms
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed May 6, 2024
1 parent f5ddd13 commit 7258d78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions access_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type AccessApplication struct {
OptionsPreflightBypass *bool `json:"options_preflight_bypass,omitempty"`
CustomPages []string `json:"custom_pages,omitempty"`
Tags []string `json:"tags,omitempty"`
SCIMConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"`
SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"`
AccessAppLauncherCustomization
}

Expand All @@ -78,8 +78,8 @@ type AccessApplicationCorsHeaders struct {
MaxAge int `json:"max_age,omitempty"`
}

// AccessApplicationScimConfig represents the configuration for provisioning to an Access Application via SCIM.
type AccessApplicationScimConfig struct {
// AccessApplicationSCIMConfig represents the configuration for provisioning to an Access Application via SCIM.
type AccessApplicationSCIMConfig struct {
Enabled *bool `json:"enabled,omitempty"`
RemoteURI string `json:"remote_uri,omitempty"`
Authentication *AccessApplicationScimAuthenticationJson `json:"authentication,omitempty"`
Expand Down Expand Up @@ -276,7 +276,7 @@ type CreateAccessApplicationParams struct {
AllowAuthenticateViaWarp *bool `json:"allow_authenticate_via_warp,omitempty"`
CustomPages []string `json:"custom_pages,omitempty"`
Tags []string `json:"tags,omitempty"`
ScimConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"`
SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"`
AccessAppLauncherCustomization
}

Expand Down Expand Up @@ -309,7 +309,7 @@ type UpdateAccessApplicationParams struct {
OptionsPreflightBypass *bool `json:"options_preflight_bypass,omitempty"`
CustomPages []string `json:"custom_pages,omitempty"`
Tags []string `json:"tags,omitempty"`
ScimConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"`
SCIMConfig *AccessApplicationSCIMConfig `json:"scim_config,omitempty"`
AccessAppLauncherCustomization
}

Expand Down
6 changes: 3 additions & 3 deletions access_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {
UpdatedAt: &updatedAt,
CustomNonIdentityDenyURL: "https://blocked.com",
Tags: []string{"engineers"},
SCIMConfig: &AccessApplicationScimConfig{
SCIMConfig: &AccessApplicationSCIMConfig{
Enabled: BoolPtr(true),
RemoteURI: "https://scim.com",
Authentication: &AccessApplicationScimAuthenticationJson{
Expand Down Expand Up @@ -1126,7 +1126,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {

actual, err := client.CreateAccessApplication(context.Background(), AccountIdentifier(testAccountID), CreateAccessApplicationParams{
Name: "Admin Saas Site",
ScimConfig: &AccessApplicationScimConfig{
SCIMConfig: &AccessApplicationSCIMConfig{
Enabled: BoolPtr(true),
RemoteURI: "https://scim.com",
Authentication: &AccessApplicationScimAuthenticationJson{
Expand Down Expand Up @@ -1161,7 +1161,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) {

actual, err = client.CreateAccessApplication(context.Background(), ZoneIdentifier(testZoneID), CreateAccessApplicationParams{
Name: "Admin SCIM Site",
ScimConfig: &AccessApplicationScimConfig{
SCIMConfig: &AccessApplicationSCIMConfig{
Enabled: BoolPtr(true),
RemoteURI: "https://scim.com",
Authentication: &AccessApplicationScimAuthenticationJson{
Expand Down

0 comments on commit 7258d78

Please sign in to comment.