Skip to content

Commit 7249c33

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e595079 of spec repo
1 parent b25c67e commit 7249c33

File tree

43 files changed

+1494
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1494
-290
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 134 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11227,6 +11227,77 @@ components:
1122711227
required:
1122811228
- type
1122911229
type: object
11230+
ConfiguredSchedule:
11231+
description: Represents a configured schedule target with a specific position
11232+
(previous, current, or next).
11233+
properties:
11234+
attributes:
11235+
$ref: '#/components/schemas/ConfiguredScheduleTargetAttributes'
11236+
id:
11237+
description: Specifies the unique identifier of the configured schedule
11238+
target.
11239+
example: 00000000-aba1-0000-0000-000000000000_previous
11240+
type: string
11241+
relationships:
11242+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationships'
11243+
type:
11244+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11245+
required:
11246+
- type
11247+
- id
11248+
- attributes
11249+
- relationships
11250+
type: object
11251+
ConfiguredScheduleTarget:
11252+
description: Represents a configured schedule target with a specific position
11253+
(previous, current, or next).
11254+
properties:
11255+
id:
11256+
description: Specifies the unique identifier of the configured schedule
11257+
target.
11258+
example: 00000000-aba1-0000-0000-000000000000_previous
11259+
type: string
11260+
type:
11261+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11262+
required:
11263+
- type
11264+
- id
11265+
type: object
11266+
ConfiguredScheduleTargetAttributes:
11267+
description: Attributes for a configured schedule target, including position.
11268+
example:
11269+
position: previous
11270+
properties:
11271+
position:
11272+
$ref: '#/components/schemas/ScheduleTargetPosition'
11273+
required:
11274+
- position
11275+
type: object
11276+
ConfiguredScheduleTargetRelationships:
11277+
description: Represents the relationships of a configured schedule target.
11278+
properties:
11279+
schedule:
11280+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11281+
required:
11282+
- schedule
11283+
type: object
11284+
ConfiguredScheduleTargetRelationshipsSchedule:
11285+
description: Holds the schedule reference for a configured schedule target.
11286+
properties:
11287+
data:
11288+
$ref: '#/components/schemas/ScheduleTarget'
11289+
required:
11290+
- data
11291+
type: object
11292+
ConfiguredScheduleTargetType:
11293+
default: schedule_target
11294+
description: Indicates that the resource is of type `schedule_target`.
11295+
enum:
11296+
- schedule_target
11297+
example: schedule_target
11298+
type: string
11299+
x-enum-varnames:
11300+
- SCHEDULE_TARGET
1123011301
ConfluentAccountCreateRequest:
1123111302
description: Payload schema when adding a Confluent account.
1123211303
properties:
@@ -18936,13 +19007,24 @@ components:
1893619007
type: users
1893719008
- id: 00000000-aba2-0000-0000-000000000000
1893819009
type: schedules
19010+
- id: 00000000-aba2-0000-0000-000000000000_previous
19011+
type: schedule_target
1893919012
- id: 00000000-aba3-0000-0000-000000000000
1894019013
type: teams
1894119014
type: steps
1894219015
- id: 00000000-aba1-0000-0000-000000000000
1894319016
type: users
1894419017
- id: 00000000-aba2-0000-0000-000000000000
1894519018
type: schedules
19019+
- attributes:
19020+
position: previous
19021+
id: 00000000-aba2-0000-0000-000000000000_previous
19022+
relationships:
19023+
schedule:
19024+
data:
19025+
id: 00000000-aba2-0000-0000-000000000000
19026+
type: schedules
19027+
type: schedule_target
1894619028
- id: 00000000-aba3-0000-0000-000000000000
1894719029
type: teams
1894819030
properties:
@@ -19014,6 +19096,7 @@ components:
1901419096
name:
1901519097
description: Specifies the name for the new escalation policy.
1901619098
example: On-Call Escalation Policy
19099+
minLength: 1
1901719100
type: string
1901819101
resolve_page_on_policy_end:
1901919102
description: Indicates whether the page is automatically resolved when the
@@ -19023,12 +19106,16 @@ components:
1902319106
description: Specifies how many times the escalation sequence is retried
1902419107
if there is no response.
1902519108
format: int64
19109+
maximum: 10
19110+
minimum: 0
1902619111
type: integer
1902719112
steps:
1902819113
description: A list of escalation steps, each defining assignment, escalation
1902919114
timeout, and targets for the new policy.
1903019115
items:
1903119116
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19117+
maxItems: 10
19118+
minItems: 1
1903219119
type: array
1903319120
required:
1903419121
- name
@@ -19045,6 +19132,8 @@ components:
1904519132
step.
1904619133
example: 3600
1904719134
format: int64
19135+
maximum: 36000
19136+
minimum: 60
1904819137
type: integer
1904919138
targets:
1905019139
description: Specifies the collection of escalation targets for this step.
@@ -19096,6 +19185,7 @@ components:
1909619185
name:
1909719186
description: Specifies the name of the escalation policy.
1909819187
example: On-Call Escalation Policy
19188+
minLength: 1
1909919189
type: string
1910019190
resolve_page_on_policy_end:
1910119191
description: Indicates whether the page is automatically resolved when the
@@ -19105,6 +19195,8 @@ components:
1910519195
description: Specifies how many times the escalation sequence is retried
1910619196
if there is no response.
1910719197
format: int64
19198+
maximum: 10
19199+
minimum: 0
1910819200
type: integer
1910919201
required:
1911019202
- name
@@ -19167,10 +19259,11 @@ components:
1916719259
description: Represents included related resources when retrieving an escalation
1916819260
policy, such as teams, steps, or targets.
1916919261
oneOf:
19170-
- $ref: '#/components/schemas/TeamReference'
1917119262
- $ref: '#/components/schemas/EscalationPolicyStep'
1917219263
- $ref: '#/components/schemas/EscalationPolicyUser'
1917319264
- $ref: '#/components/schemas/ScheduleData'
19265+
- $ref: '#/components/schemas/ConfiguredSchedule'
19266+
- $ref: '#/components/schemas/TeamReference'
1917419267
EscalationPolicyStep:
1917519268
description: Represents a single step in an escalation policy, including its
1917619269
attributes, relationships, and resource type.
@@ -19218,15 +19311,29 @@ components:
1921819311
type: object
1921919312
EscalationPolicyStepTarget:
1922019313
description: Defines a single escalation target within a step for an escalation
19221-
policy creation request. Contains `id` and `type`.
19314+
policy creation request. Contains `id`, `type`, and optional `config`.
1922219315
properties:
19316+
config:
19317+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1922319318
id:
1922419319
description: Specifies the unique identifier for this target.
1922519320
example: 00000000-aba1-0000-0000-000000000000
1922619321
type: string
1922719322
type:
1922819323
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1922919324
type: object
19325+
EscalationPolicyStepTargetConfig:
19326+
description: Configuration for an escalation target, such as schedule position.
19327+
properties:
19328+
schedule:
19329+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19330+
type: object
19331+
EscalationPolicyStepTargetConfigSchedule:
19332+
description: Schedule-specific configuration for an escalation target.
19333+
properties:
19334+
position:
19335+
$ref: '#/components/schemas/ScheduleTargetPosition'
19336+
type: object
1923019337
EscalationPolicyStepTargetType:
1923119338
description: Specifies the type of escalation target (example `users`, `schedules`,
1923219339
or `teams`).
@@ -19307,6 +19414,7 @@ components:
1930719414
name:
1930819415
description: Specifies the name of the escalation policy.
1930919416
example: On-Call Escalation Policy
19417+
minLength: 1
1931019418
type: string
1931119419
resolve_page_on_policy_end:
1931219420
description: Indicates whether the page is automatically resolved when the
@@ -19316,12 +19424,16 @@ components:
1931619424
description: Specifies how many times the escalation sequence is retried
1931719425
if there is no response.
1931819426
format: int64
19427+
maximum: 10
19428+
minimum: 0
1931919429
type: integer
1932019430
steps:
1932119431
description: A list of escalation steps, each defining assignment, escalation
1932219432
timeout, and targets.
1932319433
items:
1932419434
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19435+
maxItems: 10
19436+
minItems: 1
1932519437
type: array
1932619438
required:
1932719439
- name
@@ -19339,6 +19451,8 @@ components:
1933919451
step.
1934019452
example: 3600
1934119453
format: int64
19454+
maximum: 36000
19455+
minimum: 60
1934219456
type: integer
1934319457
id:
1934419458
description: Specifies the unique identifier of this step.
@@ -19447,12 +19561,13 @@ components:
1944719561
x-enum-varnames:
1944819562
- USERS
1944919563
EscalationTarget:
19450-
description: Represents an escalation target, which can be a team, user, or
19451-
schedule.
19564+
description: Represents an escalation target, which can be a team, user, schedule,
19565+
or configured schedule target.
1945219566
oneOf:
1945319567
- $ref: '#/components/schemas/TeamTarget'
1945419568
- $ref: '#/components/schemas/UserTarget'
1945519569
- $ref: '#/components/schemas/ScheduleTarget'
19570+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1945619571
EscalationTargets:
1945719572
description: A list of escalation targets for a step
1945819573
properties:
@@ -44917,7 +45032,8 @@ components:
4491745032
type: object
4491845033
ScheduleTarget:
4491945034
description: Represents a schedule target for an escalation policy step, including
44920-
its ID and resource type.
45035+
its ID and resource type. This is a shortcut for a configured schedule target
45036+
with position set to 'current'.
4492145037
properties:
4492245038
id:
4492345039
description: Specifies the unique identifier of the schedule resource.
@@ -44929,6 +45045,19 @@ components:
4492945045
- type
4493045046
- id
4493145047
type: object
45048+
ScheduleTargetPosition:
45049+
description: Specifies the position of a schedule target (example `previous`,
45050+
`current`, or `next`).
45051+
enum:
45052+
- previous
45053+
- current
45054+
- next
45055+
example: previous
45056+
type: string
45057+
x-enum-varnames:
45058+
- PREVIOUS
45059+
- CURRENT
45060+
- NEXT
4493245061
ScheduleTargetType:
4493345062
default: schedules
4493445063
description: Indicates that the resource is of type `schedules`.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-05-29T04:53:30.847Z
1+
2025-11-27T14:11:18.718Z

0 commit comments

Comments
 (0)