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