diff --git a/.apigentools-info b/.apigentools-info index fea12fbfdab..cd982ee372d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-24 14:19:06.101051", - "spec_repo_commit": "b34a35ef" + "regenerated": "2025-02-25 17:19:43.088144", + "spec_repo_commit": "7b09d7dd" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-24 14:19:06.118089", - "spec_repo_commit": "b34a35ef" + "regenerated": "2025-02-25 17:19:43.105244", + "spec_repo_commit": "7b09d7dd" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 595a7442a15..e8484e042b1 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1451,11 +1451,13 @@ components: enum: - open - invite + - embed nullable: true type: string x-enum-varnames: - OPEN - INVITE + - EMBED DashboardSummary: description: Dashboard summary response. properties: @@ -13047,7 +13049,7 @@ components: properties: author: $ref: '#/components/schemas/SharedDashboardAuthor' - created_at: + created: description: Date the dashboard was shared. format: date-time readOnly: true @@ -13058,6 +13060,20 @@ components: type: string dashboard_type: $ref: '#/components/schemas/DashboardType' + embeddable_domains: + description: The `SharedDashboard` `embeddable_domains`. + example: + - https://domain.atlassian.net/ + - http://myserver.com/ + items: + description: The allowlisted referrers for an EMBED shared dashboard. + type: string + type: array + expiration: + description: The time when an OPEN shared dashboard becomes publicly unavailable. + format: date-time + nullable: true + type: string global_time: $ref: '#/components/schemas/DashboardGlobalTime' global_time_selectable_enabled: @@ -13065,6 +13081,23 @@ components: setting for the shared dashboard. nullable: true type: boolean + invitees: + description: The `SharedDashboard` `invitees`. + example: + - access_expiration: '2030-01-01T12:00:00.00Z' + email: test@datadoghq.com + - access_expiration: null + email: test2@datadoghq.com + items: + $ref: '#/components/schemas/SharedDashboardInviteesItems' + type: array + last_accessed: + description: The last time the shared dashboard was accessed. Null if never + accessed. + format: date-time + nullable: true + readOnly: true + type: string public_url: description: URL of the shared dashboard. readOnly: true @@ -13084,6 +13117,7 @@ components: nullable: true type: array share_list: + deprecated: true description: List of email addresses that can receive an invitation to access to the shared dashboard. example: @@ -13097,10 +13131,17 @@ components: type: array share_type: $ref: '#/components/schemas/DashboardShareType' + status: + $ref: '#/components/schemas/SharedDashboardStatus' + title: + description: Title of the shared dashboard. + type: string token: description: A unique token assigned to the shared dashboard. readOnly: true type: string + viewing_preferences: + $ref: '#/components/schemas/ViewingPreferences' required: - dashboard_id - dashboard_type @@ -13120,6 +13161,27 @@ components: type: string readOnly: true type: object + SharedDashboardInviteesItems: + description: The allowlisted invitees for an INVITE-only shared dashboard. + properties: + access_expiration: + description: Time of the invitee expiration. Null means the invite will + not expire. + format: date-time + nullable: true + type: string + created_at: + description: Time that the invitee was created. + format: date-time + readOnly: true + type: string + email: + description: Email of the invitee. + example: test@datadoghq.com + type: string + required: + - email + type: object SharedDashboardInvites: description: Invitations data and metadata that exists for a shared dashboard returned by the API. @@ -13236,6 +13298,17 @@ components: format: int64 type: integer type: object + SharedDashboardStatus: + description: Active means the dashboard is publicly available. Paused means + the dashboard is not publicly available. + enum: + - active + - paused + example: active + type: string + x-enum-varnames: + - ACTIVE + - PAUSED SharedDashboardUpdateRequest: description: Update a shared dashboard's settings. example: @@ -13246,6 +13319,20 @@ components: - test2@datadoghq.com share_type: invite properties: + embeddable_domains: + description: The `SharedDashboard` `embeddable_domains`. + example: + - https://domain.atlassian.net/ + - http://myserver.com/ + items: + description: The allowlisted referrers for an EMBED shared dashboard. + type: string + type: array + expiration: + description: The time when an OPEN shared dashboard becomes publicly unavailable. + format: date-time + nullable: true + type: string global_time: $ref: '#/components/schemas/SharedDashboardUpdateRequestGlobalTime' global_time_selectable_enabled: @@ -13253,6 +13340,16 @@ components: setting for the shared dashboard. nullable: true type: boolean + invitees: + description: The `SharedDashboard` `invitees`. + example: + - access_expiration: '2030-01-01T12:00:00.00Z' + email: test@datadoghq.com + - access_expiration: null + email: test2@datadoghq.com + items: + $ref: '#/components/schemas/SharedDashboardInviteesItems' + type: array selectable_template_vars: description: List of objects representing template variables on the shared dashboard which can have selectable values. @@ -13268,6 +13365,7 @@ components: nullable: true type: array share_list: + deprecated: true description: List of email addresses that can be given access to the shared dashboard. example: @@ -13281,8 +13379,13 @@ components: type: array share_type: $ref: '#/components/schemas/DashboardShareType' - required: - - global_time + status: + $ref: '#/components/schemas/SharedDashboardStatus' + title: + description: Title of the shared dashboard. + type: string + viewing_preferences: + $ref: '#/components/schemas/ViewingPreferences' type: object SharedDashboardUpdateRequestGlobalTime: description: Timeframe setting for the shared dashboard. @@ -22710,6 +22813,28 @@ components: example: 0 format: int64 type: integer + ViewingPreferences: + description: The viewing preferences for a shared dashboard. + properties: + high_density: + description: Whether the widgets on the shared dashboard should be displayed + with high density. + type: boolean + theme: + $ref: '#/components/schemas/ViewingPreferencesTheme' + type: object + ViewingPreferencesTheme: + description: The theme of the shared dashboard view. "system" follows your system's + default viewing theme. + enum: + - system + - light + - dark + type: string + x-enum-varnames: + - SYSTEM + - LIGHT + - DARK WebhooksIntegration: description: Datadog-Webhooks integration. properties: diff --git a/src/main/java/com/datadog/api/client/v1/model/DashboardShareType.java b/src/main/java/com/datadog/api/client/v1/model/DashboardShareType.java index 1e810ca0dab..99dcea74e76 100644 --- a/src/main/java/com/datadog/api/client/v1/model/DashboardShareType.java +++ b/src/main/java/com/datadog/api/client/v1/model/DashboardShareType.java @@ -23,10 +23,11 @@ public class DashboardShareType extends ModelEnum { private static final Set allowedValues = - new HashSet(Arrays.asList("open", "invite")); + new HashSet(Arrays.asList("open", "invite", "embed")); public static final DashboardShareType OPEN = new DashboardShareType("open"); public static final DashboardShareType INVITE = new DashboardShareType("invite"); + public static final DashboardShareType EMBED = new DashboardShareType("embed"); DashboardShareType(String value) { super(value, allowedValues); diff --git a/src/main/java/com/datadog/api/client/v1/model/SharedDashboard.java b/src/main/java/com/datadog/api/client/v1/model/SharedDashboard.java index 658008c4697..d78f29eafbb 100644 --- a/src/main/java/com/datadog/api/client/v1/model/SharedDashboard.java +++ b/src/main/java/com/datadog/api/client/v1/model/SharedDashboard.java @@ -24,16 +24,23 @@ /** The metadata object associated with how a dashboard has been/will be shared. */ @JsonPropertyOrder({ SharedDashboard.JSON_PROPERTY_AUTHOR, - SharedDashboard.JSON_PROPERTY_CREATED_AT, + SharedDashboard.JSON_PROPERTY_CREATED, SharedDashboard.JSON_PROPERTY_DASHBOARD_ID, SharedDashboard.JSON_PROPERTY_DASHBOARD_TYPE, + SharedDashboard.JSON_PROPERTY_EMBEDDABLE_DOMAINS, + SharedDashboard.JSON_PROPERTY_EXPIRATION, SharedDashboard.JSON_PROPERTY_GLOBAL_TIME, SharedDashboard.JSON_PROPERTY_GLOBAL_TIME_SELECTABLE_ENABLED, + SharedDashboard.JSON_PROPERTY_INVITEES, + SharedDashboard.JSON_PROPERTY_LAST_ACCESSED, SharedDashboard.JSON_PROPERTY_PUBLIC_URL, SharedDashboard.JSON_PROPERTY_SELECTABLE_TEMPLATE_VARS, SharedDashboard.JSON_PROPERTY_SHARE_LIST, SharedDashboard.JSON_PROPERTY_SHARE_TYPE, - SharedDashboard.JSON_PROPERTY_TOKEN + SharedDashboard.JSON_PROPERTY_STATUS, + SharedDashboard.JSON_PROPERTY_TITLE, + SharedDashboard.JSON_PROPERTY_TOKEN, + SharedDashboard.JSON_PROPERTY_VIEWING_PREFERENCES }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -42,8 +49,8 @@ public class SharedDashboard { public static final String JSON_PROPERTY_AUTHOR = "author"; private SharedDashboardAuthor author; - public static final String JSON_PROPERTY_CREATED_AT = "created_at"; - private OffsetDateTime createdAt; + public static final String JSON_PROPERTY_CREATED = "created"; + private OffsetDateTime created; public static final String JSON_PROPERTY_DASHBOARD_ID = "dashboard_id"; private String dashboardId; @@ -51,6 +58,12 @@ public class SharedDashboard { public static final String JSON_PROPERTY_DASHBOARD_TYPE = "dashboard_type"; private DashboardType dashboardType; + public static final String JSON_PROPERTY_EMBEDDABLE_DOMAINS = "embeddable_domains"; + private List embeddableDomains = null; + + public static final String JSON_PROPERTY_EXPIRATION = "expiration"; + private JsonNullable expiration = JsonNullable.undefined(); + public static final String JSON_PROPERTY_GLOBAL_TIME = "global_time"; private DashboardGlobalTime globalTime; @@ -58,6 +71,12 @@ public class SharedDashboard { "global_time_selectable_enabled"; private JsonNullable globalTimeSelectableEnabled = JsonNullable.undefined(); + public static final String JSON_PROPERTY_INVITEES = "invitees"; + private List invitees = null; + + public static final String JSON_PROPERTY_LAST_ACCESSED = "last_accessed"; + private JsonNullable lastAccessed = JsonNullable.undefined(); + public static final String JSON_PROPERTY_PUBLIC_URL = "public_url"; private String publicUrl; @@ -71,9 +90,18 @@ public class SharedDashboard { public static final String JSON_PROPERTY_SHARE_TYPE = "share_type"; private JsonNullable shareType = JsonNullable.undefined(); + public static final String JSON_PROPERTY_STATUS = "status"; + private SharedDashboardStatus status; + + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + public static final String JSON_PROPERTY_TOKEN = "token"; private String token; + public static final String JSON_PROPERTY_VIEWING_PREFERENCES = "viewing_preferences"; + private ViewingPreferences viewingPreferences; + public SharedDashboard() {} @JsonCreator @@ -101,13 +129,13 @@ public SharedDashboardAuthor getAuthor() { /** * Date the dashboard was shared. * - * @return createdAt + * @return created */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonProperty(JSON_PROPERTY_CREATED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } public SharedDashboard dashboardId(String dashboardId) { @@ -154,6 +182,66 @@ public void setDashboardType(DashboardType dashboardType) { this.dashboardType = dashboardType; } + public SharedDashboard embeddableDomains(List embeddableDomains) { + this.embeddableDomains = embeddableDomains; + return this; + } + + public SharedDashboard addEmbeddableDomainsItem(String embeddableDomainsItem) { + if (this.embeddableDomains == null) { + this.embeddableDomains = new ArrayList<>(); + } + this.embeddableDomains.add(embeddableDomainsItem); + return this; + } + + /** + * The SharedDashboard embeddable_domains. + * + * @return embeddableDomains + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EMBEDDABLE_DOMAINS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getEmbeddableDomains() { + return embeddableDomains; + } + + public void setEmbeddableDomains(List embeddableDomains) { + this.embeddableDomains = embeddableDomains; + } + + public SharedDashboard expiration(OffsetDateTime expiration) { + this.expiration = JsonNullable.of(expiration); + return this; + } + + /** + * The time when an OPEN shared dashboard becomes publicly unavailable. + * + * @return expiration + */ + @jakarta.annotation.Nullable + @JsonIgnore + public OffsetDateTime getExpiration() { + return expiration.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_EXPIRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getExpiration_JsonNullable() { + return expiration; + } + + @JsonProperty(JSON_PROPERTY_EXPIRATION) + public void setExpiration_JsonNullable(JsonNullable expiration) { + this.expiration = expiration; + } + + public void setExpiration(OffsetDateTime expiration) { + this.expiration = JsonNullable.of(expiration); + } + public SharedDashboard globalTime(DashboardGlobalTime globalTime) { this.globalTime = globalTime; this.unparsed |= globalTime.unparsed; @@ -208,6 +296,65 @@ public void setGlobalTimeSelectableEnabled(Boolean globalTimeSelectableEnabled) this.globalTimeSelectableEnabled = JsonNullable.of(globalTimeSelectableEnabled); } + public SharedDashboard invitees(List invitees) { + this.invitees = invitees; + for (SharedDashboardInviteesItems item : invitees) { + this.unparsed |= item.unparsed; + } + return this; + } + + public SharedDashboard addInviteesItem(SharedDashboardInviteesItems inviteesItem) { + if (this.invitees == null) { + this.invitees = new ArrayList<>(); + } + this.invitees.add(inviteesItem); + this.unparsed |= inviteesItem.unparsed; + return this; + } + + /** + * The SharedDashboard invitees. + * + * @return invitees + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INVITEES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getInvitees() { + return invitees; + } + + public void setInvitees(List invitees) { + this.invitees = invitees; + } + + /** + * The last time the shared dashboard was accessed. Null if never accessed. + * + * @return lastAccessed + */ + @jakarta.annotation.Nullable + @JsonIgnore + public OffsetDateTime getLastAccessed() { + + if (lastAccessed == null) { + lastAccessed = JsonNullable.undefined(); + } + return lastAccessed.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_LAST_ACCESSED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getLastAccessed_JsonNullable() { + return lastAccessed; + } + + @JsonProperty(JSON_PROPERTY_LAST_ACCESSED) + private void setLastAccessed_JsonNullable(JsonNullable lastAccessed) { + this.lastAccessed = lastAccessed; + } + /** * URL of the shared dashboard. * @@ -293,13 +440,16 @@ public SharedDashboard addShareListItem(String shareListItem) { * List of email addresses that can receive an invitation to access to the shared dashboard. * * @return shareList + * @deprecated */ + @Deprecated @jakarta.annotation.Nullable @JsonIgnore public List getShareList() { return shareList.orElse(null); } + @Deprecated @JsonProperty(JSON_PROPERTY_SHARE_LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable> getShareList_JsonNullable() { @@ -349,6 +499,53 @@ public void setShareType(DashboardShareType shareType) { this.shareType = JsonNullable.of(shareType); } + public SharedDashboard status(SharedDashboardStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * Active means the dashboard is publicly available. Paused means the dashboard is not publicly + * available. + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public SharedDashboardStatus getStatus() { + return status; + } + + public void setStatus(SharedDashboardStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + public SharedDashboard title(String title) { + this.title = title; + return this; + } + + /** + * Title of the shared dashboard. + * + * @return title + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + /** * A unique token assigned to the shared dashboard. * @@ -361,6 +558,28 @@ public String getToken() { return token; } + public SharedDashboard viewingPreferences(ViewingPreferences viewingPreferences) { + this.viewingPreferences = viewingPreferences; + this.unparsed |= viewingPreferences.unparsed; + return this; + } + + /** + * The viewing preferences for a shared dashboard. + * + * @return viewingPreferences + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VIEWING_PREFERENCES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ViewingPreferences getViewingPreferences() { + return viewingPreferences; + } + + public void setViewingPreferences(ViewingPreferences viewingPreferences) { + this.viewingPreferences = viewingPreferences; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -418,17 +637,24 @@ public boolean equals(Object o) { } SharedDashboard sharedDashboard = (SharedDashboard) o; return Objects.equals(this.author, sharedDashboard.author) - && Objects.equals(this.createdAt, sharedDashboard.createdAt) + && Objects.equals(this.created, sharedDashboard.created) && Objects.equals(this.dashboardId, sharedDashboard.dashboardId) && Objects.equals(this.dashboardType, sharedDashboard.dashboardType) + && Objects.equals(this.embeddableDomains, sharedDashboard.embeddableDomains) + && Objects.equals(this.expiration, sharedDashboard.expiration) && Objects.equals(this.globalTime, sharedDashboard.globalTime) && Objects.equals( this.globalTimeSelectableEnabled, sharedDashboard.globalTimeSelectableEnabled) + && Objects.equals(this.invitees, sharedDashboard.invitees) + && Objects.equals(this.lastAccessed, sharedDashboard.lastAccessed) && Objects.equals(this.publicUrl, sharedDashboard.publicUrl) && Objects.equals(this.selectableTemplateVars, sharedDashboard.selectableTemplateVars) && Objects.equals(this.shareList, sharedDashboard.shareList) && Objects.equals(this.shareType, sharedDashboard.shareType) + && Objects.equals(this.status, sharedDashboard.status) + && Objects.equals(this.title, sharedDashboard.title) && Objects.equals(this.token, sharedDashboard.token) + && Objects.equals(this.viewingPreferences, sharedDashboard.viewingPreferences) && Objects.equals(this.additionalProperties, sharedDashboard.additionalProperties); } @@ -436,16 +662,23 @@ public boolean equals(Object o) { public int hashCode() { return Objects.hash( author, - createdAt, + created, dashboardId, dashboardType, + embeddableDomains, + expiration, globalTime, globalTimeSelectableEnabled, + invitees, + lastAccessed, publicUrl, selectableTemplateVars, shareList, shareType, + status, + title, token, + viewingPreferences, additionalProperties); } @@ -454,20 +687,27 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SharedDashboard {\n"); sb.append(" author: ").append(toIndentedString(author)).append("\n"); - sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); sb.append(" dashboardId: ").append(toIndentedString(dashboardId)).append("\n"); sb.append(" dashboardType: ").append(toIndentedString(dashboardType)).append("\n"); + sb.append(" embeddableDomains: ").append(toIndentedString(embeddableDomains)).append("\n"); + sb.append(" expiration: ").append(toIndentedString(expiration)).append("\n"); sb.append(" globalTime: ").append(toIndentedString(globalTime)).append("\n"); sb.append(" globalTimeSelectableEnabled: ") .append(toIndentedString(globalTimeSelectableEnabled)) .append("\n"); + sb.append(" invitees: ").append(toIndentedString(invitees)).append("\n"); + sb.append(" lastAccessed: ").append(toIndentedString(lastAccessed)).append("\n"); sb.append(" publicUrl: ").append(toIndentedString(publicUrl)).append("\n"); sb.append(" selectableTemplateVars: ") .append(toIndentedString(selectableTemplateVars)) .append("\n"); sb.append(" shareList: ").append(toIndentedString(shareList)).append("\n"); sb.append(" shareType: ").append(toIndentedString(shareType)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" viewingPreferences: ").append(toIndentedString(viewingPreferences)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/SharedDashboardInviteesItems.java b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardInviteesItems.java new file mode 100644 index 00000000000..ac3ed0687d7 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardInviteesItems.java @@ -0,0 +1,203 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v1.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import org.openapitools.jackson.nullable.JsonNullable; + +/** The allowlisted invitees for an INVITE-only shared dashboard. */ +@JsonPropertyOrder({ + SharedDashboardInviteesItems.JSON_PROPERTY_ACCESS_EXPIRATION, + SharedDashboardInviteesItems.JSON_PROPERTY_CREATED_AT, + SharedDashboardInviteesItems.JSON_PROPERTY_EMAIL +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class SharedDashboardInviteesItems { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ACCESS_EXPIRATION = "access_expiration"; + private JsonNullable accessExpiration = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_CREATED_AT = "created_at"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_EMAIL = "email"; + private String email; + + public SharedDashboardInviteesItems() {} + + @JsonCreator + public SharedDashboardInviteesItems( + @JsonProperty(required = true, value = JSON_PROPERTY_EMAIL) String email) { + this.email = email; + } + + public SharedDashboardInviteesItems accessExpiration(OffsetDateTime accessExpiration) { + this.accessExpiration = JsonNullable.of(accessExpiration); + return this; + } + + /** + * Time of the invitee expiration. Null means the invite will not expire. + * + * @return accessExpiration + */ + @jakarta.annotation.Nullable + @JsonIgnore + public OffsetDateTime getAccessExpiration() { + return accessExpiration.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_ACCESS_EXPIRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getAccessExpiration_JsonNullable() { + return accessExpiration; + } + + @JsonProperty(JSON_PROPERTY_ACCESS_EXPIRATION) + public void setAccessExpiration_JsonNullable(JsonNullable accessExpiration) { + this.accessExpiration = accessExpiration; + } + + public void setAccessExpiration(OffsetDateTime accessExpiration) { + this.accessExpiration = JsonNullable.of(accessExpiration); + } + + /** + * Time that the invitee was created. + * + * @return createdAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public SharedDashboardInviteesItems email(String email) { + this.email = email; + return this; + } + + /** + * Email of the invitee. + * + * @return email + */ + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return SharedDashboardInviteesItems + */ + @JsonAnySetter + public SharedDashboardInviteesItems putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this SharedDashboardInviteesItems object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SharedDashboardInviteesItems sharedDashboardInviteesItems = (SharedDashboardInviteesItems) o; + return Objects.equals(this.accessExpiration, sharedDashboardInviteesItems.accessExpiration) + && Objects.equals(this.createdAt, sharedDashboardInviteesItems.createdAt) + && Objects.equals(this.email, sharedDashboardInviteesItems.email) + && Objects.equals( + this.additionalProperties, sharedDashboardInviteesItems.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(accessExpiration, createdAt, email, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SharedDashboardInviteesItems {\n"); + sb.append(" accessExpiration: ").append(toIndentedString(accessExpiration)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v1/model/SharedDashboardStatus.java b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardStatus.java new file mode 100644 index 00000000000..088600cf112 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardStatus.java @@ -0,0 +1,59 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v1.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** + * Active means the dashboard is publicly available. Paused means the dashboard is not publicly + * available. + */ +@JsonSerialize(using = SharedDashboardStatus.SharedDashboardStatusSerializer.class) +public class SharedDashboardStatus extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("active", "paused")); + + public static final SharedDashboardStatus ACTIVE = new SharedDashboardStatus("active"); + public static final SharedDashboardStatus PAUSED = new SharedDashboardStatus("paused"); + + SharedDashboardStatus(String value) { + super(value, allowedValues); + } + + public static class SharedDashboardStatusSerializer extends StdSerializer { + public SharedDashboardStatusSerializer(Class t) { + super(t); + } + + public SharedDashboardStatusSerializer() { + this(null); + } + + @Override + public void serialize( + SharedDashboardStatus value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static SharedDashboardStatus fromValue(String value) { + return new SharedDashboardStatus(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v1/model/SharedDashboardUpdateRequest.java b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardUpdateRequest.java index e94372859e4..a7e221b22cd 100644 --- a/src/main/java/com/datadog/api/client/v1/model/SharedDashboardUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v1/model/SharedDashboardUpdateRequest.java @@ -8,11 +8,11 @@ import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -22,23 +22,39 @@ /** Update a shared dashboard's settings. */ @JsonPropertyOrder({ + SharedDashboardUpdateRequest.JSON_PROPERTY_EMBEDDABLE_DOMAINS, + SharedDashboardUpdateRequest.JSON_PROPERTY_EXPIRATION, SharedDashboardUpdateRequest.JSON_PROPERTY_GLOBAL_TIME, SharedDashboardUpdateRequest.JSON_PROPERTY_GLOBAL_TIME_SELECTABLE_ENABLED, + SharedDashboardUpdateRequest.JSON_PROPERTY_INVITEES, SharedDashboardUpdateRequest.JSON_PROPERTY_SELECTABLE_TEMPLATE_VARS, SharedDashboardUpdateRequest.JSON_PROPERTY_SHARE_LIST, - SharedDashboardUpdateRequest.JSON_PROPERTY_SHARE_TYPE + SharedDashboardUpdateRequest.JSON_PROPERTY_SHARE_TYPE, + SharedDashboardUpdateRequest.JSON_PROPERTY_STATUS, + SharedDashboardUpdateRequest.JSON_PROPERTY_TITLE, + SharedDashboardUpdateRequest.JSON_PROPERTY_VIEWING_PREFERENCES }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SharedDashboardUpdateRequest { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_EMBEDDABLE_DOMAINS = "embeddable_domains"; + private List embeddableDomains = null; + + public static final String JSON_PROPERTY_EXPIRATION = "expiration"; + private JsonNullable expiration = JsonNullable.undefined(); + public static final String JSON_PROPERTY_GLOBAL_TIME = "global_time"; - private SharedDashboardUpdateRequestGlobalTime globalTime; + private JsonNullable globalTime = + JsonNullable.undefined(); public static final String JSON_PROPERTY_GLOBAL_TIME_SELECTABLE_ENABLED = "global_time_selectable_enabled"; private JsonNullable globalTimeSelectableEnabled = JsonNullable.undefined(); + public static final String JSON_PROPERTY_INVITEES = "invitees"; + private List invitees = null; + public static final String JSON_PROPERTY_SELECTABLE_TEMPLATE_VARS = "selectable_template_vars"; private JsonNullable> selectableTemplateVars = JsonNullable.>undefined(); @@ -49,24 +65,78 @@ public class SharedDashboardUpdateRequest { public static final String JSON_PROPERTY_SHARE_TYPE = "share_type"; private JsonNullable shareType = JsonNullable.undefined(); - public SharedDashboardUpdateRequest() {} + public static final String JSON_PROPERTY_STATUS = "status"; + private SharedDashboardStatus status; - @JsonCreator - public SharedDashboardUpdateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_GLOBAL_TIME) - SharedDashboardUpdateRequestGlobalTime globalTime) { - this.globalTime = globalTime; - if (globalTime != null) { - this.unparsed |= globalTime.unparsed; + public static final String JSON_PROPERTY_TITLE = "title"; + private String title; + + public static final String JSON_PROPERTY_VIEWING_PREFERENCES = "viewing_preferences"; + private ViewingPreferences viewingPreferences; + + public SharedDashboardUpdateRequest embeddableDomains(List embeddableDomains) { + this.embeddableDomains = embeddableDomains; + return this; + } + + public SharedDashboardUpdateRequest addEmbeddableDomainsItem(String embeddableDomainsItem) { + if (this.embeddableDomains == null) { + this.embeddableDomains = new ArrayList<>(); } + this.embeddableDomains.add(embeddableDomainsItem); + return this; + } + + /** + * The SharedDashboard embeddable_domains. + * + * @return embeddableDomains + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EMBEDDABLE_DOMAINS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getEmbeddableDomains() { + return embeddableDomains; + } + + public void setEmbeddableDomains(List embeddableDomains) { + this.embeddableDomains = embeddableDomains; + } + + public SharedDashboardUpdateRequest expiration(OffsetDateTime expiration) { + this.expiration = JsonNullable.of(expiration); + return this; + } + + /** + * The time when an OPEN shared dashboard becomes publicly unavailable. + * + * @return expiration + */ + @jakarta.annotation.Nullable + @JsonIgnore + public OffsetDateTime getExpiration() { + return expiration.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_EXPIRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getExpiration_JsonNullable() { + return expiration; + } + + @JsonProperty(JSON_PROPERTY_EXPIRATION) + public void setExpiration_JsonNullable(JsonNullable expiration) { + this.expiration = expiration; + } + + public void setExpiration(OffsetDateTime expiration) { + this.expiration = JsonNullable.of(expiration); } public SharedDashboardUpdateRequest globalTime( SharedDashboardUpdateRequestGlobalTime globalTime) { - this.globalTime = globalTime; - if (globalTime != null) { - this.unparsed |= globalTime.unparsed; - } + this.globalTime = JsonNullable.of(globalTime); return this; } @@ -76,16 +146,27 @@ public SharedDashboardUpdateRequest globalTime( * @return globalTime */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_GLOBAL_TIME) - @JsonInclude(value = JsonInclude.Include.ALWAYS) + @JsonIgnore public SharedDashboardUpdateRequestGlobalTime getGlobalTime() { + return globalTime.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_GLOBAL_TIME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getGlobalTime_JsonNullable() { return globalTime; } - public void setGlobalTime(SharedDashboardUpdateRequestGlobalTime globalTime) { + @JsonProperty(JSON_PROPERTY_GLOBAL_TIME) + public void setGlobalTime_JsonNullable( + JsonNullable globalTime) { this.globalTime = globalTime; } + public void setGlobalTime(SharedDashboardUpdateRequestGlobalTime globalTime) { + this.globalTime = JsonNullable.of(globalTime); + } + public SharedDashboardUpdateRequest globalTimeSelectableEnabled( Boolean globalTimeSelectableEnabled) { this.globalTimeSelectableEnabled = JsonNullable.of(globalTimeSelectableEnabled); @@ -119,6 +200,39 @@ public void setGlobalTimeSelectableEnabled(Boolean globalTimeSelectableEnabled) this.globalTimeSelectableEnabled = JsonNullable.of(globalTimeSelectableEnabled); } + public SharedDashboardUpdateRequest invitees(List invitees) { + this.invitees = invitees; + for (SharedDashboardInviteesItems item : invitees) { + this.unparsed |= item.unparsed; + } + return this; + } + + public SharedDashboardUpdateRequest addInviteesItem(SharedDashboardInviteesItems inviteesItem) { + if (this.invitees == null) { + this.invitees = new ArrayList<>(); + } + this.invitees.add(inviteesItem); + this.unparsed |= inviteesItem.unparsed; + return this; + } + + /** + * The SharedDashboard invitees. + * + * @return invitees + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INVITEES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getInvitees() { + return invitees; + } + + public void setInvitees(List invitees) { + this.invitees = invitees; + } + public SharedDashboardUpdateRequest selectableTemplateVars( List selectableTemplateVars) { this.selectableTemplateVars = @@ -192,13 +306,16 @@ public SharedDashboardUpdateRequest addShareListItem(String shareListItem) { * List of email addresses that can be given access to the shared dashboard. * * @return shareList + * @deprecated */ + @Deprecated @jakarta.annotation.Nullable @JsonIgnore public List getShareList() { return shareList.orElse(null); } + @Deprecated @JsonProperty(JSON_PROPERTY_SHARE_LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JsonNullable> getShareList_JsonNullable() { @@ -248,6 +365,75 @@ public void setShareType(DashboardShareType shareType) { this.shareType = JsonNullable.of(shareType); } + public SharedDashboardUpdateRequest status(SharedDashboardStatus status) { + this.status = status; + this.unparsed |= !status.isValid(); + return this; + } + + /** + * Active means the dashboard is publicly available. Paused means the dashboard is not publicly + * available. + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public SharedDashboardStatus getStatus() { + return status; + } + + public void setStatus(SharedDashboardStatus status) { + if (!status.isValid()) { + this.unparsed = true; + } + this.status = status; + } + + public SharedDashboardUpdateRequest title(String title) { + this.title = title; + return this; + } + + /** + * Title of the shared dashboard. + * + * @return title + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TITLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public SharedDashboardUpdateRequest viewingPreferences(ViewingPreferences viewingPreferences) { + this.viewingPreferences = viewingPreferences; + this.unparsed |= viewingPreferences.unparsed; + return this; + } + + /** + * The viewing preferences for a shared dashboard. + * + * @return viewingPreferences + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VIEWING_PREFERENCES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ViewingPreferences getViewingPreferences() { + return viewingPreferences; + } + + public void setViewingPreferences(ViewingPreferences viewingPreferences) { + this.viewingPreferences = viewingPreferences; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -304,14 +490,20 @@ public boolean equals(Object o) { return false; } SharedDashboardUpdateRequest sharedDashboardUpdateRequest = (SharedDashboardUpdateRequest) o; - return Objects.equals(this.globalTime, sharedDashboardUpdateRequest.globalTime) + return Objects.equals(this.embeddableDomains, sharedDashboardUpdateRequest.embeddableDomains) + && Objects.equals(this.expiration, sharedDashboardUpdateRequest.expiration) + && Objects.equals(this.globalTime, sharedDashboardUpdateRequest.globalTime) && Objects.equals( this.globalTimeSelectableEnabled, sharedDashboardUpdateRequest.globalTimeSelectableEnabled) + && Objects.equals(this.invitees, sharedDashboardUpdateRequest.invitees) && Objects.equals( this.selectableTemplateVars, sharedDashboardUpdateRequest.selectableTemplateVars) && Objects.equals(this.shareList, sharedDashboardUpdateRequest.shareList) && Objects.equals(this.shareType, sharedDashboardUpdateRequest.shareType) + && Objects.equals(this.status, sharedDashboardUpdateRequest.status) + && Objects.equals(this.title, sharedDashboardUpdateRequest.title) + && Objects.equals(this.viewingPreferences, sharedDashboardUpdateRequest.viewingPreferences) && Objects.equals( this.additionalProperties, sharedDashboardUpdateRequest.additionalProperties); } @@ -319,11 +511,17 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( + embeddableDomains, + expiration, globalTime, globalTimeSelectableEnabled, + invitees, selectableTemplateVars, shareList, shareType, + status, + title, + viewingPreferences, additionalProperties); } @@ -331,15 +529,21 @@ public int hashCode() { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class SharedDashboardUpdateRequest {\n"); + sb.append(" embeddableDomains: ").append(toIndentedString(embeddableDomains)).append("\n"); + sb.append(" expiration: ").append(toIndentedString(expiration)).append("\n"); sb.append(" globalTime: ").append(toIndentedString(globalTime)).append("\n"); sb.append(" globalTimeSelectableEnabled: ") .append(toIndentedString(globalTimeSelectableEnabled)) .append("\n"); + sb.append(" invitees: ").append(toIndentedString(invitees)).append("\n"); sb.append(" selectableTemplateVars: ") .append(toIndentedString(selectableTemplateVars)) .append("\n"); sb.append(" shareList: ").append(toIndentedString(shareList)).append("\n"); sb.append(" shareType: ").append(toIndentedString(shareType)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" viewingPreferences: ").append(toIndentedString(viewingPreferences)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/ViewingPreferences.java b/src/main/java/com/datadog/api/client/v1/model/ViewingPreferences.java new file mode 100644 index 00000000000..5a7fcdfe6db --- /dev/null +++ b/src/main/java/com/datadog/api/client/v1/model/ViewingPreferences.java @@ -0,0 +1,168 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v1.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** The viewing preferences for a shared dashboard. */ +@JsonPropertyOrder({ + ViewingPreferences.JSON_PROPERTY_HIGH_DENSITY, + ViewingPreferences.JSON_PROPERTY_THEME +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class ViewingPreferences { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_HIGH_DENSITY = "high_density"; + private Boolean highDensity; + + public static final String JSON_PROPERTY_THEME = "theme"; + private ViewingPreferencesTheme theme; + + public ViewingPreferences highDensity(Boolean highDensity) { + this.highDensity = highDensity; + return this; + } + + /** + * Whether the widgets on the shared dashboard should be displayed with high density. + * + * @return highDensity + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_HIGH_DENSITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getHighDensity() { + return highDensity; + } + + public void setHighDensity(Boolean highDensity) { + this.highDensity = highDensity; + } + + public ViewingPreferences theme(ViewingPreferencesTheme theme) { + this.theme = theme; + this.unparsed |= !theme.isValid(); + return this; + } + + /** + * The theme of the shared dashboard view. "system" follows your system's default viewing theme. + * + * @return theme + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_THEME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ViewingPreferencesTheme getTheme() { + return theme; + } + + public void setTheme(ViewingPreferencesTheme theme) { + if (!theme.isValid()) { + this.unparsed = true; + } + this.theme = theme; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return ViewingPreferences + */ + @JsonAnySetter + public ViewingPreferences putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this ViewingPreferences object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ViewingPreferences viewingPreferences = (ViewingPreferences) o; + return Objects.equals(this.highDensity, viewingPreferences.highDensity) + && Objects.equals(this.theme, viewingPreferences.theme) + && Objects.equals(this.additionalProperties, viewingPreferences.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(highDensity, theme, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ViewingPreferences {\n"); + sb.append(" highDensity: ").append(toIndentedString(highDensity)).append("\n"); + sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v1/model/ViewingPreferencesTheme.java b/src/main/java/com/datadog/api/client/v1/model/ViewingPreferencesTheme.java new file mode 100644 index 00000000000..39846af3a9b --- /dev/null +++ b/src/main/java/com/datadog/api/client/v1/model/ViewingPreferencesTheme.java @@ -0,0 +1,58 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v1.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** The theme of the shared dashboard view. "system" follows your system's default viewing theme. */ +@JsonSerialize(using = ViewingPreferencesTheme.ViewingPreferencesThemeSerializer.class) +public class ViewingPreferencesTheme extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("system", "light", "dark")); + + public static final ViewingPreferencesTheme SYSTEM = new ViewingPreferencesTheme("system"); + public static final ViewingPreferencesTheme LIGHT = new ViewingPreferencesTheme("light"); + public static final ViewingPreferencesTheme DARK = new ViewingPreferencesTheme("dark"); + + ViewingPreferencesTheme(String value) { + super(value, allowedValues); + } + + public static class ViewingPreferencesThemeSerializer + extends StdSerializer { + public ViewingPreferencesThemeSerializer(Class t) { + super(t); + } + + public ViewingPreferencesThemeSerializer() { + this(null); + } + + @Override + public void serialize( + ViewingPreferencesTheme value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static ViewingPreferencesTheme fromValue(String value) { + return new ViewingPreferencesTheme(value); + } +} diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Bad_Request_response.json index 6d507bcd8cb..6015d51bb66 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba4" + "id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json index c271d91c166..404c80fc8a7 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "c206b9cd-771e-14f0-5d18-42a3a48556cf" + "id": "c206b9cd-771e-14f0-5d18-42a3a48556d0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json index c82b6c27f29..a42ef29bfae 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json index cf63593c8d1..d6e72cc1e7a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json index 4c3eb8f99c4..6c0150b2bed 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json index f2248371931..f02f71207af 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eee" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json index 87cb96a7640..6352d5f0102 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json index 55368f4ae1c..7e5c7b1234d 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 2e4479a46a7..96ea2f1d661 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json index f469a5cda1f..e05cab1201f 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_log_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json index 7711ea26b7b..2e4479a46a7 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json index 5be48f564e3..0b391d3aa3a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json index 8fcc5731aee..77aa5204b9c 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eed" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Not_Found_response.json index cb351a5a3b8..2cad4645519 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "6796bfb2-5496-6f6a-d702-4bc629b25991" + "id": "6796bfb2-5496-6f6a-d702-4bc629b25992" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json index d569331fc1e..1522bfacf43 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8d" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a94" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json index b2f56bf9dd7..9056d2e695d 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a99" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a95" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json index b8fc6d4a6de..c3c9b219b67 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a98" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json index 8665d61a91c..009b135a96a 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a90" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a99" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json index c86c865d392..3c8e972d500 100644 --- a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d81000" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffe" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json index fc22ccca876..edc9a927e99 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e82" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed160" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json index 3240ae69a7c..67a70945ed2 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e83" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed161" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Successfully_created_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Successfully_created_a_workflow_response.json index 67ccc9c880d..6156502b7db 100644 --- a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Successfully_created_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Successfully_created_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "4ea99b6c-255c-1141-3fea-0a5165d54bd8" + "id": "4ea99b6c-255c-1141-3fea-0a5165d54bd7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Successfully_created_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Successfully_created_a_workflow_response.json index eac1670b1b2..dd72a529a24 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Successfully_created_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Successfully_created_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "4ea99b6c-255c-1141-3fea-0a5165d54bd7" + "id": "4ea99b6c-255c-1141-3fea-0a5165d54bd8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json index 10196fccfbe..7b4f530a537 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c206b9cd-771e-14f0-5d18-42a3a48556d0" + "id": "c206b9cd-771e-14f0-5d18-42a3a48556d1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Bad_Request_response.json index 6015d51bb66..6d507bcd8cb 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba5" + "id": "f1ca6244-e46c-b3a2-86bf-65d4e9044ba4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json index 7c10d314d40..d2d50d7b2ab 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a0a" + "id": "cd59362c-7df2-d349-9880-5b5536151a08" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "c206b9cd-771e-14f0-5d18-42a3a48556d1" + "id": "c206b9cd-771e-14f0-5d18-42a3a48556cf" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json index 71e89162830..e8d8aa376d6 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json index a950d925a7b..0dd05116b3f 100644 --- a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216f" + "id": "ab2c08c1-60c7-9278-3246-d650bb892174" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json index e0d3fb8de28..649092e3fca 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fac" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json index 385085fe427..6b38f44e69b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12faa" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json index bb5ecdafa10..df46f38cbc4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" + "id": "01611a93-5e74-0630-3c51-f707c3b51e78" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15e" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed158" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json index fee39ffa432..0d7a178583b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json index a42ef29bfae..c82b6c27f29 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json index c01678d31f1..193db7955ad 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a09" + "id": "cd59362c-7df2-d349-9880-5b5536151a0b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json index b6b0aa30336..6d67b329de6 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a07" + "id": "cd59362c-7df2-d349-9880-5b5536151a0a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_existing_Workflow_returns_Successfully_deleted_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Delete_an_existing_Workflow_returns_Successfully_deleted_a_workflow_response.json index db9ab0c8bcf..67b46b36826 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_existing_Workflow_returns_Successfully_deleted_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_existing_Workflow_returns_Successfully_deleted_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21d" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json index e050d301c9d..a75b3a73a8e 100644 --- a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json index df7f04a6d6c..a693f451c97 100644 --- a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json index 1f362181dcc..c787af5fea5 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fa9" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json index 00cfe08a445..c54135f8367 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json index 23c93b2c9bf..c909d675988 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d81000" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json index 3ac71e748b0..45a15489bac 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a06" + "id": "cd59362c-7df2-d349-9880-5b5536151a07" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json index 6352d5f0102..87cb96a7640 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json index 7e5c7b1234d..55368f4ae1c 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d3" + "id": "9b33b83c-c8bb-714f-cf71-33ab2f3af9d4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json index 25db76f7d19..06fc770d47a 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_existing_Workflow_returns_Successfully_got_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21f" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json index e05cab1201f..f469a5cda1f 100644 --- a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json index af0de17f8e5..86f32d0b2cf 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a96" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json index 7c863a23483..ce9579ed86c 100644 --- a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" + "id": "ab2c08c1-60c7-9278-3246-d650bb892172" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json index e909452019b..07e35f325aa 100644 --- a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15d" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15b" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json index 2fe54ec605a..7fbfb6710f8 100644 --- a/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_APM_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 04642dca659..adf7e6ef2ed 100644 --- a/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0f" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json index a48da463a36..1eb102e67e6 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json index ef4404358ef..0f374e67d04 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fa8" + "id": "b8e7d077-8c77-c831-844b-014fb6c12faa" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json index 21fe2974893..74fd42ce3ea 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" + "id": "01611a93-5e74-0630-3c51-f707c3b51e83" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15a" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed161" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json index 3aa483efdbe..5aa4ba56ca7 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" + "id": "01611a93-5e74-0630-3c51-f707c3b51e82" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15c" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed160" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json index 988f4ea02fd..524aba86421 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892175" + "id": "ab2c08c1-60c7-9278-3246-d650bb892171" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json b/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json index eb4665f4b1a..7f3aa0370d2 100644 --- a/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json +++ b/src/test/resources/cassettes/features/v2/Run_a_historical_job_returns_Status_created_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffe" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json index 1c6ba907db5..722668b340b 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a94" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a98" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json index 0a6614d4f78..6b5f97b1037 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a92" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a96" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json index 5f4d0f2c008..3101663684c 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a93" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json index 839d8eeae3c..7756a1be0b9 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fa7" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fab" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json index 21e8f9abb40..a590ba2a5ce 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fab" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fad" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json index a75b435ac30..2049e9ae6a5 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8e7d077-8c77-c831-844b-014fb6c12fad" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fac" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json index 03f59af1021..428efba169d 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e78" + "id": "01611a93-5e74-0630-3c51-f707c3b51e79" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed158" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed159" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json index 5ec8c73f70d..c68ccca3a71 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e79" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed159" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json index f1aa2480d43..b4a961a1850 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15b" + "id": "33fa4a39-57ef-afdd-007a-0db82f7ed15d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json index af34ab432a4..b7374ea7691 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0698" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json index 5fed3161324..c5e257f3e5d 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json index 130fe8b92e4..0d1a0ff7ae7 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json index 19d4cf1a034..4dbd4d81382 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json index 1143b899e5b..32c22376aa7 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json index 48fbe0112ca..a569622fd79 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Role_ID_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892172" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json index 5e8dbb307aa..10ca3fd4408 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892174" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json index a6258c72557..a2c46537cd2 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892171" + "id": "ab2c08c1-60c7-9278-3246-d650bb892175" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json index 7b031ba9ca0..f1ee46bb5f7 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a08" + "id": "cd59362c-7df2-d349-9880-5b5536151a06" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json index 8df7c214845..9f34ecdd480 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "cd59362c-7df2-d349-9880-5b5536151a0b" + "id": "cd59362c-7df2-d349-9880-5b5536151a09" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Not_Found_response.json index 2cad4645519..cb351a5a3b8 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "6796bfb2-5496-6f6a-d702-4bc629b25992" + "id": "6796bfb2-5496-6f6a-d702-4bc629b25991" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json index 8730e5c400b..914065b9301 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_Workflow_returns_Successfully_updated_a_workflow_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21c" + "id": "ef58c8e5-8d44-f741-5735-0d8c01ffa21f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json index c88b7d95168..9c252eb38fd 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json index 993810adfa5..1edf7332417 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a95" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a91" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json index 9dcd916f7a8..f2cc0c7a7f7 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a91" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a90" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json index 4cd4f7a280d..3ccc782c10d 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8f" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a92" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json index 2b4273d0f8e..849c8b1202c 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "0a6534d0-42f2-5075-64f8-7ab28f449a8e" + "id": "0a6534d0-42f2-5075-64f8-7ab28f449a93" }, { "httpRequest": { diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature b/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature index fbc89cc98ce..45b0ea0d3ab 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature @@ -936,21 +936,21 @@ Feature: Dashboards And the response "widgets[0].definition.time.unit" is equal to "minute" And the response "widgets[0].definition.time.value" is equal to 8 - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Create a shared dashboard returns "Bad Request" response Given new "CreatePublicDashboard" request - And body with value {"dashboard_id": "123-abc-456", "dashboard_type": "custom_timeboard", "global_time": {"live_span": "1h"}, "global_time_selectable_enabled": null, "selectable_template_vars": [{"default_value": "*", "name": "exampleVar", "prefix": "test", "visible_tags": ["selectableValue1", "selectableValue2"]}], "share_list": ["test@datadoghq.com", "test2@email.com"], "share_type": "open"} + And body with value {"dashboard_id": "123-abc-456", "dashboard_type": "custom_timeboard", "embeddable_domains": ["https://domain.atlassian.net/", "http://myserver.com/"], "expiration": null, "global_time": {"live_span": "1h"}, "global_time_selectable_enabled": null, "invitees": [{"access_expiration": "2030-01-01T12:00:00.00Z", "email": "test@datadoghq.com"}, {"access_expiration": null, "email": "test2@datadoghq.com"}], "selectable_template_vars": [{"default_value": "*", "name": "exampleVar", "prefix": "test", "visible_tags": ["selectableValue1", "selectableValue2"]}], "share_list": ["test@datadoghq.com", "test2@email.com"], "share_type": "open", "status": "active", "viewing_preferences": {"theme": "system"}} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Create a shared dashboard returns "Dashboard Not Found" response Given new "CreatePublicDashboard" request And body with value {"dashboard_id": "abc-123-def", "dashboard_type": "custom_timeboard", "share_type": "open", "global_time": {"live_span": "1h"}} When the request is sent Then the response status is 404 Dashboard Not Found - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Create a shared dashboard returns "OK" response Given there is a valid "dashboard" in the system And new "CreatePublicDashboard" request @@ -1023,7 +1023,7 @@ Feature: Dashboards Then the response status is 200 OK And the response "author_name" is equal to "Frog Account" - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Get a shared dashboard returns "OK" response Given there is a valid "dashboard" in the system And there is a valid "shared_dashboard" in the system @@ -1034,7 +1034,7 @@ Feature: Dashboards And the response "dashboard_id" has the same value as "dashboard.id" And the response "token" has the same value as "shared_dashboard.token" - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Get a shared dashboard returns "Shared Dashboard Not Found" response Given new "GetPublicDashboard" request And request contains "token" parameter from "REPLACE.ME" @@ -1059,14 +1059,14 @@ Feature: Dashboards Then the response status is 200 OK And the response has 3 items - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Get all invitations for a shared dashboard returns "Not Found" response Given new "GetPublicDashboardInvitations" request And request contains "token" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Get all invitations for a shared dashboard returns "OK" response Given there is a valid "dashboard" in the system And there is a valid "shared_dashboard" in the system @@ -1110,21 +1110,21 @@ Feature: Dashboards When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Revoke a shared dashboard URL returns "OK" response Given new "DeletePublicDashboard" request And request contains "token" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Revoke a shared dashboard URL returns "Shared Dashboard Not Found" response Given new "DeletePublicDashboard" request And request contains "token" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Shared Dashboard Not Found - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Revoke shared dashboard invitations returns "Not Found" response Given new "DeletePublicDashboardInvitation" request And request contains "token" parameter from "REPLACE.ME" @@ -1132,7 +1132,7 @@ Feature: Dashboards When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Revoke shared dashboard invitations returns "OK" response Given new "DeletePublicDashboardInvitation" request And request contains "token" parameter from "REPLACE.ME" @@ -1140,7 +1140,7 @@ Feature: Dashboards When the request is sent Then the response status is 204 OK - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Send shared dashboard invitation email returns "Bad Request" response Given new "SendPublicDashboardInvitation" request And request contains "token" parameter from "REPLACE.ME" @@ -1148,7 +1148,7 @@ Feature: Dashboards When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Send shared dashboard invitation email returns "Not Found" response Given new "SendPublicDashboardInvitation" request And request contains "token" parameter from "REPLACE.ME" @@ -1156,7 +1156,7 @@ Feature: Dashboards When the request is sent Then the response status is 404 Not Found - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Send shared dashboard invitation email returns "OK" response Given there is a valid "dashboard" in the system And there is a valid "shared_dashboard" in the system @@ -1204,7 +1204,7 @@ Feature: Dashboards Then the response status is 200 OK And the response "tags" is equal to ["team:foo", "team:bar"] - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Update a shared dashboard returns "Bad Request" response Given new "UpdatePublicDashboard" request And request contains "token" parameter from "REPLACE.ME" @@ -1212,7 +1212,7 @@ Feature: Dashboards When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/dashboards-backend + @generated @skip @team:DataDog/reporting-and-sharing Scenario: Update a shared dashboard returns "Item Not Found" response Given new "UpdatePublicDashboard" request And request contains "token" parameter from "REPLACE.ME" @@ -1220,7 +1220,7 @@ Feature: Dashboards When the request is sent Then the response status is 404 Item Not Found - @team:DataDog/dashboards-backend + @team:DataDog/reporting-and-sharing Scenario: Update a shared dashboard returns "OK" response Given there is a valid "dashboard" in the system And there is a valid "shared_dashboard" in the system