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
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -83,6 +84,9 @@ public class SyntheticsCITest {
public static final String JSON_PROPERTY_VARIABLES = "variables";
private Map<String, String> variables = null;

public static final String JSON_PROPERTY_VERSION = "version";
private Long version;

public SyntheticsCITest() {}

@JsonCreator
Expand Down Expand Up @@ -419,6 +423,27 @@ public void setVariables(Map<String, String> 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.
Expand Down Expand Up @@ -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);
}

Expand All @@ -510,6 +536,7 @@ public int hashCode() {
retry,
startUrl,
variables,
version,
additionalProperties);
}

Expand All @@ -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");
Expand Down