Class AsyncTeamsClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.teams.AsyncTeamsClient
-
public class AsyncTeamsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncTeamsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<TeamList>listTeams()This will return a list of team objects for the App.java.util.concurrent.CompletableFuture<TeamList>listTeams(RequestOptions requestOptions)This will return a list of team objects for the App.java.util.concurrent.CompletableFuture<Team>retrieveTeam(RetrieveTeamRequest request)You can fetch the details of a single team, containing an array of admins that belong to this team.java.util.concurrent.CompletableFuture<Team>retrieveTeam(RetrieveTeamRequest request, RequestOptions requestOptions)You can fetch the details of a single team, containing an array of admins that belong to this team.AsyncRawTeamsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncTeamsClient
public AsyncTeamsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawTeamsClient withRawResponse()
Get responses with HTTP metadata like headers
-
listTeams
public java.util.concurrent.CompletableFuture<TeamList> listTeams()
This will return a list of team objects for the App.
-
listTeams
public java.util.concurrent.CompletableFuture<TeamList> listTeams(RequestOptions requestOptions)
This will return a list of team objects for the App.
-
retrieveTeam
public java.util.concurrent.CompletableFuture<Team> retrieveTeam(RetrieveTeamRequest request)
You can fetch the details of a single team, containing an array of admins that belong to this team.
-
retrieveTeam
public java.util.concurrent.CompletableFuture<Team> retrieveTeam(RetrieveTeamRequest request, RequestOptions requestOptions)
You can fetch the details of a single team, containing an array of admins that belong to this team.
-
-