Skip to content

Commit b593733

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8b9c77e of spec repo
1 parent bff9053 commit b593733

109 files changed

Lines changed: 190 additions & 133 deletions

File tree

Some content is hidden

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

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "d02c8a3",
3-
"generated": "2025-08-08 12:08:35.449"
2+
"spec_repo_commit": "8b9c77e",
3+
"generated": "2025-08-12 15:59:59.015"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3446,9 +3446,25 @@ components:
34463446
example:
34473447
focus: WORLD
34483448
properties:
3449+
custom_extent:
3450+
description: A custom extent of the map defined by an array of four numbers
3451+
in the order `[minLongitude, minLatitude, maxLongitude, maxLatitude]`.
3452+
example:
3453+
- -30
3454+
- -40
3455+
- 40
3456+
- 30
3457+
items:
3458+
description: The longitudinal or latitudinal coordinates of the bounding
3459+
box.
3460+
format: double
3461+
type: number
3462+
maxItems: 4
3463+
minItems: 4
3464+
type: array
34493465
focus:
3450-
description: The 2-letter ISO code of a country to focus the map on. Or
3451-
`WORLD`.
3466+
description: The ISO code of a country, sub-division, or region to focus
3467+
the map on. Or `WORLD`. Mutually exclusive with `custom_extent`.
34523468
example: WORLD
34533469
type: string
34543470
required:

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

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,24 @@
1313
import com.fasterxml.jackson.annotation.JsonInclude;
1414
import com.fasterxml.jackson.annotation.JsonProperty;
1515
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
16+
import java.util.ArrayList;
1617
import java.util.HashMap;
18+
import java.util.List;
1719
import java.util.Map;
1820
import java.util.Objects;
1921

2022
/** The view of the world that the map should render. */
21-
@JsonPropertyOrder({GeomapWidgetDefinitionView.JSON_PROPERTY_FOCUS})
23+
@JsonPropertyOrder({
24+
GeomapWidgetDefinitionView.JSON_PROPERTY_CUSTOM_EXTENT,
25+
GeomapWidgetDefinitionView.JSON_PROPERTY_FOCUS
26+
})
2227
@jakarta.annotation.Generated(
2328
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
2429
public class GeomapWidgetDefinitionView {
2530
@JsonIgnore public boolean unparsed = false;
31+
public static final String JSON_PROPERTY_CUSTOM_EXTENT = "custom_extent";
32+
private List<Double> customExtent = null;
33+
2634
public static final String JSON_PROPERTY_FOCUS = "focus";
2735
private String focus;
2836

@@ -34,13 +42,44 @@ public GeomapWidgetDefinitionView(
3442
this.focus = focus;
3543
}
3644

45+
public GeomapWidgetDefinitionView customExtent(List<Double> customExtent) {
46+
this.customExtent = customExtent;
47+
return this;
48+
}
49+
50+
public GeomapWidgetDefinitionView addCustomExtentItem(Double customExtentItem) {
51+
if (this.customExtent == null) {
52+
this.customExtent = new ArrayList<>();
53+
}
54+
this.customExtent.add(customExtentItem);
55+
return this;
56+
}
57+
58+
/**
59+
* A custom extent of the map defined by an array of four numbers in the order <code>
60+
* [minLongitude, minLatitude, maxLongitude, maxLatitude]</code>.
61+
*
62+
* @return customExtent
63+
*/
64+
@jakarta.annotation.Nullable
65+
@JsonProperty(JSON_PROPERTY_CUSTOM_EXTENT)
66+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
67+
public List<Double> getCustomExtent() {
68+
return customExtent;
69+
}
70+
71+
public void setCustomExtent(List<Double> customExtent) {
72+
this.customExtent = customExtent;
73+
}
74+
3775
public GeomapWidgetDefinitionView focus(String focus) {
3876
this.focus = focus;
3977
return this;
4078
}
4179

4280
/**
43-
* The 2-letter ISO code of a country to focus the map on. Or <code>WORLD</code>.
81+
* The ISO code of a country, sub-division, or region to focus the map on. Or <code>WORLD</code>.
82+
* Mutually exclusive with <code>custom_extent</code>.
4483
*
4584
* @return focus
4685
*/
@@ -110,20 +149,22 @@ public boolean equals(Object o) {
110149
return false;
111150
}
112151
GeomapWidgetDefinitionView geomapWidgetDefinitionView = (GeomapWidgetDefinitionView) o;
113-
return Objects.equals(this.focus, geomapWidgetDefinitionView.focus)
152+
return Objects.equals(this.customExtent, geomapWidgetDefinitionView.customExtent)
153+
&& Objects.equals(this.focus, geomapWidgetDefinitionView.focus)
114154
&& Objects.equals(
115155
this.additionalProperties, geomapWidgetDefinitionView.additionalProperties);
116156
}
117157

118158
@Override
119159
public int hashCode() {
120-
return Objects.hash(focus, additionalProperties);
160+
return Objects.hash(customExtent, focus, additionalProperties);
121161
}
122162

123163
@Override
124164
public String toString() {
125165
StringBuilder sb = new StringBuilder();
126166
sb.append("class GeomapWidgetDefinitionView {\n");
167+
sb.append(" customExtent: ").append(toIndentedString(customExtent)).append("\n");
127168
sb.append(" focus: ").append(toIndentedString(focus)).append("\n");
128169
sb.append(" additionalProperties: ")
129170
.append(toIndentedString(additionalProperties))

src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_AWS_Account_object_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "c206b9cd-771e-14f0-5d18-42a3a48556cf"
30+
"id": "c206b9cd-771e-14f0-5d18-42a3a48556ce"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
3131
},
3232
{
3333
"httpRequest": {
@@ -57,7 +57,7 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "c206b9cd-771e-14f0-5d18-42a3a48556ce"
60+
"id": "c206b9cd-771e-14f0-5d18-42a3a48556cf"
6161
},
6262
{
6363
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
26+
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
2727
}
2828
]

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed"
3131
},
3232
{
3333
"httpRequest": {
@@ -53,7 +53,7 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6e"
56+
"id": "ab2123e3-6fb5-0f90-fe98-365e086c9c6f"
5757
},
5858
{
5959
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
30+
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
3131
},
3232
{
3333
"httpRequest": {

src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691"
26+
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690"
2727
}
2828
]

0 commit comments

Comments
 (0)