Class ViewsPublishRequest
- java.lang.Object
-
- com.slack.api.methods.request.views.ViewsPublishRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ViewsPublishRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/views.publish
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewsPublishRequest.ViewsPublishRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViewsPublishRequest.ViewsPublishRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getHash()
String
getToken()
Returns a token in this request object.String
getUserId()
View
getView()
String
getViewAsString()
int
hashCode()
void
setHash(String hash)
void
setToken(String token)
Updates the token in this request object.void
setUserId(String userId)
void
setView(View view)
void
setViewAsString(String viewAsString)
String
toString()
-
-
-
Method Detail
-
builder
public static ViewsPublishRequest.ViewsPublishRequestBuilder 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
-
getView
public View getView()
-
getViewAsString
public String getViewAsString()
-
getUserId
public String getUserId()
-
getHash
public String getHash()
-
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
-
setView
public void setView(View view)
-
setViewAsString
public void setViewAsString(String viewAsString)
-
setUserId
public void setUserId(String userId)
-
setHash
public void setHash(String hash)
-
canEqual
protected boolean canEqual(Object other)
-
-