Skip to content

Commit b681819

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9db2f1c of spec repo
1 parent c3f6057 commit b681819

36 files changed

Lines changed: 129 additions & 49 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20436,6 +20436,7 @@ components:
2043620436
- times
2043720437
type: object
2043820438
CompletionCondition:
20439+
additionalProperties: false
2043920440
description: The definition of `CompletionCondition` object.
2044020441
properties:
2044120442
operand1:
@@ -20479,6 +20480,7 @@ components:
2047920480
- OPERATOR_IS_EMPTY
2048020481
- OPERATOR_IS_NOT_EMPTY
2048120482
CompletionGate:
20483+
additionalProperties: false
2048220484
description: Used to create conditions before running subsequent actions.
2048320485
properties:
2048420486
completionCondition:
@@ -35926,6 +35928,7 @@ components:
3592635928
type: integer
3592735929
type: object
3592835930
ErrorHandler:
35931+
additionalProperties: false
3592935932
description: Used to handle errors in an action.
3593035933
properties:
3593135934
fallbackStepName:
@@ -51711,6 +51714,7 @@ components:
5171151714
name:
5171251715
description: The `InputSchemaParameters` `name`.
5171351716
example: ""
51717+
minLength: 1
5171451718
type: string
5171551719
type:
5171651720
$ref: "#/components/schemas/InputSchemaParametersType"
@@ -78296,11 +78300,13 @@ components:
7829678300
properties:
7829778301
branchName:
7829878302
description: The `OutboundEdge` `branchName`.
78299-
example: ""
78303+
example: main
78304+
minLength: 1
7830078305
type: string
7830178306
nextStepName:
7830278307
description: The `OutboundEdge` `nextStepName`.
78303-
example: ""
78308+
example: Step2
78309+
minLength: 1
7830478310
type: string
7830578311
required:
7830678312
- nextStepName
@@ -79450,6 +79456,7 @@ components:
7945079456
name:
7945179457
description: The `Parameter` `name`.
7945279458
example: ""
79459+
minLength: 1
7945379460
type: string
7945479461
value:
7945579462
description: The `Parameter` `value`.
@@ -84683,6 +84690,7 @@ components:
8468384690
- attributes
8468484691
type: object
8468584692
ReadinessGate:
84693+
additionalProperties: false
8468684694
description: Used to merge multiple branches into a single branch.
8468784695
properties:
8468884696
thresholdType:
@@ -87164,6 +87172,7 @@ components:
8716487172
- data
8716587173
type: object
8716687174
RetryStrategy:
87175+
additionalProperties: false
8716787176
description: The definition of `RetryStrategy` object.
8716887177
properties:
8716987178
kind:
@@ -87172,6 +87181,7 @@ components:
8717287181
$ref: "#/components/schemas/RetryStrategyLinear"
8717387182
required:
8717487183
- kind
87184+
- linear
8717587185
type: object
8717687186
RetryStrategyKind:
8717787187
description: The definition of `RetryStrategyKind` object.
@@ -87182,17 +87192,21 @@ components:
8718287192
x-enum-varnames:
8718387193
- RETRY_STRATEGY_LINEAR
8718487194
RetryStrategyLinear:
87195+
additionalProperties: false
8718587196
description: The definition of `RetryStrategyLinear` object.
8718687197
properties:
8718787198
interval:
8718887199
description: The `RetryStrategyLinear` `interval`. The expected format is the number of seconds ending with an s. For example, 1 day is 86400s
8718987200
example: ""
87201+
pattern: ^[1-9][0-9]*s$
8719087202
type: string
8719187203
maxRetries:
8719287204
description: The `RetryStrategyLinear` `maxRetries`.
87193-
example: 0.0
87194-
format: double
87195-
type: number
87205+
example: 0
87206+
format: int32
87207+
maximum: 2147483647
87208+
minimum: 0
87209+
type: integer
8719687210
required:
8719787211
- interval
8719887212
- maxRetries
@@ -103899,7 +103913,7 @@ components:
103899103913
type: string
103900103914
type: object
103901103915
Spec:
103902-
description: The spec defines what the workflow does.
103916+
description: A complete Workflow Automation definition, including its triggers, steps, and connections.
103903103917
properties:
103904103918
annotations:
103905103919
description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!"
@@ -104017,11 +104031,12 @@ components:
104017104031
- type
104018104032
type: object
104019104033
StartStepNames:
104020-
description: "A list of steps that run first after a trigger fires."
104034+
description: "Names of existing workflow steps that run first after a trigger fires."
104021104035
example:
104022104036
- ""
104023104037
items:
104024104038
description: The `StartStepNames` `items`.
104039+
minLength: 1
104025104040
type: string
104026104041
type: array
104027104042
State:
@@ -105297,6 +105312,7 @@ components:
105297105312
actionId:
105298105313
description: The unique identifier of an action.
105299105314
example: ""
105315+
minLength: 1
105300105316
type: string
105301105317
completionGate:
105302105318
$ref: "#/components/schemas/CompletionGate"
@@ -105313,9 +105329,10 @@ components:
105313105329
name:
105314105330
description: Name of the step.
105315105331
example: ""
105332+
minLength: 1
105316105333
type: string
105317105334
outboundEdges:
105318-
description: A list of subsequent actions to run.
105335+
description: A list of subsequent actions to run. This list is empty for a terminal step.
105319105336
items:
105320105337
$ref: "#/components/schemas/OutboundEdge"
105321105338
type: array
@@ -105331,7 +105348,9 @@ components:
105331105348
- actionId
105332105349
type: object
105333105350
StepDisplay:
105334-
description: The definition of `StepDisplay` object.
105351+
description: |-
105352+
The position of a step on the workflow canvas. Omit `display` from every step to use
105353+
automatic layout, or provide it for every step to preserve a manual layout.
105335105354
properties:
105336105355
bounds:
105337105356
$ref: "#/components/schemas/StepDisplayBounds"
@@ -119084,7 +119103,7 @@ components:
119084119103
startStepNames:
119085119104
$ref: "#/components/schemas/StartStepNames"
119086119105
workflowTrigger:
119087-
description: "Trigger a workflow from the Datadog UI. Only required if no other trigger exists."
119106+
description: "Trigger a workflow from the Datadog UI. When present, this must be the workflow's only trigger."
119088119107
type: object
119089119108
required:
119090119109
- workflowTrigger

src/datadog_api_client/v2/model/api_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self_, api_trigger: APITrigger, start_step_names: Union[List[str],
3939
:param api_trigger: Trigger a workflow from an API request. The workflow must be published.
4040
:type api_trigger: APITrigger
4141
42-
:param start_step_names: A list of steps that run first after a trigger fires.
42+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
4343
:type start_step_names: [str], optional
4444
"""
4545
if start_step_names is not unset:

src/datadog_api_client/v2/model/app_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self_, app_trigger: dict, start_step_names: Union[List[str], UnsetT
3333
:param app_trigger: Trigger a workflow from an App.
3434
:type app_trigger: dict
3535
36-
:param start_step_names: A list of steps that run first after a trigger fires.
36+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
3737
:type start_step_names: [str], optional
3838
"""
3939
if start_step_names is not unset:

src/datadog_api_client/v2/model/case_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self_, case_trigger: CaseTrigger, start_step_names: Union[List[str]
3939
:param case_trigger: Trigger a workflow from a Case. For automatic triggering a handle must be configured and the workflow must be published.
4040
:type case_trigger: CaseTrigger
4141
42-
:param start_step_names: A list of steps that run first after a trigger fires.
42+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
4343
:type start_step_names: [str], optional
4444
"""
4545
if start_step_names is not unset:

src/datadog_api_client/v2/model/change_event_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self_, change_event_trigger: dict, start_step_names: Union[List[str
3333
:param change_event_trigger: Trigger a workflow from a Change Event.
3434
:type change_event_trigger: dict
3535
36-
:param start_step_names: A list of steps that run first after a trigger fires.
36+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
3737
:type start_step_names: [str], optional
3838
"""
3939
if start_step_names is not unset:

src/datadog_api_client/v2/model/completion_condition.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222

2323

2424
class CompletionCondition(ModelNormal):
25+
@cached_property
26+
def additional_properties_type(_):
27+
return None
28+
2529
@cached_property
2630
def openapi_types(_):
2731
from datadog_api_client.v2.model.completion_condition_operator import CompletionConditionOperator

src/datadog_api_client/v2/model/completion_gate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818

1919
class CompletionGate(ModelNormal):
20+
@cached_property
21+
def additional_properties_type(_):
22+
return None
23+
2024
@cached_property
2125
def openapi_types(_):
2226
from datadog_api_client.v2.model.completion_condition import CompletionCondition

src/datadog_api_client/v2/model/dashboard_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self_, dashboard_trigger: dict, start_step_names: Union[List[str],
3333
:param dashboard_trigger: Trigger a workflow from a Dashboard.
3434
:type dashboard_trigger: dict
3535
36-
:param start_step_names: A list of steps that run first after a trigger fires.
36+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
3737
:type start_step_names: [str], optional
3838
"""
3939
if start_step_names is not unset:

src/datadog_api_client/v2/model/database_monitoring_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
:param database_monitoring_trigger: Trigger a workflow from Database Monitoring.
3636
:type database_monitoring_trigger: dict
3737
38-
:param start_step_names: A list of steps that run first after a trigger fires.
38+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
3939
:type start_step_names: [str], optional
4040
"""
4141
if start_step_names is not unset:

src/datadog_api_client/v2/model/datastore_trigger_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
:param datastore_trigger: Trigger a workflow from a Datastore. For automatic triggering a handle must be configured and the workflow must be published.
4242
:type datastore_trigger: DatastoreTrigger
4343
44-
:param start_step_names: A list of steps that run first after a trigger fires.
44+
:param start_step_names: Names of existing workflow steps that run first after a trigger fires.
4545
:type start_step_names: [str], optional
4646
"""
4747
if start_step_names is not unset:

0 commit comments

Comments
 (0)