Skip to content

Commit ed45967

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b038678 of spec repo
1 parent bd76ff3 commit ed45967

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
@@ -20419,6 +20419,7 @@ components:
2041920419
- times
2042020420
type: object
2042120421
CompletionCondition:
20422+
additionalProperties: false
2042220423
description: The definition of `CompletionCondition` object.
2042320424
properties:
2042420425
operand1:
@@ -20462,6 +20463,7 @@ components:
2046220463
- OPERATOR_IS_EMPTY
2046320464
- OPERATOR_IS_NOT_EMPTY
2046420465
CompletionGate:
20466+
additionalProperties: false
2046520467
description: Used to create conditions before running subsequent actions.
2046620468
properties:
2046720469
completionCondition:
@@ -36028,6 +36030,7 @@ components:
3602836030
type: integer
3602936031
type: object
3603036032
ErrorHandler:
36033+
additionalProperties: false
3603136034
description: Used to handle errors in an action.
3603236035
properties:
3603336036
fallbackStepName:
@@ -51951,6 +51954,7 @@ components:
5195151954
name:
5195251955
description: The `InputSchemaParameters` `name`.
5195351956
example: ""
51957+
minLength: 1
5195451958
type: string
5195551959
type:
5195651960
$ref: "#/components/schemas/InputSchemaParametersType"
@@ -78536,11 +78540,13 @@ components:
7853678540
properties:
7853778541
branchName:
7853878542
description: The `OutboundEdge` `branchName`.
78539-
example: ""
78543+
example: main
78544+
minLength: 1
7854078545
type: string
7854178546
nextStepName:
7854278547
description: The `OutboundEdge` `nextStepName`.
78543-
example: ""
78548+
example: Step2
78549+
minLength: 1
7854478550
type: string
7854578551
required:
7854678552
- nextStepName
@@ -79690,6 +79696,7 @@ components:
7969079696
name:
7969179697
description: The `Parameter` `name`.
7969279698
example: ""
79699+
minLength: 1
7969379700
type: string
7969479701
value:
7969579702
description: The `Parameter` `value`.
@@ -84923,6 +84930,7 @@ components:
8492384930
- attributes
8492484931
type: object
8492584932
ReadinessGate:
84933+
additionalProperties: false
8492684934
description: Used to merge multiple branches into a single branch.
8492784935
properties:
8492884936
thresholdType:
@@ -87404,6 +87412,7 @@ components:
8740487412
- data
8740587413
type: object
8740687414
RetryStrategy:
87415+
additionalProperties: false
8740787416
description: The definition of `RetryStrategy` object.
8740887417
properties:
8740987418
kind:
@@ -87412,6 +87421,7 @@ components:
8741287421
$ref: "#/components/schemas/RetryStrategyLinear"
8741387422
required:
8741487423
- kind
87424+
- linear
8741587425
type: object
8741687426
RetryStrategyKind:
8741787427
description: The definition of `RetryStrategyKind` object.
@@ -87422,17 +87432,21 @@ components:
8742287432
x-enum-varnames:
8742387433
- RETRY_STRATEGY_LINEAR
8742487434
RetryStrategyLinear:
87435+
additionalProperties: false
8742587436
description: The definition of `RetryStrategyLinear` object.
8742687437
properties:
8742787438
interval:
8742887439
description: The `RetryStrategyLinear` `interval`. The expected format is the number of seconds ending with an s. For example, 1 day is 86400s
8742987440
example: ""
87441+
pattern: ^[1-9][0-9]*s$
8743087442
type: string
8743187443
maxRetries:
8743287444
description: The `RetryStrategyLinear` `maxRetries`.
87433-
example: 0.0
87434-
format: double
87435-
type: number
87445+
example: 0
87446+
format: int32
87447+
maximum: 2147483647
87448+
minimum: 0
87449+
type: integer
8743687450
required:
8743787451
- interval
8743887452
- maxRetries
@@ -103966,7 +103980,7 @@ components:
103966103980
type: string
103967103981
type: object
103968103982
Spec:
103969-
description: The spec defines what the workflow does.
103983+
description: A complete Workflow Automation definition, including its triggers, steps, and connections.
103970103984
properties:
103971103985
annotations:
103972103986
description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!"
@@ -104084,11 +104098,12 @@ components:
104084104098
- type
104085104099
type: object
104086104100
StartStepNames:
104087-
description: "A list of steps that run first after a trigger fires."
104101+
description: "Names of existing workflow steps that run first after a trigger fires."
104088104102
example:
104089104103
- ""
104090104104
items:
104091104105
description: The `StartStepNames` `items`.
104106+
minLength: 1
104092104107
type: string
104093104108
type: array
104094104109
State:
@@ -105364,6 +105379,7 @@ components:
105364105379
actionId:
105365105380
description: The unique identifier of an action.
105366105381
example: ""
105382+
minLength: 1
105367105383
type: string
105368105384
completionGate:
105369105385
$ref: "#/components/schemas/CompletionGate"
@@ -105380,9 +105396,10 @@ components:
105380105396
name:
105381105397
description: Name of the step.
105382105398
example: ""
105399+
minLength: 1
105383105400
type: string
105384105401
outboundEdges:
105385-
description: A list of subsequent actions to run.
105402+
description: A list of subsequent actions to run. This list is empty for a terminal step.
105386105403
items:
105387105404
$ref: "#/components/schemas/OutboundEdge"
105388105405
type: array
@@ -105398,7 +105415,9 @@ components:
105398105415
- actionId
105399105416
type: object
105400105417
StepDisplay:
105401-
description: The definition of `StepDisplay` object.
105418+
description: |-
105419+
The position of a step on the workflow canvas. Omit `display` from every step to use
105420+
automatic layout, or provide it for every step to preserve a manual layout.
105402105421
properties:
105403105422
bounds:
105404105423
$ref: "#/components/schemas/StepDisplayBounds"
@@ -119151,7 +119170,7 @@ components:
119151119170
startStepNames:
119152119171
$ref: "#/components/schemas/StartStepNames"
119153119172
workflowTrigger:
119154-
description: "Trigger a workflow from the Datadog UI. Only required if no other trigger exists."
119173+
description: "Trigger a workflow from the Datadog UI. When present, this must be the workflow's only trigger."
119155119174
type: object
119156119175
required:
119157119176
- 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)