Skip to content

Commit 57660c2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 09e35deb of spec repo
1 parent 357841c commit 57660c2

File tree

43 files changed

+248
-251
lines changed

Some content is hidden

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

43 files changed

+248
-251
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.6.6",
7-
"regenerated": "2024-10-31 16:41:33.862946",
8-
"spec_repo_commit": "63c441b2"
7+
"regenerated": "2024-11-04 18:12:03.866708",
8+
"spec_repo_commit": "09e35deb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-31 16:41:33.881242",
13-
"spec_repo_commit": "63c441b2"
12+
"regenerated": "2024-11-04 18:12:03.884881",
13+
"spec_repo_commit": "09e35deb"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11964,7 +11964,7 @@ components:
1196411964
default: false
1196511965
description: If true, this incident type will be used as the default incident
1196611966
type if a type is not specified during the creation of incident resources.
11967-
example: true
11967+
example: false
1196811968
type: boolean
1196911969
lastModifiedBy:
1197011970
description: A unique identifier that represents the user that last modified
@@ -12099,7 +12099,7 @@ components:
1209912099
is_default:
1210012100
description: When true, this incident type will be used as the default type
1210112101
when an incident type is not specified.
12102-
example: true
12102+
example: false
1210312103
type: boolean
1210412104
lastModifiedBy:
1210512105
description: A unique identifier that represents the user that last modified

examples/v2/incidents/CreateIncidentType.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ public static void main(String[] args) {
2121
new IncidentTypeCreateData()
2222
.attributes(
2323
new IncidentTypeAttributes()
24-
.description("8d4bbb66dccf2456")
25-
.isDefault(true)
26-
.name("8d4bbb66dccf2456"))
24+
.description(
25+
"Any incidents that harm (or have the potential to) the"
26+
+ " confidentiality, integrity, or availability of our data.")
27+
.isDefault(false)
28+
.name("Security Incident"))
2729
.type(IncidentTypeType.INCIDENT_TYPES));
2830

2931
try {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-06T20:25:23.087Z
1+
2024-11-04T16:31:34.097Z

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

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-06T20:25:24.764Z
1+
2024-11-04T16:31:35.811Z

src/test/resources/cassettes/features/v2/Create_an_incident_attachment_returns_OK_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\":{\"customer_impacted\":false,\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\"},\"type\":\"incidents\"}}"
6+
"json": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1730737895\"},\"type\":\"incidents\"}}"
77
},
88
"headers": {},
99
"method": "POST",
@@ -12,7 +12,7 @@
1212
"secure": true
1313
},
1414
"httpResponse": {
15-
"body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f5faf64f-c9bd-5171-8c9e-e4ce51604c97\",\"attributes\":{\"public_id\":174803,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:24.903041+00:00\",\"modified\":\"2023-11-06T20:25:24.903041+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:24.890646+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n",
15+
"body": "{\"data\":{\"type\":\"incidents\",\"id\":\"acdd6a7b-b94b-5593-8685-aa4cc2d6045d\",\"attributes\":{\"public_id\":250770,\"incident_type_uuid\":\"7fa7e0a4-d49e-4092-8dcc-db728969ff93\",\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1730737895\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2024-11-04T16:31:35.963649+00:00\",\"modified\":\"2024-11-04T16:31:35.963649+00:00\",\"commander\":null,\"detected\":\"2024-11-04T16:31:35.956509+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"a36107c6-4fec-5762-8d0c-155468701950\"},{\"type\":\"user_defined_field\",\"id\":\"a21364e0-a633-5755-a9ee-b41b4f0e4ec7\"},{\"type\":\"user_defined_field\",\"id\":\"a841b973-0344-5dfc-b17b-d2fec8d1f81c\"},{\"type\":\"user_defined_field\",\"id\":\"9f1c037a-75d2-5c51-b595-15a528a5e990\"},{\"type\":\"user_defined_field\",\"id\":\"d1db732a-4849-5fa5-8845-ac3f551666a5\"},{\"type\":\"user_defined_field\",\"id\":\"5f170242-b7dd-5f4a-bbfe-e7e2f9126060\"},{\"type\":\"user_defined_field\",\"id\":\"2c729904-3169-5274-b464-4efec4984398\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n",
1616
"headers": {
1717
"Content-Type": [
1818
"application/json"
@@ -27,22 +27,22 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "ec47038b-baa0-1646-eec8-f69d308fc404"
30+
"id": "e3abc9f7-feab-069c-24fd-1d5f7be2f2aa"
3131
},
3232
{
3333
"httpRequest": {
3434
"body": {
3535
"type": "JSON",
36-
"json": "{\"data\":[{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://www.example.com/doc\",\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\"},\"attachment_type\":\"link\"},\"type\":\"incident_attachments\"}]}"
36+
"json": "{\"data\":[{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://www.example.com/doc\",\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1730737895\"},\"attachment_type\":\"link\"},\"type\":\"incident_attachments\"}]}"
3737
},
3838
"headers": {},
3939
"method": "PATCH",
40-
"path": "/api/v2/incidents/f5faf64f-c9bd-5171-8c9e-e4ce51604c97/attachments",
40+
"path": "/api/v2/incidents/acdd6a7b-b94b-5593-8685-aa4cc2d6045d/attachments",
4141
"keepAlive": false,
4242
"secure": true
4343
},
4444
"httpResponse": {
45-
"body": "{\"data\":[{\"type\":\"incident_attachments\",\"id\":\"34749f37-7681-50cb-8cc4-709950a4bd62\",\"attributes\":{\"modified\":\"2023-11-06T20:25:25.295458+00:00\",\"attachment_type\":\"link\",\"attachment\":{\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\",\"documentUrl\":\"https://www.example.com/doc\"}},\"relationships\":{\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}}}}]}\n",
45+
"body": "{\"data\":[{\"type\":\"incident_attachments\",\"id\":\"c08f9757-0c1b-556f-adbb-b2e9aceaa24b\",\"attributes\":{\"modified\":\"2024-11-04T16:31:36.341197+00:00\",\"attachment_type\":\"link\",\"attachment\":{\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1730737895\",\"documentUrl\":\"https://www.example.com/doc\"}},\"relationships\":{\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}}}}]}\n",
4646
"headers": {
4747
"Content-Type": [
4848
"application/json"
@@ -57,13 +57,13 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "ebb2637f-cbcb-1e20-e0a0-036a069006ef"
60+
"id": "312691c7-db01-e627-e672-64e8ecbf3abd"
6161
},
6262
{
6363
"httpRequest": {
6464
"headers": {},
6565
"method": "DELETE",
66-
"path": "/api/v2/incidents/f5faf64f-c9bd-5171-8c9e-e4ce51604c97",
66+
"path": "/api/v2/incidents/acdd6a7b-b94b-5593-8685-aa4cc2d6045d",
6767
"keepAlive": false,
6868
"secure": true
6969
},
@@ -82,6 +82,6 @@
8282
"timeToLive": {
8383
"unlimited": true
8484
},
85-
"id": "cd21182f-c4df-3f66-1195-385f4d896888"
85+
"id": "f321ff38-ee15-3778-c94b-f4143a485c0f"
8686
}
8787
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-11-06T20:25:25.688Z
1+
2024-11-04T16:31:36.705Z

0 commit comments

Comments
 (0)