From ce904759ac9f5c68079718f4091c743763a2bb7b Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 6 Jan 2025 16:16:57 +0000 Subject: [PATCH] Regenerate client from commit 24e28b93 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 2 +- src/datadogV2/api/api_restriction_policies.rs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 75d016ce4..d1a9e70fc 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:31.749003", - "spec_repo_commit": "08abd462" + "regenerated": "2025-01-06 16:11:20.909418", + "spec_repo_commit": "24e28b93" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-03 18:07:31.763969", - "spec_repo_commit": "08abd462" + "regenerated": "2025-01-06 16:11:20.925710", + "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 5ffff4300..5b2f9cf59 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/src/datadogV2/api/api_restriction_policies.rs b/src/datadogV2/api/api_restriction_policies.rs index ae9243b7a..cb137c15e 100644 --- a/src/datadogV2/api/api_restriction_policies.rs +++ b/src/datadogV2/api/api_restriction_policies.rs @@ -15,12 +15,12 @@ use std::io::Write; #[derive(Clone, Default, Debug)] pub struct UpdateRestrictionPolicyOptionalParams { /// Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out. - pub allow_self_lockout: Option, + pub allow_self_lockout: Option, } impl UpdateRestrictionPolicyOptionalParams { /// Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out. - pub fn allow_self_lockout(mut self, value: String) -> Self { + pub fn allow_self_lockout(mut self, value: bool) -> Self { self.allow_self_lockout = Some(value); self }