Skip to content

Commit 66dd247

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 16c48ca of spec repo
1 parent 768e71d commit 66dd247

9 files changed

Lines changed: 69 additions & 69 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30372,7 +30372,7 @@ components:
3037230372
type: array
3037330373
type: object
3037430374
GetInvestigationResponse:
30375-
description: Response for a single Bits AI investigation.
30375+
description: Response for a single Bits AI SRE investigation.
3037630376
properties:
3037730377
data:
3037830378
$ref: "#/components/schemas/GetInvestigationResponseData"
@@ -87059,7 +87059,7 @@ paths:
8705987059
- user_access_manage
8706087060
/api/v2/bits-ai/investigations:
8706187061
get:
87062-
description: List all Bits AI investigations for the organization.
87062+
description: List all Bits AI SRE investigations for the organization.
8706387063
operationId: ListInvestigations
8706487064
parameters:
8706587065
- description: Offset for pagination.
@@ -87126,9 +87126,9 @@ paths:
8712687126
appKeyAuth: []
8712787127
- AuthZ:
8712887128
- bits_investigations_read
87129-
summary: List Bits AI investigations
87129+
summary: List Bits AI SRE investigations
8713087130
tags:
87131-
- Bits AI
87131+
- Bits AI SRE
8713287132
x-pagination:
8713387133
limitParam: page[limit]
8713487134
pageOffsetParam: page[offset]
@@ -87141,7 +87141,7 @@ paths:
8714187141
**Note**: This endpoint is in preview and is subject to change.
8714287142
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8714387143
post:
87144-
description: Trigger a new Bits AI investigation based on a monitor alert.
87144+
description: Trigger a new Bits AI SRE investigation based on a monitor alert.
8714587145
operationId: TriggerInvestigation
8714687146
requestBody:
8714787147
content:
@@ -87190,9 +87190,9 @@ paths:
8719087190
appKeyAuth: []
8719187191
- AuthZ:
8719287192
- bits_investigations_write
87193-
summary: Trigger a Bits AI investigation
87193+
summary: Trigger a Bits AI SRE investigation
8719487194
tags:
87195-
- Bits AI
87195+
- Bits AI SRE
8719687196
x-codegen-request-body-name: body
8719787197
"x-permission":
8719887198
operator: OR
@@ -87203,7 +87203,7 @@ paths:
8720387203
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
8720487204
/api/v2/bits-ai/investigations/{id}:
8720587205
get:
87206-
description: Get a specific Bits AI investigation by ID.
87206+
description: Get a specific Bits AI SRE investigation by ID.
8720787207
operationId: GetInvestigation
8720887208
parameters:
8720987209
- description: The ID of the investigation.
@@ -87254,9 +87254,9 @@ paths:
8725487254
appKeyAuth: []
8725587255
- AuthZ:
8725687256
- bits_investigations_read
87257-
summary: Get a Bits AI investigation
87257+
summary: Get a Bits AI SRE investigation
8725887258
tags:
87259-
- Bits AI
87259+
- Bits AI SRE
8726087260
"x-permission":
8726187261
operator: OR
8726287262
permissions:
@@ -132955,8 +132955,8 @@ tags:
132955132955
sent from Identity Providers. Use these endpoints to manage your AuthN Mappings.
132956132956
name: AuthN Mappings
132957132957
- description: |-
132958-
Use the Bits AI endpoints to retrieve AI-powered investigations.
132959-
name: Bits AI
132958+
Use the Bits AI SRE endpoints to retrieve AI-powered investigations.
132959+
name: Bits AI SRE
132960132960
- description: |-
132961132961
Search or aggregate your CI Visibility pipeline events and send them to your Datadog site over HTTP. See the [CI Pipeline Visibility in Datadog page](https://docs.datadoghq.com/continuous_integration/pipelines/) for more information.
132962132962
name: CI Visibility Pipelines

examples/v2/bits-ai/GetInvestigation.java renamed to examples/v2/bits-ai-sre/GetInvestigation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
// Get a Bits AI investigation returns "OK" response
1+
// Get a Bits AI SRE investigation returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
5-
import com.datadog.api.client.v2.api.BitsAiApi;
5+
import com.datadog.api.client.v2.api.BitsAisreApi;
66
import com.datadog.api.client.v2.model.GetInvestigationResponse;
77

88
public class Example {
99
public static void main(String[] args) {
1010
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1111
defaultClient.setUnstableOperationEnabled("v2.getInvestigation", true);
12-
BitsAiApi apiInstance = new BitsAiApi(defaultClient);
12+
BitsAisreApi apiInstance = new BitsAisreApi(defaultClient);
1313

1414
try {
1515
GetInvestigationResponse result =
1616
apiInstance.getInvestigation("a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d");
1717
System.out.println(result);
1818
} catch (ApiException e) {
19-
System.err.println("Exception when calling BitsAiApi#getInvestigation");
19+
System.err.println("Exception when calling BitsAisreApi#getInvestigation");
2020
System.err.println("Status code: " + e.getCode());
2121
System.err.println("Reason: " + e.getResponseBody());
2222
System.err.println("Response headers: " + e.getResponseHeaders());

examples/v2/bits-ai/ListInvestigations.java renamed to examples/v2/bits-ai-sre/ListInvestigations.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
// List Bits AI investigations returns "OK" response
1+
// List Bits AI SRE investigations returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
5-
import com.datadog.api.client.v2.api.BitsAiApi;
5+
import com.datadog.api.client.v2.api.BitsAisreApi;
66
import com.datadog.api.client.v2.model.ListInvestigationsResponse;
77

88
public class Example {
99
public static void main(String[] args) {
1010
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1111
defaultClient.setUnstableOperationEnabled("v2.listInvestigations", true);
12-
BitsAiApi apiInstance = new BitsAiApi(defaultClient);
12+
BitsAisreApi apiInstance = new BitsAisreApi(defaultClient);
1313

1414
try {
1515
ListInvestigationsResponse result = apiInstance.listInvestigations();
1616
System.out.println(result);
1717
} catch (ApiException e) {
18-
System.err.println("Exception when calling BitsAiApi#listInvestigations");
18+
System.err.println("Exception when calling BitsAisreApi#listInvestigations");
1919
System.err.println("Status code: " + e.getCode());
2020
System.err.println("Reason: " + e.getResponseBody());
2121
System.err.println("Response headers: " + e.getResponseHeaders());

examples/v2/bits-ai/ListInvestigations_130750454.java renamed to examples/v2/bits-ai-sre/ListInvestigations_1361254656.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
// List Bits AI investigations returns "OK" response with pagination
1+
// List Bits AI SRE investigations returns "OK" response with pagination
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.PaginationIterable;
5-
import com.datadog.api.client.v2.api.BitsAiApi;
5+
import com.datadog.api.client.v2.api.BitsAisreApi;
66
import com.datadog.api.client.v2.model.ListInvestigationsResponseData;
77

88
public class Example {
99
public static void main(String[] args) {
1010
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1111
defaultClient.setUnstableOperationEnabled("v2.listInvestigations", true);
12-
BitsAiApi apiInstance = new BitsAiApi(defaultClient);
12+
BitsAisreApi apiInstance = new BitsAisreApi(defaultClient);
1313

1414
try {
1515
PaginationIterable<ListInvestigationsResponseData> iterable =
@@ -19,7 +19,7 @@ public static void main(String[] args) {
1919
System.out.println(item);
2020
}
2121
} catch (RuntimeException e) {
22-
System.err.println("Exception when calling BitsAiApi#listInvestigationsWithPagination");
22+
System.err.println("Exception when calling BitsAisreApi#listInvestigationsWithPagination");
2323
System.err.println("Reason: " + e.getMessage());
2424
e.printStackTrace();
2525
}

examples/v2/bits-ai/TriggerInvestigation.java renamed to examples/v2/bits-ai-sre/TriggerInvestigation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Trigger a Bits AI investigation returns "OK" response
1+
// Trigger a Bits AI SRE investigation returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
5-
import com.datadog.api.client.v2.api.BitsAiApi;
5+
import com.datadog.api.client.v2.api.BitsAisreApi;
66
import com.datadog.api.client.v2.model.MonitorAlertTriggerAttributes;
77
import com.datadog.api.client.v2.model.TriggerAttributes;
88
import com.datadog.api.client.v2.model.TriggerInvestigationRequest;
@@ -16,7 +16,7 @@ public class Example {
1616
public static void main(String[] args) {
1717
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1818
defaultClient.setUnstableOperationEnabled("v2.triggerInvestigation", true);
19-
BitsAiApi apiInstance = new BitsAiApi(defaultClient);
19+
BitsAisreApi apiInstance = new BitsAisreApi(defaultClient);
2020

2121
TriggerInvestigationRequest body =
2222
new TriggerInvestigationRequest()
@@ -38,7 +38,7 @@ public static void main(String[] args) {
3838
TriggerInvestigationResponse result = apiInstance.triggerInvestigation(body);
3939
System.out.println(result);
4040
} catch (ApiException e) {
41-
System.err.println("Exception when calling BitsAiApi#triggerInvestigation");
41+
System.err.println("Exception when calling BitsAisreApi#triggerInvestigation");
4242
System.err.println("Status code: " + e.getCode());
4343
System.err.println("Reason: " + e.getResponseBody());
4444
System.err.println("Response headers: " + e.getResponseHeaders());

0 commit comments

Comments
 (0)