Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change allow_self_lockout from string to bool #2640

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:39.659122",
"spec_repo_commit": "08abd462"
"regenerated": "2025-01-06 16:11:23.078741",
"spec_repo_commit": "24e28b93"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-03 18:07:39.674600",
"spec_repo_commit": "08abd462"
"regenerated": "2025-01-06 16:11:23.108532",
"spec_repo_commit": "24e28b93"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40992,7 +40992,7 @@ paths:
name: allow_self_lockout
required: false
schema:
type: string
type: boolean
requestBody:
content:
application/json:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S

/** Manage optional parameters to updateRestrictionPolicy. */
public static class UpdateRestrictionPolicyOptionalParameters {
private String allowSelfLockout;
private Boolean allowSelfLockout;

/**
* Set allowSelfLockout.
Expand All @@ -349,7 +349,7 @@ public static class UpdateRestrictionPolicyOptionalParameters {
* out. (optional)
* @return UpdateRestrictionPolicyOptionalParameters
*/
public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(String allowSelfLockout) {
public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowSelfLockout) {
this.allowSelfLockout = allowSelfLockout;
return this;
}
Expand Down Expand Up @@ -497,7 +497,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
throw new ApiException(
400, "Missing the required parameter 'body' when calling updateRestrictionPolicy");
}
String allowSelfLockout = parameters.allowSelfLockout;
Boolean allowSelfLockout = parameters.allowSelfLockout;
// create path and map variables
String localVarPath =
"/api/v2/restriction_policy/{resource_id}"
Expand Down Expand Up @@ -567,7 +567,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
400, "Missing the required parameter 'body' when calling updateRestrictionPolicy"));
return result;
}
String allowSelfLockout = parameters.allowSelfLockout;
Boolean allowSelfLockout = parameters.allowSelfLockout;
// create path and map variables
String localVarPath =
"/api/v2/restriction_policy/{resource_id}"
Expand Down
Loading