Class ConversationsInviteSharedResponse
- java.lang.Object
-
- com.slack.api.methods.response.conversations.ConversationsInviteSharedResponse
-
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
public class ConversationsInviteSharedResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description ConversationsInviteSharedResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getConfCode()
String
getError()
Map<String,List<String>>
getHttpResponseHeaders()
Returns all the HTTP response headers in the API response.String
getInviteId()
String
getNeeded()
String
getProvided()
String
getUrl()
String
getWarning()
int
hashCode()
boolean
isLegacySharedChannel()
boolean
isOk()
void
setConfCode(String confCode)
void
setError(String error)
void
setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Sets the response headers.void
setInviteId(String inviteId)
void
setLegacySharedChannel(boolean isLegacySharedChannel)
void
setNeeded(String needed)
void
setOk(boolean ok)
void
setProvided(String provided)
void
setUrl(String url)
void
setWarning(String warning)
String
toString()
-
-
-
Method Detail
-
isOk
public boolean isOk()
- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
public String getWarning()
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
public String getError()
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
public String getNeeded()
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
public String getProvided()
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
public Map<String,List<String>> 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
-
getUrl
public String getUrl()
-
getInviteId
public String getInviteId()
-
getConfCode
public String getConfCode()
-
isLegacySharedChannel
public boolean isLegacySharedChannel()
-
setOk
public void setOk(boolean ok)
- Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
public void setWarning(String warning)
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
public void setError(String error)
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
public void setNeeded(String needed)
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
public void setProvided(String provided)
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
public void setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setUrl
public void setUrl(String url)
-
setInviteId
public void setInviteId(String inviteId)
-
setConfCode
public void setConfCode(String confCode)
-
setLegacySharedChannel
public void setLegacySharedChannel(boolean isLegacySharedChannel)
-
canEqual
protected boolean canEqual(Object other)
-
-