diff --git a/.apigentools-info b/.apigentools-info index be6198582db..d8c6a2d13a6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -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-06 16:11:22.457929", + "spec_repo_commit": "24e28b93" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-03 18:07:33.378581", - "spec_repo_commit": "08abd462" + "regenerated": "2025-01-06 16:11:22.556386", + "spec_repo_commit": "24e28b93" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5ffff4300a1..5b2f9cf5911 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -40992,7 +40992,7 @@ paths: name: allow_self_lockout required: false schema: - type: string + type: boolean requestBody: content: application/json: diff --git a/api/datadogV2/api_restriction_policies.go b/api/datadogV2/api_restriction_policies.go index 5ba97a16db8..b0590dae353 100644 --- a/api/datadogV2/api_restriction_policies.go +++ b/api/datadogV2/api_restriction_policies.go @@ -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. @@ -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 }