Skip to content

Commit 7cdbafd

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3f56910 of spec repo
1 parent 9c839ac commit 7cdbafd

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120789,6 +120789,9 @@ components:
120789120789
items:
120790120790
$ref: "#/components/schemas/RoutingRuleAction"
120791120791
type: array
120792+
id:
120793+
description: Specifies the unique identifier of an existing routing rule to update. If omitted, a new routing rule is created.
120794+
type: string
120792120795
policy_id:
120793120796
description: Identifies the policy to be applied when this routing rule matches.
120794120797
type: string

‎src/datadog_api_client/v2/model/team_routing_rules_request_rule.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def openapi_types(_):
3232

3333
return {
3434
"actions": ([RoutingRuleAction],),
35+
"id": (str,),
3536
"policy_id": (str,),
3637
"query": (str,),
3738
"time_restriction": (TimeRestrictions,),
@@ -40,6 +41,7 @@ def openapi_types(_):
4041

4142
attribute_map = {
4243
"actions": "actions",
44+
"id": "id",
4345
"policy_id": "policy_id",
4446
"query": "query",
4547
"time_restriction": "time_restriction",
@@ -60,6 +62,7 @@ def __init__(
6062
],
6163
UnsetType,
6264
] = unset,
65+
id: Union[str, UnsetType] = unset,
6366
policy_id: Union[str, UnsetType] = unset,
6467
query: Union[str, UnsetType] = unset,
6568
time_restriction: Union[TimeRestrictions, UnsetType] = unset,
@@ -72,6 +75,9 @@ def __init__(
7275
:param actions: Specifies the list of actions to perform when the routing rule is matched.
7376
:type actions: [RoutingRuleAction], optional
7477
78+
:param id: Specifies the unique identifier of an existing routing rule to update. If omitted, a new routing rule is created.
79+
:type id: str, optional
80+
7581
:param policy_id: Identifies the policy to be applied when this routing rule matches.
7682
:type policy_id: str, optional
7783
@@ -86,6 +92,8 @@ def __init__(
8692
"""
8793
if actions is not unset:
8894
kwargs["actions"] = actions
95+
if id is not unset:
96+
kwargs["id"] = id
8997
if policy_id is not unset:
9098
kwargs["policy_id"] = policy_id
9199
if query is not unset:

0 commit comments

Comments
 (0)