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
5 changes: 4 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public IPAllowlistData id(String id) {
}

/**
* The unique identifier of the org.
* The unique identifier of the organization.
*
* @return id
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand All @@ -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;

Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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(
Expand All @@ -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
Expand All @@ -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: ")
Expand Down
Loading