Skip to content

Commit a216633

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit df7e797 of spec repo
1 parent 3864797 commit a216633

File tree

39 files changed

+1502
-226
lines changed

39 files changed

+1502
-226
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 137 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11377,6 +11377,76 @@ components:
1137711377
required:
1137811378
- type
1137911379
type: object
11380+
ConfiguredSchedule:
11381+
description: Full resource representation of a configured schedule target with
11382+
position (previous, current, or next).
11383+
properties:
11384+
attributes:
11385+
$ref: '#/components/schemas/ConfiguredScheduleTargetAttributes'
11386+
id:
11387+
description: Specifies the unique identifier of the configured schedule
11388+
target.
11389+
example: 00000000-aba1-0000-0000-000000000000_previous
11390+
type: string
11391+
relationships:
11392+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationships'
11393+
type:
11394+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11395+
required:
11396+
- type
11397+
- id
11398+
- attributes
11399+
- relationships
11400+
type: object
11401+
ConfiguredScheduleTarget:
11402+
description: Relationship reference to a configured schedule target.
11403+
properties:
11404+
id:
11405+
description: Specifies the unique identifier of the configured schedule
11406+
target.
11407+
example: 00000000-aba1-0000-0000-000000000000_previous
11408+
type: string
11409+
type:
11410+
$ref: '#/components/schemas/ConfiguredScheduleTargetType'
11411+
required:
11412+
- type
11413+
- id
11414+
type: object
11415+
ConfiguredScheduleTargetAttributes:
11416+
description: Attributes for a configured schedule target, including position.
11417+
example:
11418+
position: previous
11419+
properties:
11420+
position:
11421+
$ref: '#/components/schemas/ScheduleTargetPosition'
11422+
required:
11423+
- position
11424+
type: object
11425+
ConfiguredScheduleTargetRelationships:
11426+
description: Represents the relationships of a configured schedule target.
11427+
properties:
11428+
schedule:
11429+
$ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11430+
required:
11431+
- schedule
11432+
type: object
11433+
ConfiguredScheduleTargetRelationshipsSchedule:
11434+
description: Holds the schedule reference for a configured schedule target.
11435+
properties:
11436+
data:
11437+
$ref: '#/components/schemas/ScheduleTarget'
11438+
required:
11439+
- data
11440+
type: object
11441+
ConfiguredScheduleTargetType:
11442+
default: schedule_target
11443+
description: Indicates that the resource is of type `schedule_target`.
11444+
enum:
11445+
- schedule_target
11446+
example: schedule_target
11447+
type: string
11448+
x-enum-varnames:
11449+
- SCHEDULE_TARGET
1138011450
ConfluentAccountCreateRequest:
1138111451
description: Payload schema when adding a Confluent account.
1138211452
properties:
@@ -19260,13 +19330,24 @@ components:
1926019330
type: users
1926119331
- id: 00000000-aba2-0000-0000-000000000000
1926219332
type: schedules
19333+
- id: 00000000-aba2-0000-0000-000000000000_previous
19334+
type: schedule_target
1926319335
- id: 00000000-aba3-0000-0000-000000000000
1926419336
type: teams
1926519337
type: steps
1926619338
- id: 00000000-aba1-0000-0000-000000000000
1926719339
type: users
1926819340
- id: 00000000-aba2-0000-0000-000000000000
1926919341
type: schedules
19342+
- attributes:
19343+
position: previous
19344+
id: 00000000-aba2-0000-0000-000000000000_previous
19345+
relationships:
19346+
schedule:
19347+
data:
19348+
id: 00000000-aba2-0000-0000-000000000000
19349+
type: schedules
19350+
type: schedule_target
1927019351
- id: 00000000-aba3-0000-0000-000000000000
1927119352
type: teams
1927219353
properties:
@@ -19294,7 +19375,10 @@ components:
1929419375
targets:
1929519376
- id: 00000000-aba1-0000-0000-000000000000
1929619377
type: users
19297-
- id: 00000000-aba2-0000-0000-000000000000
19378+
- config:
19379+
schedule:
19380+
position: previous
19381+
id: 00000000-aba2-0000-0000-000000000000
1929819382
type: schedules
1929919383
- id: 00000000-aba3-0000-0000-000000000000
1930019384
type: teams
@@ -19338,6 +19422,7 @@ components:
1933819422
name:
1933919423
description: Specifies the name for the new escalation policy.
1934019424
example: On-Call Escalation Policy
19425+
minLength: 1
1934119426
type: string
1934219427
resolve_page_on_policy_end:
1934319428
description: Indicates whether the page is automatically resolved when the
@@ -19347,12 +19432,16 @@ components:
1934719432
description: Specifies how many times the escalation sequence is retried
1934819433
if there is no response.
1934919434
format: int64
19435+
maximum: 10
19436+
minimum: 0
1935019437
type: integer
1935119438
steps:
1935219439
description: A list of escalation steps, each defining assignment, escalation
1935319440
timeout, and targets for the new policy.
1935419441
items:
1935519442
$ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19443+
maxItems: 10
19444+
minItems: 1
1935619445
type: array
1935719446
required:
1935819447
- name
@@ -19369,6 +19458,8 @@ components:
1936919458
step.
1937019459
example: 3600
1937119460
format: int64
19461+
maximum: 36000
19462+
minimum: 60
1937219463
type: integer
1937319464
targets:
1937419465
description: Specifies the collection of escalation targets for this step.
@@ -19420,6 +19511,7 @@ components:
1942019511
name:
1942119512
description: Specifies the name of the escalation policy.
1942219513
example: On-Call Escalation Policy
19514+
minLength: 1
1942319515
type: string
1942419516
resolve_page_on_policy_end:
1942519517
description: Indicates whether the page is automatically resolved when the
@@ -19429,6 +19521,8 @@ components:
1942919521
description: Specifies how many times the escalation sequence is retried
1943019522
if there is no response.
1943119523
format: int64
19524+
maximum: 10
19525+
minimum: 0
1943219526
type: integer
1943319527
required:
1943419528
- name
@@ -19491,10 +19585,11 @@ components:
1949119585
description: Represents included related resources when retrieving an escalation
1949219586
policy, such as teams, steps, or targets.
1949319587
oneOf:
19494-
- $ref: '#/components/schemas/TeamReference'
1949519588
- $ref: '#/components/schemas/EscalationPolicyStep'
1949619589
- $ref: '#/components/schemas/EscalationPolicyUser'
1949719590
- $ref: '#/components/schemas/ScheduleData'
19591+
- $ref: '#/components/schemas/ConfiguredSchedule'
19592+
- $ref: '#/components/schemas/TeamReference'
1949819593
EscalationPolicyStep:
1949919594
description: Represents a single step in an escalation policy, including its
1950019595
attributes, relationships, and resource type.
@@ -19542,15 +19637,29 @@ components:
1954219637
type: object
1954319638
EscalationPolicyStepTarget:
1954419639
description: Defines a single escalation target within a step for an escalation
19545-
policy creation request. Contains `id` and `type`.
19640+
policy creation request. Contains `id`, `type`, and optional `config`.
1954619641
properties:
19642+
config:
19643+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1954719644
id:
1954819645
description: Specifies the unique identifier for this target.
1954919646
example: 00000000-aba1-0000-0000-000000000000
1955019647
type: string
1955119648
type:
1955219649
$ref: '#/components/schemas/EscalationPolicyStepTargetType'
1955319650
type: object
19651+
EscalationPolicyStepTargetConfig:
19652+
description: Configuration for an escalation target, such as schedule position.
19653+
properties:
19654+
schedule:
19655+
$ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19656+
type: object
19657+
EscalationPolicyStepTargetConfigSchedule:
19658+
description: Schedule-specific configuration for an escalation target.
19659+
properties:
19660+
position:
19661+
$ref: '#/components/schemas/ScheduleTargetPosition'
19662+
type: object
1955419663
EscalationPolicyStepTargetType:
1955519664
description: Specifies the type of escalation target (example `users`, `schedules`,
1955619665
or `teams`).
@@ -19631,6 +19740,7 @@ components:
1963119740
name:
1963219741
description: Specifies the name of the escalation policy.
1963319742
example: On-Call Escalation Policy
19743+
minLength: 1
1963419744
type: string
1963519745
resolve_page_on_policy_end:
1963619746
description: Indicates whether the page is automatically resolved when the
@@ -19640,12 +19750,16 @@ components:
1964019750
description: Specifies how many times the escalation sequence is retried
1964119751
if there is no response.
1964219752
format: int64
19753+
maximum: 10
19754+
minimum: 0
1964319755
type: integer
1964419756
steps:
1964519757
description: A list of escalation steps, each defining assignment, escalation
1964619758
timeout, and targets.
1964719759
items:
1964819760
$ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19761+
maxItems: 10
19762+
minItems: 1
1964919763
type: array
1965019764
required:
1965119765
- name
@@ -19663,6 +19777,8 @@ components:
1966319777
step.
1966419778
example: 3600
1966519779
format: int64
19780+
maximum: 36000
19781+
minimum: 60
1966619782
type: integer
1966719783
id:
1966819784
description: Specifies the unique identifier of this step.
@@ -19771,12 +19887,13 @@ components:
1977119887
x-enum-varnames:
1977219888
- USERS
1977319889
EscalationTarget:
19774-
description: Represents an escalation target, which can be a team, user, or
19775-
schedule.
19890+
description: Represents an escalation target, which can be a team, user, schedule,
19891+
or configured schedule target.
1977619892
oneOf:
1977719893
- $ref: '#/components/schemas/TeamTarget'
1977819894
- $ref: '#/components/schemas/UserTarget'
1977919895
- $ref: '#/components/schemas/ScheduleTarget'
19896+
- $ref: '#/components/schemas/ConfiguredScheduleTarget'
1978019897
EscalationTargets:
1978119898
description: A list of escalation targets for a step
1978219899
properties:
@@ -45636,7 +45753,8 @@ components:
4563645753
type: object
4563745754
ScheduleTarget:
4563845755
description: Represents a schedule target for an escalation policy step, including
45639-
its ID and resource type.
45756+
its ID and resource type. This is a shortcut for a configured schedule target
45757+
with position set to 'current'.
4564045758
properties:
4564145759
id:
4564245760
description: Specifies the unique identifier of the schedule resource.
@@ -45648,6 +45766,19 @@ components:
4564845766
- type
4564945767
- id
4565045768
type: object
45769+
ScheduleTargetPosition:
45770+
description: Specifies the position of a schedule target (example `previous`,
45771+
`current`, or `next`).
45772+
enum:
45773+
- previous
45774+
- current
45775+
- next
45776+
example: previous
45777+
type: string
45778+
x-enum-varnames:
45779+
- PREVIOUS
45780+
- CURRENT
45781+
- NEXT
4565145782
ScheduleTargetType:
4565245783
default: schedules
4565345784
description: Indicates that the resource is of type `schedules`.

0 commit comments

Comments
 (0)