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
39 changes: 39 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4241,6 +4241,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
tags:
description: |-
Tags associated with the connection. Each tag must follow the `key:value` format.
The `default` tag key is reserved.
example:
- env:prod
- team:action-platform
items:
description: A non-reserved tag in `key:value` format.
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
type: string
type: array
required:
- name
- integration
Expand All @@ -4254,6 +4266,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
tags:
description: |-
Tags associated with the connection. Each tag must follow the `key:value` format.
The `default` tag key is reserved.
example:
- env:prod
- team:action-platform
items:
description: A non-reserved tag in `key:value` format.
pattern: "^(?!default:)[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
type: string
type: array
type: object
ActionConnectionData:
description: Data related to the connection.
Expand Down Expand Up @@ -121471,6 +121495,9 @@ paths:
type: AWSAssumeRole
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/CreateActionConnectionRequest"
Expand All @@ -121487,6 +121514,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000001
type: action_connection
schema:
Expand Down Expand Up @@ -121564,6 +121594,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000002
type: action_connection
schema:
Expand Down Expand Up @@ -121612,6 +121645,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/UpdateActionConnectionRequest"
Expand All @@ -121629,6 +121665,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
tags:
- env:prod
- team:action-platform
id: 00000000-0000-0000-0000-000000000003
type: action_connection
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/** The definition of <code>ActionConnectionAttributes</code> object. */
@JsonPropertyOrder({
ActionConnectionAttributes.JSON_PROPERTY_INTEGRATION,
ActionConnectionAttributes.JSON_PROPERTY_NAME
ActionConnectionAttributes.JSON_PROPERTY_NAME,
ActionConnectionAttributes.JSON_PROPERTY_TAGS
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -32,6 +35,9 @@ public class ActionConnectionAttributes {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;

public ActionConnectionAttributes() {}

@JsonCreator
Expand Down Expand Up @@ -88,6 +94,36 @@ public void setName(String name) {
this.name = name;
}

public ActionConnectionAttributes tags(List<String> tags) {
this.tags = tags;
return this;
}

public ActionConnectionAttributes addTagsItem(String tagsItem) {
if (this.tags == null) {
this.tags = new ArrayList<>();
}
this.tags.add(tagsItem);
return this;
}

/**
* Tags associated with the connection. Each tag must follow the <code>key:value</code> format.
* The <code>default</code> tag key is reserved.
*
* @return tags
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<String> getTags() {
return tags;
}

public void setTags(List<String> tags) {
this.tags = tags;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand Down Expand Up @@ -146,13 +182,14 @@ public boolean equals(Object o) {
ActionConnectionAttributes actionConnectionAttributes = (ActionConnectionAttributes) o;
return Objects.equals(this.integration, actionConnectionAttributes.integration)
&& Objects.equals(this.name, actionConnectionAttributes.name)
&& Objects.equals(this.tags, actionConnectionAttributes.tags)
&& Objects.equals(
this.additionalProperties, actionConnectionAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(integration, name, additionalProperties);
return Objects.hash(integration, name, tags, additionalProperties);
}

@Override
Expand All @@ -161,6 +198,7 @@ public String toString() {
sb.append("class ActionConnectionAttributes {\n");
sb.append(" integration: ").append(toIndentedString(integration)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/** The definition of <code>ActionConnectionAttributesUpdate</code> object. */
@JsonPropertyOrder({
ActionConnectionAttributesUpdate.JSON_PROPERTY_INTEGRATION,
ActionConnectionAttributesUpdate.JSON_PROPERTY_NAME
ActionConnectionAttributesUpdate.JSON_PROPERTY_NAME,
ActionConnectionAttributesUpdate.JSON_PROPERTY_TAGS
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -31,6 +34,9 @@ public class ActionConnectionAttributesUpdate {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;

public ActionConnectionAttributesUpdate integration(
ActionConnectionIntegrationUpdate integration) {
this.integration = integration;
Expand Down Expand Up @@ -78,6 +84,36 @@ public void setName(String name) {
this.name = name;
}

public ActionConnectionAttributesUpdate tags(List<String> tags) {
this.tags = tags;
return this;
}

public ActionConnectionAttributesUpdate addTagsItem(String tagsItem) {
if (this.tags == null) {
this.tags = new ArrayList<>();
}
this.tags.add(tagsItem);
return this;
}

/**
* Tags associated with the connection. Each tag must follow the <code>key:value</code> format.
* The <code>default</code> tag key is reserved.
*
* @return tags
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<String> getTags() {
return tags;
}

public void setTags(List<String> tags) {
this.tags = tags;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand Down Expand Up @@ -137,13 +173,14 @@ public boolean equals(Object o) {
(ActionConnectionAttributesUpdate) o;
return Objects.equals(this.integration, actionConnectionAttributesUpdate.integration)
&& Objects.equals(this.name, actionConnectionAttributesUpdate.name)
&& Objects.equals(this.tags, actionConnectionAttributesUpdate.tags)
&& Objects.equals(
this.additionalProperties, actionConnectionAttributesUpdate.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(integration, name, additionalProperties);
return Objects.hash(integration, name, tags, additionalProperties);
}

@Override
Expand All @@ -152,6 +189,7 @@ public String toString() {
sb.append("class ActionConnectionAttributesUpdate {\n");
sb.append(" integration: ").append(toIndentedString(integration)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Loading