Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35837,6 +35837,12 @@ components:
RUMApplicationAttributes:
description: RUM application attributes.
properties:
api_key_id:
description: ID of the API key associated with the application.
example: 123456789
format: int32
maximum: 2147483647
type: integer
application_id:
description: ID of the RUM application.
example: abcd1234-0000-0000-abcd-1234abcd5678
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

/** RUM application attributes. */
@JsonPropertyOrder({
RUMApplicationAttributes.JSON_PROPERTY_API_KEY_ID,
RUMApplicationAttributes.JSON_PROPERTY_APPLICATION_ID,
RUMApplicationAttributes.JSON_PROPERTY_CLIENT_TOKEN,
RUMApplicationAttributes.JSON_PROPERTY_CREATED_AT,
Expand All @@ -36,6 +37,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RUMApplicationAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_API_KEY_ID = "api_key_id";
private Integer apiKeyId;

public static final String JSON_PROPERTY_APPLICATION_ID = "application_id";
private String applicationId;

Expand Down Expand Up @@ -98,6 +102,27 @@ public RUMApplicationAttributes(
this.updatedByHandle = updatedByHandle;
}

public RUMApplicationAttributes apiKeyId(Integer apiKeyId) {
this.apiKeyId = apiKeyId;
return this;
}

/**
* ID of the API key associated with the application. maximum: 2147483647
*
* @return apiKeyId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_API_KEY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getApiKeyId() {
return apiKeyId;
}

public void setApiKeyId(Integer apiKeyId) {
this.apiKeyId = apiKeyId;
}

public RUMApplicationAttributes applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
Expand Down Expand Up @@ -400,7 +425,8 @@ public boolean equals(Object o) {
return false;
}
RUMApplicationAttributes rumApplicationAttributes = (RUMApplicationAttributes) o;
return Objects.equals(this.applicationId, rumApplicationAttributes.applicationId)
return Objects.equals(this.apiKeyId, rumApplicationAttributes.apiKeyId)
&& Objects.equals(this.applicationId, rumApplicationAttributes.applicationId)
&& Objects.equals(this.clientToken, rumApplicationAttributes.clientToken)
&& Objects.equals(this.createdAt, rumApplicationAttributes.createdAt)
&& Objects.equals(this.createdByHandle, rumApplicationAttributes.createdByHandle)
Expand All @@ -418,6 +444,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
return Objects.hash(
apiKeyId,
applicationId,
clientToken,
createdAt,
Expand All @@ -437,6 +464,7 @@ public int hashCode() {
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RUMApplicationAttributes {\n");
sb.append(" apiKeyId: ").append(toIndentedString(apiKeyId)).append("\n");
sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
Expand Down