Skip to content

Commit 03ba838

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Change allow_self_lockout from string to bool (#2640)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 02ee152 commit 03ba838

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-03 18:07:39.659122",
8-
"spec_repo_commit": "08abd462"
7+
"regenerated": "2025-01-06 16:11:23.078741",
8+
"spec_repo_commit": "24e28b93"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-03 18:07:39.674600",
13-
"spec_repo_commit": "08abd462"
12+
"regenerated": "2025-01-06 16:11:23.108532",
13+
"spec_repo_commit": "24e28b93"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40992,7 +40992,7 @@ paths:
4099240992
name: allow_self_lockout
4099340993
required: false
4099440994
schema:
40995-
type: string
40995+
type: boolean
4099640996
requestBody:
4099740997
content:
4099840998
application/json:

src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
338338

339339
/** Manage optional parameters to updateRestrictionPolicy. */
340340
public static class UpdateRestrictionPolicyOptionalParameters {
341-
private String allowSelfLockout;
341+
private Boolean allowSelfLockout;
342342

343343
/**
344344
* Set allowSelfLockout.
@@ -349,7 +349,7 @@ public static class UpdateRestrictionPolicyOptionalParameters {
349349
* out. (optional)
350350
* @return UpdateRestrictionPolicyOptionalParameters
351351
*/
352-
public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(String allowSelfLockout) {
352+
public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowSelfLockout) {
353353
this.allowSelfLockout = allowSelfLockout;
354354
return this;
355355
}
@@ -497,7 +497,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
497497
throw new ApiException(
498498
400, "Missing the required parameter 'body' when calling updateRestrictionPolicy");
499499
}
500-
String allowSelfLockout = parameters.allowSelfLockout;
500+
Boolean allowSelfLockout = parameters.allowSelfLockout;
501501
// create path and map variables
502502
String localVarPath =
503503
"/api/v2/restriction_policy/{resource_id}"
@@ -567,7 +567,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
567567
400, "Missing the required parameter 'body' when calling updateRestrictionPolicy"));
568568
return result;
569569
}
570-
String allowSelfLockout = parameters.allowSelfLockout;
570+
Boolean allowSelfLockout = parameters.allowSelfLockout;
571571
// create path and map variables
572572
String localVarPath =
573573
"/api/v2/restriction_policy/{resource_id}"

0 commit comments

Comments
 (0)