Skip to content

Commit da7ceed

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e152bc4 of spec repo
1 parent 832521a commit da7ceed

File tree

4 files changed

+85
-41
lines changed

4 files changed

+85
-41
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2021-09-22 07:09:55.002949",
8-
"spec_repo_commit": "10d22b2"
7+
"regenerated": "2021-09-24 15:50:58.698819",
8+
"spec_repo_commit": "e152bc4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-09-22 07:10:42.090814",
13-
"spec_repo_commit": "10d22b2"
12+
"regenerated": "2021-09-24 15:51:50.255545",
13+
"spec_repo_commit": "e152bc4"
1414
}
1515
}
1616
}

api_docs/v1/SyntheticsTestDetails.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Object containing details about your Synthetic test.
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**config** | [**SyntheticsTestConfig**](SyntheticsTestConfig.md) | | [optional]
12+
**creator** | [**Creator**](Creator.md) | | [optional]
1213
**locations** | **List<String>** | Array of locations used to run the test. | [optional]
1314
**message** | **String** | Notification message associated with the test. | [optional]
1415
**monitorId** | **Long** | The associated monitor ID. | [optional] [readonly]

src/main/java/com/datadog/api/v1/client/model/SyntheticsTestDetails.java

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
@ApiModel(description = "Object containing details about your Synthetic test.")
2525
@JsonPropertyOrder({
2626
SyntheticsTestDetails.JSON_PROPERTY_CONFIG,
27+
SyntheticsTestDetails.JSON_PROPERTY_CREATOR,
2728
SyntheticsTestDetails.JSON_PROPERTY_LOCATIONS,
2829
SyntheticsTestDetails.JSON_PROPERTY_MESSAGE,
2930
SyntheticsTestDetails.JSON_PROPERTY_MONITOR_ID,
@@ -42,6 +43,9 @@ public class SyntheticsTestDetails {
4243
public static final String JSON_PROPERTY_CONFIG = "config";
4344
private SyntheticsTestConfig config;
4445

46+
public static final String JSON_PROPERTY_CREATOR = "creator";
47+
private Creator creator;
48+
4549
public static final String JSON_PROPERTY_LOCATIONS = "locations";
4650
private List<String> locations = null;
4751

@@ -98,6 +102,29 @@ public void setConfig(SyntheticsTestConfig config) {
98102
this.config = config;
99103
}
100104

105+
public SyntheticsTestDetails creator(Creator creator) {
106+
this.creator = creator;
107+
this.unparsed |= creator.unparsed;
108+
return this;
109+
}
110+
111+
/**
112+
* Get creator
113+
*
114+
* @return creator
115+
*/
116+
@javax.annotation.Nullable
117+
@ApiModelProperty(value = "")
118+
@JsonProperty(JSON_PROPERTY_CREATOR)
119+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
120+
public Creator getCreator() {
121+
return creator;
122+
}
123+
124+
public void setCreator(Creator creator) {
125+
this.creator = creator;
126+
}
127+
101128
public SyntheticsTestDetails locations(List<String> locations) {
102129
this.locations = locations;
103130
return this;
@@ -374,6 +401,7 @@ public boolean equals(Object o) {
374401
}
375402
SyntheticsTestDetails syntheticsTestDetails = (SyntheticsTestDetails) o;
376403
return Objects.equals(this.config, syntheticsTestDetails.config)
404+
&& Objects.equals(this.creator, syntheticsTestDetails.creator)
377405
&& Objects.equals(this.locations, syntheticsTestDetails.locations)
378406
&& Objects.equals(this.message, syntheticsTestDetails.message)
379407
&& Objects.equals(this.monitorId, syntheticsTestDetails.monitorId)
@@ -390,15 +418,16 @@ public boolean equals(Object o) {
390418
@Override
391419
public int hashCode() {
392420
return Objects.hash(
393-
config, locations, message, monitorId, name, options, publicId, status, steps, subtype,
394-
tags, type);
421+
config, creator, locations, message, monitorId, name, options, publicId, status, steps,
422+
subtype, tags, type);
395423
}
396424

397425
@Override
398426
public String toString() {
399427
StringBuilder sb = new StringBuilder();
400428
sb.append("class SyntheticsTestDetails {\n");
401429
sb.append(" config: ").append(toIndentedString(config)).append("\n");
430+
sb.append(" creator: ").append(toIndentedString(creator)).append("\n");
402431
sb.append(" locations: ").append(toIndentedString(locations)).append("\n");
403432
sb.append(" message: ").append(toIndentedString(message)).append("\n");
404433
sb.append(" monitorId: ").append(toIndentedString(monitorId)).append("\n");

src/main/java/com/datadog/api/v1/openapi.yaml

Lines changed: 49 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -23424,7 +23424,27 @@ components:
2342423424
description: Object containing an array of Synthetic tests configuration.
2342523425
example:
2342623426
tests:
23427-
- monitor_id: 5
23427+
- creator:
23428+
name: name
23429+
handle: handle
23430+
email: email
23431+
monitor_id: 5
23432+
message: message
23433+
steps:
23434+
- allowFailure: true
23435+
name: name
23436+
params: '{}'
23437+
type: assertElementContent
23438+
timeout: 1
23439+
- allowFailure: true
23440+
name: name
23441+
params: '{}'
23442+
type: assertElementContent
23443+
timeout: 1
23444+
public_id: public_id
23445+
tags:
23446+
- tags
23447+
- tags
2342823448
name: name
2342923449
options:
2343023450
allow_insecure: true
@@ -23448,7 +23468,6 @@ components:
2344823468
locations:
2344923469
- locations
2345023470
- locations
23451-
message: message
2345223471
config:
2345323472
request:
2345423473
headers:
@@ -23501,6 +23520,12 @@ components:
2350123520
id: id
2350223521
type: text
2350323522
example: example
23523+
- creator:
23524+
name: name
23525+
handle: handle
23526+
email: email
23527+
monitor_id: 5
23528+
message: message
2350423529
steps:
2350523530
- allowFailure: true
2350623531
name: name
@@ -23516,7 +23541,6 @@ components:
2351623541
tags:
2351723542
- tags
2351823543
- tags
23519-
- monitor_id: 5
2352023544
name: name
2352123545
options:
2352223546
allow_insecure: true
@@ -23540,7 +23564,6 @@ components:
2354023564
locations:
2354123565
- locations
2354223566
- locations
23543-
message: message
2354423567
config:
2354523568
request:
2354623569
headers:
@@ -23593,21 +23616,6 @@ components:
2359323616
id: id
2359423617
type: text
2359523618
example: example
23596-
steps:
23597-
- allowFailure: true
23598-
name: name
23599-
params: '{}'
23600-
type: assertElementContent
23601-
timeout: 1
23602-
- allowFailure: true
23603-
name: name
23604-
params: '{}'
23605-
type: assertElementContent
23606-
timeout: 1
23607-
public_id: public_id
23608-
tags:
23609-
- tags
23610-
- tags
2361123619
properties:
2361223620
tests:
2361323621
description: Array of Synthetic tests configuration.
@@ -24099,7 +24107,27 @@ components:
2409924107
SyntheticsTestDetails:
2410024108
description: Object containing details about your Synthetic test.
2410124109
example:
24110+
creator:
24111+
name: name
24112+
handle: handle
24113+
email: email
2410224114
monitor_id: 5
24115+
message: message
24116+
steps:
24117+
- allowFailure: true
24118+
name: name
24119+
params: '{}'
24120+
type: assertElementContent
24121+
timeout: 1
24122+
- allowFailure: true
24123+
name: name
24124+
params: '{}'
24125+
type: assertElementContent
24126+
timeout: 1
24127+
public_id: public_id
24128+
tags:
24129+
- tags
24130+
- tags
2410324131
name: name
2410424132
options:
2410524133
allow_insecure: true
@@ -24123,7 +24151,6 @@ components:
2412324151
locations:
2412424152
- locations
2412524153
- locations
24126-
message: message
2412724154
config:
2412824155
request:
2412924156
headers:
@@ -24176,24 +24203,11 @@ components:
2417624203
id: id
2417724204
type: text
2417824205
example: example
24179-
steps:
24180-
- allowFailure: true
24181-
name: name
24182-
params: '{}'
24183-
type: assertElementContent
24184-
timeout: 1
24185-
- allowFailure: true
24186-
name: name
24187-
params: '{}'
24188-
type: assertElementContent
24189-
timeout: 1
24190-
public_id: public_id
24191-
tags:
24192-
- tags
24193-
- tags
2419424206
properties:
2419524207
config:
2419624208
$ref: '#/components/schemas/SyntheticsTestConfig'
24209+
creator:
24210+
$ref: '#/components/schemas/Creator'
2419724211
locations:
2419824212
description: Array of locations used to run the test.
2419924213
items:

0 commit comments

Comments
 (0)