Package com.intercom.api.resources.teams
Class AsyncTeamsClient
- java.lang.Object
-
- com.intercom.api.resources.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<Team>find(FindTeamRequest 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>find(FindTeamRequest request, RequestOptions requestOptions)You can fetch the details of a single team, containing an array of admins that belong to this team.java.util.concurrent.CompletableFuture<TeamList>list()This will return a list of team objects for the App.java.util.concurrent.CompletableFuture<TeamList>list(RequestOptions requestOptions)This will return a list of team objects for the App.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
-
list
public java.util.concurrent.CompletableFuture<TeamList> list()
This will return a list of team objects for the App.
-
list
public java.util.concurrent.CompletableFuture<TeamList> list(RequestOptions requestOptions)
This will return a list of team objects for the App.
-
find
public java.util.concurrent.CompletableFuture<Team> find(FindTeamRequest request)
You can fetch the details of a single team, containing an array of admins that belong to this team.
-
find
public java.util.concurrent.CompletableFuture<Team> find(FindTeamRequest request, RequestOptions requestOptions)
You can fetch the details of a single team, containing an array of admins that belong to this team.
-
-