Skip to content

Commit

Permalink
Regenerate client from commit 2204d6df of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Oct 27, 2023
1 parent 91526b8 commit 910f4b8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 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": "2023-10-26 18:12:23.643691",
"spec_repo_commit": "d4ce0c7b"
"regenerated": "2023-10-27 07:36:59.141636",
"spec_repo_commit": "2204d6df"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-26 18:12:23.667874",
"spec_repo_commit": "d4ce0c7b"
"regenerated": "2023-10-27 07:36:59.160998",
"spec_repo_commit": "2204d6df"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14072,7 +14072,7 @@ components:

associated values.'
properties:
attributes:
custom:
additionalProperties: {}
description: A JSON object of attributes in the security signal.
example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** The object containing all signal attributes and their associated values. */
@JsonPropertyOrder({
SecurityMonitoringSignalAttributes.JSON_PROPERTY_ATTRIBUTES,
SecurityMonitoringSignalAttributes.JSON_PROPERTY_CUSTOM,
SecurityMonitoringSignalAttributes.JSON_PROPERTY_MESSAGE,
SecurityMonitoringSignalAttributes.JSON_PROPERTY_TAGS,
SecurityMonitoringSignalAttributes.JSON_PROPERTY_TIMESTAMP
Expand All @@ -30,8 +30,8 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringSignalAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ATTRIBUTES = "attributes";
private Map<String, Object> attributes = null;
public static final String JSON_PROPERTY_CUSTOM = "custom";
private Map<String, Object> custom = null;

public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;
Expand All @@ -42,33 +42,33 @@ public class SecurityMonitoringSignalAttributes {
public static final String JSON_PROPERTY_TIMESTAMP = "timestamp";
private OffsetDateTime timestamp;

public SecurityMonitoringSignalAttributes attributes(Map<String, Object> attributes) {
this.attributes = attributes;
public SecurityMonitoringSignalAttributes custom(Map<String, Object> custom) {
this.custom = custom;
return this;
}

public SecurityMonitoringSignalAttributes putAttributesItem(String key, Object attributesItem) {
if (this.attributes == null) {
this.attributes = new HashMap<>();
public SecurityMonitoringSignalAttributes putCustomItem(String key, Object customItem) {
if (this.custom == null) {
this.custom = new HashMap<>();
}
this.attributes.put(key, attributesItem);
this.custom.put(key, customItem);
return this;
}

/**
* A JSON object of attributes in the security signal.
*
* @return attributes
* @return custom
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonProperty(JSON_PROPERTY_CUSTOM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Object> getAttributes() {
return attributes;
public Map<String, Object> getCustom() {
return custom;
}

public void setAttributes(Map<String, Object> attributes) {
this.attributes = attributes;
public void setCustom(Map<String, Object> custom) {
this.custom = custom;
}

public SecurityMonitoringSignalAttributes message(String message) {
Expand Down Expand Up @@ -199,7 +199,7 @@ public boolean equals(Object o) {
}
SecurityMonitoringSignalAttributes securityMonitoringSignalAttributes =
(SecurityMonitoringSignalAttributes) o;
return Objects.equals(this.attributes, securityMonitoringSignalAttributes.attributes)
return Objects.equals(this.custom, securityMonitoringSignalAttributes.custom)
&& Objects.equals(this.message, securityMonitoringSignalAttributes.message)
&& Objects.equals(this.tags, securityMonitoringSignalAttributes.tags)
&& Objects.equals(this.timestamp, securityMonitoringSignalAttributes.timestamp)
Expand All @@ -209,14 +209,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(attributes, message, tags, timestamp, additionalProperties);
return Objects.hash(custom, message, tags, timestamp, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SecurityMonitoringSignalAttributes {\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" custom: ").append(toIndentedString(custom)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
Expand Down

0 comments on commit 910f4b8

Please sign in to comment.