Skip to content

Commit b337c42

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1a31a94 of spec repo
1 parent 6be4c93 commit b337c42

File tree

39 files changed

+1503
-226
lines changed

39 files changed

+1503
-226
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 138 additions & 6 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:
@@ -18970,7 +19052,10 @@ components:
1897019052
targets:
1897119053
- id: 00000000-aba1-0000-0000-000000000000
1897219054
type: users
18973-
- id: 00000000-aba2-0000-0000-000000000000
19055+
- config:
19056+
schedule:
19057+
position: previous
19058+
id: 00000000-aba2-0000-0000-000000000000
1897419059
type: schedules
1897519060
- id: 00000000-aba3-0000-0000-000000000000
1897619061
type: teams
@@ -19014,6 +19099,7 @@ components:
1901419099
name:
1901519100
description: Specifies the name for the new escalation policy.
1901619101
example: On-Call Escalation Policy
19102+
minLength: 1
1901719103
type: string
1901819104
resolve_page_on_policy_end:
1901919105
description: Indicates whether the page is automatically resolved when the
@@ -19023,12 +19109,16 @@ components:
1902319109
description: Specifies how many times the escalation sequence is retried
1902419110
if there is no response.
1902519111
format: int64
19112+
maximum: 10
19113+
minimum: 0
1902619114
type: integer
1902719115
steps:
1902819116
description: A list of escalation steps, each defining assignment, escalation
1902919117
timeout, and targets for the new policy.
1903019118
items:
1903119119
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19120+
maxItems: 10
19121+
minItems: 1
1903219122
type: array
1903319123
required:
1903419124
- name
@@ -19045,6 +19135,8 @@ components:
1904519135
step.
1904619136
example: 3600
1904719137
format: int64
19138+
maximum: 36000
19139+
minimum: 60
1904819140
type: integer
1904919141
targets:
1905019142
description: Specifies the collection of escalation targets for this step.
@@ -19096,6 +19188,7 @@ components:
1909619188
name:
1909719189
description: Specifies the name of the escalation policy.
1909819190
example: On-Call Escalation Policy
19191+
minLength: 1
1909919192
type: string
1910019193
resolve_page_on_policy_end:
1910119194
description: Indicates whether the page is automatically resolved when the
@@ -19105,6 +19198,8 @@ components:
1910519198
description: Specifies how many times the escalation sequence is retried
1910619199
if there is no response.
1910719200
format: int64
19201+
maximum: 10
19202+
minimum: 0
1910819203
type: integer
1910919204
required:
1911019205
- name
@@ -19167,10 +19262,11 @@ components:
1916719262
description: Represents included related resources when retrieving an escalation
1916819263
policy, such as teams, steps, or targets.
1916919264
oneOf:
19170-
- $ref: '#/components/schemas/TeamReference'
1917119265
- $ref: '#/components/schemas/EscalationPolicyStep'
1917219266
- $ref: '#/components/schemas/EscalationPolicyUser'
1917319267
- $ref: '#/components/schemas/ScheduleData'
19268+
- $ref: '#/components/schemas/ConfiguredSchedule'
19269+
- $ref: '#/components/schemas/TeamReference'
1917419270
EscalationPolicyStep:
1917519271
description: Represents a single step in an escalation policy, including its
1917619272
attributes, relationships, and resource type.
@@ -19218,15 +19314,29 @@ components:
1921819314
type: object
1921919315
EscalationPolicyStepTarget:
1922019316
description: Defines a single escalation target within a step for an escalation
19221-
policy creation request. Contains `id` and `type`.
19317+
policy creation request. Contains `id`, `type`, and optional `config`.
1922219318
properties:
19319+
config:
19320+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1922319321
id:
1922419322
description: Specifies the unique identifier for this target.
1922519323
example: 00000000-aba1-0000-0000-000000000000
1922619324
type: string
1922719325
type:
1922819326
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1922919327
type: object
19328+
EscalationPolicyStepTargetConfig:
19329+
description: Configuration for an escalation target, such as schedule position.
19330+
properties:
19331+
schedule:
19332+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19333+
type: object
19334+
EscalationPolicyStepTargetConfigSchedule:
19335+
description: Schedule-specific configuration for an escalation target.
19336+
properties:
19337+
position:
19338+
$ref: '#/components/schemas/ScheduleTargetPosition'
19339+
type: object
1923019340
EscalationPolicyStepTargetType:
1923119341
description: Specifies the type of escalation target (example `users`, `schedules`,
1923219342
or `teams`).
@@ -19307,6 +19417,7 @@ components:
1930719417
name:
1930819418
description: Specifies the name of the escalation policy.
1930919419
example: On-Call Escalation Policy
19420+
minLength: 1
1931019421
type: string
1931119422
resolve_page_on_policy_end:
1931219423
description: Indicates whether the page is automatically resolved when the
@@ -19316,12 +19427,16 @@ components:
1931619427
description: Specifies how many times the escalation sequence is retried
1931719428
if there is no response.
1931819429
format: int64
19430+
maximum: 10
19431+
minimum: 0
1931919432
type: integer
1932019433
steps:
1932119434
description: A list of escalation steps, each defining assignment, escalation
1932219435
timeout, and targets.
1932319436
items:
1932419437
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19438+
maxItems: 10
19439+
minItems: 1
1932519440
type: array
1932619441
required:
1932719442
- name
@@ -19339,6 +19454,8 @@ components:
1933919454
step.
1934019455
example: 3600
1934119456
format: int64
19457+
maximum: 36000
19458+
minimum: 60
1934219459
type: integer
1934319460
id:
1934419461
description: Specifies the unique identifier of this step.
@@ -19447,12 +19564,13 @@ components:
1944719564
x-enum-varnames:
1944819565
- USERS
1944919566
EscalationTarget:
19450-
description: Represents an escalation target, which can be a team, user, or
19451-
schedule.
19567+
description: Represents an escalation target, which can be a team, user, schedule,
19568+
or configured schedule target.
1945219569
oneOf:
1945319570
- $ref: '#/components/schemas/TeamTarget'
1945419571
- $ref: '#/components/schemas/UserTarget'
1945519572
- $ref: '#/components/schemas/ScheduleTarget'
19573+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1945619574
EscalationTargets:
1945719575
description: A list of escalation targets for a step
1945819576
properties:
@@ -44917,7 +45035,8 @@ components:
4491745035
type: object
4491845036
ScheduleTarget:
4491945037
description: Represents a schedule target for an escalation policy step, including
44920-
its ID and resource type.
45038+
its ID and resource type. This is a shortcut for a configured schedule target
45039+
with position set to 'current'.
4492145040
properties:
4492245041
id:
4492345042
description: Specifies the unique identifier of the schedule resource.
@@ -44929,6 +45048,19 @@ components:
4492945048
- type
4493045049
- id
4493145050
type: object
45051+
ScheduleTargetPosition:
45052+
description: Specifies the position of a schedule target (example `previous`,
45053+
`current`, or `next`).
45054+
enum:
45055+
- previous
45056+
- current
45057+
- next
45058+
example: previous
45059+
type: string
45060+
x-enum-varnames:
45061+
- PREVIOUS
45062+
- CURRENT
45063+
- NEXT
4493245064
ScheduleTargetType:
4493345065
default: schedules
4493445066
description: Indicates that the resource is of type `schedules`.

0 commit comments

Comments
 (0)