@@ -99,7 +99,7 @@ type Organization struct {
99
99
SendPassingStatusesForUntriggeredSpeculativePlans bool `jsonapi:"attr,send-passing-statuses-for-untriggered-speculative-plans"`
100
100
RemainingTestableCount int `jsonapi:"attr,remaining-testable-count"`
101
101
// Optional: If enabled, SendPassingStatusesForUntriggeredSpeculativePlans needs to be false.
102
- AggregatedCommitStatusEnabled bool `jsonapi:"attr,aggregated-commit-status-enabled"`
102
+ AggregatedCommitStatusEnabled bool `jsonapi:"attr,aggregated-commit-status-enabled,omitempty "`
103
103
// Note: This will be false for TFE versions older than v202211, where the setting was introduced.
104
104
// On those TFE versions, safe delete does not exist, so ALL deletes will be force deletes.
105
105
AllowForceDeleteWorkspaces bool `jsonapi:"attr,allow-force-delete-workspaces"`
@@ -216,7 +216,7 @@ type OrganizationCreateOptions struct {
216
216
SendPassingStatusesForUntriggeredSpeculativePlans * bool `jsonapi:"attr,send-passing-statuses-for-untriggered-speculative-plans,omitempty"`
217
217
218
218
// Optional: If enabled, SendPassingStatusesForUntriggeredSpeculativePlans needs to be false.
219
- AggregatedCommitStatusEnabled * bool `jsonapi:"attr,aggregated-commit-status-enabled"`
219
+ AggregatedCommitStatusEnabled * bool `jsonapi:"attr,aggregated-commit-status-enabled,omitempty "`
220
220
221
221
// Optional: AllowForceDeleteWorkspaces toggles behavior of allowing workspace admins to delete workspaces with resources under management.
222
222
AllowForceDeleteWorkspaces * bool `jsonapi:"attr,allow-force-delete-workspaces,omitempty"`
@@ -261,7 +261,7 @@ type OrganizationUpdateOptions struct {
261
261
SendPassingStatusesForUntriggeredSpeculativePlans * bool `jsonapi:"attr,send-passing-statuses-for-untriggered-speculative-plans,omitempty"`
262
262
263
263
// Optional: If enabled, SendPassingStatusesForUntriggeredSpeculativePlans needs to be false.
264
- AggregatedCommitStatusEnabled * bool `jsonapi:"attr,aggregated-commit-status-enabled"`
264
+ AggregatedCommitStatusEnabled * bool `jsonapi:"attr,aggregated-commit-status-enabled,omitempty "`
265
265
266
266
// Optional: AllowForceDeleteWorkspaces toggles behavior of allowing workspace admins to delete workspaces with resources under management.
267
267
AllowForceDeleteWorkspaces * bool `jsonapi:"attr,allow-force-delete-workspaces,omitempty"`
0 commit comments