diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml
index 1d81e8b2f75..03f9a175301 100644
--- a/.generator/schemas/v2/openapi.yaml
+++ b/.generator/schemas/v2/openapi.yaml
@@ -31064,6 +31064,11 @@ components:
InputSchemaParameters:
description: The definition of `InputSchemaParameters` object.
properties:
+ allowExtraValues:
+ description: The `InputSchemaParameters` `allowExtraValues`.
+ type: boolean
+ allowedValues:
+ description: The `InputSchemaParameters` `allowedValues`.
defaultValue:
description: The `InputSchemaParameters` `defaultValue`.
description:
@@ -40869,8 +40874,6 @@ components:
type: integer
type:
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
- when_full:
- $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
type: object
ObservabilityPipelineMemoryBufferSizeOptions:
description: Options for configuring a memory buffer by queue length.
@@ -40882,8 +40885,6 @@ components:
type: integer
type:
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
- when_full:
- $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
type: object
ObservabilityPipelineMetadataEntry:
description: A custom metadata entry.
diff --git a/src/main/java/com/datadog/api/client/v2/model/InputSchemaParameters.java b/src/main/java/com/datadog/api/client/v2/model/InputSchemaParameters.java
index e01fd72c0d1..a399f948fe4 100644
--- a/src/main/java/com/datadog/api/client/v2/model/InputSchemaParameters.java
+++ b/src/main/java/com/datadog/api/client/v2/model/InputSchemaParameters.java
@@ -19,6 +19,8 @@
/** The definition of InputSchemaParameters object. */
@JsonPropertyOrder({
+ InputSchemaParameters.JSON_PROPERTY_ALLOW_EXTRA_VALUES,
+ InputSchemaParameters.JSON_PROPERTY_ALLOWED_VALUES,
InputSchemaParameters.JSON_PROPERTY_DEFAULT_VALUE,
InputSchemaParameters.JSON_PROPERTY_DESCRIPTION,
InputSchemaParameters.JSON_PROPERTY_LABEL,
@@ -29,6 +31,12 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class InputSchemaParameters {
@JsonIgnore public boolean unparsed = false;
+ public static final String JSON_PROPERTY_ALLOW_EXTRA_VALUES = "allowExtraValues";
+ private Boolean allowExtraValues;
+
+ public static final String JSON_PROPERTY_ALLOWED_VALUES = "allowedValues";
+ private Object allowedValues = null;
+
public static final String JSON_PROPERTY_DEFAULT_VALUE = "defaultValue";
private Object defaultValue = null;
@@ -55,6 +63,48 @@ public InputSchemaParameters(
this.unparsed |= !type.isValid();
}
+ public InputSchemaParameters allowExtraValues(Boolean allowExtraValues) {
+ this.allowExtraValues = allowExtraValues;
+ return this;
+ }
+
+ /**
+ * The InputSchemaParameters allowExtraValues.
+ *
+ * @return allowExtraValues
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ALLOW_EXTRA_VALUES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getAllowExtraValues() {
+ return allowExtraValues;
+ }
+
+ public void setAllowExtraValues(Boolean allowExtraValues) {
+ this.allowExtraValues = allowExtraValues;
+ }
+
+ public InputSchemaParameters allowedValues(Object allowedValues) {
+ this.allowedValues = allowedValues;
+ return this;
+ }
+
+ /**
+ * The InputSchemaParameters allowedValues.
+ *
+ * @return allowedValues
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_ALLOWED_VALUES)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Object getAllowedValues() {
+ return allowedValues;
+ }
+
+ public void setAllowedValues(Object allowedValues) {
+ this.allowedValues = allowedValues;
+ }
+
public InputSchemaParameters defaultValue(Object defaultValue) {
this.defaultValue = defaultValue;
return this;
@@ -218,7 +268,9 @@ public boolean equals(Object o) {
return false;
}
InputSchemaParameters inputSchemaParameters = (InputSchemaParameters) o;
- return Objects.equals(this.defaultValue, inputSchemaParameters.defaultValue)
+ return Objects.equals(this.allowExtraValues, inputSchemaParameters.allowExtraValues)
+ && Objects.equals(this.allowedValues, inputSchemaParameters.allowedValues)
+ && Objects.equals(this.defaultValue, inputSchemaParameters.defaultValue)
&& Objects.equals(this.description, inputSchemaParameters.description)
&& Objects.equals(this.label, inputSchemaParameters.label)
&& Objects.equals(this.name, inputSchemaParameters.name)
@@ -228,13 +280,23 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(defaultValue, description, label, name, type, additionalProperties);
+ return Objects.hash(
+ allowExtraValues,
+ allowedValues,
+ defaultValue,
+ description,
+ label,
+ name,
+ type,
+ additionalProperties);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InputSchemaParameters {\n");
+ sb.append(" allowExtraValues: ").append(toIndentedString(allowExtraValues)).append("\n");
+ sb.append(" allowedValues: ").append(toIndentedString(allowedValues)).append("\n");
sb.append(" defaultValue: ").append(toIndentedString(defaultValue)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferOptions.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferOptions.java
index 2eb6c01f571..f78d253a091 100644
--- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferOptions.java
+++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferOptions.java
@@ -19,8 +19,7 @@
/** Options for configuring a memory buffer by byte size. */
@JsonPropertyOrder({
ObservabilityPipelineMemoryBufferOptions.JSON_PROPERTY_MAX_SIZE,
- ObservabilityPipelineMemoryBufferOptions.JSON_PROPERTY_TYPE,
- ObservabilityPipelineMemoryBufferOptions.JSON_PROPERTY_WHEN_FULL
+ ObservabilityPipelineMemoryBufferOptions.JSON_PROPERTY_TYPE
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -33,10 +32,6 @@ public class ObservabilityPipelineMemoryBufferOptions {
private ObservabilityPipelineBufferOptionsMemoryType type =
ObservabilityPipelineBufferOptionsMemoryType.MEMORY;
- public static final String JSON_PROPERTY_WHEN_FULL = "when_full";
- private ObservabilityPipelineBufferOptionsWhenFull whenFull =
- ObservabilityPipelineBufferOptionsWhenFull.BLOCK;
-
public ObservabilityPipelineMemoryBufferOptions maxSize(Long maxSize) {
this.maxSize = maxSize;
return this;
@@ -84,32 +79,6 @@ public void setType(ObservabilityPipelineBufferOptionsMemoryType type) {
this.type = type;
}
- public ObservabilityPipelineMemoryBufferOptions whenFull(
- ObservabilityPipelineBufferOptionsWhenFull whenFull) {
- this.whenFull = whenFull;
- this.unparsed |= !whenFull.isValid();
- return this;
- }
-
- /**
- * Behavior when the buffer is full (block and stop accepting new events, or drop new events)
- *
- * @return whenFull
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_WHEN_FULL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public ObservabilityPipelineBufferOptionsWhenFull getWhenFull() {
- return whenFull;
- }
-
- public void setWhenFull(ObservabilityPipelineBufferOptionsWhenFull whenFull) {
- if (!whenFull.isValid()) {
- this.unparsed = true;
- }
- this.whenFull = whenFull;
- }
-
/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -169,7 +138,6 @@ public boolean equals(Object o) {
(ObservabilityPipelineMemoryBufferOptions) o;
return Objects.equals(this.maxSize, observabilityPipelineMemoryBufferOptions.maxSize)
&& Objects.equals(this.type, observabilityPipelineMemoryBufferOptions.type)
- && Objects.equals(this.whenFull, observabilityPipelineMemoryBufferOptions.whenFull)
&& Objects.equals(
this.additionalProperties,
observabilityPipelineMemoryBufferOptions.additionalProperties);
@@ -177,7 +145,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(maxSize, type, whenFull, additionalProperties);
+ return Objects.hash(maxSize, type, additionalProperties);
}
@Override
@@ -186,7 +154,6 @@ public String toString() {
sb.append("class ObservabilityPipelineMemoryBufferOptions {\n");
sb.append(" maxSize: ").append(toIndentedString(maxSize)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" whenFull: ").append(toIndentedString(whenFull)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferSizeOptions.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferSizeOptions.java
index 390278052cf..22dc94686e2 100644
--- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferSizeOptions.java
+++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineMemoryBufferSizeOptions.java
@@ -19,8 +19,7 @@
/** Options for configuring a memory buffer by queue length. */
@JsonPropertyOrder({
ObservabilityPipelineMemoryBufferSizeOptions.JSON_PROPERTY_MAX_EVENTS,
- ObservabilityPipelineMemoryBufferSizeOptions.JSON_PROPERTY_TYPE,
- ObservabilityPipelineMemoryBufferSizeOptions.JSON_PROPERTY_WHEN_FULL
+ ObservabilityPipelineMemoryBufferSizeOptions.JSON_PROPERTY_TYPE
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -33,10 +32,6 @@ public class ObservabilityPipelineMemoryBufferSizeOptions {
private ObservabilityPipelineBufferOptionsMemoryType type =
ObservabilityPipelineBufferOptionsMemoryType.MEMORY;
- public static final String JSON_PROPERTY_WHEN_FULL = "when_full";
- private ObservabilityPipelineBufferOptionsWhenFull whenFull =
- ObservabilityPipelineBufferOptionsWhenFull.BLOCK;
-
public ObservabilityPipelineMemoryBufferSizeOptions maxEvents(Long maxEvents) {
this.maxEvents = maxEvents;
return this;
@@ -84,32 +79,6 @@ public void setType(ObservabilityPipelineBufferOptionsMemoryType type) {
this.type = type;
}
- public ObservabilityPipelineMemoryBufferSizeOptions whenFull(
- ObservabilityPipelineBufferOptionsWhenFull whenFull) {
- this.whenFull = whenFull;
- this.unparsed |= !whenFull.isValid();
- return this;
- }
-
- /**
- * Behavior when the buffer is full (block and stop accepting new events, or drop new events)
- *
- * @return whenFull
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_WHEN_FULL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public ObservabilityPipelineBufferOptionsWhenFull getWhenFull() {
- return whenFull;
- }
-
- public void setWhenFull(ObservabilityPipelineBufferOptionsWhenFull whenFull) {
- if (!whenFull.isValid()) {
- this.unparsed = true;
- }
- this.whenFull = whenFull;
- }
-
/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -170,7 +139,6 @@ public boolean equals(Object o) {
(ObservabilityPipelineMemoryBufferSizeOptions) o;
return Objects.equals(this.maxEvents, observabilityPipelineMemoryBufferSizeOptions.maxEvents)
&& Objects.equals(this.type, observabilityPipelineMemoryBufferSizeOptions.type)
- && Objects.equals(this.whenFull, observabilityPipelineMemoryBufferSizeOptions.whenFull)
&& Objects.equals(
this.additionalProperties,
observabilityPipelineMemoryBufferSizeOptions.additionalProperties);
@@ -178,7 +146,7 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(maxEvents, type, whenFull, additionalProperties);
+ return Objects.hash(maxEvents, type, additionalProperties);
}
@Override
@@ -187,7 +155,6 @@ public String toString() {
sb.append("class ObservabilityPipelineMemoryBufferSizeOptions {\n");
sb.append(" maxEvents: ").append(toIndentedString(maxEvents)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" whenFull: ").append(toIndentedString(whenFull)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");