Skip to content

Commit

Permalink
Regenerate client from commit 7e3beef8 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 31, 2025
1 parent 34f0e67 commit 738bfbc
Show file tree
Hide file tree
Showing 38 changed files with 281 additions and 293 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-29 14:56:05.546786",
"spec_repo_commit": "14f5d952"
"regenerated": "2025-01-31 03:37:20.035310",
"spec_repo_commit": "7e3beef8"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-29 14:56:05.561740",
"spec_repo_commit": "14f5d952"
"regenerated": "2025-01-31 03:37:20.051081",
"spec_repo_commit": "7e3beef8"
}
}
}
44 changes: 22 additions & 22 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7307,8 +7307,8 @@ components:
type: gridCell
type: grid
description: This is a simple example app
embeddedQueries: []
name: Example App
queries: []
rootInstanceName: grid0
type: appDefinitions
properties:
Expand Down Expand Up @@ -7336,15 +7336,15 @@ components:
description:
description: A human-readable description for the app.
type: string
embeddedQueries:
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
name:
description: The name of the app.
type: string
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down Expand Up @@ -12411,18 +12411,18 @@ components:
description:
description: A human-readable description for the app.
type: string
embeddedQueries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
favorite:
description: Whether the app is marked as a favorite by the current user.
type: boolean
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down Expand Up @@ -29505,8 +29505,8 @@ components:
type: gridCell
type: grid
description: This is a simple example app
embeddedQueries: []
name: Example App
queries: []
rootInstanceName: grid0
id: 9e20cbaf-68da-45a6-9ccf-54193ac29fa5
type: appDefinitions
Expand Down Expand Up @@ -29545,16 +29545,16 @@ components:
description:
description: The new human-readable description for the app.
type: string
embeddedQueries:
name:
description: The new name of the app.
type: string
queries:
description: The new array of queries, such as external actions and state
variables, that the app uses. If this field is set, all existing queries
are replaced with the new queries under this field.
items:
$ref: '#/components/schemas/Query'
type: array
name:
description: The new name of the app.
type: string
rootInstanceName:
description: The new name of the root component of the app. This must be
a `grid` component that contains all other components.
Expand Down Expand Up @@ -29615,18 +29615,18 @@ components:
description:
description: The human-readable description for the app.
type: string
embeddedQueries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
favorite:
description: Whether the app is marked as a favorite by the current user.
type: boolean
name:
description: The name of the app.
type: string
queries:
description: An array of queries, such as external actions and state variables,
that the app uses.
items:
$ref: '#/components/schemas/Query'
type: array
rootInstanceName:
description: The name of the root component of the app. This must be a `grid`
component that contains all other components.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
@JsonPropertyOrder({
CreateAppRequestDataAttributes.JSON_PROPERTY_COMPONENTS,
CreateAppRequestDataAttributes.JSON_PROPERTY_DESCRIPTION,
CreateAppRequestDataAttributes.JSON_PROPERTY_EMBEDDED_QUERIES,
CreateAppRequestDataAttributes.JSON_PROPERTY_NAME,
CreateAppRequestDataAttributes.JSON_PROPERTY_QUERIES,
CreateAppRequestDataAttributes.JSON_PROPERTY_ROOT_INSTANCE_NAME,
CreateAppRequestDataAttributes.JSON_PROPERTY_TAGS
})
Expand All @@ -37,12 +37,12 @@ public class CreateAppRequestDataAttributes {
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;

public static final String JSON_PROPERTY_EMBEDDED_QUERIES = "embeddedQueries";
private List<Query> embeddedQueries = null;

public static final String JSON_PROPERTY_NAME = "name";
private String name;

public static final String JSON_PROPERTY_QUERIES = "queries";
private List<Query> queries = null;

public static final String JSON_PROPERTY_ROOT_INSTANCE_NAME = "rootInstanceName";
private String rootInstanceName;

Expand Down Expand Up @@ -103,58 +103,58 @@ public void setDescription(String description) {
this.description = description;
}

public CreateAppRequestDataAttributes embeddedQueries(List<Query> embeddedQueries) {
this.embeddedQueries = embeddedQueries;
for (Query item : embeddedQueries) {
this.unparsed |= item.unparsed;
}
return this;
}

public CreateAppRequestDataAttributes addEmbeddedQueriesItem(Query embeddedQueriesItem) {
if (this.embeddedQueries == null) {
this.embeddedQueries = new ArrayList<>();
}
this.embeddedQueries.add(embeddedQueriesItem);
this.unparsed |= embeddedQueriesItem.unparsed;
public CreateAppRequestDataAttributes name(String name) {
this.name = name;
return this;
}

/**
* An array of queries, such as external actions and state variables, that the app uses.
* The name of the app.
*
* @return embeddedQueries
* @return name
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EMBEDDED_QUERIES)
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Query> getEmbeddedQueries() {
return embeddedQueries;
public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public void setEmbeddedQueries(List<Query> embeddedQueries) {
this.embeddedQueries = embeddedQueries;
public CreateAppRequestDataAttributes queries(List<Query> queries) {
this.queries = queries;
for (Query item : queries) {
this.unparsed |= item.unparsed;
}
return this;
}

public CreateAppRequestDataAttributes name(String name) {
this.name = name;
public CreateAppRequestDataAttributes addQueriesItem(Query queriesItem) {
if (this.queries == null) {
this.queries = new ArrayList<>();
}
this.queries.add(queriesItem);
this.unparsed |= queriesItem.unparsed;
return this;
}

/**
* The name of the app.
* An array of queries, such as external actions and state variables, that the app uses.
*
* @return name
* @return queries
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(JSON_PROPERTY_QUERIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
public List<Query> getQueries() {
return queries;
}

public void setName(String name) {
this.name = name;
public void setQueries(List<Query> queries) {
this.queries = queries;
}

public CreateAppRequestDataAttributes rootInstanceName(String rootInstanceName) {
Expand Down Expand Up @@ -267,8 +267,8 @@ public boolean equals(Object o) {
(CreateAppRequestDataAttributes) o;
return Objects.equals(this.components, createAppRequestDataAttributes.components)
&& Objects.equals(this.description, createAppRequestDataAttributes.description)
&& Objects.equals(this.embeddedQueries, createAppRequestDataAttributes.embeddedQueries)
&& Objects.equals(this.name, createAppRequestDataAttributes.name)
&& Objects.equals(this.queries, createAppRequestDataAttributes.queries)
&& Objects.equals(this.rootInstanceName, createAppRequestDataAttributes.rootInstanceName)
&& Objects.equals(this.tags, createAppRequestDataAttributes.tags)
&& Objects.equals(
Expand All @@ -278,13 +278,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
return Objects.hash(
components,
description,
embeddedQueries,
name,
rootInstanceName,
tags,
additionalProperties);
components, description, name, queries, rootInstanceName, tags, additionalProperties);
}

@Override
Expand All @@ -293,8 +287,8 @@ public String toString() {
sb.append("class CreateAppRequestDataAttributes {\n");
sb.append(" components: ").append(toIndentedString(components)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" embeddedQueries: ").append(toIndentedString(embeddedQueries)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" queries: ").append(toIndentedString(queries)).append("\n");
sb.append(" rootInstanceName: ").append(toIndentedString(rootInstanceName)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
Expand Down
Loading

0 comments on commit 738bfbc

Please sign in to comment.