Skip to content

Commit 8839f96

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit eb7a14f of spec repo
1 parent 19aa51d commit 8839f96

File tree

39 files changed

+1503
-227
lines changed

39 files changed

+1503
-227
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 137 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11248,6 +11248,76 @@ components:
1124811248
required:
1124911249
- type
1125011250
type: object
11251+
ConfiguredSchedule:
11252+
description: Full resource representation of a configured schedule target with
11253+
position (previous, current, or next).
11254+
properties:
11255+
attributes:
11256+
$ref: '#/components/schemas/ConfiguredScheduleTargetAttributes'
11257+
id:
11258+
description: Specifies the unique identifier of the configured schedule
11259+
target.
11260+
example: 00000000-aba1-0000-0000-000000000000_previous
11261+
type: string
11262+
relationships:
11263+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationships'
11264+
type:
11265+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11266+
required:
11267+
- type
11268+
- id
11269+
- attributes
11270+
- relationships
11271+
type: object
11272+
ConfiguredScheduleTarget:
11273+
description: Relationship reference to a configured schedule target.
11274+
properties:
11275+
id:
11276+
description: Specifies the unique identifier of the configured schedule
11277+
target.
11278+
example: 00000000-aba1-0000-0000-000000000000_previous
11279+
type: string
11280+
type:
11281+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11282+
required:
11283+
- type
11284+
- id
11285+
type: object
11286+
ConfiguredScheduleTargetAttributes:
11287+
description: Attributes for a configured schedule target, including position.
11288+
example:
11289+
position: previous
11290+
properties:
11291+
position:
11292+
$ref: '#/components/schemas/ScheduleTargetPosition'
11293+
required:
11294+
- position
11295+
type: object
11296+
ConfiguredScheduleTargetRelationships:
11297+
description: Represents the relationships of a configured schedule target.
11298+
properties:
11299+
schedule:
11300+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11301+
required:
11302+
- schedule
11303+
type: object
11304+
ConfiguredScheduleTargetRelationshipsSchedule:
11305+
description: Holds the schedule reference for a configured schedule target.
11306+
properties:
11307+
data:
11308+
$ref: '#/components/schemas/ScheduleTarget'
11309+
required:
11310+
- data
11311+
type: object
11312+
ConfiguredScheduleTargetType:
11313+
default: schedule_target
11314+
description: Indicates that the resource is of type `schedule_target`.
11315+
enum:
11316+
- schedule_target
11317+
example: schedule_target
11318+
type: string
11319+
x-enum-varnames:
11320+
- SCHEDULE_TARGET
1125111321
ConfluentAccountCreateRequest:
1125211322
description: Payload schema when adding a Confluent account.
1125311323
properties:
@@ -18957,13 +19027,24 @@ components:
1895719027
type: users
1895819028
- id: 00000000-aba2-0000-0000-000000000000
1895919029
type: schedules
19030+
- id: 00000000-aba2-0000-0000-000000000000_previous
19031+
type: schedule_target
1896019032
- id: 00000000-aba3-0000-0000-000000000000
1896119033
type: teams
1896219034
type: steps
1896319035
- id: 00000000-aba1-0000-0000-000000000000
1896419036
type: users
1896519037
- id: 00000000-aba2-0000-0000-000000000000
1896619038
type: schedules
19039+
- attributes:
19040+
position: previous
19041+
id: 00000000-aba2-0000-0000-000000000000_previous
19042+
relationships:
19043+
schedule:
19044+
data:
19045+
id: 00000000-aba2-0000-0000-000000000000
19046+
type: schedules
19047+
type: schedule_target
1896719048
- id: 00000000-aba3-0000-0000-000000000000
1896819049
type: teams
1896919050
properties:
@@ -18991,7 +19072,10 @@ components:
1899119072
targets:
1899219073
- id: 00000000-aba1-0000-0000-000000000000
1899319074
type: users
18994-
- id: 00000000-aba2-0000-0000-000000000000
19075+
- config:
19076+
schedule:
19077+
position: previous
19078+
id: 00000000-aba2-0000-0000-000000000000
1899519079
type: schedules
1899619080
- id: 00000000-aba3-0000-0000-000000000000
1899719081
type: teams
@@ -19035,6 +19119,7 @@ components:
1903519119
name:
1903619120
description: Specifies the name for the new escalation policy.
1903719121
example: On-Call Escalation Policy
19122+
minLength: 1
1903819123
type: string
1903919124
resolve_page_on_policy_end:
1904019125
description: Indicates whether the page is automatically resolved when the
@@ -19044,12 +19129,16 @@ components:
1904419129
description: Specifies how many times the escalation sequence is retried
1904519130
if there is no response.
1904619131
format: int64
19132+
maximum: 10
19133+
minimum: 0
1904719134
type: integer
1904819135
steps:
1904919136
description: A list of escalation steps, each defining assignment, escalation
1905019137
timeout, and targets for the new policy.
1905119138
items:
1905219139
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19140+
maxItems: 10
19141+
minItems: 1
1905319142
type: array
1905419143
required:
1905519144
- name
@@ -19066,6 +19155,8 @@ components:
1906619155
step.
1906719156
example: 3600
1906819157
format: int64
19158+
maximum: 36000
19159+
minimum: 60
1906919160
type: integer
1907019161
targets:
1907119162
description: Specifies the collection of escalation targets for this step.
@@ -19117,6 +19208,7 @@ components:
1911719208
name:
1911819209
description: Specifies the name of the escalation policy.
1911919210
example: On-Call Escalation Policy
19211+
minLength: 1
1912019212
type: string
1912119213
resolve_page_on_policy_end:
1912219214
description: Indicates whether the page is automatically resolved when the
@@ -19126,6 +19218,8 @@ components:
1912619218
description: Specifies how many times the escalation sequence is retried
1912719219
if there is no response.
1912819220
format: int64
19221+
maximum: 10
19222+
minimum: 0
1912919223
type: integer
1913019224
required:
1913119225
- name
@@ -19188,10 +19282,11 @@ components:
1918819282
description: Represents included related resources when retrieving an escalation
1918919283
policy, such as teams, steps, or targets.
1919019284
oneOf:
19191-
- $ref: '#/components/schemas/TeamReference'
1919219285
- $ref: '#/components/schemas/EscalationPolicyStep'
1919319286
- $ref: '#/components/schemas/EscalationPolicyUser'
1919419287
- $ref: '#/components/schemas/ScheduleData'
19288+
- $ref: '#/components/schemas/ConfiguredSchedule'
19289+
- $ref: '#/components/schemas/TeamReference'
1919519290
EscalationPolicyStep:
1919619291
description: Represents a single step in an escalation policy, including its
1919719292
attributes, relationships, and resource type.
@@ -19239,15 +19334,29 @@ components:
1923919334
type: object
1924019335
EscalationPolicyStepTarget:
1924119336
description: Defines a single escalation target within a step for an escalation
19242-
policy creation request. Contains `id` and `type`.
19337+
policy creation request. Contains `id`, `type`, and optional `config`.
1924319338
properties:
19339+
config:
19340+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1924419341
id:
1924519342
description: Specifies the unique identifier for this target.
1924619343
example: 00000000-aba1-0000-0000-000000000000
1924719344
type: string
1924819345
type:
1924919346
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1925019347
type: object
19348+
EscalationPolicyStepTargetConfig:
19349+
description: Configuration for an escalation target, such as schedule position.
19350+
properties:
19351+
schedule:
19352+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19353+
type: object
19354+
EscalationPolicyStepTargetConfigSchedule:
19355+
description: Schedule-specific configuration for an escalation target.
19356+
properties:
19357+
position:
19358+
$ref: '#/components/schemas/ScheduleTargetPosition'
19359+
type: object
1925119360
EscalationPolicyStepTargetType:
1925219361
description: Specifies the type of escalation target (example `users`, `schedules`,
1925319362
or `teams`).
@@ -19328,6 +19437,7 @@ components:
1932819437
name:
1932919438
description: Specifies the name of the escalation policy.
1933019439
example: On-Call Escalation Policy
19440+
minLength: 1
1933119441
type: string
1933219442
resolve_page_on_policy_end:
1933319443
description: Indicates whether the page is automatically resolved when the
@@ -19337,12 +19447,16 @@ components:
1933719447
description: Specifies how many times the escalation sequence is retried
1933819448
if there is no response.
1933919449
format: int64
19450+
maximum: 10
19451+
minimum: 0
1934019452
type: integer
1934119453
steps:
1934219454
description: A list of escalation steps, each defining assignment, escalation
1934319455
timeout, and targets.
1934419456
items:
1934519457
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19458+
maxItems: 10
19459+
minItems: 1
1934619460
type: array
1934719461
required:
1934819462
- name
@@ -19360,6 +19474,8 @@ components:
1936019474
step.
1936119475
example: 3600
1936219476
format: int64
19477+
maximum: 36000
19478+
minimum: 60
1936319479
type: integer
1936419480
id:
1936519481
description: Specifies the unique identifier of this step.
@@ -19468,12 +19584,13 @@ components:
1946819584
x-enum-varnames:
1946919585
- USERS
1947019586
EscalationTarget:
19471-
description: Represents an escalation target, which can be a team, user, or
19472-
schedule.
19587+
description: Represents an escalation target, which can be a team, user, schedule,
19588+
or configured schedule target.
1947319589
oneOf:
1947419590
- $ref: '#/components/schemas/TeamTarget'
1947519591
- $ref: '#/components/schemas/UserTarget'
1947619592
- $ref: '#/components/schemas/ScheduleTarget'
19593+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1947719594
EscalationTargets:
1947819595
description: A list of escalation targets for a step
1947919596
properties:
@@ -45133,7 +45250,8 @@ components:
4513345250
type: object
4513445251
ScheduleTarget:
4513545252
description: Represents a schedule target for an escalation policy step, including
45136-
its ID and resource type.
45253+
its ID and resource type. This is a shortcut for a configured schedule target
45254+
with position set to 'current'.
4513745255
properties:
4513845256
id:
4513945257
description: Specifies the unique identifier of the schedule resource.
@@ -45145,6 +45263,19 @@ components:
4514545263
- type
4514645264
- id
4514745265
type: object
45266+
ScheduleTargetPosition:
45267+
description: Specifies the position of a schedule target (example `previous`,
45268+
`current`, or `next`).
45269+
enum:
45270+
- previous
45271+
- current
45272+
- next
45273+
example: previous
45274+
type: string
45275+
x-enum-varnames:
45276+
- PREVIOUS
45277+
- CURRENT
45278+
- NEXT
4514845279
ScheduleTargetType:
4514945280
default: schedules
4515045281
description: Indicates that the resource is of type `schedules`.

0 commit comments

Comments
 (0)