Skip to content

Commit 0353d84

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3e323c5a of spec repo
1 parent 79f0af4 commit 0353d84

22 files changed

Lines changed: 74 additions & 77 deletions

.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.6.6",
7-
"regenerated": "2025-04-30 19:54:42.844276",
8-
"spec_repo_commit": "4f95b6c2"
7+
"regenerated": "2025-05-01 17:33:07.863390",
8+
"spec_repo_commit": "3e323c5a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-30 19:54:42.860713",
13-
"spec_repo_commit": "4f95b6c2"
12+
"regenerated": "2025-05-01 17:33:07.880062",
13+
"spec_repo_commit": "3e323c5a"
1414
}
1515
}
1616
}

examples/v2/security-monitoring/CreateCustomFramework.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void main(String[] args) {
2525
.attributes(
2626
new CustomFrameworkDataAttributes()
2727
.name("name")
28-
.handle("create-framework-new")
28+
.handle("")
2929
.version("10")
3030
.iconUrl("test-url")
3131
.requirements(

examples/v2/security-monitoring/DeleteCustomFramework.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public static void main(String[] args) {
1111
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);
1212

1313
try {
14-
DeleteCustomFrameworkResponse result =
15-
apiInstance.deleteCustomFramework("create-framework-new", "10");
14+
DeleteCustomFrameworkResponse result = apiInstance.deleteCustomFramework("", "10");
1615
System.out.println(result);
1716
} catch (ApiException e) {
1817
System.err.println("Exception when calling SecurityMonitoringApi#deleteCustomFramework");

examples/v2/security-monitoring/GetCustomFramework.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public static void main(String[] args) {
1111
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);
1212

1313
try {
14-
GetCustomFrameworkResponse result =
15-
apiInstance.getCustomFramework("create-framework-new", "10");
14+
GetCustomFrameworkResponse result = apiInstance.getCustomFramework("", "10");
1615
System.out.println(result);
1716
} catch (ApiException e) {
1817
System.err.println("Exception when calling SecurityMonitoringApi#getCustomFramework");

examples/v2/security-monitoring/UpdateCustomFramework.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void main(String[] args) {
2525
.attributes(
2626
new CustomFrameworkDataAttributes()
2727
.name("name")
28-
.handle("create-framework-new")
28+
.handle("")
2929
.version("10")
3030
.iconUrl("test-url")
3131
.requirements(
@@ -41,8 +41,7 @@ public static void main(String[] args) {
4141
"def-000-be9"))))))));
4242

4343
try {
44-
UpdateCustomFrameworkResponse result =
45-
apiInstance.updateCustomFramework("create-framework-new", "10", body);
44+
UpdateCustomFrameworkResponse result = apiInstance.updateCustomFramework("", "10", body);
4645
System.out.println(result);
4746
} catch (ApiException e) {
4847
System.err.println("Exception when calling SecurityMonitoringApi#updateCustomFramework");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-22T19:24:37.090Z
1+
2025-05-01T15:27:00.020Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-22T19:27:16.633Z
1+
2025-05-01T15:27:00.163Z

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"httpRequest": {
44
"body": {
55
"type": "JSON",
6-
"json": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
6+
"json": "{\"data\":{\"attributes\":{\"handle\":\"CreateacustomframeworkreturnsConflictresponse\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
77
},
88
"headers": {},
99
"method": "POST",
@@ -12,7 +12,7 @@
1212
"secure": true
1313
},
1414
"httpResponse": {
15-
"body": "{\"data\":{\"id\":\"create-framework-new-10\",\"type\":\"custom_framework\",\"attributes\":{\"handle\":\"create-framework-new\",\"version\":\"10\"}}}",
15+
"body": "{\"data\":{\"id\":\"CreateacustomframeworkreturnsConflictresponse-10\",\"type\":\"custom_framework\",\"attributes\":{\"handle\":\"CreateacustomframeworkreturnsConflictresponse\",\"version\":\"10\"}}}",
1616
"headers": {
1717
"Content-Type": [
1818
"application/vnd.api+json"
@@ -27,13 +27,13 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "13fe9685-b072-5fe0-c841-4499a9e71c74"
30+
"id": "3586614e-1fc8-3300-ac44-adeb8d1bff61"
3131
},
3232
{
3333
"httpRequest": {
3434
"body": {
3535
"type": "JSON",
36-
"json": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
36+
"json": "{\"data\":{\"attributes\":{\"handle\":\"CreateacustomframeworkreturnsConflictresponse\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
3737
},
3838
"headers": {},
3939
"method": "POST",
@@ -42,7 +42,7 @@
4242
"secure": true
4343
},
4444
"httpResponse": {
45-
"body": "{\"errors\":[{\"status\":\"409\",\"title\":\"Status Conflict\",\"detail\":\"already_exists(Framework 'create-framework-new' already existed)\"}]}",
45+
"body": "{\"errors\":[{\"status\":\"409\",\"title\":\"Status Conflict\",\"detail\":\"already_exists(Framework 'CreateacustomframeworkreturnsConflictresponse' already existed)\"}]}",
4646
"headers": {
4747
"Content-Type": [
4848
"application/vnd.api+json"
@@ -57,18 +57,18 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "13fe9685-b072-5fe0-c841-4499a9e71c75"
60+
"id": "3586614e-1fc8-3300-ac44-adeb8d1bff62"
6161
},
6262
{
6363
"httpRequest": {
6464
"headers": {},
6565
"method": "DELETE",
66-
"path": "/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10",
66+
"path": "/api/v2/cloud_security_management/custom_frameworks/CreateacustomframeworkreturnsConflictresponse/10",
6767
"keepAlive": false,
6868
"secure": true
6969
},
7070
"httpResponse": {
71-
"body": "{\"data\":{\"id\":\"create-framework-new-10\",\"type\":\"custom_framework\",\"attributes\":{\"created_at\":1744297581542,\"created_by\":\"frog@datadoghq.com\",\"description\":\"\",\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"modified_at\":1745349916258,\"name\":\"name\",\"org_id\":321813,\"version\":\"10\"}}}",
71+
"body": "{\"data\":{\"id\":\"CreateacustomframeworkreturnsConflictresponse-10\",\"type\":\"custom_framework\",\"attributes\":{\"description\":\"\",\"handle\":\"CreateacustomframeworkreturnsConflictresponse\",\"icon_url\":\"test-url\",\"name\":\"name\",\"version\":\"10\"}}}",
7272
"headers": {
7373
"Content-Type": [
7474
"application/vnd.api+json"
@@ -83,6 +83,6 @@
8383
"timeToLive": {
8484
"unlimited": true
8585
},
86-
"id": "e535722a-99e3-30cf-49f7-2d093bd78b3d"
86+
"id": "09520365-ad57-0fe8-60d3-9878cd8eb9d8"
8787
}
8888
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-22T20:53:54.694Z
1+
2025-05-01T15:27:01.530Z

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"httpRequest": {
44
"body": {
55
"type": "JSON",
6-
"json": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
6+
"json": "{\"data\":{\"attributes\":{\"handle\":\"CreateacustomframeworkreturnsOKresponse\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}"
77
},
88
"headers": {},
99
"method": "POST",
@@ -12,7 +12,7 @@
1212
"secure": true
1313
},
1414
"httpResponse": {
15-
"body": "{\"data\":{\"id\":\"create-framework-new-10\",\"type\":\"custom_framework\",\"attributes\":{\"handle\":\"create-framework-new\",\"version\":\"10\"}}}",
15+
"body": "{\"data\":{\"id\":\"CreateacustomframeworkreturnsOKresponse-10\",\"type\":\"custom_framework\",\"attributes\":{\"handle\":\"CreateacustomframeworkreturnsOKresponse\",\"version\":\"10\"}}}",
1616
"headers": {
1717
"Content-Type": [
1818
"application/vnd.api+json"
@@ -27,18 +27,18 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "13fe9685-b072-5fe0-c841-4499a9e71c72"
30+
"id": "53c57601-a25d-ee10-2c6f-a313dc6d541d"
3131
},
3232
{
3333
"httpRequest": {
3434
"headers": {},
3535
"method": "DELETE",
36-
"path": "/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10",
36+
"path": "/api/v2/cloud_security_management/custom_frameworks/CreateacustomframeworkreturnsOKresponse/10",
3737
"keepAlive": false,
3838
"secure": true
3939
},
4040
"httpResponse": {
41-
"body": "{\"data\":{\"id\":\"create-framework-new-10\",\"type\":\"custom_framework\",\"attributes\":{\"created_at\":1744297581542,\"created_by\":\"team-intg-tools-libs-spam@datadoghq.com\",\"description\":\"\",\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"modified_at\":1745353074397,\"name\":\"name\",\"org_id\":321813,\"version\":\"10\"}}}",
41+
"body": "{\"data\":{\"id\":\"CreateacustomframeworkreturnsOKresponse-10\",\"type\":\"custom_framework\",\"attributes\":{\"description\":\"\",\"handle\":\"CreateacustomframeworkreturnsOKresponse\",\"icon_url\":\"test-url\",\"name\":\"name\",\"version\":\"10\"}}}",
4242
"headers": {
4343
"Content-Type": [
4444
"application/vnd.api+json"
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "e535722a-99e3-30cf-49f7-2d093bd78b3b"
56+
"id": "9d34ad67-4a45-eede-e0c5-d08b12bc2914"
5757
}
5858
]

0 commit comments

Comments
 (0)