diff --git a/.generated-info b/.generated-info index 76d2881c429..66145f566eb 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "335aa67", - "generated": "2025-08-27 07:15:04.558" + "spec_repo_commit": "98e3371", + "generated": "2025-08-27 08:46:33.176" } diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index dacd4a02b1d..2e3684fae4b 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -15696,6 +15696,10 @@ components: type: string description: Variables to replace in the test. type: object + version: + description: The version number of the Synthetic test version to trigger. + format: int64 + type: integer required: - public_id type: object diff --git a/src/main/java/com/datadog/api/client/v1/model/SyntheticsCITest.java b/src/main/java/com/datadog/api/client/v1/model/SyntheticsCITest.java index f6032ff8894..53392661884 100644 --- a/src/main/java/com/datadog/api/client/v1/model/SyntheticsCITest.java +++ b/src/main/java/com/datadog/api/client/v1/model/SyntheticsCITest.java @@ -34,7 +34,8 @@ SyntheticsCITest.JSON_PROPERTY_PUBLIC_ID, SyntheticsCITest.JSON_PROPERTY_RETRY, SyntheticsCITest.JSON_PROPERTY_START_URL, - SyntheticsCITest.JSON_PROPERTY_VARIABLES + SyntheticsCITest.JSON_PROPERTY_VARIABLES, + SyntheticsCITest.JSON_PROPERTY_VERSION }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -83,6 +84,9 @@ public class SyntheticsCITest { public static final String JSON_PROPERTY_VARIABLES = "variables"; private Map variables = null; + public static final String JSON_PROPERTY_VERSION = "version"; + private Long version; + public SyntheticsCITest() {} @JsonCreator @@ -419,6 +423,27 @@ public void setVariables(Map variables) { this.variables = variables; } + public SyntheticsCITest version(Long version) { + this.version = version; + return this; + } + + /** + * The version number of the Synthetic test version to trigger. + * + * @return version + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getVersion() { + return version; + } + + public void setVersion(Long version) { + this.version = version; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -490,6 +515,7 @@ public boolean equals(Object o) { && Objects.equals(this.retry, syntheticsCiTest.retry) && Objects.equals(this.startUrl, syntheticsCiTest.startUrl) && Objects.equals(this.variables, syntheticsCiTest.variables) + && Objects.equals(this.version, syntheticsCiTest.version) && Objects.equals(this.additionalProperties, syntheticsCiTest.additionalProperties); } @@ -510,6 +536,7 @@ public int hashCode() { retry, startUrl, variables, + version, additionalProperties); } @@ -533,6 +560,7 @@ public String toString() { sb.append(" retry: ").append(toIndentedString(retry)).append("\n"); sb.append(" startUrl: ").append(toIndentedString(startUrl)).append("\n"); sb.append(" variables: ").append(toIndentedString(variables)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n");