Skip to content

Commit 1c632c3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ed2af53b of spec repo
1 parent d0fd161 commit 1c632c3

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
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:37.914799",
8-
"spec_repo_commit": "08abd462"
7+
"regenerated": "2025-01-03 22:00:00.985671",
8+
"spec_repo_commit": "ed2af53b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-03 18:07:37.929790",
13-
"spec_repo_commit": "08abd462"
12+
"regenerated": "2025-01-03 22:00:01.000721",
13+
"spec_repo_commit": "ed2af53b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40992,7 +40992,8 @@ paths:
4099240992
name: allow_self_lockout
4099340993
required: false
4099440994
schema:
40995-
type: string
40995+
default: false
40996+
type: boolean
4099640997
requestBody:
4099740998
content:
4099840999
application/json:

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@
20212021
},
20222022
"v2.UpdateRestrictionPolicy" => {
20232023
"resource_id" => "String",
2024-
"allow_self_lockout" => "String",
2024+
"allow_self_lockout" => "Boolean",
20252025
"body" => "RestrictionPolicyUpdateRequest",
20262026
},
20272027
"v2.AggregateRUMEvents" => {

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def update_restriction_policy(resource_id, body, opts = {})
195195
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
196196
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
197197
# @param opts [Hash] the optional parameters
198-
# @option opts [String] :allow_self_lockout 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.
198+
# @option opts [Boolean] :allow_self_lockout 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.
199199
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
200200
def update_restriction_policy_with_http_info(resource_id, body, opts = {})
201201

0 commit comments

Comments
 (0)