Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31726,6 +31726,9 @@ components:
description: Display name of the user.
example: Jane Doe
type: string
test:
description: just testing generation
type: boolean
type: object
DataAttributesRulesItemsIfTagExists:
description: The behavior when the tag already exists.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
DashboardUsageUser.JSON_PROPERTY_HANDLE,
DashboardUsageUser.JSON_PROPERTY_ID,
DashboardUsageUser.JSON_PROPERTY_IS_DISABLED,
DashboardUsageUser.JSON_PROPERTY_NAME
DashboardUsageUser.JSON_PROPERTY_NAME,
DashboardUsageUser.JSON_PROPERTY_TEST
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
Expand All @@ -39,6 +40,9 @@ public class DashboardUsageUser {
public static final String JSON_PROPERTY_NAME = "name";
private String name;

public static final String JSON_PROPERTY_TEST = "test";
private Boolean test;

public DashboardUsageUser handle(String handle) {
this.handle = handle;
return this;
Expand Down Expand Up @@ -123,6 +127,27 @@ public void setName(String name) {
this.name = name;
}

public DashboardUsageUser test(Boolean test) {
this.test = test;
return this;
}

/**
* just testing generation
*
* @return test
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TEST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getTest() {
return test;
}

public void setTest(Boolean test) {
this.test = test;
}

/**
* 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 @@ -183,12 +208,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.id, dashboardUsageUser.id)
&& Objects.equals(this.isDisabled, dashboardUsageUser.isDisabled)
&& Objects.equals(this.name, dashboardUsageUser.name)
&& Objects.equals(this.test, dashboardUsageUser.test)
&& Objects.equals(this.additionalProperties, dashboardUsageUser.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(handle, id, isDisabled, name, additionalProperties);
return Objects.hash(handle, id, isDisabled, name, test, additionalProperties);
}

@Override
Expand All @@ -199,6 +225,7 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isDisabled: ").append(toIndentedString(isDisabled)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" test: ").append(toIndentedString(test)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down
Loading