From 097b4f3ab35245038323963b36a51c9958ff0bb3 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 13 Jul 2023 19:37:40 +0000 Subject: [PATCH] Regenerate client from commit b37fc521 of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v2/openapi.yaml | 5 +++ .../client/v2/model/DashboardListItem.java | 33 +++++++++++++++++++ 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index afb322aa89f..be66b8841a0 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-13 19:08:16.170880", - "spec_repo_commit": "9ad4f63e" + "regenerated": "2023-07-13 19:35:42.204222", + "spec_repo_commit": "b37fc521" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-13 19:08:16.193816", - "spec_repo_commit": "9ad4f63e" + "regenerated": "2023-07-13 19:35:42.222638", + "spec_repo_commit": "b37fc521" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 22e7fabaac3..de14f37ded5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3523,6 +3523,11 @@ components: description: ID of the dashboard. example: q5j-nti-fv6 type: string + integration_id: + description: The short name of the integration. + nullable: true + readOnly: true + type: string is_favorite: description: Whether or not the dashboard is in the favorites. readOnly: true diff --git a/src/main/java/com/datadog/api/client/v2/model/DashboardListItem.java b/src/main/java/com/datadog/api/client/v2/model/DashboardListItem.java index 2e06aa0e370..62708c14f32 100644 --- a/src/main/java/com/datadog/api/client/v2/model/DashboardListItem.java +++ b/src/main/java/com/datadog/api/client/v2/model/DashboardListItem.java @@ -25,6 +25,7 @@ DashboardListItem.JSON_PROPERTY_CREATED, DashboardListItem.JSON_PROPERTY_ICON, DashboardListItem.JSON_PROPERTY_ID, + DashboardListItem.JSON_PROPERTY_INTEGRATION_ID, DashboardListItem.JSON_PROPERTY_IS_FAVORITE, DashboardListItem.JSON_PROPERTY_IS_READ_ONLY, DashboardListItem.JSON_PROPERTY_IS_SHARED, @@ -50,6 +51,9 @@ public class DashboardListItem { public static final String JSON_PROPERTY_ID = "id"; private String id; + public static final String JSON_PROPERTY_INTEGRATION_ID = "integration_id"; + private JsonNullable integrationId = JsonNullable.undefined(); + public static final String JSON_PROPERTY_IS_FAVORITE = "is_favorite"; private Boolean isFavorite; @@ -165,6 +169,32 @@ public void setId(String id) { this.id = id; } + /** + * The short name of the integration. + * + * @return integrationId + */ + @jakarta.annotation.Nullable + @JsonIgnore + public String getIntegrationId() { + + if (integrationId == null) { + integrationId = JsonNullable.undefined(); + } + return integrationId.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_INTEGRATION_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getIntegrationId_JsonNullable() { + return integrationId; + } + + @JsonProperty(JSON_PROPERTY_INTEGRATION_ID) + private void setIntegrationId_JsonNullable(JsonNullable integrationId) { + this.integrationId = integrationId; + } + /** * Whether or not the dashboard is in the favorites. * @@ -333,6 +363,7 @@ public boolean equals(Object o) { && Objects.equals(this.created, dashboardListItem.created) && Objects.equals(this.icon, dashboardListItem.icon) && Objects.equals(this.id, dashboardListItem.id) + && Objects.equals(this.integrationId, dashboardListItem.integrationId) && Objects.equals(this.isFavorite, dashboardListItem.isFavorite) && Objects.equals(this.isReadOnly, dashboardListItem.isReadOnly) && Objects.equals(this.isShared, dashboardListItem.isShared) @@ -351,6 +382,7 @@ public int hashCode() { created, icon, id, + integrationId, isFavorite, isReadOnly, isShared, @@ -370,6 +402,7 @@ public String toString() { sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" icon: ").append(toIndentedString(icon)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" integrationId: ").append(toIndentedString(integrationId)).append("\n"); sb.append(" isFavorite: ").append(toIndentedString(isFavorite)).append("\n"); sb.append(" isReadOnly: ").append(toIndentedString(isReadOnly)).append("\n"); sb.append(" isShared: ").append(toIndentedString(isShared)).append("\n");