Skip to content
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
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121575,6 +121575,11 @@ components:
items:
$ref: "#/components/schemas/RoutingRuleAction"
type: array
id:
description: |-
Specifies the unique identifier of an existing routing rule to update.
If omitted, a new routing rule is created.
type: string
policy_id:
description: Identifies the policy to be applied when this routing rule matches.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def openapi_types(_):

return {
"actions": ([RoutingRuleAction],),
"id": (str,),
"policy_id": (str,),
"query": (str,),
"time_restriction": (TimeRestrictions,),
Expand All @@ -40,6 +41,7 @@ def openapi_types(_):

attribute_map = {
"actions": "actions",
"id": "id",
"policy_id": "policy_id",
"query": "query",
"time_restriction": "time_restriction",
Expand All @@ -60,6 +62,7 @@ def __init__(
],
UnsetType,
] = unset,
id: Union[str, UnsetType] = unset,
policy_id: Union[str, UnsetType] = unset,
query: Union[str, UnsetType] = unset,
time_restriction: Union[TimeRestrictions, UnsetType] = unset,
Expand All @@ -72,6 +75,10 @@ def __init__(
:param actions: Specifies the list of actions to perform when the routing rule is matched.
:type actions: [RoutingRuleAction], optional

:param id: Specifies the unique identifier of an existing routing rule to update.
If omitted, a new routing rule is created.
:type id: str, optional

:param policy_id: Identifies the policy to be applied when this routing rule matches.
:type policy_id: str, optional

Expand All @@ -86,6 +93,8 @@ def __init__(
"""
if actions is not unset:
kwargs["actions"] = actions
if id is not unset:
kwargs["id"] = id
if policy_id is not unset:
kwargs["policy_id"] = policy_id
if query is not unset:
Expand Down
Loading