Skip to content

Commit

Permalink
omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
rexredinger committed Sep 14, 2022
1 parent 295d05a commit 0c6a997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions organization.go
Expand Up @@ -144,7 +144,7 @@ type OrganizationCreateOptions struct {
Name *string `jsonapi:"attr,name"`

// Optional: AssessmentsEnforced toggles whether health assessment enablement is enforced across all assessable workspaces (those with a minimum terraform versio of 0.15.4 and not running in local execution mode) or if the decision to enabled health assessments is delegated to the workspace setting AssessmentsEnabled.
AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced"`
AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced,omitempty"`

// Required: Admin email address.
Email *string `jsonapi:"attr,email"`
Expand Down Expand Up @@ -180,7 +180,7 @@ type OrganizationUpdateOptions struct {
Name *string `jsonapi:"attr,name,omitempty"`

// Optional: AssessmentsEnforced toggles whether health assessment enablement is enforced across all assessable workspaces (those with a minimum terraform versio of 0.15.4 and not running in local execution mode) or if the decision to enabled health assessments is delegated to the workspace setting AssessmentsEnabled.
AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced"`
AssessmentsEnforced *bool `jsonapi:"attr,assessments-enforced,omitempty"`

// New admin email address.
Email *string `jsonapi:"attr,email,omitempty"`
Expand Down

0 comments on commit 0c6a997

Please sign in to comment.