From a2323f223f1fce2a23581f80164cc789b1e4aab6 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 24 Jul 2023 17:30:47 +0000 Subject: [PATCH] Regenerate client from commit e6622470 of spec repo --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 100 +++++- .../v2/model/RelationshipToTeamLinks.java | 34 +- .../RelationshipToUserTeamPermission.java | 34 +- ...mData.java => TeamRelationshipsLinks.java} | 123 ++----- .../api/client/v2/model/TeamResponse.java | 8 +- .../api/client/v2/model/TeamsResponse.java | 63 +++- .../client/v2/model/TeamsResponseLinks.java | 266 ++++++++++++++ .../client/v2/model/TeamsResponseMeta.java | 136 +++++++ .../v2/model/TeamsResponseMetaPagination.java | 336 ++++++++++++++++++ .../client/v2/model/UserTeamsResponse.java | 62 +++- ...returns_API_error_response_response.freeze | 2 +- ...k_returns_API_error_response_response.json | 14 +- ...ate_a_team_link_returns_OK_response.freeze | 2 +- ...reate_a_team_link_returns_OK_response.json | 20 +- ...returns_API_error_response_response.freeze | 2 +- ...m_returns_API_error_response_response.json | 14 +- ...ate_a_team_returns_CREATED_response.freeze | 2 +- ...reate_a_team_returns_CREATED_response.json | 10 +- ...returns_API_error_response_response.freeze | 2 +- ...k_returns_API_error_response_response.json | 14 +- ...Get_a_team_link_returns_OK_response.freeze | 2 +- .../Get_a_team_link_returns_OK_response.json | 28 +- ...returns_API_error_response_response.freeze | 2 +- .../v2/Get_a_team_returns_OK_response.freeze | 2 +- .../v2/Get_a_team_returns_OK_response.json | 16 +- .../Get_all_teams_returns_OK_response.freeze | 2 +- .../v2/Get_all_teams_returns_OK_response.json | 12 +- ...returns_API_error_response_response.freeze | 2 +- ...inks_for_a_team_returns_OK_response.freeze | 2 +- ..._links_for_a_team_returns_OK_response.json | 14 +- ...returns_API_error_response_response.freeze | 2 +- ...ings_for_a_team_returns_OK_response.freeze | 2 +- ...ttings_for_a_team_returns_OK_response.json | 16 +- ...returns_API_error_response_response.freeze | 2 +- ...er_s_association_to_a_team_response.freeze | 2 +- ...user_s_association_to_a_team_response.json | 16 +- ...returns_API_error_response_response.freeze | 2 +- ...k_returns_API_error_response_response.json | 14 +- ...am_link_returns_No_Content_response.freeze | 2 +- ...team_link_returns_No_Content_response.json | 28 +- ...returns_API_error_response_response.freeze | 2 +- ..._a_team_returns_No_Content_response.freeze | 2 +- ...ve_a_team_returns_No_Content_response.json | 16 +- ...returns_API_error_response_response.freeze | 2 +- ...m_returns_API_error_response_response.json | 14 +- ...returns_API_error_response_response.freeze | 2 +- ...k_returns_API_error_response_response.json | 14 +- ...ate_a_team_link_returns_OK_response.freeze | 2 +- ...pdate_a_team_link_returns_OK_response.json | 28 +- .../Update_a_team_returns_OK_response.freeze | 2 +- .../v2/Update_a_team_returns_OK_response.json | 18 +- ...returns_API_error_response_response.freeze | 2 +- ...m_returns_API_error_response_response.json | 14 +- ...returns_API_error_response_response.freeze | 2 +- ...m_returns_API_error_response_response.json | 14 +- ...etting_for_team_returns_OK_response.freeze | 2 +- ..._setting_for_team_returns_OK_response.json | 16 +- .../datadog/api/client/v2/api/teams.feature | 2 +- 59 files changed, 1241 insertions(+), 333 deletions(-) rename src/main/java/com/datadog/api/client/v2/model/{TeamData.java => TeamRelationshipsLinks.java} (50%) create mode 100644 src/main/java/com/datadog/api/client/v2/model/TeamsResponseLinks.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/TeamsResponseMeta.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/TeamsResponseMetaPagination.java diff --git a/.apigentools-info b/.apigentools-info index 1e0a3ee1d31..05e57215811 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-24 15:54:29.646001", - "spec_repo_commit": "b233d581" + "regenerated": "2023-07-24 17:29:12.880004", + "spec_repo_commit": "e6622470" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-24 15:54:29.663211", - "spec_repo_commit": "b233d581" + "regenerated": "2023-07-24 17:29:12.894141", + "spec_repo_commit": "e6622470" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 10d8d7da793..da646e667dd 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -11592,6 +11592,8 @@ components: items: $ref: '#/components/schemas/RelationshipToTeamLinkData' type: array + links: + $ref: '#/components/schemas/TeamRelationshipsLinks' type: object RelationshipToUser: description: Relationship to user. @@ -11619,6 +11621,8 @@ components: properties: data: $ref: '#/components/schemas/RelationshipToUserTeamPermissionData' + links: + $ref: '#/components/schemas/TeamRelationshipsLinks' type: object RelationshipToUserTeamPermissionData: description: Related user team permission data @@ -15969,22 +15973,6 @@ components: required: - data type: object - TeamData: - description: A team - properties: - attributes: - $ref: '#/components/schemas/TeamAttributes' - id: - description: The team's identifier - example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 - type: string - type: - $ref: '#/components/schemas/TeamType' - required: - - attributes - - id - - type - type: object TeamIncluded: description: Included resources related to the team oneOf: @@ -16198,11 +16186,19 @@ components: user_team_permissions: $ref: '#/components/schemas/RelationshipToUserTeamPermission' type: object + TeamRelationshipsLinks: + description: Links attributes. + properties: + related: + description: Related link. + example: /api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links + type: string + type: object TeamResponse: description: Response with a team properties: data: - $ref: '#/components/schemas/TeamData' + $ref: '#/components/schemas/Team' type: object TeamType: default: team @@ -16279,6 +16275,72 @@ components: items: $ref: '#/components/schemas/TeamIncluded' type: array + links: + $ref: '#/components/schemas/TeamsResponseLinks' + meta: + $ref: '#/components/schemas/TeamsResponseMeta' + type: object + TeamsResponseLinks: + description: Teams response links. + properties: + first: + description: First link. + type: string + last: + description: Last link. + nullable: true + type: string + next: + description: Next link. + type: string + prev: + description: Previous link. + nullable: true + type: string + self: + description: Current link. + type: string + type: object + TeamsResponseMeta: + description: Teams response metadata. + properties: + pagination: + $ref: '#/components/schemas/TeamsResponseMetaPagination' + type: object + TeamsResponseMetaPagination: + description: Teams response metadata. + properties: + first_offset: + description: The first offset. + format: int64 + type: integer + last_offset: + description: The last offset. + format: int64 + type: integer + limit: + description: Pagination limit. + format: int64 + type: integer + next_offset: + description: The next offset. + format: int64 + type: integer + offset: + description: The offset. + format: int64 + type: integer + prev_offset: + description: The previous offset. + format: int64 + type: integer + total: + description: Total results. + format: int64 + type: integer + type: + description: Offset type. + type: string type: object TimeseriesFormulaQueryRequest: description: A request wrapper around a single timeseries query to be executed. @@ -16920,6 +16982,10 @@ components: items: $ref: '#/components/schemas/UserTeam' type: array + links: + $ref: '#/components/schemas/TeamsResponseLinks' + meta: + $ref: '#/components/schemas/TeamsResponseMeta' type: object UserUpdateAttributes: description: Attributes of the edited user. diff --git a/src/main/java/com/datadog/api/client/v2/model/RelationshipToTeamLinks.java b/src/main/java/com/datadog/api/client/v2/model/RelationshipToTeamLinks.java index 7b94645e07d..bbcb620c5fa 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RelationshipToTeamLinks.java +++ b/src/main/java/com/datadog/api/client/v2/model/RelationshipToTeamLinks.java @@ -19,7 +19,10 @@ import java.util.Objects; /** Relationship between a team and a team link */ -@JsonPropertyOrder({RelationshipToTeamLinks.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({ + RelationshipToTeamLinks.JSON_PROPERTY_DATA, + RelationshipToTeamLinks.JSON_PROPERTY_LINKS +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RelationshipToTeamLinks { @@ -27,6 +30,9 @@ public class RelationshipToTeamLinks { public static final String JSON_PROPERTY_DATA = "data"; private List data = null; + public static final String JSON_PROPERTY_LINKS = "links"; + private TeamRelationshipsLinks links; + public RelationshipToTeamLinks data(List data) { this.data = data; for (RelationshipToTeamLinkData item : data) { @@ -60,6 +66,28 @@ public void setData(List data) { this.data = data; } + public RelationshipToTeamLinks links(TeamRelationshipsLinks links) { + this.links = links; + this.unparsed |= links.unparsed; + return this; + } + + /** + * Links attributes. + * + * @return links + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINKS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamRelationshipsLinks getLinks() { + return links; + } + + public void setLinks(TeamRelationshipsLinks links) { + this.links = links; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -117,12 +145,13 @@ public boolean equals(Object o) { } RelationshipToTeamLinks relationshipToTeamLinks = (RelationshipToTeamLinks) o; return Objects.equals(this.data, relationshipToTeamLinks.data) + && Objects.equals(this.links, relationshipToTeamLinks.links) && Objects.equals(this.additionalProperties, relationshipToTeamLinks.additionalProperties); } @Override public int hashCode() { - return Objects.hash(data, additionalProperties); + return Objects.hash(data, links, additionalProperties); } @Override @@ -130,6 +159,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RelationshipToTeamLinks {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RelationshipToUserTeamPermission.java b/src/main/java/com/datadog/api/client/v2/model/RelationshipToUserTeamPermission.java index ad8a8d230c1..e37e1912e25 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RelationshipToUserTeamPermission.java +++ b/src/main/java/com/datadog/api/client/v2/model/RelationshipToUserTeamPermission.java @@ -17,7 +17,10 @@ import java.util.Objects; /** Relationship between a user team permission and a team */ -@JsonPropertyOrder({RelationshipToUserTeamPermission.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({ + RelationshipToUserTeamPermission.JSON_PROPERTY_DATA, + RelationshipToUserTeamPermission.JSON_PROPERTY_LINKS +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RelationshipToUserTeamPermission { @@ -25,6 +28,9 @@ public class RelationshipToUserTeamPermission { public static final String JSON_PROPERTY_DATA = "data"; private RelationshipToUserTeamPermissionData data; + public static final String JSON_PROPERTY_LINKS = "links"; + private TeamRelationshipsLinks links; + public RelationshipToUserTeamPermission data(RelationshipToUserTeamPermissionData data) { this.data = data; this.unparsed |= data.unparsed; @@ -47,6 +53,28 @@ public void setData(RelationshipToUserTeamPermissionData data) { this.data = data; } + public RelationshipToUserTeamPermission links(TeamRelationshipsLinks links) { + this.links = links; + this.unparsed |= links.unparsed; + return this; + } + + /** + * Links attributes. + * + * @return links + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINKS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamRelationshipsLinks getLinks() { + return links; + } + + public void setLinks(TeamRelationshipsLinks links) { + this.links = links; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -105,13 +133,14 @@ public boolean equals(Object o) { RelationshipToUserTeamPermission relationshipToUserTeamPermission = (RelationshipToUserTeamPermission) o; return Objects.equals(this.data, relationshipToUserTeamPermission.data) + && Objects.equals(this.links, relationshipToUserTeamPermission.links) && Objects.equals( this.additionalProperties, relationshipToUserTeamPermission.additionalProperties); } @Override public int hashCode() { - return Objects.hash(data, additionalProperties); + return Objects.hash(data, links, additionalProperties); } @Override @@ -119,6 +148,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RelationshipToUserTeamPermission {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/TeamData.java b/src/main/java/com/datadog/api/client/v2/model/TeamRelationshipsLinks.java similarity index 50% rename from src/main/java/com/datadog/api/client/v2/model/TeamData.java rename to src/main/java/com/datadog/api/client/v2/model/TeamRelationshipsLinks.java index f2b4e4b30d9..c14842365f9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TeamData.java +++ b/src/main/java/com/datadog/api/client/v2/model/TeamRelationshipsLinks.java @@ -8,7 +8,6 @@ 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; @@ -17,102 +16,34 @@ import java.util.Map; import java.util.Objects; -/** A team */ -@JsonPropertyOrder({ - TeamData.JSON_PROPERTY_ATTRIBUTES, - TeamData.JSON_PROPERTY_ID, - TeamData.JSON_PROPERTY_TYPE -}) +/** Links attributes. */ +@JsonPropertyOrder({TeamRelationshipsLinks.JSON_PROPERTY_RELATED}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class TeamData { +public class TeamRelationshipsLinks { @JsonIgnore public boolean unparsed = false; - public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private TeamAttributes attributes; + public static final String JSON_PROPERTY_RELATED = "related"; + private String related; - public static final String JSON_PROPERTY_ID = "id"; - private String id; - - public static final String JSON_PROPERTY_TYPE = "type"; - private TeamType type = TeamType.TEAM; - - public TeamData() {} - - @JsonCreator - public TeamData( - @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) TeamAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) TeamType type) { - this.attributes = attributes; - this.unparsed |= attributes.unparsed; - this.id = id; - this.type = type; - this.unparsed |= !type.isValid(); - } - - public TeamData attributes(TeamAttributes attributes) { - this.attributes = attributes; - this.unparsed |= attributes.unparsed; - return this; - } - - /** - * Team attributes - * - * @return attributes - */ - @JsonProperty(JSON_PROPERTY_ATTRIBUTES) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TeamAttributes getAttributes() { - return attributes; - } - - public void setAttributes(TeamAttributes attributes) { - this.attributes = attributes; - } - - public TeamData id(String id) { - this.id = id; + public TeamRelationshipsLinks related(String related) { + this.related = related; return this; } /** - * The team's identifier + * Related link. * - * @return id + * @return related */ - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public TeamData type(TeamType type) { - this.type = type; - this.unparsed |= !type.isValid(); - return this; + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_RELATED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getRelated() { + return related; } - /** - * Team type - * - * @return type - */ - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TeamType getType() { - return type; - } - - public void setType(TeamType type) { - if (!type.isValid()) { - this.unparsed = true; - } - this.type = type; + public void setRelated(String related) { + this.related = related; } /** @@ -127,10 +58,10 @@ public void setType(TeamType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return TeamData + * @return TeamRelationshipsLinks */ @JsonAnySetter - public TeamData putAdditionalProperty(String key, Object value) { + public TeamRelationshipsLinks putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -161,7 +92,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this TeamData object is equal to o. */ + /** Return true if this TeamRelationshipsLinks object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -170,25 +101,21 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TeamData teamData = (TeamData) o; - return Objects.equals(this.attributes, teamData.attributes) - && Objects.equals(this.id, teamData.id) - && Objects.equals(this.type, teamData.type) - && Objects.equals(this.additionalProperties, teamData.additionalProperties); + TeamRelationshipsLinks teamRelationshipsLinks = (TeamRelationshipsLinks) o; + return Objects.equals(this.related, teamRelationshipsLinks.related) + && Objects.equals(this.additionalProperties, teamRelationshipsLinks.additionalProperties); } @Override public int hashCode() { - return Objects.hash(attributes, id, type, additionalProperties); + return Objects.hash(related, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TeamData {\n"); - sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("class TeamRelationshipsLinks {\n"); + sb.append(" related: ").append(toIndentedString(related)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/TeamResponse.java b/src/main/java/com/datadog/api/client/v2/model/TeamResponse.java index f192bd61ac5..f695bd998f3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TeamResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/TeamResponse.java @@ -23,9 +23,9 @@ public class TeamResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private TeamData data; + private Team data; - public TeamResponse data(TeamData data) { + public TeamResponse data(Team data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -39,11 +39,11 @@ public TeamResponse data(TeamData data) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TeamData getData() { + public Team getData() { return data; } - public void setData(TeamData data) { + public void setData(Team data) { this.data = data; } diff --git a/src/main/java/com/datadog/api/client/v2/model/TeamsResponse.java b/src/main/java/com/datadog/api/client/v2/model/TeamsResponse.java index ffbc712ad7c..305cc932dd1 100644 --- a/src/main/java/com/datadog/api/client/v2/model/TeamsResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/TeamsResponse.java @@ -19,7 +19,12 @@ import java.util.Objects; /** Response with multiple teams */ -@JsonPropertyOrder({TeamsResponse.JSON_PROPERTY_DATA, TeamsResponse.JSON_PROPERTY_INCLUDED}) +@JsonPropertyOrder({ + TeamsResponse.JSON_PROPERTY_DATA, + TeamsResponse.JSON_PROPERTY_INCLUDED, + TeamsResponse.JSON_PROPERTY_LINKS, + TeamsResponse.JSON_PROPERTY_META +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TeamsResponse { @@ -30,6 +35,12 @@ public class TeamsResponse { public static final String JSON_PROPERTY_INCLUDED = "included"; private List included = null; + public static final String JSON_PROPERTY_LINKS = "links"; + private TeamsResponseLinks links; + + public static final String JSON_PROPERTY_META = "meta"; + private TeamsResponseMeta meta; + public TeamsResponse data(List data) { this.data = data; for (Team item : data) { @@ -96,6 +107,50 @@ public void setIncluded(List included) { this.included = included; } + public TeamsResponse links(TeamsResponseLinks links) { + this.links = links; + this.unparsed |= links.unparsed; + return this; + } + + /** + * Teams response links. + * + * @return links + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINKS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamsResponseLinks getLinks() { + return links; + } + + public void setLinks(TeamsResponseLinks links) { + this.links = links; + } + + public TeamsResponse meta(TeamsResponseMeta meta) { + this.meta = meta; + this.unparsed |= meta.unparsed; + return this; + } + + /** + * Teams response metadata. + * + * @return meta + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_META) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamsResponseMeta getMeta() { + return meta; + } + + public void setMeta(TeamsResponseMeta meta) { + this.meta = meta; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -154,12 +209,14 @@ public boolean equals(Object o) { TeamsResponse teamsResponse = (TeamsResponse) o; return Objects.equals(this.data, teamsResponse.data) && Objects.equals(this.included, teamsResponse.included) + && Objects.equals(this.links, teamsResponse.links) + && Objects.equals(this.meta, teamsResponse.meta) && Objects.equals(this.additionalProperties, teamsResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(data, included, additionalProperties); + return Objects.hash(data, included, links, meta, additionalProperties); } @Override @@ -168,6 +225,8 @@ public String toString() { sb.append("class TeamsResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" included: ").append(toIndentedString(included)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/TeamsResponseLinks.java b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseLinks.java new file mode 100644 index 00000000000..5b060da76fe --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseLinks.java @@ -0,0 +1,266 @@ +/* + * 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.v2.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; +import org.openapitools.jackson.nullable.JsonNullable; + +/** Teams response links. */ +@JsonPropertyOrder({ + TeamsResponseLinks.JSON_PROPERTY_FIRST, + TeamsResponseLinks.JSON_PROPERTY_LAST, + TeamsResponseLinks.JSON_PROPERTY_NEXT, + TeamsResponseLinks.JSON_PROPERTY_PREV, + TeamsResponseLinks.JSON_PROPERTY_SELF +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class TeamsResponseLinks { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_FIRST = "first"; + private String first; + + public static final String JSON_PROPERTY_LAST = "last"; + private JsonNullable last = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_NEXT = "next"; + private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + private JsonNullable prev = JsonNullable.undefined(); + + public static final String JSON_PROPERTY_SELF = "self"; + private String self; + + public TeamsResponseLinks first(String first) { + this.first = first; + return this; + } + + /** + * First link. + * + * @return first + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FIRST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getFirst() { + return first; + } + + public void setFirst(String first) { + this.first = first; + } + + public TeamsResponseLinks last(String last) { + this.last = JsonNullable.of(last); + return this; + } + + /** + * Last link. + * + * @return last + */ + @jakarta.annotation.Nullable + @JsonIgnore + public String getLast() { + return last.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_LAST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getLast_JsonNullable() { + return last; + } + + @JsonProperty(JSON_PROPERTY_LAST) + public void setLast_JsonNullable(JsonNullable last) { + this.last = last; + } + + public void setLast(String last) { + this.last = JsonNullable.of(last); + } + + public TeamsResponseLinks next(String next) { + this.next = next; + return this; + } + + /** + * Next link. + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + public void setNext(String next) { + this.next = next; + } + + public TeamsResponseLinks prev(String prev) { + this.prev = JsonNullable.of(prev); + return this; + } + + /** + * Previous link. + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonIgnore + public String getPrev() { + return prev.orElse(null); + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public JsonNullable getPrev_JsonNullable() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + public void setPrev_JsonNullable(JsonNullable prev) { + this.prev = prev; + } + + public void setPrev(String prev) { + this.prev = JsonNullable.of(prev); + } + + public TeamsResponseLinks self(String self) { + this.self = self; + return this; + } + + /** + * Current link. + * + * @return self + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SELF) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSelf() { + return self; + } + + public void setSelf(String self) { + this.self = self; + } + + /** + * 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 TeamsResponseLinks + */ + @JsonAnySetter + public TeamsResponseLinks 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 TeamsResponseLinks object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TeamsResponseLinks teamsResponseLinks = (TeamsResponseLinks) o; + return Objects.equals(this.first, teamsResponseLinks.first) + && Objects.equals(this.last, teamsResponseLinks.last) + && Objects.equals(this.next, teamsResponseLinks.next) + && Objects.equals(this.prev, teamsResponseLinks.prev) + && Objects.equals(this.self, teamsResponseLinks.self) + && Objects.equals(this.additionalProperties, teamsResponseLinks.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(first, last, next, prev, self, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TeamsResponseLinks {\n"); + sb.append(" first: ").append(toIndentedString(first)).append("\n"); + sb.append(" last: ").append(toIndentedString(last)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" self: ").append(toIndentedString(self)).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/v2/model/TeamsResponseMeta.java b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseMeta.java new file mode 100644 index 00000000000..777d673c865 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseMeta.java @@ -0,0 +1,136 @@ +/* + * 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.v2.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; + +/** Teams response metadata. */ +@JsonPropertyOrder({TeamsResponseMeta.JSON_PROPERTY_PAGINATION}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class TeamsResponseMeta { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_PAGINATION = "pagination"; + private TeamsResponseMetaPagination pagination; + + public TeamsResponseMeta pagination(TeamsResponseMetaPagination pagination) { + this.pagination = pagination; + this.unparsed |= pagination.unparsed; + return this; + } + + /** + * Teams response metadata. + * + * @return pagination + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PAGINATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamsResponseMetaPagination getPagination() { + return pagination; + } + + public void setPagination(TeamsResponseMetaPagination pagination) { + this.pagination = pagination; + } + + /** + * 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 TeamsResponseMeta + */ + @JsonAnySetter + public TeamsResponseMeta 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 TeamsResponseMeta object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TeamsResponseMeta teamsResponseMeta = (TeamsResponseMeta) o; + return Objects.equals(this.pagination, teamsResponseMeta.pagination) + && Objects.equals(this.additionalProperties, teamsResponseMeta.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TeamsResponseMeta {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).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/v2/model/TeamsResponseMetaPagination.java b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseMetaPagination.java new file mode 100644 index 00000000000..0edd555bf39 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/TeamsResponseMetaPagination.java @@ -0,0 +1,336 @@ +/* + * 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.v2.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; + +/** Teams response metadata. */ +@JsonPropertyOrder({ + TeamsResponseMetaPagination.JSON_PROPERTY_FIRST_OFFSET, + TeamsResponseMetaPagination.JSON_PROPERTY_LAST_OFFSET, + TeamsResponseMetaPagination.JSON_PROPERTY_LIMIT, + TeamsResponseMetaPagination.JSON_PROPERTY_NEXT_OFFSET, + TeamsResponseMetaPagination.JSON_PROPERTY_OFFSET, + TeamsResponseMetaPagination.JSON_PROPERTY_PREV_OFFSET, + TeamsResponseMetaPagination.JSON_PROPERTY_TOTAL, + TeamsResponseMetaPagination.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class TeamsResponseMetaPagination { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_FIRST_OFFSET = "first_offset"; + private Long firstOffset; + + public static final String JSON_PROPERTY_LAST_OFFSET = "last_offset"; + private Long lastOffset; + + public static final String JSON_PROPERTY_LIMIT = "limit"; + private Long limit; + + public static final String JSON_PROPERTY_NEXT_OFFSET = "next_offset"; + private Long nextOffset; + + public static final String JSON_PROPERTY_OFFSET = "offset"; + private Long offset; + + public static final String JSON_PROPERTY_PREV_OFFSET = "prev_offset"; + private Long prevOffset; + + public static final String JSON_PROPERTY_TOTAL = "total"; + private Long total; + + public static final String JSON_PROPERTY_TYPE = "type"; + private String type; + + public TeamsResponseMetaPagination firstOffset(Long firstOffset) { + this.firstOffset = firstOffset; + return this; + } + + /** + * The first offset. + * + * @return firstOffset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FIRST_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getFirstOffset() { + return firstOffset; + } + + public void setFirstOffset(Long firstOffset) { + this.firstOffset = firstOffset; + } + + public TeamsResponseMetaPagination lastOffset(Long lastOffset) { + this.lastOffset = lastOffset; + return this; + } + + /** + * The last offset. + * + * @return lastOffset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getLastOffset() { + return lastOffset; + } + + public void setLastOffset(Long lastOffset) { + this.lastOffset = lastOffset; + } + + public TeamsResponseMetaPagination limit(Long limit) { + this.limit = limit; + return this; + } + + /** + * Pagination limit. + * + * @return limit + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LIMIT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getLimit() { + return limit; + } + + public void setLimit(Long limit) { + this.limit = limit; + } + + public TeamsResponseMetaPagination nextOffset(Long nextOffset) { + this.nextOffset = nextOffset; + return this; + } + + /** + * The next offset. + * + * @return nextOffset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getNextOffset() { + return nextOffset; + } + + public void setNextOffset(Long nextOffset) { + this.nextOffset = nextOffset; + } + + public TeamsResponseMetaPagination offset(Long offset) { + this.offset = offset; + return this; + } + + /** + * The offset. + * + * @return offset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getOffset() { + return offset; + } + + public void setOffset(Long offset) { + this.offset = offset; + } + + public TeamsResponseMetaPagination prevOffset(Long prevOffset) { + this.prevOffset = prevOffset; + return this; + } + + /** + * The previous offset. + * + * @return prevOffset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV_OFFSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getPrevOffset() { + return prevOffset; + } + + public void setPrevOffset(Long prevOffset) { + this.prevOffset = prevOffset; + } + + public TeamsResponseMetaPagination total(Long total) { + this.total = total; + return this; + } + + /** + * Total results. + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getTotal() { + return total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public TeamsResponseMetaPagination type(String type) { + this.type = type; + return this; + } + + /** + * Offset type. + * + * @return type + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + /** + * 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 TeamsResponseMetaPagination + */ + @JsonAnySetter + public TeamsResponseMetaPagination 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 TeamsResponseMetaPagination object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TeamsResponseMetaPagination teamsResponseMetaPagination = (TeamsResponseMetaPagination) o; + return Objects.equals(this.firstOffset, teamsResponseMetaPagination.firstOffset) + && Objects.equals(this.lastOffset, teamsResponseMetaPagination.lastOffset) + && Objects.equals(this.limit, teamsResponseMetaPagination.limit) + && Objects.equals(this.nextOffset, teamsResponseMetaPagination.nextOffset) + && Objects.equals(this.offset, teamsResponseMetaPagination.offset) + && Objects.equals(this.prevOffset, teamsResponseMetaPagination.prevOffset) + && Objects.equals(this.total, teamsResponseMetaPagination.total) + && Objects.equals(this.type, teamsResponseMetaPagination.type) + && Objects.equals( + this.additionalProperties, teamsResponseMetaPagination.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + firstOffset, + lastOffset, + limit, + nextOffset, + offset, + prevOffset, + total, + type, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TeamsResponseMetaPagination {\n"); + sb.append(" firstOffset: ").append(toIndentedString(firstOffset)).append("\n"); + sb.append(" lastOffset: ").append(toIndentedString(lastOffset)).append("\n"); + sb.append(" limit: ").append(toIndentedString(limit)).append("\n"); + sb.append(" nextOffset: ").append(toIndentedString(nextOffset)).append("\n"); + sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + sb.append(" prevOffset: ").append(toIndentedString(prevOffset)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).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/v2/model/UserTeamsResponse.java b/src/main/java/com/datadog/api/client/v2/model/UserTeamsResponse.java index f4bd627b8d6..30a39c1e9bc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/UserTeamsResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/UserTeamsResponse.java @@ -19,7 +19,11 @@ import java.util.Objects; /** Team memberships response */ -@JsonPropertyOrder({UserTeamsResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({ + UserTeamsResponse.JSON_PROPERTY_DATA, + UserTeamsResponse.JSON_PROPERTY_LINKS, + UserTeamsResponse.JSON_PROPERTY_META +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UserTeamsResponse { @@ -27,6 +31,12 @@ public class UserTeamsResponse { public static final String JSON_PROPERTY_DATA = "data"; private List data = null; + public static final String JSON_PROPERTY_LINKS = "links"; + private TeamsResponseLinks links; + + public static final String JSON_PROPERTY_META = "meta"; + private TeamsResponseMeta meta; + public UserTeamsResponse data(List data) { this.data = data; for (UserTeam item : data) { @@ -60,6 +70,50 @@ public void setData(List data) { this.data = data; } + public UserTeamsResponse links(TeamsResponseLinks links) { + this.links = links; + this.unparsed |= links.unparsed; + return this; + } + + /** + * Teams response links. + * + * @return links + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINKS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamsResponseLinks getLinks() { + return links; + } + + public void setLinks(TeamsResponseLinks links) { + this.links = links; + } + + public UserTeamsResponse meta(TeamsResponseMeta meta) { + this.meta = meta; + this.unparsed |= meta.unparsed; + return this; + } + + /** + * Teams response metadata. + * + * @return meta + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_META) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TeamsResponseMeta getMeta() { + return meta; + } + + public void setMeta(TeamsResponseMeta meta) { + this.meta = meta; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -117,12 +171,14 @@ public boolean equals(Object o) { } UserTeamsResponse userTeamsResponse = (UserTeamsResponse) o; return Objects.equals(this.data, userTeamsResponse.data) + && Objects.equals(this.links, userTeamsResponse.links) + && Objects.equals(this.meta, userTeamsResponse.meta) && Objects.equals(this.additionalProperties, userTeamsResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(data, additionalProperties); + return Objects.hash(data, links, meta, additionalProperties); } @Override @@ -130,6 +186,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UserTeamsResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" links: ").append(toIndentedString(links)).append("\n"); + sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.freeze index bfdd1692efc..994ec43a5b2 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:49.959Z \ No newline at end of file +2023-07-12T17:29:26.749Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.json index 94c869afcce..3c07cb3bde4 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-7f82f490dc758fbf\",\"name\":\"name-7f82f490dc758fbf\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-93860ab913118caf\",\"name\":\"name-93860ab913118caf\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5391cf72-ef4f-11ed-9b09-da7ad0900002\",\"attributes\":{\"name\":\"name-7f82f490dc758fbf\",\"handle\":\"handle-7f82f490dc758fbf\",\"summary\":null,\"description\":null,\"color\":11,\"created_at\":\"2023-05-10T16:25:50.187661+00:00\",\"modified_at\":\"2023-05-10T16:25:50.187665+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a68b555c-20d9-11ee-8739-da7ad0900002\",\"attributes\":{\"name\":\"name-93860ab913118caf\",\"handle\":\"handle-93860ab913118caf\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:26.918845+00:00\",\"modified_at\":\"2023-07-12T17:29:26.918850+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dbff0b39-8973-b608-a32b-9794ab1ba1d1" + "id": "74d49cce-c0c1-1e5a-e74a-243208eae988" }, { "httpRequest": { @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/links", + "path": "/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/links", "keepAlive": false, "secure": true }, @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "1503c741-87b6-396c-4bca-e177adc0333d" + "id": "b1391aff-c74d-dcea-5f68-c408fdee1a8a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002", + "path": "/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fdc4bf4-7495-5426-9b47-590069d458a7" + "id": "bb69daa4-24d3-5906-00d3-15b3b54c234d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze index e3083e91a55..fa403a65a57 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:50.730Z \ No newline at end of file +2023-07-12T17:29:27.327Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json index 9cafc925d9a..aaee822542c 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-afaf5e790c917aca\",\"name\":\"name-afaf5e790c917aca\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-80cbaea63059dc94\",\"name\":\"name-80cbaea63059dc94\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"53f8fe40-ef4f-11ed-b67f-da7ad0900002\",\"attributes\":{\"name\":\"name-afaf5e790c917aca\",\"handle\":\"handle-afaf5e790c917aca\",\"summary\":null,\"description\":null,\"color\":0,\"created_at\":\"2023-05-10T16:25:50.863797+00:00\",\"modified_at\":\"2023-05-10T16:25:50.863804+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/53f8fe40-ef4f-11ed-b67f-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/53f8fe40-ef4f-11ed-b67f-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a6db485a-20d9-11ee-ad41-da7ad0900002\",\"attributes\":{\"name\":\"name-80cbaea63059dc94\",\"handle\":\"handle-80cbaea63059dc94\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:27.442364+00:00\",\"modified_at\":\"2023-07-12T17:29:27.442369+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a6db485a-20d9-11ee-ad41-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a6db485a-20d9-11ee-ad41-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "a01888cc-c8a9-1a5b-b0ae-392e22b7bcc2" + "id": "9f844089-cdc4-4324-4442-46bb44921286" }, { "httpRequest": { @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/team/53f8fe40-ef4f-11ed-b67f-da7ad0900002/links", + "path": "/api/v2/team/a6db485a-20d9-11ee-ad41-da7ad0900002/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"54179a26-ef4f-11ed-a9ba-da7ad0900002\",\"attributes\":{\"team_id\":\"53f8fe40-ef4f-11ed-b67f-da7ad0900002\",\"label\":\"Link label\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"a6f9e918-20d9-11ee-b537-da7ad0900002\",\"attributes\":{\"team_id\":\"a6db485a-20d9-11ee-ad41-da7ad0900002\",\"label\":\"Link label\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "84e8c7d1-479e-fe8a-c281-7b69e869cd6e" + "id": "f88607f3-081a-7c3b-60d1-1c8c6e791d13" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/53f8fe40-ef4f-11ed-b67f-da7ad0900002/links/54179a26-ef4f-11ed-a9ba-da7ad0900002", + "path": "/api/v2/team/a6db485a-20d9-11ee-ad41-da7ad0900002/links/a6f9e918-20d9-11ee-b537-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,13 +78,13 @@ "timeToLive": { "unlimited": true }, - "id": "3b4cc6a5-5e5c-228a-0b88-0eb0b1148ab0" + "id": "ffb6cebe-e7e9-7230-aa53-9111861c70dc" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/53f8fe40-ef4f-11ed-b67f-da7ad0900002", + "path": "/api/v2/team/a6db485a-20d9-11ee-ad41-da7ad0900002", "keepAlive": false, "secure": true }, @@ -99,6 +99,6 @@ "timeToLive": { "unlimited": true }, - "id": "c69be77a-9624-50bb-ba1a-d7f4986914fc" + "id": "ad0d3fee-1ef3-bfee-6f83-cf4209b42665" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.freeze index 32600aa9de1..b0fab507604 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:51.602Z \ No newline at end of file +2023-07-12T17:29:28.021Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.json index c45d7488834..93c57e7b92e 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_team_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-8b8486a76bc6e6a1\",\"name\":\"name-8b8486a76bc6e6a1\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-c12045e3c85ab6fe\",\"name\":\"name-c12045e3c85ab6fe\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"547c6370-ef4f-11ed-9672-da7ad0900002\",\"attributes\":{\"name\":\"name-8b8486a76bc6e6a1\",\"handle\":\"handle-8b8486a76bc6e6a1\",\"summary\":null,\"description\":null,\"color\":9,\"created_at\":\"2023-05-10T16:25:51.725343+00:00\",\"modified_at\":\"2023-05-10T16:25:51.725347+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/547c6370-ef4f-11ed-9672-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/547c6370-ef4f-11ed-9672-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a74521bc-20d9-11ee-be22-da7ad0900002\",\"attributes\":{\"name\":\"name-c12045e3c85ab6fe\",\"handle\":\"handle-c12045e3c85ab6fe\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:28.136431+00:00\",\"modified_at\":\"2023-07-12T17:29:28.136436+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a74521bc-20d9-11ee-be22-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a74521bc-20d9-11ee-be22-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "9a70da6a-8367-4041-c840-4673bb5c53fd" + "id": "c1377e7e-7f3b-1cba-3293-bb03762c3f94" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-8b8486a76bc6e6a1\",\"name\":\"Example Team\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-c12045e3c85ab6fe\",\"name\":\"Example Team\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "3b86549e-67df-4386-dc6d-3e4baea22f46" + "id": "a77c17c3-11e5-4bfe-ff73-1070ff9cfb7a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/547c6370-ef4f-11ed-9672-da7ad0900002", + "path": "/api/v2/team/a74521bc-20d9-11ee-be22-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "ed24bb44-863d-bd48-d29f-26b6098ba426" + "id": "deacc6de-a193-2f0e-b6c1-f37f2e44beaa" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.freeze index d63e0ce9a51..c7c3ad6c4e9 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.freeze @@ -1 +1 @@ -2023-05-10T16:23:27.397Z \ No newline at end of file +2023-07-12T17:29:28.500Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.json index 94352e3acf1..d4c286c4fdd 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_team_returns_CREATED_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-2c82e5be19369e37\",\"name\":\"name-2c82e5be19369e37\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-6ef0c1dbdd77a3cd\",\"name\":\"name-6ef0c1dbdd77a3cd\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"fe99024c-ef4e-11ed-8f26-da7ad0900002\",\"attributes\":{\"name\":\"name-2c82e5be19369e37\",\"handle\":\"handle-2c82e5be19369e37\",\"summary\":null,\"description\":null,\"color\":4,\"created_at\":\"2023-05-10T16:23:27.625735+00:00\",\"modified_at\":\"2023-05-10T16:23:27.625740+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/fe99024c-ef4e-11ed-8f26-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/fe99024c-ef4e-11ed-8f26-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a78f35ae-20d9-11ee-b635-da7ad0900002\",\"attributes\":{\"name\":\"name-6ef0c1dbdd77a3cd\",\"handle\":\"handle-6ef0c1dbdd77a3cd\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:28.621958+00:00\",\"modified_at\":\"2023-07-12T17:29:28.621964+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a78f35ae-20d9-11ee-b635-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a78f35ae-20d9-11ee-b635-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "c2045ef1-0a3d-f9a3-a31c-d6a855bcc449" + "id": "3da41259-ec81-d150-3789-69e6934ea936" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/fe99024c-ef4e-11ed-8f26-da7ad0900002", + "path": "/api/v2/team/a78f35ae-20d9-11ee-b635-da7ad0900002", "keepAlive": false, "secure": true }, @@ -48,6 +48,6 @@ "timeToLive": { "unlimited": true }, - "id": "4016f510-c394-e66a-b0a0-9531d9a01ac4" + "id": "93e3a3f6-532f-50ab-c017-9cc57db92950" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.freeze index fc955f86602..c08b35cddcd 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:52.237Z \ No newline at end of file +2023-07-12T17:29:28.850Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.json index a5b135531f0..4c8f9494b10 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-7502e409e8a5596c\",\"name\":\"name-7502e409e8a5596c\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-62e1a70bb6b304ee\",\"name\":\"name-62e1a70bb6b304ee\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"54e7478a-ef4f-11ed-9558-da7ad0900002\",\"attributes\":{\"name\":\"name-7502e409e8a5596c\",\"handle\":\"handle-7502e409e8a5596c\",\"summary\":null,\"description\":null,\"color\":0,\"created_at\":\"2023-05-10T16:25:52.425262+00:00\",\"modified_at\":\"2023-05-10T16:25:52.425266+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/54e7478a-ef4f-11ed-9558-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/54e7478a-ef4f-11ed-9558-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a7c4e9c4-20d9-11ee-99df-da7ad0900002\",\"attributes\":{\"name\":\"name-62e1a70bb6b304ee\",\"handle\":\"handle-62e1a70bb6b304ee\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:28.973645+00:00\",\"modified_at\":\"2023-07-12T17:29:28.973651+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a7c4e9c4-20d9-11ee-99df-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a7c4e9c4-20d9-11ee-99df-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "681c0392-cc69-98e1-71d0-29089053d7e1" + "id": "e3805b49-eecc-cdac-e7ea-759fdb61825b" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/54e7478a-ef4f-11ed-9558-da7ad0900002/links/REPLACE.ME", + "path": "/api/v2/team/a7c4e9c4-20d9-11ee-99df-da7ad0900002/links/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "bbd3e094-8aad-75eb-b706-5e3148c0de44" + "id": "0fbc07a0-c20d-101b-1a91-87fa0c9862b9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/54e7478a-ef4f-11ed-9558-da7ad0900002", + "path": "/api/v2/team/a7c4e9c4-20d9-11ee-99df-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "8502e8a9-2000-bf9f-fdb1-2ed0c929b97d" + "id": "58ac27d7-b680-0d5e-50da-a1d8440d8e63" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze index fe2aff7311b..f1bd1ea4d3a 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:52.923Z \ No newline at end of file +2023-07-12T17:29:29.362Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json index 1ea3301a6d9..e4282e6da5f 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5aa41859bbf3789a\",\"name\":\"name-5aa41859bbf3789a\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-fa841defccf7dd70\",\"name\":\"name-fa841defccf7dd70\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"55525bf6-ef4f-11ed-99e4-da7ad0900002\",\"attributes\":{\"name\":\"name-5aa41859bbf3789a\",\"handle\":\"handle-5aa41859bbf3789a\",\"summary\":null,\"description\":null,\"color\":5,\"created_at\":\"2023-05-10T16:25:53.127054+00:00\",\"modified_at\":\"2023-05-10T16:25:53.127058+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a8114d8c-20d9-11ee-bedb-da7ad0900002\",\"attributes\":{\"name\":\"name-fa841defccf7dd70\",\"handle\":\"handle-fa841defccf7dd70\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:29.474550+00:00\",\"modified_at\":\"2023-07-12T17:29:29.474556+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "c5f348c1-6a4d-2870-5aed-d527886c3ca5" + "id": "c848d503-3495-cec7-d6f5-f31f188aae81" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1683735952\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1689182969\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002/links", + "path": "/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"557af0c0-ef4f-11ed-b60b-da7ad0900002\",\"attributes\":{\"team_id\":\"55525bf6-ef4f-11ed-99e4-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1683735952\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"a8996d2a-20d9-11ee-b209-da7ad0900002\",\"attributes\":{\"team_id\":\"a8114d8c-20d9-11ee-bedb-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1689182969\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "ed0d4520-5759-f3c7-81c1-28302518b8d7" + "id": "654e8849-aac2-1a56-77a4-56199d07be82" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002/links/557af0c0-ef4f-11ed-b60b-da7ad0900002", + "path": "/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002/links/a8996d2a-20d9-11ee-b209-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"557af0c0-ef4f-11ed-b60b-da7ad0900002\",\"attributes\":{\"team_id\":\"55525bf6-ef4f-11ed-99e4-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1683735952\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"a8996d2a-20d9-11ee-b209-da7ad0900002\",\"attributes\":{\"team_id\":\"a8114d8c-20d9-11ee-bedb-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1689182969\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -83,13 +83,13 @@ "timeToLive": { "unlimited": true }, - "id": "890d016a-4aed-c50f-db6c-7c94ff62f07f" + "id": "0358a09b-1396-7055-50fd-32ce49638fc6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002/links/557af0c0-ef4f-11ed-b60b-da7ad0900002", + "path": "/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002/links/a8996d2a-20d9-11ee-b209-da7ad0900002", "keepAlive": false, "secure": true }, @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "b2d37b72-045c-8595-3a06-544bb22f4eed" + "id": "e5d33b40-ef02-d2fd-1365-c2f3c3fe1b57" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/55525bf6-ef4f-11ed-99e4-da7ad0900002", + "path": "/api/v2/team/a8114d8c-20d9-11ee-bedb-da7ad0900002", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "7fb191bd-4822-e748-0631-0d6c6af926f9" + "id": "6b3b0eb3-3851-6aad-d93b-be12918621cf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Get_a_team_returns_API_error_response_response.freeze index 25b9e21fda2..2e0d4af3502 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-03-27T18:33:06.924Z \ No newline at end of file +2023-07-12T17:29:30.905Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.freeze index ad85cadbc12..21e046cdc41 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:54.019Z \ No newline at end of file +2023-07-12T17:29:31.016Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.json index 2765f8a4b91..c61e333586c 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_team_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-e0e86339571d8748\",\"name\":\"name-e0e86339571d8748\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-7af7a34f5bc3a40e\",\"name\":\"name-7af7a34f5bc3a40e\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"55f7da86-ef4f-11ed-a7ea-da7ad0900002\",\"attributes\":{\"name\":\"name-e0e86339571d8748\",\"handle\":\"handle-e0e86339571d8748\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-05-10T16:25:54.211532+00:00\",\"modified_at\":\"2023-05-10T16:25:54.211539+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a91019b6-20d9-11ee-b538-da7ad0900002\",\"attributes\":{\"name\":\"name-7af7a34f5bc3a40e\",\"handle\":\"handle-7af7a34f5bc3a40e\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:31.144067+00:00\",\"modified_at\":\"2023-07-12T17:29:31.144076+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "88d393b0-2f13-1491-a190-fca51efecd77" + "id": "c8a4b8f9-e05c-2ac6-14ce-6eb5d424e843" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002", + "path": "/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"55f7da86-ef4f-11ed-a7ea-da7ad0900002\",\"attributes\":{\"name\":\"name-e0e86339571d8748\",\"handle\":\"handle-e0e86339571d8748\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-05-10T16:25:54.211532+00:00\",\"modified_at\":\"2023-05-10T16:25:54.211539+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a91019b6-20d9-11ee-b538-da7ad0900002\",\"attributes\":{\"name\":\"name-7af7a34f5bc3a40e\",\"handle\":\"handle-7af7a34f5bc3a40e\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:31.144067+00:00\",\"modified_at\":\"2023-07-12T17:29:31.144076+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "b1b1bc0b-f1b3-8b21-eafe-3c0440556c3a" + "id": "2d3eb60b-9f2b-c940-5b06-4bc51dbbcdf6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/55f7da86-ef4f-11ed-a7ea-da7ad0900002", + "path": "/api/v2/team/a91019b6-20d9-11ee-b538-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "991e8228-c587-76f3-8fa5-fdae7185710f" + "id": "6464681a-bf6f-36d9-f2d0-683895971f17" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.freeze index 67187ef4d39..f2b672c56bd 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:54.589Z \ No newline at end of file +2023-07-12T17:29:31.566Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.json index fa3c59f0fe9..7f5146548c4 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_teams_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-4901938897ba0311\",\"name\":\"name-4901938897ba0311\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-cc59be168db79579\",\"name\":\"name-cc59be168db79579\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5651a32c-ef4f-11ed-996b-da7ad0900002\",\"attributes\":{\"name\":\"name-4901938897ba0311\",\"handle\":\"handle-4901938897ba0311\",\"summary\":null,\"description\":null,\"color\":9,\"created_at\":\"2023-05-10T16:25:54.800026+00:00\",\"modified_at\":\"2023-05-10T16:25:54.800030+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5651a32c-ef4f-11ed-996b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5651a32c-ef4f-11ed-996b-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a961d04e-20d9-11ee-a955-da7ad0900002\",\"attributes\":{\"name\":\"name-cc59be168db79579\",\"handle\":\"handle-cc59be168db79579\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:31.679698+00:00\",\"modified_at\":\"2023-07-12T17:29:31.679703+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a961d04e-20d9-11ee-a955-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a961d04e-20d9-11ee-a955-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "a781938a-4276-fb62-3ec0-aed9f60fdd4e" + "id": "fbf10825-df87-25c3-d6e5-291f86e23f12" }, { "httpRequest": { @@ -38,7 +38,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"type\":\"team\",\"id\":\"a2d77e0a-d204-11ed-b67b-da7ad0900002\",\"attributes\":{\"name\":\"1680515286\",\"handle\":\"1680515286\",\"summary\":null,\"description\":null,\"color\":1,\"created_at\":\"2023-04-03T09:48:07.207172+00:00\",\"modified_at\":\"2023-04-03T09:48:07.207176+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a2d77e0a-d204-11ed-b67b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a2d77e0a-d204-11ed-b67b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"a2f252b6-d204-11ed-9e05-da7ad0900002\",\"attributes\":{\"name\":\"1680515287\",\"handle\":\"1680515287\",\"summary\":null,\"description\":null,\"color\":9,\"created_at\":\"2023-04-03T09:48:07.383326+00:00\",\"modified_at\":\"2023-04-03T09:48:07.383330+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a2f252b6-d204-11ed-9e05-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a2f252b6-d204-11ed-9e05-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d2c1816c-d20c-11ed-962c-da7ad0900002\",\"attributes\":{\"name\":\"1680518802\",\"handle\":\"1680518802\",\"summary\":null,\"description\":null,\"color\":0,\"created_at\":\"2023-04-03T10:46:43.561214+00:00\",\"modified_at\":\"2023-04-03T10:46:43.561218+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d2c1816c-d20c-11ed-962c-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d2c1816c-d20c-11ed-962c-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d306436a-d20c-11ed-a43a-da7ad0900002\",\"attributes\":{\"name\":\"1680518803\",\"handle\":\"1680518803\",\"summary\":null,\"description\":null,\"color\":11,\"created_at\":\"2023-04-03T10:46:44.018548+00:00\",\"modified_at\":\"2023-04-03T10:46:44.018552+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d306436a-d20c-11ed-a43a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d306436a-d20c-11ed-a43a-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d3507bd8-d20c-11ed-8a32-da7ad0900002\",\"attributes\":{\"name\":\"1680518804\",\"handle\":\"1680518804\",\"summary\":null,\"description\":null,\"color\":1,\"created_at\":\"2023-04-03T10:46:44.504996+00:00\",\"modified_at\":\"2023-04-03T10:46:44.504999+00:00\",\"user_count\":0,\"link_count\":1},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d3507bd8-d20c-11ed-8a32-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d3507bd8-d20c-11ed-8a32-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d3d30e22-d20c-11ed-b8e5-da7ad0900002\",\"attributes\":{\"name\":\"1680518805\",\"handle\":\"1680518805\",\"summary\":null,\"description\":null,\"color\":8,\"created_at\":\"2023-04-03T10:46:45.360460+00:00\",\"modified_at\":\"2023-04-03T10:46:45.360464+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d3d30e22-d20c-11ed-b8e5-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d3d30e22-d20c-11ed-b8e5-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8ab98ed2-d874-11ed-a62b-da7ad0900002\",\"attributes\":{\"name\":\"1681223057\",\"handle\":\"1681223057\",\"summary\":null,\"description\":null,\"color\":6,\"created_at\":\"2023-04-11T14:24:17.357142+00:00\",\"modified_at\":\"2023-04-11T14:24:17.357147+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8ab98ed2-d874-11ed-a62b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8ab98ed2-d874-11ed-a62b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8b329c3c-d874-11ed-be58-da7ad0900002\",\"attributes\":{\"name\":\"1681223058\",\"handle\":\"1681223058\",\"summary\":null,\"description\":null,\"color\":10,\"created_at\":\"2023-04-11T14:24:18.150510+00:00\",\"modified_at\":\"2023-04-11T14:24:18.150514+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8b329c3c-d874-11ed-be58-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8b329c3c-d874-11ed-be58-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8c406488-d874-11ed-98d3-da7ad0900002\",\"attributes\":{\"name\":\"1681223059\",\"handle\":\"1681223059\",\"summary\":null,\"description\":null,\"color\":0,\"created_at\":\"2023-04-11T14:24:19.918670+00:00\",\"modified_at\":\"2023-04-11T14:24:19.918674+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8c406488-d874-11ed-98d3-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8c406488-d874-11ed-98d3-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8c762ba4-d874-11ed-8d2b-da7ad0900002\",\"attributes\":{\"name\":\"1681223060\",\"handle\":\"1681223060\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-04-11T14:24:20.271220+00:00\",\"modified_at\":\"2023-04-11T14:24:20.271224+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8c762ba4-d874-11ed-8d2b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8c762ba4-d874-11ed-8d2b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8d052eb2-d874-11ed-b2cd-da7ad0900002\",\"attributes\":{\"name\":\"1681223061\",\"handle\":\"1681223061\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-04-11T14:24:21.208452+00:00\",\"modified_at\":\"2023-04-11T14:24:21.208457+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8d052eb2-d874-11ed-b2cd-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8d052eb2-d874-11ed-b2cd-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8d9816e6-d874-11ed-91e4-da7ad0900002\",\"attributes\":{\"name\":\"1681223062\",\"handle\":\"1681223062\",\"summary\":null,\"description\":null,\"color\":2,\"created_at\":\"2023-04-11T14:24:22.171013+00:00\",\"modified_at\":\"2023-04-11T14:24:22.171017+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8d9816e6-d874-11ed-91e4-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8d9816e6-d874-11ed-91e4-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"ac73040e-c8d4-11ed-b2ea-da7ad0900002\",\"attributes\":{\"name\":\"Example Team\",\"handle\":\"api-spec-test-team\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-03-22T17:12:07.018313+00:00\",\"modified_at\":\"2023-03-22T17:12:07.018317+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"5651a32c-ef4f-11ed-996b-da7ad0900002\",\"attributes\":{\"name\":\"name-4901938897ba0311\",\"handle\":\"handle-4901938897ba0311\",\"summary\":null,\"description\":null,\"color\":9,\"created_at\":\"2023-05-10T16:25:54.800026+00:00\",\"modified_at\":\"2023-05-10T16:25:54.800030+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5651a32c-ef4f-11ed-996b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5651a32c-ef4f-11ed-996b-da7ad0900002/permission-settings\"}}}}],\"meta\":{\"pagination\":{\"offset\":0,\"first_offset\":0,\"prev_offset\":0,\"next_offset\":100,\"last_offset\":0,\"limit\":100,\"type\":\"offset_limit\",\"total\":14}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team\",\"last\":null,\"next\":\"https://api.datadoghq.com/api/v2/team?page[offset]=100&page[limit]=100\",\"prev\":null,\"first\":\"https://api.datadoghq.com/api/v2/team?page[offset]=0&page[limit]=100\"}}\n", + "body": "{\"data\":[{\"type\":\"team\",\"id\":\"a2d77e0a-d204-11ed-b67b-da7ad0900002\",\"attributes\":{\"name\":\"1680515286\",\"handle\":\"1680515286\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T09:48:07.207172+00:00\",\"modified_at\":\"2023-04-03T09:48:07.207176+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a2d77e0a-d204-11ed-b67b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a2d77e0a-d204-11ed-b67b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"a2f252b6-d204-11ed-9e05-da7ad0900002\",\"attributes\":{\"name\":\"1680515287\",\"handle\":\"1680515287\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T09:48:07.383326+00:00\",\"modified_at\":\"2023-04-03T09:48:07.383330+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a2f252b6-d204-11ed-9e05-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a2f252b6-d204-11ed-9e05-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d2c1816c-d20c-11ed-962c-da7ad0900002\",\"attributes\":{\"name\":\"1680518802\",\"handle\":\"1680518802\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T10:46:43.561214+00:00\",\"modified_at\":\"2023-04-03T10:46:43.561218+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d2c1816c-d20c-11ed-962c-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d2c1816c-d20c-11ed-962c-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d306436a-d20c-11ed-a43a-da7ad0900002\",\"attributes\":{\"name\":\"1680518803\",\"handle\":\"1680518803\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T10:46:44.018548+00:00\",\"modified_at\":\"2023-04-03T10:46:44.018552+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d306436a-d20c-11ed-a43a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d306436a-d20c-11ed-a43a-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d3507bd8-d20c-11ed-8a32-da7ad0900002\",\"attributes\":{\"name\":\"1680518804\",\"handle\":\"1680518804\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T10:46:44.504996+00:00\",\"modified_at\":\"2023-04-03T10:46:44.504999+00:00\",\"user_count\":0,\"link_count\":1},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d3507bd8-d20c-11ed-8a32-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d3507bd8-d20c-11ed-8a32-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"d3d30e22-d20c-11ed-b8e5-da7ad0900002\",\"attributes\":{\"name\":\"1680518805\",\"handle\":\"1680518805\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-03T10:46:45.360460+00:00\",\"modified_at\":\"2023-04-03T10:46:45.360464+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/d3d30e22-d20c-11ed-b8e5-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/d3d30e22-d20c-11ed-b8e5-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8ab98ed2-d874-11ed-a62b-da7ad0900002\",\"attributes\":{\"name\":\"1681223057\",\"handle\":\"1681223057\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:17.357142+00:00\",\"modified_at\":\"2023-04-11T14:24:17.357147+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8ab98ed2-d874-11ed-a62b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8ab98ed2-d874-11ed-a62b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8b329c3c-d874-11ed-be58-da7ad0900002\",\"attributes\":{\"name\":\"1681223058\",\"handle\":\"1681223058\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:18.150510+00:00\",\"modified_at\":\"2023-04-11T14:24:18.150514+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8b329c3c-d874-11ed-be58-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8b329c3c-d874-11ed-be58-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8c406488-d874-11ed-98d3-da7ad0900002\",\"attributes\":{\"name\":\"1681223059\",\"handle\":\"1681223059\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:19.918670+00:00\",\"modified_at\":\"2023-04-11T14:24:19.918674+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8c406488-d874-11ed-98d3-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8c406488-d874-11ed-98d3-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8c762ba4-d874-11ed-8d2b-da7ad0900002\",\"attributes\":{\"name\":\"1681223060\",\"handle\":\"1681223060\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:20.271220+00:00\",\"modified_at\":\"2023-04-11T14:24:20.271224+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8c762ba4-d874-11ed-8d2b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8c762ba4-d874-11ed-8d2b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8d052eb2-d874-11ed-b2cd-da7ad0900002\",\"attributes\":{\"name\":\"1681223061\",\"handle\":\"1681223061\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:21.208452+00:00\",\"modified_at\":\"2023-04-11T14:24:21.208457+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8d052eb2-d874-11ed-b2cd-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8d052eb2-d874-11ed-b2cd-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"8d9816e6-d874-11ed-91e4-da7ad0900002\",\"attributes\":{\"name\":\"1681223062\",\"handle\":\"1681223062\",\"summary\":null,\"description\":null,\"created_at\":\"2023-04-11T14:24:22.171013+00:00\",\"modified_at\":\"2023-04-11T14:24:22.171017+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8d9816e6-d874-11ed-91e4-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8d9816e6-d874-11ed-91e4-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"ac73040e-c8d4-11ed-b2ea-da7ad0900002\",\"attributes\":{\"name\":\"Example Team\",\"handle\":\"api-spec-test-team\",\"summary\":null,\"description\":null,\"created_at\":\"2023-03-22T17:12:07.018313+00:00\",\"modified_at\":\"2023-03-22T17:12:07.018317+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ac73040e-c8d4-11ed-b2ea-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"7393d730-20c7-11ee-9a6c-da7ad0900002\",\"attributes\":{\"name\":\"name-058274c80c610d1a\",\"handle\":\"handle-058274c80c610d1a\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T15:19:10.471940+00:00\",\"modified_at\":\"2023-07-12T15:19:10.471945+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/7393d730-20c7-11ee-9a6c-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/7393d730-20c7-11ee-9a6c-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"70bdc6de-20c1-11ee-b41b-da7ad0900002\",\"attributes\":{\"name\":\"name-07bf540a79e6a2fd\",\"handle\":\"handle-07bf540a79e6a2fd\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:08.734352+00:00\",\"modified_at\":\"2023-07-12T14:36:08.734357+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/70bdc6de-20c1-11ee-b41b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/70bdc6de-20c1-11ee-b41b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6948ee28-20c7-11ee-94be-da7ad0900002\",\"attributes\":{\"name\":\"name-098b417b3a715d46\",\"handle\":\"handle-098b417b3a715d46\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T15:18:53.204750+00:00\",\"modified_at\":\"2023-07-12T15:18:53.204756+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6948ee28-20c7-11ee-94be-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6948ee28-20c7-11ee-94be-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"2d5d5864-20c6-11ee-b28a-da7ad0900002\",\"attributes\":{\"name\":\"name-0ffab1b6f1033bf0\",\"handle\":\"handle-0ffab1b6f1033bf0\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T15:10:03.178236+00:00\",\"modified_at\":\"2023-07-12T15:10:03.178243+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/2d5d5864-20c6-11ee-b28a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/2d5d5864-20c6-11ee-b28a-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"70daddaa-20c1-11ee-bb35-da7ad0900002\",\"attributes\":{\"name\":\"name-234602313b585f5d\",\"handle\":\"handle-234602313b585f5d\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:08.924994+00:00\",\"modified_at\":\"2023-07-12T14:36:08.925001+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/70daddaa-20c1-11ee-bb35-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/70daddaa-20c1-11ee-bb35-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"7149c396-20c1-11ee-94f6-da7ad0900002\",\"attributes\":{\"name\":\"name-23a8b36d3d2d3e01\",\"handle\":\"handle-23a8b36d3d2d3e01\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:09.651612+00:00\",\"modified_at\":\"2023-07-12T14:36:09.651618+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/7149c396-20c1-11ee-94f6-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/7149c396-20c1-11ee-94f6-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6f5a434e-20c1-11ee-829b-da7ad0900002\",\"attributes\":{\"name\":\"name-2ad0f585a6ed4386\",\"handle\":\"handle-2ad0f585a6ed4386\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:06.403824+00:00\",\"modified_at\":\"2023-07-12T14:36:06.403829+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6f5a434e-20c1-11ee-829b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6f5a434e-20c1-11ee-829b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"712bd39a-20c1-11ee-b674-da7ad0900002\",\"attributes\":{\"name\":\"name-313b8fdd1d266803\",\"handle\":\"handle-313b8fdd1d266803\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:09.455120+00:00\",\"modified_at\":\"2023-07-12T14:36:09.455125+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/712bd39a-20c1-11ee-b674-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/712bd39a-20c1-11ee-b674-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"719fe5a0-20c1-11ee-b319-da7ad0900002\",\"attributes\":{\"name\":\"name-3fd781edb040576e\",\"handle\":\"handle-3fd781edb040576e\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:10.216360+00:00\",\"modified_at\":\"2023-07-12T14:36:10.216365+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/719fe5a0-20c1-11ee-b319-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/719fe5a0-20c1-11ee-b319-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6f13124e-20c1-11ee-86de-da7ad0900002\",\"attributes\":{\"name\":\"name-42807d287fc6e6d3\",\"handle\":\"handle-42807d287fc6e6d3\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:05.937314+00:00\",\"modified_at\":\"2023-07-12T14:36:05.937320+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6f13124e-20c1-11ee-86de-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6f13124e-20c1-11ee-86de-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"71c26eae-20c1-11ee-8099-da7ad0900002\",\"attributes\":{\"name\":\"name-44feff2c43214bea\",\"handle\":\"handle-44feff2c43214bea\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:10.442759+00:00\",\"modified_at\":\"2023-07-12T14:36:10.442765+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/71c26eae-20c1-11ee-8099-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/71c26eae-20c1-11ee-8099-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"bfa8ade0-20c1-11ee-8d6b-da7ad0900002\",\"attributes\":{\"name\":\"name-47905a8323f2bafd\",\"handle\":\"handle-47905a8323f2bafd\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:38:21.136140+00:00\",\"modified_at\":\"2023-07-12T14:38:21.136146+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/bfa8ade0-20c1-11ee-8d6b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/bfa8ade0-20c1-11ee-8d6b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"7182b106-20c1-11ee-b47f-da7ad0900002\",\"attributes\":{\"name\":\"name-6102b1f13a25a750\",\"handle\":\"handle-6102b1f13a25a750\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:10.024492+00:00\",\"modified_at\":\"2023-07-12T14:36:10.024497+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/7182b106-20c1-11ee-b47f-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/7182b106-20c1-11ee-b47f-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"71dc48ce-20c1-11ee-98ac-da7ad0900002\",\"attributes\":{\"name\":\"name-68c85f2c013a19ca\",\"handle\":\"handle-68c85f2c013a19ca\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:10.612002+00:00\",\"modified_at\":\"2023-07-12T14:36:10.612007+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/71dc48ce-20c1-11ee-98ac-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/71dc48ce-20c1-11ee-98ac-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"70f91360-20c1-11ee-94e8-da7ad0900002\",\"attributes\":{\"name\":\"name-703a268ffc95eb1f\",\"handle\":\"handle-703a268ffc95eb1f\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:09.123210+00:00\",\"modified_at\":\"2023-07-12T14:36:09.123215+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/70f91360-20c1-11ee-94e8-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/70f91360-20c1-11ee-94e8-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"71662810-20c1-11ee-ad32-da7ad0900002\",\"attributes\":{\"name\":\"name-8bc93129f114d7cb\",\"handle\":\"handle-8bc93129f114d7cb\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:09.837557+00:00\",\"modified_at\":\"2023-07-12T14:36:09.837562+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/71662810-20c1-11ee-ad32-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/71662810-20c1-11ee-ad32-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6f78e272-20c1-11ee-8ccb-da7ad0900002\",\"attributes\":{\"name\":\"name-978445acaf89af10\",\"handle\":\"handle-978445acaf89af10\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:06.605283+00:00\",\"modified_at\":\"2023-07-12T14:36:06.605289+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6f78e272-20c1-11ee-8ccb-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6f78e272-20c1-11ee-8ccb-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6fa0da48-20c1-11ee-8d99-da7ad0900002\",\"attributes\":{\"name\":\"name-9b0747871b7a21b7\",\"handle\":\"handle-9b0747871b7a21b7\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:06.866730+00:00\",\"modified_at\":\"2023-07-12T14:36:06.866736+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6fa0da48-20c1-11ee-8d99-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6fa0da48-20c1-11ee-8d99-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"71f6b402-20c1-11ee-809d-da7ad0900002\",\"attributes\":{\"name\":\"name-aa62bc7cdd727a30\",\"handle\":\"handle-aa62bc7cdd727a30\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:10.785171+00:00\",\"modified_at\":\"2023-07-12T14:36:10.785176+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/71f6b402-20c1-11ee-809d-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/71f6b402-20c1-11ee-809d-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6fc326e8-20c1-11ee-9a59-da7ad0900002\",\"attributes\":{\"name\":\"name-ab5d2836d87c5835\",\"handle\":\"handle-ab5d2836d87c5835\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:07.091674+00:00\",\"modified_at\":\"2023-07-12T14:36:07.091680+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6fc326e8-20c1-11ee-9a59-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6fc326e8-20c1-11ee-9a59-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"70879280-20c1-11ee-a1df-da7ad0900002\",\"attributes\":{\"name\":\"name-be3765ee854d72e9\",\"handle\":\"handle-be3765ee854d72e9\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:08.378756+00:00\",\"modified_at\":\"2023-07-12T14:36:08.378765+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/70879280-20c1-11ee-a1df-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/70879280-20c1-11ee-a1df-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"a961d04e-20d9-11ee-a955-da7ad0900002\",\"attributes\":{\"name\":\"name-cc59be168db79579\",\"handle\":\"handle-cc59be168db79579\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:31.679698+00:00\",\"modified_at\":\"2023-07-12T17:29:31.679703+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a961d04e-20d9-11ee-a955-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a961d04e-20d9-11ee-a955-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"80900d6a-20c1-11ee-9ace-da7ad0900002\",\"attributes\":{\"name\":\"name-d19cb9410aaadd15\",\"handle\":\"handle-d19cb9410aaadd15\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:35.277554+00:00\",\"modified_at\":\"2023-07-12T14:36:35.277560+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/80900d6a-20c1-11ee-9ace-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/80900d6a-20c1-11ee-9ace-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"704b3830-20c1-11ee-9bb3-da7ad0900002\",\"attributes\":{\"name\":\"name-d1a2ad9ca1a140b6\",\"handle\":\"handle-d1a2ad9ca1a140b6\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:07.983089+00:00\",\"modified_at\":\"2023-07-12T14:36:07.983095+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/704b3830-20c1-11ee-9bb3-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/704b3830-20c1-11ee-9bb3-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6ffa3778-20c1-11ee-961b-da7ad0900002\",\"attributes\":{\"name\":\"name-d5452548da91e6a0\",\"handle\":\"handle-d5452548da91e6a0\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:07.452129+00:00\",\"modified_at\":\"2023-07-12T14:36:07.452142+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6ffa3778-20c1-11ee-961b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6ffa3778-20c1-11ee-961b-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"6f36a6e6-20c1-11ee-9d33-da7ad0900002\",\"attributes\":{\"name\":\"name-dad4c6965c5166bc\",\"handle\":\"handle-dad4c6965c5166bc\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:06.167867+00:00\",\"modified_at\":\"2023-07-12T14:36:06.167874+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/6f36a6e6-20c1-11ee-9d33-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/6f36a6e6-20c1-11ee-9d33-da7ad0900002/permission-settings\"}}}},{\"type\":\"team\",\"id\":\"70188fd4-20c1-11ee-9c09-da7ad0900002\",\"attributes\":{\"name\":\"name-ecef0bbab0b02377\",\"handle\":\"handle-ecef0bbab0b02377\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T14:36:07.651041+00:00\",\"modified_at\":\"2023-07-12T14:36:07.651046+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/70188fd4-20c1-11ee-9c09-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/70188fd4-20c1-11ee-9c09-da7ad0900002/permission-settings\"}}}}],\"meta\":{\"pagination\":{\"offset\":0,\"first_offset\":0,\"prev_offset\":0,\"next_offset\":100,\"last_offset\":0,\"limit\":100,\"type\":\"offset_limit\",\"total\":40}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team\",\"last\":null,\"next\":\"https://api.datadoghq.com/api/v2/team?page[offset]=100&page[limit]=100\",\"prev\":null,\"first\":\"https://api.datadoghq.com/api/v2/team?page[offset]=0&page[limit]=100\"}}\n", "headers": { "Content-Type": [ "application/json" @@ -59,7 +59,7 @@ "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5651a32c-ef4f-11ed-996b-da7ad0900002", + "path": "/api/v2/team/a961d04e-20d9-11ee-a955-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "a1d7e824-f780-8cd1-7eb3-c268a1adeb7a" + "id": "63c342a5-c62c-afef-a0b4-db9b9306981d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_API_error_response_response.freeze index 7aec5bb382e..d6e0138696f 100644 --- a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-03-27T18:33:09.439Z \ No newline at end of file +2023-07-12T17:29:32.298Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.freeze index eac91a0fa5a..92f3ea15f56 100644 --- a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:55.359Z \ No newline at end of file +2023-07-12T17:29:32.406Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.json index 56d10eb2a49..37450ae7249 100644 --- a/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_links_for_a_team_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-0d2d6ca6aa883570\",\"name\":\"name-0d2d6ca6aa883570\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-ac2d4065bfac0747\",\"name\":\"name-ac2d4065bfac0747\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"56bc6f22-ef4f-11ed-9378-da7ad0900002\",\"attributes\":{\"name\":\"name-0d2d6ca6aa883570\",\"handle\":\"handle-0d2d6ca6aa883570\",\"summary\":null,\"description\":null,\"color\":7,\"created_at\":\"2023-05-10T16:25:55.499796+00:00\",\"modified_at\":\"2023-05-10T16:25:55.499801+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/56bc6f22-ef4f-11ed-9378-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/56bc6f22-ef4f-11ed-9378-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"a9e1a1ca-20d9-11ee-a446-da7ad0900002\",\"attributes\":{\"name\":\"name-ac2d4065bfac0747\",\"handle\":\"handle-ac2d4065bfac0747\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:32.517618+00:00\",\"modified_at\":\"2023-07-12T17:29:32.517624+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a9e1a1ca-20d9-11ee-a446-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a9e1a1ca-20d9-11ee-a446-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "ba61c8e9-88c0-72c5-95fd-9b4b83626e3c" + "id": "a908711f-a447-b3d3-cb26-5cd0d0a5d423" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/56bc6f22-ef4f-11ed-9378-da7ad0900002/links", + "path": "/api/v2/team/a9e1a1ca-20d9-11ee-a446-da7ad0900002/links", "keepAlive": false, "secure": true }, @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "11540419-ac61-bdbe-d6ae-a0076d08f927" + "id": "e21d4aca-e955-aa40-3113-831ec6fcc274" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/56bc6f22-ef4f-11ed-9378-da7ad0900002", + "path": "/api/v2/team/a9e1a1ca-20d9-11ee-a446-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "2f0dbe0c-e724-65d9-bd29-712f15e5cb54" + "id": "5dfaa09a-1559-1c6a-9630-71c67b9dbb19" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_API_error_response_response.freeze index dbb3c2d13ba..72948da09e5 100644 --- a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-03-27T18:33:10.831Z \ No newline at end of file +2023-07-12T17:29:32.837Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.freeze index 5de9e941b63..c857b8bd988 100644 --- a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:55.972Z \ No newline at end of file +2023-07-12T17:29:32.950Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.json index 4c68a145e41..0aa52b917da 100644 --- a/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_permission_settings_for_a_team_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-a299aa22fee98364\",\"name\":\"name-a299aa22fee98364\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-f6ff0ce4aae89a95\",\"name\":\"name-f6ff0ce4aae89a95\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"57177c28-ef4f-11ed-9f99-da7ad0900002\",\"attributes\":{\"name\":\"name-a299aa22fee98364\",\"handle\":\"handle-a299aa22fee98364\",\"summary\":null,\"description\":null,\"color\":2,\"created_at\":\"2023-05-10T16:25:56.096575+00:00\",\"modified_at\":\"2023-05-10T16:25:56.096579+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/57177c28-ef4f-11ed-9f99-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/57177c28-ef4f-11ed-9f99-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"aa36b08e-20d9-11ee-8b14-da7ad0900002\",\"attributes\":{\"name\":\"name-f6ff0ce4aae89a95\",\"handle\":\"handle-f6ff0ce4aae89a95\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:33.075104+00:00\",\"modified_at\":\"2023-07-12T17:29:33.075110+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/aa36b08e-20d9-11ee-8b14-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/aa36b08e-20d9-11ee-8b14-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "75e47292-3f8a-e781-0ad0-1e8eb8164c8d" + "id": "c4c17567-60d4-e5a4-719e-ceb633f2f83e" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/57177c28-ef4f-11ed-9f99-da7ad0900002/permission-settings", + "path": "/api/v2/team/aa36b08e-20d9-11ee-8b14-da7ad0900002/permission-settings", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"type\":\"team_permission_settings\",\"attributes\":{\"action\":\"manage_membership\",\"options\":[\"user_access_manage\",\"admins\",\"members\",\"organization\"],\"value\":\"organization\",\"editable\":true,\"title\":\"Add and Remove Members\"},\"id\":\"TeamPermission-57177c28-ef4f-11ed-9f99-da7ad0900002-manage_membership\"},{\"type\":\"team_permission_settings\",\"attributes\":{\"action\":\"edit\",\"options\":[\"teams_manage\",\"admins\",\"members\"],\"value\":\"members\",\"editable\":true,\"title\":\"Edit Team Details\"},\"id\":\"TeamPermission-57177c28-ef4f-11ed-9f99-da7ad0900002-edit\"}]}\n", + "body": "{\"data\":[{\"type\":\"team_permission_settings\",\"id\":\"TeamPermission-aa36b08e-20d9-11ee-8b14-da7ad0900002-manage_membership\",\"attributes\":{\"action\":\"manage_membership\",\"options\":[\"user_access_manage\",\"admins\",\"members\",\"organization\"],\"value\":\"organization\",\"editable\":true,\"title\":\"Add and Remove Members\"}},{\"type\":\"team_permission_settings\",\"id\":\"TeamPermission-aa36b08e-20d9-11ee-8b14-da7ad0900002-edit\",\"attributes\":{\"action\":\"edit\",\"options\":[\"teams_manage\",\"admins\",\"members\"],\"value\":\"members\",\"editable\":true,\"title\":\"Edit Team Details\"}}]}\n", "headers": { "Content-Type": [ "application/json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "46cb991d-06a0-d93e-f2d7-4c9df9ee3ef1" + "id": "1c9b0816-9d22-e679-8918-2404682a1d78" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/57177c28-ef4f-11ed-9f99-da7ad0900002", + "path": "/api/v2/team/aa36b08e-20d9-11ee-8b14-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "9c635f47-1c5e-1505-ec7c-7269d7362574" + "id": "b5b6d006-1681-ede5-d8bf-9746dcfbb142" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_API_error_response_response.freeze index a0a7a9da1db..2369dc2c417 100644 --- a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-03-27T18:33:12.757Z \ No newline at end of file +2023-07-12T17:29:33.426Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.freeze b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.freeze index ec14920181a..6b77c23c263 100644 --- a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:56.541Z \ No newline at end of file +2023-07-12T17:29:33.541Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.json b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.json index 32ffa4dca60..822735b2bf6 100644 --- a/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.json +++ b/src/test/resources/cassettes/features/v2/Get_team_memberships_returns_Represents_a_user_s_association_to_a_team_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-bb47a0fd53411a26\",\"name\":\"name-bb47a0fd53411a26\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-9b9ce79372b8d6b6\",\"name\":\"name-9b9ce79372b8d6b6\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5777e9e6-ef4f-11ed-9a2b-da7ad0900002\",\"attributes\":{\"name\":\"name-bb47a0fd53411a26\",\"handle\":\"handle-bb47a0fd53411a26\",\"summary\":null,\"description\":null,\"color\":4,\"created_at\":\"2023-05-10T16:25:56.724082+00:00\",\"modified_at\":\"2023-05-10T16:25:56.724086+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"aa8f7156-20d9-11ee-9f9f-da7ad0900002\",\"attributes\":{\"name\":\"name-9b9ce79372b8d6b6\",\"handle\":\"handle-9b9ce79372b8d6b6\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:33.656262+00:00\",\"modified_at\":\"2023-07-12T17:29:33.656267+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "77ab4d7f-352b-7f0a-e2ce-5786982cf3be" + "id": "adbdba3e-cf46-a7d5-ab93-f4c9b404629b" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/memberships", + "path": "/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/memberships", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[],\"meta\":{\"pagination\":{\"offset\":0,\"first_offset\":0,\"prev_offset\":0,\"next_offset\":100,\"last_offset\":0,\"limit\":100,\"type\":\"offset_limit\",\"total\":0}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/memberships\",\"last\":null,\"next\":\"https://api.datadoghq.com/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/memberships?page[offset]=100&page[limit]=100\",\"prev\":null,\"first\":\"https://api.datadoghq.com/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002/memberships?page[offset]=0&page[limit]=100\"}}\n", + "body": "{\"data\":[],\"meta\":{\"pagination\":{\"offset\":0,\"first_offset\":0,\"prev_offset\":0,\"next_offset\":100,\"last_offset\":0,\"limit\":100,\"type\":\"offset_limit\",\"total\":0}},\"links\":{\"self\":\"https://api.datadoghq.com/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/memberships\",\"last\":null,\"next\":\"https://api.datadoghq.com/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/memberships?page[offset]=100&page[limit]=100\",\"prev\":null,\"first\":\"https://api.datadoghq.com/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002/memberships?page[offset]=0&page[limit]=100\"}}\n", "headers": { "Content-Type": [ "application/json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "c50ec366-4c37-3205-6fef-14a7d73686f5" + "id": "3d930bfd-7ea0-dc81-c093-de46204b96a6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5777e9e6-ef4f-11ed-9a2b-da7ad0900002", + "path": "/api/v2/team/aa8f7156-20d9-11ee-9f9f-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "a6715b3b-ba4c-4e6c-f20d-3449a5d80f2a" + "id": "f15a9b57-1b37-67fe-7216-a0d80a5d54ed" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.freeze index fa7cd8ea6fd..bbdb542d83c 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:57.142Z \ No newline at end of file +2023-07-12T17:29:34.000Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.json index 7535d494218..f4d51ad0137 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-889655e4da47806d\",\"name\":\"name-889655e4da47806d\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5b0810a24cff23de\",\"name\":\"name-5b0810a24cff23de\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"57d458a2-ef4f-11ed-9db8-da7ad0900002\",\"attributes\":{\"name\":\"name-889655e4da47806d\",\"handle\":\"handle-889655e4da47806d\",\"summary\":null,\"description\":null,\"color\":3,\"created_at\":\"2023-05-10T16:25:57.334212+00:00\",\"modified_at\":\"2023-05-10T16:25:57.334216+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/57d458a2-ef4f-11ed-9db8-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/57d458a2-ef4f-11ed-9db8-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"aad53c9a-20d9-11ee-a81e-da7ad0900002\",\"attributes\":{\"name\":\"name-5b0810a24cff23de\",\"handle\":\"handle-5b0810a24cff23de\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:34.113364+00:00\",\"modified_at\":\"2023-07-12T17:29:34.113369+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/aad53c9a-20d9-11ee-a81e-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/aad53c9a-20d9-11ee-a81e-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "ae7e9b3a-0e15-c174-4399-f56fc7b1dcc4" + "id": "46a4d6cb-7e2f-e5da-8c00-01965a88ee73" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/57d458a2-ef4f-11ed-9db8-da7ad0900002/links/REPLACE.ME", + "path": "/api/v2/team/aad53c9a-20d9-11ee-a81e-da7ad0900002/links/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "41c6dd03-191c-412f-170f-5e98b009eadd" + "id": "4a51ab7a-dc08-2c29-b606-b1739a1684fb" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/57d458a2-ef4f-11ed-9db8-da7ad0900002", + "path": "/api/v2/team/aad53c9a-20d9-11ee-a81e-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "e25d2c13-f30a-160c-24e8-86068f79e997" + "id": "6665d4a0-16c7-9fb4-59c8-bef5a5f3f8e4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze index 87376983284..815d6c03b5e 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:57.726Z \ No newline at end of file +2023-07-12T17:29:34.448Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json index 3b36b22dea7..ce05e5b331d 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-d9940b7456e5c622\",\"name\":\"name-d9940b7456e5c622\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-0fe32e2c4ff0dff0\",\"name\":\"name-0fe32e2c4ff0dff0\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"582432c8-ef4f-11ed-bdd4-da7ad0900002\",\"attributes\":{\"name\":\"name-d9940b7456e5c622\",\"handle\":\"handle-d9940b7456e5c622\",\"summary\":null,\"description\":null,\"color\":4,\"created_at\":\"2023-05-10T16:25:57.858187+00:00\",\"modified_at\":\"2023-05-10T16:25:57.858193+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ab1bfa86-20d9-11ee-83ad-da7ad0900002\",\"attributes\":{\"name\":\"name-0fe32e2c4ff0dff0\",\"handle\":\"handle-0fe32e2c4ff0dff0\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:34.577529+00:00\",\"modified_at\":\"2023-07-12T17:29:34.577535+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "97f9a369-bb93-e395-e227-cca27076f50a" + "id": "eef2f408-50c1-98d8-dcf4-c0a57a531033" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1683735957\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1689182974\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002/links", + "path": "/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"584c2a94-ef4f-11ed-9556-da7ad0900002\",\"attributes\":{\"team_id\":\"582432c8-ef4f-11ed-bdd4-da7ad0900002\",\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1683735957\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"ab3d7062-20d9-11ee-86ea-da7ad0900002\",\"attributes\":{\"team_id\":\"ab1bfa86-20d9-11ee-83ad-da7ad0900002\",\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1689182974\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "92a80abb-e61b-e46b-6d59-ea6cb94891f1" + "id": "b987c3c7-718d-6806-6e49-fb257957787c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002/links/584c2a94-ef4f-11ed-9556-da7ad0900002", + "path": "/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002/links/ab3d7062-20d9-11ee-86ea-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,18 +78,18 @@ "timeToLive": { "unlimited": true }, - "id": "a8cb25fd-da7d-ed85-4437-02146c110987" + "id": "b7d299f1-0d35-f9eb-3875-85526e374a64" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002/links/584c2a94-ef4f-11ed-9556-da7ad0900002", + "path": "/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002/links/ab3d7062-20d9-11ee-86ea-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"Link for ID 584c2a94-ef4f-11ed-9556-da7ad0900002 not found\"]}", + "body": "{\"errors\":[\"Link for ID ab3d7062-20d9-11ee-86ea-da7ad0900002 not found\"]}", "headers": { "Content-Type": [ "application/json" @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "a8cb25fd-da7d-ed85-4437-02146c110988" + "id": "b7d299f1-0d35-f9eb-3875-85526e374a65" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/582432c8-ef4f-11ed-bdd4-da7ad0900002", + "path": "/api/v2/team/ab1bfa86-20d9-11ee-83ad-da7ad0900002", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "8d70da09-3079-5d66-a788-0850267b1520" + "id": "a73ad931-18c4-8b44-856f-ed2b0cd7cc7b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_API_error_response_response.freeze index ee6db1e5ba6..33e4bc3f953 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-03-27T18:33:17.516Z \ No newline at end of file +2023-07-12T17:29:35.322Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.freeze index a58474f9358..8e006849de0 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:58.756Z \ No newline at end of file +2023-07-12T17:29:35.443Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.json index 7f380733e99..9e565e5b091 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5193f5ba7bb7cf2a\",\"name\":\"name-5193f5ba7bb7cf2a\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-b083901017e30c13\",\"name\":\"name-b083901017e30c13\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"58c0c93a-ef4f-11ed-a5d2-da7ad0900002\",\"attributes\":{\"name\":\"name-5193f5ba7bb7cf2a\",\"handle\":\"handle-5193f5ba7bb7cf2a\",\"summary\":null,\"description\":null,\"color\":3,\"created_at\":\"2023-05-10T16:25:58.884270+00:00\",\"modified_at\":\"2023-05-10T16:25:58.884274+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/58c0c93a-ef4f-11ed-a5d2-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/58c0c93a-ef4f-11ed-a5d2-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"abb3161e-20d9-11ee-95db-da7ad0900002\",\"attributes\":{\"name\":\"name-b083901017e30c13\",\"handle\":\"handle-b083901017e30c13\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:35.567410+00:00\",\"modified_at\":\"2023-07-12T17:29:35.567415+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/abb3161e-20d9-11ee-95db-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/abb3161e-20d9-11ee-95db-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "fd0fe571-2d27-ebfc-2c25-9cbd8565cb90" + "id": "8ace4ba6-b35c-96e2-575c-46e335f0df04" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/58c0c93a-ef4f-11ed-a5d2-da7ad0900002", + "path": "/api/v2/team/abb3161e-20d9-11ee-95db-da7ad0900002", "keepAlive": false, "secure": true }, @@ -48,18 +48,18 @@ "timeToLive": { "unlimited": true }, - "id": "d668e890-9789-1284-101e-9f313ddd521b" + "id": "021aaa61-8eac-9add-f96a-58c8b5ed52e0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/58c0c93a-ef4f-11ed-a5d2-da7ad0900002", + "path": "/api/v2/team/abb3161e-20d9-11ee-95db-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"Team for ID 58c0c93a-ef4f-11ed-a5d2-da7ad0900002 not found\"]}", + "body": "{\"errors\":[\"Team for ID abb3161e-20d9-11ee-95db-da7ad0900002 not found\"]}", "headers": { "Content-Type": [ "application/json" @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "d668e890-9789-1284-101e-9f313ddd521c" + "id": "021aaa61-8eac-9add-f96a-58c8b5ed52e1" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.freeze index 78b82d4546d..280a05e4dfa 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:59.230Z \ No newline at end of file +2023-07-12T17:29:35.937Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.json index 0327b373302..e5cc16caa81 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_a_user_from_a_team_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-b673fb38f29b594d\",\"name\":\"name-b673fb38f29b594d\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-8ebcf13472862f30\",\"name\":\"name-8ebcf13472862f30\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"590a0ef6-ef4f-11ed-9b4a-da7ad0900002\",\"attributes\":{\"name\":\"name-b673fb38f29b594d\",\"handle\":\"handle-b673fb38f29b594d\",\"summary\":null,\"description\":null,\"color\":2,\"created_at\":\"2023-05-10T16:25:59.363124+00:00\",\"modified_at\":\"2023-05-10T16:25:59.363128+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/590a0ef6-ef4f-11ed-9b4a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/590a0ef6-ef4f-11ed-9b4a-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"abfca7f2-20d9-11ee-a1e9-da7ad0900002\",\"attributes\":{\"name\":\"name-8ebcf13472862f30\",\"handle\":\"handle-8ebcf13472862f30\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:36.049655+00:00\",\"modified_at\":\"2023-07-12T17:29:36.049660+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/abfca7f2-20d9-11ee-a1e9-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/abfca7f2-20d9-11ee-a1e9-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "856812ac-9ae1-984e-58bc-f6eec38cb155" + "id": "ecb1ad26-c1b4-0aee-493c-7bfde0ab1453" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/590a0ef6-ef4f-11ed-9b4a-da7ad0900002/memberships/REPLACE.ME", + "path": "/api/v2/team/abfca7f2-20d9-11ee-a1e9-da7ad0900002/memberships/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "5c6819f9-5775-c8f2-34ef-a3d329c6f8f8" + "id": "0f66666f-b158-c05a-c9be-54500c947431" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/590a0ef6-ef4f-11ed-9b4a-da7ad0900002", + "path": "/api/v2/team/abfca7f2-20d9-11ee-a1e9-da7ad0900002", "keepAlive": false, "secure": true }, @@ -74,6 +74,6 @@ "timeToLive": { "unlimited": true }, - "id": "2511b320-74f6-c327-a7b7-6e05d764a6c5" + "id": "d11252db-2434-69e8-e415-4b93101f05fb" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.freeze index 3fb447cee3a..9b1fac2c14d 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:25:59.892Z \ No newline at end of file +2023-07-12T17:29:36.401Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.json index 5c8444a87ba..6c7e5efef16 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-b008f313b7fb41a2\",\"name\":\"name-b008f313b7fb41a2\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-1777c2cee93aa43d\",\"name\":\"name-1777c2cee93aa43d\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"59784f1a-ef4f-11ed-ae21-da7ad0900002\",\"attributes\":{\"name\":\"name-b008f313b7fb41a2\",\"handle\":\"handle-b008f313b7fb41a2\",\"summary\":null,\"description\":null,\"color\":9,\"created_at\":\"2023-05-10T16:26:00.087139+00:00\",\"modified_at\":\"2023-05-10T16:26:00.087144+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/59784f1a-ef4f-11ed-ae21-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/59784f1a-ef4f-11ed-ae21-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ac431ade-20d9-11ee-a354-da7ad0900002\",\"attributes\":{\"name\":\"name-1777c2cee93aa43d\",\"handle\":\"handle-1777c2cee93aa43d\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:36.511789+00:00\",\"modified_at\":\"2023-07-12T17:29:36.511794+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ac431ade-20d9-11ee-a354-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ac431ade-20d9-11ee-a354-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "848ef733-4b26-54bd-50c1-2e58bf565eeb" + "id": "05837868-2035-f837-588e-6bd09c508169" }, { "httpRequest": { @@ -37,7 +37,7 @@ }, "headers": {}, "method": "PATCH", - "path": "/api/v2/team/59784f1a-ef4f-11ed-ae21-da7ad0900002/links/REPLACE.ME", + "path": "/api/v2/team/ac431ade-20d9-11ee-a354-da7ad0900002/links/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "a28a464c-420d-fcb0-59a9-5e80626b4bfa" + "id": "ca0842f9-f5ea-5648-a52e-0aefb204550c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/59784f1a-ef4f-11ed-ae21-da7ad0900002", + "path": "/api/v2/team/ac431ade-20d9-11ee-a354-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "b4c82989-c343-ed14-0879-bdc7e1f34425" + "id": "28f3ada4-285e-e196-cc7b-a9c1afff5d8d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze index 8b3d94c8b30..2f16353f835 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:26:00.470Z \ No newline at end of file +2023-07-12T17:29:36.868Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json index 86a900dd1c4..55919c6873d 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5e9bed3a0071cff3\",\"name\":\"name-5e9bed3a0071cff3\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-d4767872f1c173b0\",\"name\":\"name-d4767872f1c173b0\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"59c71da2-ef4f-11ed-a58b-da7ad0900002\",\"attributes\":{\"name\":\"name-5e9bed3a0071cff3\",\"handle\":\"handle-5e9bed3a0071cff3\",\"summary\":null,\"description\":null,\"color\":4,\"created_at\":\"2023-05-10T16:26:00.603167+00:00\",\"modified_at\":\"2023-05-10T16:26:00.603171+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ac8b5bb4-20d9-11ee-a287-da7ad0900002\",\"attributes\":{\"name\":\"name-d4767872f1c173b0\",\"handle\":\"handle-d4767872f1c173b0\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:36.985262+00:00\",\"modified_at\":\"2023-07-12T17:29:36.985267+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "538be35d-b272-0eeb-03cd-8790ea3a72df" + "id": "e71fd3fa-1cd2-83ad-3570-e6b45d1c1fd4" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Update_a_team_link_returns_OK_response-1683735960\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Update_a_team_link_returns_OK_response-1689182976\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002/links", + "path": "/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"59f1bb16-ef4f-11ed-8e16-da7ad0900002\",\"attributes\":{\"team_id\":\"59c71da2-ef4f-11ed-a58b-da7ad0900002\",\"label\":\"Test-Update_a_team_link_returns_OK_response-1683735960\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"aca6c3a4-20d9-11ee-b74b-da7ad0900002\",\"attributes\":{\"team_id\":\"ac8b5bb4-20d9-11ee-a287-da7ad0900002\",\"label\":\"Test-Update_a_team_link_returns_OK_response-1689182976\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "330680e7-5cc5-af12-0d3f-069049269e86" + "id": "3ca6da62-3bbc-9b08-2ecc-4d98c8e8e9da" }, { "httpRequest": { @@ -67,12 +67,12 @@ }, "headers": {}, "method": "PATCH", - "path": "/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002/links/59f1bb16-ef4f-11ed-8e16-da7ad0900002", + "path": "/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002/links/aca6c3a4-20d9-11ee-b74b-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"59f1bb16-ef4f-11ed-8e16-da7ad0900002\",\"attributes\":{\"team_id\":\"59c71da2-ef4f-11ed-a58b-da7ad0900002\",\"label\":\"New Label\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"aca6c3a4-20d9-11ee-b74b-da7ad0900002\",\"attributes\":{\"team_id\":\"ac8b5bb4-20d9-11ee-a287-da7ad0900002\",\"label\":\"New Label\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -87,13 +87,13 @@ "timeToLive": { "unlimited": true }, - "id": "58a059a7-1461-47fd-4df4-a9550a693b49" + "id": "4bd24f5b-685d-f3e1-15f5-d3868f26d49b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002/links/59f1bb16-ef4f-11ed-8e16-da7ad0900002", + "path": "/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002/links/aca6c3a4-20d9-11ee-b74b-da7ad0900002", "keepAlive": false, "secure": true }, @@ -108,13 +108,13 @@ "timeToLive": { "unlimited": true }, - "id": "777a2dc4-a258-12d5-4a0f-5af5b1f5ca63" + "id": "6ea19d53-8a2b-685b-ccca-fb326fe7ef1e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/59c71da2-ef4f-11ed-a58b-da7ad0900002", + "path": "/api/v2/team/ac8b5bb4-20d9-11ee-a287-da7ad0900002", "keepAlive": false, "secure": true }, @@ -129,6 +129,6 @@ "timeToLive": { "unlimited": true }, - "id": "6943c58a-0447-9506-924a-faa68c06e6c7" + "id": "4cd47499-a8c5-ba81-b148-d71377a0c6d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.freeze index 6904e015fd5..7a58b535442 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:26:01.490Z \ No newline at end of file +2023-07-12T17:29:37.638Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.json index e0e36f02573..db4bf78aaf2 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_team_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5a20aee41547b866\",\"name\":\"name-5a20aee41547b866\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-35daf948e7104345\",\"name\":\"name-35daf948e7104345\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5a6cbeba-ef4f-11ed-9628-da7ad0900002\",\"attributes\":{\"name\":\"name-5a20aee41547b866\",\"handle\":\"handle-5a20aee41547b866\",\"summary\":null,\"description\":null,\"color\":3,\"created_at\":\"2023-05-10T16:26:01.688992+00:00\",\"modified_at\":\"2023-05-10T16:26:01.688999+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ad5a151c-20d9-11ee-bfa0-da7ad0900002\",\"attributes\":{\"name\":\"name-35daf948e7104345\",\"handle\":\"handle-35daf948e7104345\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:38.339300+00:00\",\"modified_at\":\"2023-07-12T17:29:38.339306+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "ac4acba8-091a-2e3d-44d1-74c7ba40e95b" + "id": "341cb992-f371-3c23-f095-9e81f5690fd4" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5a20aee41547b866\",\"name\":\"name-5a20aee41547b866 updated\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-35daf948e7104345\",\"name\":\"name-35daf948e7104345 updated\"},\"type\":\"team\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002", + "path": "/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5a6cbeba-ef4f-11ed-9628-da7ad0900002\",\"attributes\":{\"name\":\"name-5a20aee41547b866 updated\",\"handle\":\"handle-5a20aee41547b866\",\"summary\":null,\"description\":null,\"color\":3,\"created_at\":\"2023-05-10T16:26:01.688992+00:00\",\"modified_at\":\"2023-05-10T16:26:01.882353+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ad5a151c-20d9-11ee-bfa0-da7ad0900002\",\"attributes\":{\"name\":\"name-35daf948e7104345 updated\",\"handle\":\"handle-35daf948e7104345\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:38.339300+00:00\",\"modified_at\":\"2023-07-12T17:29:39.089732+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "f0a0c17d-5ee3-f0e9-d143-27207224f011" + "id": "351d12e3-d1f7-144b-8c31-6d500c46d1f5" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5a6cbeba-ef4f-11ed-9628-da7ad0900002", + "path": "/api/v2/team/ad5a151c-20d9-11ee-bfa0-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "2099d61d-3d98-b00a-4fba-2265b12efa34" + "id": "1f5aec5e-dfed-d8e1-c2a1-061ef5fbac9d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.freeze index c095b0443f4..663d1a84ef1 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:26:02.155Z \ No newline at end of file +2023-07-12T17:29:39.278Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.json index 7998d7ee91d..271c670d223 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_user_s_role_on_a_team_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-7ee388ec964ab7d8\",\"name\":\"name-7ee388ec964ab7d8\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-99ca65bcb7eba7f2\",\"name\":\"name-99ca65bcb7eba7f2\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5ac7a35c-ef4f-11ed-ba32-da7ad0900002\",\"attributes\":{\"name\":\"name-7ee388ec964ab7d8\",\"handle\":\"handle-7ee388ec964ab7d8\",\"summary\":null,\"description\":null,\"color\":6,\"created_at\":\"2023-05-10T16:26:02.284460+00:00\",\"modified_at\":\"2023-05-10T16:26:02.284464+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5ac7a35c-ef4f-11ed-ba32-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5ac7a35c-ef4f-11ed-ba32-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"adfa785e-20d9-11ee-9b3a-da7ad0900002\",\"attributes\":{\"name\":\"name-99ca65bcb7eba7f2\",\"handle\":\"handle-99ca65bcb7eba7f2\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:39.390829+00:00\",\"modified_at\":\"2023-07-12T17:29:39.390834+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/adfa785e-20d9-11ee-9b3a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/adfa785e-20d9-11ee-9b3a-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "71a64d8f-53bb-cde0-94dd-a9041933fd51" + "id": "8ff301d4-bd6e-1c42-c3cb-4a95f3a3003b" }, { "httpRequest": { @@ -37,7 +37,7 @@ }, "headers": {}, "method": "PATCH", - "path": "/api/v2/team/5ac7a35c-ef4f-11ed-ba32-da7ad0900002/memberships/REPLACE.ME", + "path": "/api/v2/team/adfa785e-20d9-11ee-9b3a-da7ad0900002/memberships/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "3eb66aac-43f8-3447-56a4-f7621d143833" + "id": "6f0851e0-0041-9ba7-c1e0-41385881e0bd" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5ac7a35c-ef4f-11ed-ba32-da7ad0900002", + "path": "/api/v2/team/adfa785e-20d9-11ee-9b3a-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "3defc2d1-ebef-4f44-ae61-5689c096a7bc" + "id": "f531f38d-8948-9545-d178-dea13ad9b8b4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.freeze b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.freeze index 0198cfd80ad..32e39ee5cab 100644 --- a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.freeze @@ -1 +1 @@ -2023-05-10T16:26:02.660Z \ No newline at end of file +2023-07-12T17:29:39.733Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.json b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.json index fd25b0a53c3..0c77605769e 100644 --- a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.json +++ b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_API_error_response_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-5fc4017c72fce64f\",\"name\":\"name-5fc4017c72fce64f\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-72b5ed797b3e5f13\",\"name\":\"name-72b5ed797b3e5f13\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5b163526-ef4f-11ed-a5d4-da7ad0900002\",\"attributes\":{\"name\":\"name-5fc4017c72fce64f\",\"handle\":\"handle-5fc4017c72fce64f\",\"summary\":null,\"description\":null,\"color\":12,\"created_at\":\"2023-05-10T16:26:02.799664+00:00\",\"modified_at\":\"2023-05-10T16:26:02.799668+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5b163526-ef4f-11ed-a5d4-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5b163526-ef4f-11ed-a5d4-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ae41b534-20d9-11ee-ad0a-da7ad0900002\",\"attributes\":{\"name\":\"name-72b5ed797b3e5f13\",\"handle\":\"handle-72b5ed797b3e5f13\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:39.857772+00:00\",\"modified_at\":\"2023-07-12T17:29:39.857780+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ae41b534-20d9-11ee-ad0a-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ae41b534-20d9-11ee-ad0a-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2616daa-301e-619e-77e6-c2b60367608f" + "id": "dd8603ef-0a4e-eeed-f92b-f446ecb9097e" }, { "httpRequest": { @@ -37,7 +37,7 @@ }, "headers": {}, "method": "PUT", - "path": "/api/v2/team/5b163526-ef4f-11ed-a5d4-da7ad0900002/permission-settings/REPLACE.ME", + "path": "/api/v2/team/ae41b534-20d9-11ee-ad0a-da7ad0900002/permission-settings/REPLACE.ME", "keepAlive": false, "secure": true }, @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "c6b2cc2a-2d08-d51a-f632-bf7ec013165c" + "id": "f4de0494-0254-0a9f-9c50-180af49a6a75" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5b163526-ef4f-11ed-a5d4-da7ad0900002", + "path": "/api/v2/team/ae41b534-20d9-11ee-ad0a-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "f67ef25e-5c0c-297d-bc0e-7338ba6bb9b2" + "id": "ae170950-ce67-d206-49b0-631a2b2e9bab" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.freeze index d3df5842ce2..19137c383b8 100644 --- a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.freeze @@ -1 +1 @@ -2023-05-10T16:26:03.244Z \ No newline at end of file +2023-07-12T17:29:40.171Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.json index 64c29a4f75d..ebcd9a10927 100644 --- a/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_permission_setting_for_team_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-b71373014d00f4cf\",\"name\":\"name-b71373014d00f4cf\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"handle-365d9943be4cbd80\",\"name\":\"name-365d9943be4cbd80\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"5b770c20-ef4f-11ed-a442-da7ad0900002\",\"attributes\":{\"name\":\"name-b71373014d00f4cf\",\"handle\":\"handle-b71373014d00f4cf\",\"summary\":null,\"description\":null,\"color\":6,\"created_at\":\"2023-05-10T16:26:03.434008+00:00\",\"modified_at\":\"2023-05-10T16:26:03.434012+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5b770c20-ef4f-11ed-a442-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5b770c20-ef4f-11ed-a442-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"type\":\"team\",\"id\":\"ae81e17c-20d9-11ee-a254-da7ad0900002\",\"attributes\":{\"name\":\"name-365d9943be4cbd80\",\"handle\":\"handle-365d9943be4cbd80\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:40.278830+00:00\",\"modified_at\":\"2023-07-12T17:29:40.278836+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/ae81e17c-20d9-11ee-a254-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ae81e17c-20d9-11ee-a254-da7ad0900002/permission-settings\"}}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf7b1408-a64b-333b-1c50-bbb852b197f8" + "id": "dffeb863-9ae4-6bdb-3ad2-6efe5b3f1594" }, { "httpRequest": { @@ -37,12 +37,12 @@ }, "headers": {}, "method": "PUT", - "path": "/api/v2/team/5b770c20-ef4f-11ed-a442-da7ad0900002/permission-settings/manage_membership", + "path": "/api/v2/team/ae81e17c-20d9-11ee-a254-da7ad0900002/permission-settings/manage_membership", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_permission_settings\",\"attributes\":{\"action\":\"manage_membership\",\"options\":[\"admins\",\"members\",\"organization\",\"user_access_manage\",\"teams_manage\"],\"value\":\"admins\"},\"id\":\"TeamPermission-5b770c20-ef4f-11ed-a442-da7ad0900002-manage_membership\"}}\n", + "body": "{\"data\":{\"type\":\"team_permission_settings\",\"attributes\":{\"value\":\"admins\",\"action\":\"manage_membership\",\"options\":[\"admins\",\"members\",\"organization\",\"user_access_manage\",\"teams_manage\"]},\"id\":\"TeamPermission-ae81e17c-20d9-11ee-a254-da7ad0900002-manage_membership\"}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "6995095f-4df0-c878-0c8e-ddb52073c5c3" + "id": "65d9aa16-5eea-9ce9-34ee-6df304cc4cbe" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/5b770c20-ef4f-11ed-a442-da7ad0900002", + "path": "/api/v2/team/ae81e17c-20d9-11ee-a254-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,6 +78,6 @@ "timeToLive": { "unlimited": true }, - "id": "1ace5bf3-dfe7-9855-8d7a-da6b0fd57cda" + "id": "23509690-6879-fa4e-388b-ceee99a264d7" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/teams.feature b/src/test/resources/com/datadog/api/client/v2/api/teams.feature index 93f5978f004..04159ebd236 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/teams.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/teams.feature @@ -223,7 +223,7 @@ Feature: Teams Scenario: Update a team returns "API error response." response Given new "UpdateTeam" request And request contains "team_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"handle": "example-team", "name": "Example Team"}, "relationships": {"team_links": {"data": [{"id": "f9bb8444-af7f-11ec-ac2c-da7ad0900001", "type": "team_links"}]}}, "type": "team"}} + And body with value {"data": {"attributes": {"handle": "example-team", "name": "Example Team"}, "relationships": {"team_links": {"data": [{"id": "f9bb8444-af7f-11ec-ac2c-da7ad0900001", "type": "team_links"}], "links": {"related": "/api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links"}}}, "type": "team"}} When the request is sent Then the response status is 409 API error response.