Class CallsEndRequest
java.lang.Object
com.slack.api.methods.request.calls.CallsEndRequest
- All Implemented Interfaces:
SlackApiRequest
public class CallsEndRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/calls.end
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCallsEndRequest.CallsEndRequestBuilder -
Method Summary
Modifier and Type Method Description static CallsEndRequest.CallsEndRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.IntegergetDuration()Call duration in secondsjava.lang.StringgetId()id returned when registering the call using the calls.add methodjava.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetDuration(java.lang.Integer duration)Call duration in secondsvoidsetId(java.lang.String id)id returned when registering the call using the calls.add methodvoidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getId
public java.lang.String getId()id returned when registering the call using the calls.add method -
getDuration
public java.lang.Integer getDuration()Call duration in seconds -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setId
public void setId(java.lang.String id)id returned when registering the call using the calls.add method -
setDuration
public void setDuration(java.lang.Integer duration)Call duration in seconds -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-