diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 75755ab7e79..c2f13accd80 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31529,7 +31529,7 @@ components: attributes: $ref: "#/components/schemas/IPAllowlistAttributes" id: - description: The unique identifier of the org. + description: The unique identifier of the organization. type: string type: $ref: "#/components/schemas/IPAllowlistType" @@ -31555,6 +31555,9 @@ components: format: date-time readOnly: true type: string + label: + description: A label for the IP allowlist entry. + type: string modified_at: description: Time of last entry modification. format: date-time diff --git a/src/main/java/com/datadog/api/client/v2/model/IPAllowlistData.java b/src/main/java/com/datadog/api/client/v2/model/IPAllowlistData.java index 21d0d3f85b9..d9714685154 100644 --- a/src/main/java/com/datadog/api/client/v2/model/IPAllowlistData.java +++ b/src/main/java/com/datadog/api/client/v2/model/IPAllowlistData.java @@ -73,7 +73,7 @@ public IPAllowlistData id(String id) { } /** - * The unique identifier of the org. + * The unique identifier of the organization. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/IPAllowlistEntryAttributes.java b/src/main/java/com/datadog/api/client/v2/model/IPAllowlistEntryAttributes.java index 2847ad43e69..06608c5410d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/IPAllowlistEntryAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/IPAllowlistEntryAttributes.java @@ -21,6 +21,7 @@ @JsonPropertyOrder({ IPAllowlistEntryAttributes.JSON_PROPERTY_CIDR_BLOCK, IPAllowlistEntryAttributes.JSON_PROPERTY_CREATED_AT, + IPAllowlistEntryAttributes.JSON_PROPERTY_LABEL, IPAllowlistEntryAttributes.JSON_PROPERTY_MODIFIED_AT, IPAllowlistEntryAttributes.JSON_PROPERTY_NOTE }) @@ -34,6 +35,9 @@ public class IPAllowlistEntryAttributes { public static final String JSON_PROPERTY_CREATED_AT = "created_at"; private OffsetDateTime createdAt; + public static final String JSON_PROPERTY_LABEL = "label"; + private String label; + public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; private OffsetDateTime modifiedAt; @@ -73,6 +77,27 @@ public OffsetDateTime getCreatedAt() { return createdAt; } + public IPAllowlistEntryAttributes label(String label) { + this.label = label; + return this; + } + + /** + * A label for the IP allowlist entry. + * + * @return label + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LABEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + /** * Time of last entry modification. * @@ -164,6 +189,7 @@ public boolean equals(Object o) { IPAllowlistEntryAttributes ipAllowlistEntryAttributes = (IPAllowlistEntryAttributes) o; return Objects.equals(this.cidrBlock, ipAllowlistEntryAttributes.cidrBlock) && Objects.equals(this.createdAt, ipAllowlistEntryAttributes.createdAt) + && Objects.equals(this.label, ipAllowlistEntryAttributes.label) && Objects.equals(this.modifiedAt, ipAllowlistEntryAttributes.modifiedAt) && Objects.equals(this.note, ipAllowlistEntryAttributes.note) && Objects.equals( @@ -172,7 +198,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(cidrBlock, createdAt, modifiedAt, note, additionalProperties); + return Objects.hash(cidrBlock, createdAt, label, modifiedAt, note, additionalProperties); } @Override @@ -181,6 +207,7 @@ public String toString() { sb.append("class IPAllowlistEntryAttributes {\n"); sb.append(" cidrBlock: ").append(toIndentedString(cidrBlock)).append("\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" label: ").append(toIndentedString(label)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" additionalProperties: ")