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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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<String> integrationId = JsonNullable.<String>undefined();

public static final String JSON_PROPERTY_IS_FAVORITE = "is_favorite";
private Boolean isFavorite;

Expand Down Expand Up @@ -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.<String>undefined();
}
return integrationId.orElse(null);
}

@JsonProperty(JSON_PROPERTY_INTEGRATION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<String> getIntegrationId_JsonNullable() {
return integrationId;
}

@JsonProperty(JSON_PROPERTY_INTEGRATION_ID)
private void setIntegrationId_JsonNullable(JsonNullable<String> integrationId) {
this.integrationId = integrationId;
}

/**
* Whether or not the dashboard is in the favorites.
*
Expand Down Expand Up @@ -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)
Expand All @@ -351,6 +382,7 @@ public int hashCode() {
created,
icon,
id,
integrationId,
isFavorite,
isReadOnly,
isShared,
Expand All @@ -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");
Expand Down