Skip to content

Commit 7dce0ab

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c2fc840 of spec repo
1 parent 502f8f8 commit 7dce0ab

File tree

7 files changed

+61
-28
lines changed

7 files changed

+61
-28
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13283,6 +13283,7 @@ components:
1328313283
type:
1328413284
$ref: '#/components/schemas/StatusPagesComponentGroupType'
1328513285
required:
13286+
- attributes
1328613287
- type
1328713288
type: object
1328813289
CreateComponentRequestDataAttributes:
@@ -13367,7 +13368,7 @@ components:
1336713368
properties:
1336813369
id:
1336913370
description: The ID of the group.
13370-
example: ''
13371+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
1337113372
format: uuid
1337213373
type: string
1337313374
type:
@@ -13569,6 +13570,7 @@ components:
1356913570
type:
1357013571
$ref: '#/components/schemas/PatchDegradationRequestDataType'
1357113572
required:
13573+
- attributes
1357213574
- type
1357313575
type: object
1357413576
CreateDegradationRequestDataAttributes:
@@ -13604,7 +13606,7 @@ components:
1360413606
properties:
1360513607
id:
1360613608
description: The ID of the component. Must be a component of type `component`.
13607-
example: ''
13609+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
1360813610
format: uuid
1360913611
type: string
1361013612
name:
@@ -14327,6 +14329,7 @@ components:
1432714329
type:
1432814330
$ref: '#/components/schemas/StatusPageDataType'
1432914331
required:
14332+
- attributes
1433014333
- type
1433114334
type: object
1433214335
CreateStatusPageRequestDataAttributes:
@@ -18391,7 +18394,7 @@ components:
1839118394
properties:
1839218395
id:
1839318396
description: The ID of the component.
18394-
example: ''
18397+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
1839518398
format: uuid
1839618399
type: string
1839718400
name:
@@ -18436,7 +18439,7 @@ components:
1843618439
properties:
1843718440
id:
1843818441
description: Identifier of the component affected at the time of the update.
18439-
example: ''
18442+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
1844018443
format: uuid
1844118444
type: string
1844218445
name:
@@ -18512,7 +18515,7 @@ components:
1851218515
properties:
1851318516
id:
1851418517
description: The ID of the status page.
18515-
example: ''
18518+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
1851618519
format: uuid
1851718520
type: string
1851818521
type:
@@ -43649,11 +43652,14 @@ components:
4364943652
$ref: '#/components/schemas/PatchComponentRequestDataAttributes'
4365043653
id:
4365143654
description: The ID of the component.
43655+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
4365243656
format: uuid
4365343657
type: string
4365443658
type:
4365543659
$ref: '#/components/schemas/StatusPagesComponentGroupType'
4365643660
required:
43661+
- attributes
43662+
- id
4365743663
- type
4365843664
type: object
4365943665
PatchComponentRequestDataAttributes:
@@ -43692,11 +43698,14 @@ components:
4369243698
$ref: '#/components/schemas/PatchDegradationRequestDataAttributes'
4369343699
id:
4369443700
description: The ID of the degradation.
43701+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
4369543702
format: uuid
4369643703
type: string
4369743704
type:
4369843705
$ref: '#/components/schemas/PatchDegradationRequestDataType'
4369943706
required:
43707+
- attributes
43708+
- id
4370043709
- type
4370143710
type: object
4370243711
PatchDegradationRequestDataAttributes:
@@ -43727,7 +43736,7 @@ components:
4372743736
properties:
4372843737
id:
4372943738
description: The ID of the component. Must be a component of type `component`.
43730-
example: ''
43739+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
4373143740
format: uuid
4373243741
type: string
4373343742
name:
@@ -43832,11 +43841,14 @@ components:
4383243841
$ref: '#/components/schemas/PatchStatusPageRequestDataAttributes'
4383343842
id:
4383443843
description: The ID of the status page.
43844+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
4383543845
format: uuid
4383643846
type: string
4383743847
type:
4383843848
$ref: '#/components/schemas/StatusPageDataType'
4383943849
required:
43850+
- attributes
43851+
- id
4384043852
- type
4384143853
type: object
4384243854
PatchStatusPageRequestDataAttributes:
@@ -58764,7 +58776,7 @@ components:
5876458776
properties:
5876558777
id:
5876658778
description: The ID of the group the component belongs to.
58767-
example: ''
58779+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
5876858780
format: uuid
5876958781
type: string
5877058782
type:
@@ -58803,7 +58815,7 @@ components:
5880358815
properties:
5880458816
id:
5880558817
description: The ID of the status page the component belongs to.
58806-
example: ''
58818+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
5880758819
format: uuid
5880858820
type: string
5880958821
type:
@@ -58945,7 +58957,7 @@ components:
5894558957
nullable: true
5894658958
properties:
5894758959
id:
58948-
example: ''
58960+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
5894958961
format: uuid
5895058962
type: string
5895158963
type:
@@ -58987,7 +58999,7 @@ components:
5898758999
properties:
5898859000
id:
5898959001
description: The ID of the status page.
58990-
example: ''
59002+
example: 1234abcd-12ab-34cd-56ef-123456abcdef
5899159003
format: uuid
5899259004
type: string
5899359005
type:

src/main/java/com/datadog/api/client/v2/model/CreateComponentRequestData.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ public CreateComponentRequestData() {}
4040

4141
@JsonCreator
4242
public CreateComponentRequestData(
43+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
44+
CreateComponentRequestDataAttributes attributes,
4345
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
4446
StatusPagesComponentGroupType type) {
47+
this.attributes = attributes;
48+
this.unparsed |= attributes.unparsed;
4549
this.type = type;
4650
this.unparsed |= !type.isValid();
4751
}
@@ -57,9 +61,8 @@ public CreateComponentRequestData attributes(CreateComponentRequestDataAttribute
5761
*
5862
* @return attributes
5963
*/
60-
@jakarta.annotation.Nullable
6164
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
62-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
65+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
6366
public CreateComponentRequestDataAttributes getAttributes() {
6467
return attributes;
6568
}

src/main/java/com/datadog/api/client/v2/model/CreateDegradationRequestData.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ public CreateDegradationRequestData() {}
3636

3737
@JsonCreator
3838
public CreateDegradationRequestData(
39+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
40+
CreateDegradationRequestDataAttributes attributes,
3941
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
4042
PatchDegradationRequestDataType type) {
43+
this.attributes = attributes;
44+
this.unparsed |= attributes.unparsed;
4145
this.type = type;
4246
this.unparsed |= !type.isValid();
4347
}
@@ -54,9 +58,8 @@ public CreateDegradationRequestData attributes(
5458
*
5559
* @return attributes
5660
*/
57-
@jakarta.annotation.Nullable
5861
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
59-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
62+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
6063
public CreateDegradationRequestDataAttributes getAttributes() {
6164
return attributes;
6265
}

src/main/java/com/datadog/api/client/v2/model/CreateStatusPageRequestData.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ public CreateStatusPageRequestData() {}
3636

3737
@JsonCreator
3838
public CreateStatusPageRequestData(
39+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
40+
CreateStatusPageRequestDataAttributes attributes,
3941
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPageDataType type) {
42+
this.attributes = attributes;
43+
this.unparsed |= attributes.unparsed;
4044
this.type = type;
4145
this.unparsed |= !type.isValid();
4246
}
@@ -52,9 +56,8 @@ public CreateStatusPageRequestData attributes(CreateStatusPageRequestDataAttribu
5256
*
5357
* @return attributes
5458
*/
55-
@jakarta.annotation.Nullable
5659
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
57-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
60+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
5861
public CreateStatusPageRequestDataAttributes getAttributes() {
5962
return attributes;
6063
}

src/main/java/com/datadog/api/client/v2/model/PatchComponentRequestData.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ public PatchComponentRequestData() {}
4141

4242
@JsonCreator
4343
public PatchComponentRequestData(
44+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
45+
PatchComponentRequestDataAttributes attributes,
46+
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
4447
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
4548
StatusPagesComponentGroupType type) {
49+
this.attributes = attributes;
50+
this.unparsed |= attributes.unparsed;
51+
this.id = id;
4652
this.type = type;
4753
this.unparsed |= !type.isValid();
4854
}
@@ -58,9 +64,8 @@ public PatchComponentRequestData attributes(PatchComponentRequestDataAttributes
5864
*
5965
* @return attributes
6066
*/
61-
@jakarta.annotation.Nullable
6267
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
63-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
68+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
6469
public PatchComponentRequestDataAttributes getAttributes() {
6570
return attributes;
6671
}
@@ -79,9 +84,8 @@ public PatchComponentRequestData id(UUID id) {
7984
*
8085
* @return id
8186
*/
82-
@jakarta.annotation.Nullable
8387
@JsonProperty(JSON_PROPERTY_ID)
84-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
88+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
8589
public UUID getId() {
8690
return id;
8791
}

src/main/java/com/datadog/api/client/v2/model/PatchDegradationRequestData.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ public PatchDegradationRequestData() {}
4141

4242
@JsonCreator
4343
public PatchDegradationRequestData(
44+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
45+
PatchDegradationRequestDataAttributes attributes,
46+
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
4447
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE)
4548
PatchDegradationRequestDataType type) {
49+
this.attributes = attributes;
50+
this.unparsed |= attributes.unparsed;
51+
this.id = id;
4652
this.type = type;
4753
this.unparsed |= !type.isValid();
4854
}
@@ -58,9 +64,8 @@ public PatchDegradationRequestData attributes(PatchDegradationRequestDataAttribu
5864
*
5965
* @return attributes
6066
*/
61-
@jakarta.annotation.Nullable
6267
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
63-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
68+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
6469
public PatchDegradationRequestDataAttributes getAttributes() {
6570
return attributes;
6671
}
@@ -79,9 +84,8 @@ public PatchDegradationRequestData id(UUID id) {
7984
*
8085
* @return id
8186
*/
82-
@jakarta.annotation.Nullable
8387
@JsonProperty(JSON_PROPERTY_ID)
84-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
88+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
8589
public UUID getId() {
8690
return id;
8791
}

src/main/java/com/datadog/api/client/v2/model/PatchStatusPageRequestData.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ public PatchStatusPageRequestData() {}
4141

4242
@JsonCreator
4343
public PatchStatusPageRequestData(
44+
@JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES)
45+
PatchStatusPageRequestDataAttributes attributes,
46+
@JsonProperty(required = true, value = JSON_PROPERTY_ID) UUID id,
4447
@JsonProperty(required = true, value = JSON_PROPERTY_TYPE) StatusPageDataType type) {
48+
this.attributes = attributes;
49+
this.unparsed |= attributes.unparsed;
50+
this.id = id;
4551
this.type = type;
4652
this.unparsed |= !type.isValid();
4753
}
@@ -57,9 +63,8 @@ public PatchStatusPageRequestData attributes(PatchStatusPageRequestDataAttribute
5763
*
5864
* @return attributes
5965
*/
60-
@jakarta.annotation.Nullable
6166
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
62-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
67+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
6368
public PatchStatusPageRequestDataAttributes getAttributes() {
6469
return attributes;
6570
}
@@ -78,9 +83,8 @@ public PatchStatusPageRequestData id(UUID id) {
7883
*
7984
* @return id
8085
*/
81-
@jakarta.annotation.Nullable
8286
@JsonProperty(JSON_PROPERTY_ID)
83-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
87+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
8488
public UUID getId() {
8589
return id;
8690
}

0 commit comments

Comments
 (0)