Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10354,6 +10354,16 @@ components:
type: string
status:
$ref: '#/components/schemas/NotebookStatus'
template_variables:
description: List of template variables for this notebook.
example:
- available_values: []
default: '*'
name: host
prefix: host
items:
$ref: '#/components/schemas/NotebookTemplateVariable'
type: array
time:
$ref: '#/components/schemas/NotebookGlobalTime'
required:
Expand Down Expand Up @@ -10657,6 +10667,39 @@ components:
type: string
x-enum-varnames:
- PUBLISHED
NotebookTemplateVariable:
description: Template variable for a notebook.
properties:
available_values:
description: The list of values that the template variable drop-down is
limited to.
example:
- my-host
- host1
- host2
items:
description: Template variable value.
type: string
nullable: true
type: array
default:
description: The default value for the template variable.
example: '*'
nullable: true
type: string
name:
description: The name of the variable.
example: host
type: string
prefix:
description: The tag prefix associated with the variable. Only tags with
this prefix appear in the variable drop-down.
example: host
nullable: true
type: string
required:
- name
type: object
NotebookTimeseriesCellAttributes:
description: The attributes of a notebook `timeseries` cell.
properties:
Expand Down Expand Up @@ -10760,6 +10803,16 @@ components:
type: string
status:
$ref: '#/components/schemas/NotebookStatus'
template_variables:
description: List of template variables for this notebook.
example:
- available_values: []
default: '*'
name: host
prefix: host
items:
$ref: '#/components/schemas/NotebookTemplateVariable'
type: array
time:
$ref: '#/components/schemas/NotebookGlobalTime'
required:
Expand Down Expand Up @@ -10836,6 +10889,16 @@ components:
type: string
status:
$ref: '#/components/schemas/NotebookStatus'
template_variables:
description: List of template variables for this notebook.
example:
- available_values: []
default: '*'
name: host
prefix: host
items:
$ref: '#/components/schemas/NotebookTemplateVariable'
type: array
time:
$ref: '#/components/schemas/NotebookGlobalTime'
required:
Expand Down
97 changes: 0 additions & 97 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32179,53 +32179,6 @@ components:
type: string
type: array
type: object
Integration:
description: Integration resource object.
properties:
attributes:
$ref: '#/components/schemas/IntegrationAttributes'
id:
description: The unique identifier of the integration.
example: calico
type: string
links:
$ref: '#/components/schemas/IntegrationLinks'
type:
$ref: '#/components/schemas/IntegrationType'
required:
- type
- id
- attributes
type: object
IntegrationAttributes:
description: Attributes for an integration.
properties:
categories:
description: List of categories associated with the integration.
example:
- Category::Kubernetes
- Category::Log Collection
items:
type: string
type: array
description:
description: A description of the integration.
example: Calico is a networking and network security solution for containers.
type: string
installed:
description: Whether the integration is installed.
example: true
type: boolean
title:
description: The name of the integration.
example: calico
type: string
required:
- title
- description
- categories
- installed
type: object
IntegrationIncident:
description: Incident integration settings
properties:
Expand Down Expand Up @@ -32331,14 +32284,6 @@ components:
value:
$ref: '#/components/schemas/AnyValue'
type: object
IntegrationLinks:
description: Links for the integration resource.
properties:
self:
description: Link to the integration resource.
example: /integrations?integrationId=calico
type: string
type: object
IntegrationMonitor:
description: Monitor integration settings
properties:
Expand Down Expand Up @@ -32440,15 +32385,6 @@ components:
type: string
type: object
type: object
IntegrationType:
default: integration
description: Integration resource type.
enum:
- integration
example: integration
type: string
x-enum-varnames:
- INTEGRATION
InterfaceAttributes:
description: The interface attributes
properties:
Expand Down Expand Up @@ -34840,17 +34776,6 @@ components:
- data
- meta
type: object
ListIntegrationsResponse:
description: Response containing information about multiple integrations.
properties:
data:
description: Array of integration objects.
items:
$ref: '#/components/schemas/Integration'
type: array
required:
- data
type: object
ListInterfaceTagsResponse:
description: Response for listing interface tags.
properties:
Expand Down Expand Up @@ -84280,24 +84205,6 @@ paths:
x-unstable: '**Note**: This endpoint is in public beta and is subject to change.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/integrations:
get:
operationId: ListIntegrations
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListIntegrationsResponse'
description: Successful Response.
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
summary: List Integrations
tags:
- Integrations
/api/v2/integrations/cloudflare/accounts:
get:
description: List Cloudflare accounts.
Expand Down Expand Up @@ -106381,10 +106288,6 @@ tags:
and todos. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/)
for more information.
name: Incidents
- description: 'The Integrations API is used to list available integrations

and retrieve information about their installation status.'
name: Integrations
- description: Manage your Jira Integration. Atlassian Jira is a project management
and issue tracking tool for teams to coordinate work and handle tasks efficiently.
name: Jira Integration
Expand Down
24 changes: 0 additions & 24 deletions examples/v2/integrations/ListIntegrations.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
NotebookCreateDataAttributes.JSON_PROPERTY_METADATA,
NotebookCreateDataAttributes.JSON_PROPERTY_NAME,
NotebookCreateDataAttributes.JSON_PROPERTY_STATUS,
NotebookCreateDataAttributes.JSON_PROPERTY_TEMPLATE_VARIABLES,
NotebookCreateDataAttributes.JSON_PROPERTY_TIME
})
@jakarta.annotation.Generated(
Expand All @@ -43,6 +44,9 @@ public class NotebookCreateDataAttributes {
public static final String JSON_PROPERTY_STATUS = "status";
private NotebookStatus status = NotebookStatus.PUBLISHED;

public static final String JSON_PROPERTY_TEMPLATE_VARIABLES = "template_variables";
private List<NotebookTemplateVariable> templateVariables = null;

public static final String JSON_PROPERTY_TIME = "time";
private NotebookGlobalTime time;

Expand Down Expand Up @@ -156,6 +160,41 @@ public void setStatus(NotebookStatus status) {
this.status = status;
}

public NotebookCreateDataAttributes templateVariables(
List<NotebookTemplateVariable> templateVariables) {
this.templateVariables = templateVariables;
for (NotebookTemplateVariable item : templateVariables) {
this.unparsed |= item.unparsed;
}
return this;
}

public NotebookCreateDataAttributes addTemplateVariablesItem(
NotebookTemplateVariable templateVariablesItem) {
if (this.templateVariables == null) {
this.templateVariables = new ArrayList<>();
}
this.templateVariables.add(templateVariablesItem);
this.unparsed |= templateVariablesItem.unparsed;
return this;
}

/**
* List of template variables for this notebook.
*
* @return templateVariables
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TEMPLATE_VARIABLES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<NotebookTemplateVariable> getTemplateVariables() {
return templateVariables;
}

public void setTemplateVariables(List<NotebookTemplateVariable> templateVariables) {
this.templateVariables = templateVariables;
}

public NotebookCreateDataAttributes time(NotebookGlobalTime time) {
this.time = time;
this.unparsed |= time.unparsed;
Expand Down Expand Up @@ -237,14 +276,16 @@ public boolean equals(Object o) {
&& Objects.equals(this.metadata, notebookCreateDataAttributes.metadata)
&& Objects.equals(this.name, notebookCreateDataAttributes.name)
&& Objects.equals(this.status, notebookCreateDataAttributes.status)
&& Objects.equals(this.templateVariables, notebookCreateDataAttributes.templateVariables)
&& Objects.equals(this.time, notebookCreateDataAttributes.time)
&& Objects.equals(
this.additionalProperties, notebookCreateDataAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(cells, metadata, name, status, time, additionalProperties);
return Objects.hash(
cells, metadata, name, status, templateVariables, time, additionalProperties);
}

@Override
Expand All @@ -255,6 +296,7 @@ public String toString() {
sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" templateVariables: ").append(toIndentedString(templateVariables)).append("\n");
sb.append(" time: ").append(toIndentedString(time)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
Expand Down
Loading
Loading