Skip to content

Commit

Permalink
Regenerate client from commit ed2af53b of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 3, 2025
1 parent be5b776 commit db77264
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-03 18:07:33.362845",
"spec_repo_commit": "08abd462"
"regenerated": "2025-01-03 21:59:58.016595",
"spec_repo_commit": "ed2af53b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-03 18:07:33.378581",
"spec_repo_commit": "08abd462"
"regenerated": "2025-01-03 21:59:58.031801",
"spec_repo_commit": "ed2af53b"
}
}
}
3 changes: 2 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40992,7 +40992,8 @@ paths:
name: allow_self_lockout
required: false
schema:
type: string
default: false
type: boolean
requestBody:
content:
application/json:
Expand Down
4 changes: 2 additions & 2 deletions api/datadogV2/api_restriction_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (a *RestrictionPoliciesApi) GetRestrictionPolicy(ctx _context.Context, reso

// UpdateRestrictionPolicyOptionalParameters holds optional parameters for UpdateRestrictionPolicy.
type UpdateRestrictionPolicyOptionalParameters struct {
AllowSelfLockout *string
AllowSelfLockout *bool
}

// NewUpdateRestrictionPolicyOptionalParameters creates an empty struct for parameters.
Expand All @@ -159,7 +159,7 @@ func NewUpdateRestrictionPolicyOptionalParameters() *UpdateRestrictionPolicyOpti
}

// WithAllowSelfLockout sets the corresponding parameter name and returns the struct.
func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSelfLockout string) *UpdateRestrictionPolicyOptionalParameters {
func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSelfLockout bool) *UpdateRestrictionPolicyOptionalParameters {
r.AllowSelfLockout = &allowSelfLockout
return r
}
Expand Down

0 comments on commit db77264

Please sign in to comment.