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
12 changes: 12 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28204,6 +28204,10 @@ components:
description: The date/time when the rotation starts (ISO 8601).
format: date-time
type: string
time_zone:
description: The time zone for this layer.
example: America/New_York
type: string
type: object
LayerAttributesInterval:
description: Defines how often the rotation repeats, using a combination of
Expand Down Expand Up @@ -44308,6 +44312,10 @@ components:
example: '2025-01-01T00:00:00Z'
format: date-time
type: string
time_zone:
description: The time zone for this layer.
example: America/New_York
type: string
required:
- name
- interval
Expand Down Expand Up @@ -44658,6 +44666,10 @@ components:
example: '2025-02-01T00:00:00Z'
format: date-time
type: string
time_zone:
description: The time zone for this layer.
example: America/New_York
type: string
required:
- effective_date
- interval
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
LayerAttributes.JSON_PROPERTY_INTERVAL,
LayerAttributes.JSON_PROPERTY_NAME,
LayerAttributes.JSON_PROPERTY_RESTRICTIONS,
LayerAttributes.JSON_PROPERTY_ROTATION_START
LayerAttributes.JSON_PROPERTY_ROTATION_START,
LayerAttributes.JSON_PROPERTY_TIME_ZONE
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -53,6 +54,9 @@ public class LayerAttributes {
public static final String JSON_PROPERTY_ROTATION_START = "rotation_start";
private OffsetDateTime rotationStart;

public static final String JSON_PROPERTY_TIME_ZONE = "time_zone";
private String timeZone;

public LayerAttributes effectiveDate(OffsetDateTime effectiveDate) {
this.effectiveDate = effectiveDate;
return this;
Expand Down Expand Up @@ -193,6 +197,27 @@ public void setRotationStart(OffsetDateTime rotationStart) {
this.rotationStart = rotationStart;
}

public LayerAttributes timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}

/**
* The time zone for this layer.
*
* @return timeZone
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TIME_ZONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTimeZone() {
return timeZone;
}

public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}

/**
* 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 @@ -255,13 +280,21 @@ public boolean equals(Object o) {
&& Objects.equals(this.name, layerAttributes.name)
&& Objects.equals(this.restrictions, layerAttributes.restrictions)
&& Objects.equals(this.rotationStart, layerAttributes.rotationStart)
&& Objects.equals(this.timeZone, layerAttributes.timeZone)
&& Objects.equals(this.additionalProperties, layerAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(
effectiveDate, endDate, interval, name, restrictions, rotationStart, additionalProperties);
effectiveDate,
endDate,
interval,
name,
restrictions,
rotationStart,
timeZone,
additionalProperties);
}

@Override
Expand All @@ -274,6 +307,7 @@ public String toString() {
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" restrictions: ").append(toIndentedString(restrictions)).append("\n");
sb.append(" rotationStart: ").append(toIndentedString(rotationStart)).append("\n");
sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_MEMBERS,
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_NAME,
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_RESTRICTIONS,
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_ROTATION_START
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_ROTATION_START,
ScheduleCreateRequestDataAttributesLayersItems.JSON_PROPERTY_TIME_ZONE
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -58,6 +59,9 @@ public class ScheduleCreateRequestDataAttributesLayersItems {
public static final String JSON_PROPERTY_ROTATION_START = "rotation_start";
private OffsetDateTime rotationStart;

public static final String JSON_PROPERTY_TIME_ZONE = "time_zone";
private String timeZone;

public ScheduleCreateRequestDataAttributesLayersItems() {}

@JsonCreator
Expand Down Expand Up @@ -250,6 +254,27 @@ public void setRotationStart(OffsetDateTime rotationStart) {
this.rotationStart = rotationStart;
}

public ScheduleCreateRequestDataAttributesLayersItems timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}

/**
* The time zone for this layer.
*
* @return timeZone
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TIME_ZONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTimeZone() {
return timeZone;
}

public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}

/**
* 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 @@ -318,6 +343,7 @@ public boolean equals(Object o) {
this.restrictions, scheduleCreateRequestDataAttributesLayersItems.restrictions)
&& Objects.equals(
this.rotationStart, scheduleCreateRequestDataAttributesLayersItems.rotationStart)
&& Objects.equals(this.timeZone, scheduleCreateRequestDataAttributesLayersItems.timeZone)
&& Objects.equals(
this.additionalProperties,
scheduleCreateRequestDataAttributesLayersItems.additionalProperties);
Expand All @@ -333,6 +359,7 @@ public int hashCode() {
name,
restrictions,
rotationStart,
timeZone,
additionalProperties);
}

Expand All @@ -347,6 +374,7 @@ public String toString() {
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" restrictions: ").append(toIndentedString(restrictions)).append("\n");
sb.append(" rotationStart: ").append(toIndentedString(rotationStart)).append("\n");
sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_MEMBERS,
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_NAME,
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_RESTRICTIONS,
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_ROTATION_START
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_ROTATION_START,
ScheduleUpdateRequestDataAttributesLayersItems.JSON_PROPERTY_TIME_ZONE
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand Down Expand Up @@ -62,6 +63,9 @@ public class ScheduleUpdateRequestDataAttributesLayersItems {
public static final String JSON_PROPERTY_ROTATION_START = "rotation_start";
private OffsetDateTime rotationStart;

public static final String JSON_PROPERTY_TIME_ZONE = "time_zone";
private String timeZone;

public ScheduleUpdateRequestDataAttributesLayersItems() {}

@JsonCreator
Expand Down Expand Up @@ -275,6 +279,27 @@ public void setRotationStart(OffsetDateTime rotationStart) {
this.rotationStart = rotationStart;
}

public ScheduleUpdateRequestDataAttributesLayersItems timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}

/**
* The time zone for this layer.
*
* @return timeZone
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TIME_ZONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getTimeZone() {
return timeZone;
}

public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}

/**
* 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 @@ -344,6 +369,7 @@ public boolean equals(Object o) {
this.restrictions, scheduleUpdateRequestDataAttributesLayersItems.restrictions)
&& Objects.equals(
this.rotationStart, scheduleUpdateRequestDataAttributesLayersItems.rotationStart)
&& Objects.equals(this.timeZone, scheduleUpdateRequestDataAttributesLayersItems.timeZone)
&& Objects.equals(
this.additionalProperties,
scheduleUpdateRequestDataAttributesLayersItems.additionalProperties);
Expand All @@ -360,6 +386,7 @@ public int hashCode() {
name,
restrictions,
rotationStart,
timeZone,
additionalProperties);
}

Expand All @@ -375,6 +402,7 @@ public String toString() {
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" restrictions: ").append(toIndentedString(restrictions)).append("\n");
sb.append(" rotationStart: ").append(toIndentedString(rotationStart)).append("\n");
sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Loading