Class UsersGetPresenceResponse
java.lang.Object
com.slack.api.methods.response.users.UsersGetPresenceResponse
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
public class UsersGetPresenceResponse extends Object implements SlackApiTextResponse
-
Constructor Summary
Constructors Constructor Description UsersGetPresenceResponse()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getConnectionCount()
String
getError()
Integer
getLastActivity()
String
getNeeded()
String
getPresence()
String
getProvided()
String
getWarning()
int
hashCode()
boolean
isAutoAway()
boolean
isManualAway()
boolean
isOk()
boolean
isOnline()
void
setAutoAway(boolean autoAway)
void
setConnectionCount(Integer connectionCount)
void
setError(String error)
void
setLastActivity(Integer lastActivity)
void
setManualAway(boolean manualAway)
void
setNeeded(String needed)
void
setOk(boolean ok)
void
setOnline(boolean online)
void
setPresence(String presence)
void
setProvided(String provided)
void
setWarning(String warning)
String
toString()
-
Constructor Details
-
UsersGetPresenceResponse
public UsersGetPresenceResponse()
-
-
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
-
getPresence
-
isOnline
public boolean isOnline() -
isAutoAway
public boolean isAutoAway() -
isManualAway
public boolean isManualAway() -
getConnectionCount
-
getLastActivity
-
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
-
setPresence
-
setOnline
public void setOnline(boolean online) -
setAutoAway
public void setAutoAway(boolean autoAway) -
setManualAway
public void setManualAway(boolean manualAway) -
setConnectionCount
-
setLastActivity
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-