Skip to content

Commit 43ba5f1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 20164b5 of spec repo
1 parent a1f1bff commit 43ba5f1

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84010,7 +84010,13 @@ paths:
8401084010
permissions:
8401184011
- teams_read
8401284012
post:
84013-
description: Add a user to a team.
84013+
description: 'Add a user to a team.
84014+
84015+
84016+
**Note**: Each team has a setting that determines who is allowed to modify
84017+
membership of the team. The `user_access_manage` permission generally grants
84018+
access to modify membership of any team. To get the full picture, see [Team
84019+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8401484020
operationId: CreateTeamMembership
8401584021
parameters:
8401684022
- description: None
@@ -84063,7 +84069,13 @@ paths:
8406384069
- teams_read
8406484070
/api/v2/team/{team_id}/memberships/{user_id}:
8406584071
delete:
84066-
description: Remove a user from a team.
84072+
description: 'Remove a user from a team.
84073+
84074+
84075+
**Note**: Each team has a setting that determines who is allowed to modify
84076+
membership of the team. The `user_access_manage` permission generally grants
84077+
access to modify membership of any team. To get the full picture, see [Team
84078+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8406784079
operationId: DeleteTeamMembership
8406884080
parameters:
8406984081
- description: None
@@ -84104,7 +84116,13 @@ paths:
8410484116
permissions:
8410584117
- teams_read
8410684118
patch:
84107-
description: Update a user's membership attributes on a team.
84119+
description: 'Update a user''s membership attributes on a team.
84120+
84121+
84122+
**Note**: Each team has a setting that determines who is allowed to modify
84123+
membership of the team. The `user_access_manage` permission generally grants
84124+
access to modify membership of any team. To get the full picture, see [Team
84125+
Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).'
8410884126
operationId: UpdateTeamMembership
8410984127
parameters:
8411084128
- description: None

src/main/java/com/datadog/api/client/v2/api/TeamsApi.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,12 @@ public CompletableFuture<UserTeamResponse> createTeamMembershipAsync(
714714
/**
715715
* Add a user to a team.
716716
*
717+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
718+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
719+
* to modify membership of any team. To get the full picture, see <a
720+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
721+
* Membership documentation</a>.
722+
*
717723
* @param teamId None (required)
718724
* @param body (required)
719725
* @return ApiResponse&lt;UserTeamResponse&gt;
@@ -1154,6 +1160,12 @@ public CompletableFuture<Void> deleteTeamMembershipAsync(String teamId, String u
11541160
/**
11551161
* Remove a user from a team.
11561162
*
1163+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
1164+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
1165+
* to modify membership of any team. To get the full picture, see <a
1166+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
1167+
* Membership documentation</a>.
1168+
*
11571169
* @param teamId None (required)
11581170
* @param userId None (required)
11591171
* @return ApiResponse&lt;Void&gt;
@@ -4325,6 +4337,12 @@ public CompletableFuture<UserTeamResponse> updateTeamMembershipAsync(
43254337
/**
43264338
* Update a user's membership attributes on a team.
43274339
*
4340+
* <p><strong>Note</strong>: Each team has a setting that determines who is allowed to modify
4341+
* membership of the team. The <code>user_access_manage</code> permission generally grants access
4342+
* to modify membership of any team. To get the full picture, see <a
4343+
* href="https://docs.datadoghq.com/account_management/teams/manage/#team-membership">Team
4344+
* Membership documentation</a>.
4345+
*
43284346
* @param teamId None (required)
43294347
* @param userId None (required)
43304348
* @param body (required)

src/test/resources/com/datadog/api/client/v2/api/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
"parameters": [
351351
{
352352
"name": "body",
353-
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate-{{ unique_lower_alnum }}\",\n \"dry_run\": false\n }\n }\n}"
353+
"value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate\",\n \"dry_run\": false\n }\n }\n}"
354354
}
355355
],
356356
"step": "there is a valid \"deployment_gate\" in the system",

0 commit comments

Comments
 (0)