Skip to content

Commit 11b406d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit aaac81a of spec repo
1 parent fac92e5 commit 11b406d

188 files changed

Lines changed: 664 additions & 1332 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.

.generator/schemas/v1/openapi.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10354,6 +10354,16 @@ components:
1035410354
type: string
1035510355
status:
1035610356
$ref: '#/components/schemas/NotebookStatus'
10357+
template_variables:
10358+
description: List of template variables for this notebook.
10359+
example:
10360+
- available_values: []
10361+
default: '*'
10362+
name: host
10363+
prefix: host
10364+
items:
10365+
$ref: '#/components/schemas/NotebookTemplateVariable'
10366+
type: array
1035710367
time:
1035810368
$ref: '#/components/schemas/NotebookGlobalTime'
1035910369
required:
@@ -10657,6 +10667,39 @@ components:
1065710667
type: string
1065810668
x-enum-varnames:
1065910669
- PUBLISHED
10670+
NotebookTemplateVariable:
10671+
description: Template variable for a notebook.
10672+
properties:
10673+
available_values:
10674+
description: The list of values that the template variable drop-down is
10675+
limited to.
10676+
example:
10677+
- my-host
10678+
- host1
10679+
- host2
10680+
items:
10681+
description: Template variable value.
10682+
type: string
10683+
nullable: true
10684+
type: array
10685+
default:
10686+
description: The default value for the template variable.
10687+
example: '*'
10688+
nullable: true
10689+
type: string
10690+
name:
10691+
description: The name of the variable.
10692+
example: host
10693+
type: string
10694+
prefix:
10695+
description: The tag prefix associated with the variable. Only tags with
10696+
this prefix appear in the variable drop-down.
10697+
example: host
10698+
nullable: true
10699+
type: string
10700+
required:
10701+
- name
10702+
type: object
1066010703
NotebookTimeseriesCellAttributes:
1066110704
description: The attributes of a notebook `timeseries` cell.
1066210705
properties:
@@ -10760,6 +10803,16 @@ components:
1076010803
type: string
1076110804
status:
1076210805
$ref: '#/components/schemas/NotebookStatus'
10806+
template_variables:
10807+
description: List of template variables for this notebook.
10808+
example:
10809+
- available_values: []
10810+
default: '*'
10811+
name: host
10812+
prefix: host
10813+
items:
10814+
$ref: '#/components/schemas/NotebookTemplateVariable'
10815+
type: array
1076310816
time:
1076410817
$ref: '#/components/schemas/NotebookGlobalTime'
1076510818
required:
@@ -10836,6 +10889,16 @@ components:
1083610889
type: string
1083710890
status:
1083810891
$ref: '#/components/schemas/NotebookStatus'
10892+
template_variables:
10893+
description: List of template variables for this notebook.
10894+
example:
10895+
- available_values: []
10896+
default: '*'
10897+
name: host
10898+
prefix: host
10899+
items:
10900+
$ref: '#/components/schemas/NotebookTemplateVariable'
10901+
type: array
1083910902
time:
1084010903
$ref: '#/components/schemas/NotebookGlobalTime'
1084110904
required:

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -32179,53 +32179,6 @@ components:
3217932179
type: string
3218032180
type: array
3218132181
type: object
32182-
Integration:
32183-
description: Integration resource object.
32184-
properties:
32185-
attributes:
32186-
$ref: '#/components/schemas/IntegrationAttributes'
32187-
id:
32188-
description: The unique identifier of the integration.
32189-
example: calico
32190-
type: string
32191-
links:
32192-
$ref: '#/components/schemas/IntegrationLinks'
32193-
type:
32194-
$ref: '#/components/schemas/IntegrationType'
32195-
required:
32196-
- type
32197-
- id
32198-
- attributes
32199-
type: object
32200-
IntegrationAttributes:
32201-
description: Attributes for an integration.
32202-
properties:
32203-
categories:
32204-
description: List of categories associated with the integration.
32205-
example:
32206-
- Category::Kubernetes
32207-
- Category::Log Collection
32208-
items:
32209-
type: string
32210-
type: array
32211-
description:
32212-
description: A description of the integration.
32213-
example: Calico is a networking and network security solution for containers.
32214-
type: string
32215-
installed:
32216-
description: Whether the integration is installed.
32217-
example: true
32218-
type: boolean
32219-
title:
32220-
description: The name of the integration.
32221-
example: calico
32222-
type: string
32223-
required:
32224-
- title
32225-
- description
32226-
- categories
32227-
- installed
32228-
type: object
3222932182
IntegrationIncident:
3223032183
description: Incident integration settings
3223132184
properties:
@@ -32331,14 +32284,6 @@ components:
3233132284
value:
3233232285
$ref: '#/components/schemas/AnyValue'
3233332286
type: object
32334-
IntegrationLinks:
32335-
description: Links for the integration resource.
32336-
properties:
32337-
self:
32338-
description: Link to the integration resource.
32339-
example: /integrations?integrationId=calico
32340-
type: string
32341-
type: object
3234232287
IntegrationMonitor:
3234332288
description: Monitor integration settings
3234432289
properties:
@@ -32440,15 +32385,6 @@ components:
3244032385
type: string
3244132386
type: object
3244232387
type: object
32443-
IntegrationType:
32444-
default: integration
32445-
description: Integration resource type.
32446-
enum:
32447-
- integration
32448-
example: integration
32449-
type: string
32450-
x-enum-varnames:
32451-
- INTEGRATION
3245232388
InterfaceAttributes:
3245332389
description: The interface attributes
3245432390
properties:
@@ -34840,17 +34776,6 @@ components:
3484034776
- data
3484134777
- meta
3484234778
type: object
34843-
ListIntegrationsResponse:
34844-
description: Response containing information about multiple integrations.
34845-
properties:
34846-
data:
34847-
description: Array of integration objects.
34848-
items:
34849-
$ref: '#/components/schemas/Integration'
34850-
type: array
34851-
required:
34852-
- data
34853-
type: object
3485434779
ListInterfaceTagsResponse:
3485534780
description: Response for listing interface tags.
3485634781
properties:
@@ -84280,24 +84205,6 @@ paths:
8428084205
x-unstable: '**Note**: This endpoint is in public beta and is subject to change.
8428184206

8428284207
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
84283-
/api/v2/integrations:
84284-
get:
84285-
operationId: ListIntegrations
84286-
responses:
84287-
'200':
84288-
content:
84289-
application/json:
84290-
schema:
84291-
$ref: '#/components/schemas/ListIntegrationsResponse'
84292-
description: Successful Response.
84293-
'429':
84294-
$ref: '#/components/responses/TooManyRequestsResponse'
84295-
security:
84296-
- apiKeyAuth: []
84297-
appKeyAuth: []
84298-
summary: List Integrations
84299-
tags:
84300-
- Integrations
8430184208
/api/v2/integrations/cloudflare/accounts:
8430284209
get:
8430384210
description: List Cloudflare accounts.
@@ -106381,10 +106288,6 @@ tags:
106381106288
and todos. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/)
106382106289
for more information.
106383106290
name: Incidents
106384-
- description: 'The Integrations API is used to list available integrations
106385-
106386-
and retrieve information about their installation status.'
106387-
name: Integrations
106388106291
- description: Manage your Jira Integration. Atlassian Jira is a project management
106389106292
and issue tracking tool for teams to coordinate work and handle tasks efficiently.
106390106293
name: Jira Integration

examples/v2/integrations/ListIntegrations.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

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

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
NotebookCreateDataAttributes.JSON_PROPERTY_METADATA,
2626
NotebookCreateDataAttributes.JSON_PROPERTY_NAME,
2727
NotebookCreateDataAttributes.JSON_PROPERTY_STATUS,
28+
NotebookCreateDataAttributes.JSON_PROPERTY_TEMPLATE_VARIABLES,
2829
NotebookCreateDataAttributes.JSON_PROPERTY_TIME
2930
})
3031
@jakarta.annotation.Generated(
@@ -43,6 +44,9 @@ public class NotebookCreateDataAttributes {
4344
public static final String JSON_PROPERTY_STATUS = "status";
4445
private NotebookStatus status = NotebookStatus.PUBLISHED;
4546

47+
public static final String JSON_PROPERTY_TEMPLATE_VARIABLES = "template_variables";
48+
private List<NotebookTemplateVariable> templateVariables = null;
49+
4650
public static final String JSON_PROPERTY_TIME = "time";
4751
private NotebookGlobalTime time;
4852

@@ -156,6 +160,41 @@ public void setStatus(NotebookStatus status) {
156160
this.status = status;
157161
}
158162

163+
public NotebookCreateDataAttributes templateVariables(
164+
List<NotebookTemplateVariable> templateVariables) {
165+
this.templateVariables = templateVariables;
166+
for (NotebookTemplateVariable item : templateVariables) {
167+
this.unparsed |= item.unparsed;
168+
}
169+
return this;
170+
}
171+
172+
public NotebookCreateDataAttributes addTemplateVariablesItem(
173+
NotebookTemplateVariable templateVariablesItem) {
174+
if (this.templateVariables == null) {
175+
this.templateVariables = new ArrayList<>();
176+
}
177+
this.templateVariables.add(templateVariablesItem);
178+
this.unparsed |= templateVariablesItem.unparsed;
179+
return this;
180+
}
181+
182+
/**
183+
* List of template variables for this notebook.
184+
*
185+
* @return templateVariables
186+
*/
187+
@jakarta.annotation.Nullable
188+
@JsonProperty(JSON_PROPERTY_TEMPLATE_VARIABLES)
189+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
190+
public List<NotebookTemplateVariable> getTemplateVariables() {
191+
return templateVariables;
192+
}
193+
194+
public void setTemplateVariables(List<NotebookTemplateVariable> templateVariables) {
195+
this.templateVariables = templateVariables;
196+
}
197+
159198
public NotebookCreateDataAttributes time(NotebookGlobalTime time) {
160199
this.time = time;
161200
this.unparsed |= time.unparsed;
@@ -237,14 +276,16 @@ public boolean equals(Object o) {
237276
&& Objects.equals(this.metadata, notebookCreateDataAttributes.metadata)
238277
&& Objects.equals(this.name, notebookCreateDataAttributes.name)
239278
&& Objects.equals(this.status, notebookCreateDataAttributes.status)
279+
&& Objects.equals(this.templateVariables, notebookCreateDataAttributes.templateVariables)
240280
&& Objects.equals(this.time, notebookCreateDataAttributes.time)
241281
&& Objects.equals(
242282
this.additionalProperties, notebookCreateDataAttributes.additionalProperties);
243283
}
244284

245285
@Override
246286
public int hashCode() {
247-
return Objects.hash(cells, metadata, name, status, time, additionalProperties);
287+
return Objects.hash(
288+
cells, metadata, name, status, templateVariables, time, additionalProperties);
248289
}
249290

250291
@Override
@@ -255,6 +296,7 @@ public String toString() {
255296
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
256297
sb.append(" name: ").append(toIndentedString(name)).append("\n");
257298
sb.append(" status: ").append(toIndentedString(status)).append("\n");
299+
sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n");
258300
sb.append(" time: ").append(toIndentedString(time)).append("\n");
259301
sb.append(" additionalProperties: ")
260302
.append(toIndentedString(additionalProperties))

0 commit comments

Comments
 (0)