Package org.azd.core.teams
Class TeamsMembersRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.core.teams.TeamsMembersRequestBuilder
Provides functionality to manage teams members Api.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionTeamsMembersRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionGet a list of members for a specific team.get
(String projectId, String teamId, Consumer<TeamsMembersRequestBuilder.RequestConfiguration> requestConfiguration) Get a list of members for a specific team.Get a list of members for a specific team.getAsync
(String projectId, String teamId, Consumer<TeamsMembersRequestBuilder.RequestConfiguration> requestConfiguration) Get a list of members for a specific team.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
TeamsMembersRequestBuilder
public TeamsMembersRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
getAsync
Get a list of members for a specific team.- Parameters:
projectId
- The name or ID (GUID) of the team project the team belongs to.teamId
- The name or ID (GUID) of the team .- Returns:
- TeamMembers object
TeamMembers
. - Throws:
AzDException
- Default Api Exception handler.
-
getAsync
public CompletableFuture<TeamMembers> getAsync(String projectId, String teamId, Consumer<TeamsMembersRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Get a list of members for a specific team.- Parameters:
projectId
- The name or ID (GUID) of the team project the team belongs to.teamId
- The name or ID (GUID) of the team .requestConfiguration
- Consumer of request configuration. This represents the query parameter for the request.- Returns:
- TeamMembers object
TeamMembers
. - Throws:
AzDException
- Default Api Exception handler.
-
get
Get a list of members for a specific team.- Parameters:
projectId
- The name or ID (GUID) of the team project the team belongs to.teamId
- The name or ID (GUID) of the team .- Returns:
- TeamMembers object
TeamMembers
. - Throws:
AzDException
- Default Api Exception handler.
-
get
public TeamMembers get(String projectId, String teamId, Consumer<TeamsMembersRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Get a list of members for a specific team.- Parameters:
projectId
- The name or ID (GUID) of the team project the team belongs to.teamId
- The name or ID (GUID) of the team .requestConfiguration
- Consumer of request configuration. This represents the query parameter for the request.- Returns:
- TeamMembers object
TeamMembers
. - Throws:
AzDException
- Default Api Exception handler.
-