Skip to content

Commit 67dd270

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f433742 of spec repo
1 parent f996cc7 commit 67dd270

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38577,6 +38577,9 @@ components:
3857738577
SecurityMonitoringRuleConvertResponse:
3857838578
description: Result of the convert rule request containing Terraform content.
3857938579
properties:
38580+
ruleId:
38581+
description: the ID of the rule.
38582+
type: string
3858038583
terraformContent:
3858138584
description: Terraform string as a result of converting the rule from JSON.
3858238585
type: string

src/datadog_api_client/v2/model/security_monitoring_rule_convert_response.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,29 @@ class SecurityMonitoringRuleConvertResponse(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20+
"rule_id": (str,),
2021
"terraform_content": (str,),
2122
}
2223

2324
attribute_map = {
25+
"rule_id": "ruleId",
2426
"terraform_content": "terraformContent",
2527
}
2628

27-
def __init__(self_, terraform_content: Union[str, UnsetType] = unset, **kwargs):
29+
def __init__(
30+
self_, rule_id: Union[str, UnsetType] = unset, terraform_content: Union[str, UnsetType] = unset, **kwargs
31+
):
2832
"""
2933
Result of the convert rule request containing Terraform content.
3034
35+
:param rule_id: the ID of the rule.
36+
:type rule_id: str, optional
37+
3138
:param terraform_content: Terraform string as a result of converting the rule from JSON.
3239
:type terraform_content: str, optional
3340
"""
41+
if rule_id is not unset:
42+
kwargs["rule_id"] = rule_id
3443
if terraform_content is not unset:
3544
kwargs["terraform_content"] = terraform_content
3645
super().__init__(kwargs)

0 commit comments

Comments
 (0)