Class ViewsOpenRequest
- java.lang.Object
-
- com.slack.api.methods.request.views.ViewsOpenRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ViewsOpenRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/views.open
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewsOpenRequest.ViewsOpenRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViewsOpenRequest.ViewsOpenRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getToken()
Returns a token in this request object.String
getTriggerId()
View
getView()
String
getViewAsString()
int
hashCode()
void
setToken(String token)
Updates the token in this request object.void
setTriggerId(String triggerId)
void
setView(View view)
void
setViewAsString(String viewAsString)
String
toString()
-
-
-
Method Detail
-
builder
public static ViewsOpenRequest.ViewsOpenRequestBuilder builder()
-
getToken
public String getToken()
Description copied from interface:SlackApiRequest
Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getTriggerId
public String getTriggerId()
-
getView
public View getView()
-
getViewAsString
public String getViewAsString()
-
setToken
public void setToken(String token)
Description copied from interface:SlackApiRequest
Updates the token in this request object.The default implementation throws
UnsupportedOperationException
. All the built-in implementing classes overrides this method in a proper way.- Specified by:
setToken
in interfaceSlackApiRequest
-
setTriggerId
public void setTriggerId(String triggerId)
-
setView
public void setView(View view)
-
setViewAsString
public void setViewAsString(String viewAsString)
-
canEqual
protected boolean canEqual(Object other)
-
-