Class AuthTeamsListResponse
java.lang.Object
com.slack.api.methods.response.auth.teams.AuthTeamsListResponse
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getError()
Returns all the HTTP response headers in the API response.getTeams()
int
hashCode()
boolean
isOk()
void
void
setHttpResponseHeaders
(Map<String, List<String>> httpResponseHeaders) Sets the response headers.void
void
setOk
(boolean ok) void
setProvided
(String provided) void
setResponseMetadata
(ResponseMetadata responseMetadata) void
setTeams
(List<AuthTeamsListResponse.Team> teams) void
setWarning
(String warning) toString()
-
Constructor Details
-
AuthTeamsListResponse
public AuthTeamsListResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
Description copied from interface:SlackApiResponse
Returns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeaders
in interfaceSlackApiResponse
-
getTeams
-
getResponseMetadata
-
setOk
public void setOk(boolean ok) - Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setTeams
-
setResponseMetadata
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-