Class BookmarksEditRequest
- java.lang.Object
-
- com.slack.api.methods.request.bookmarks.BookmarksEditRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class BookmarksEditRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/bookmarks.edit
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookmarksEditRequest.BookmarksEditRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BookmarksEditRequest.BookmarksEditRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetBookmarkId()Bookmark to update.StringgetChannelId()Channel to update bookmark in.StringgetEmoji()Emoji tag to apply to the link.StringgetLink()Link to bookmark.StringgetTitle()Title for the bookmark.StringgetToken()Authentication token.inthashCode()voidsetBookmarkId(String bookmarkId)Bookmark to update.voidsetChannelId(String channelId)Channel to update bookmark in.voidsetEmoji(String emoji)Emoji tag to apply to the link.voidsetLink(String link)Link to bookmark.voidsetTitle(String title)Title for the bookmark.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static BookmarksEditRequest.BookmarksEditRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `bookmarks:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getBookmarkId
public String getBookmarkId()
Bookmark to update.
-
getChannelId
public String getChannelId()
Channel to update bookmark in.
-
getLink
public String getLink()
Link to bookmark.
-
getEmoji
public String getEmoji()
Emoji tag to apply to the link.
-
getTitle
public String getTitle()
Title for the bookmark.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `bookmarks:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setBookmarkId
public void setBookmarkId(String bookmarkId)
Bookmark to update.
-
setChannelId
public void setChannelId(String channelId)
Channel to update bookmark in.
-
setLink
public void setLink(String link)
Link to bookmark.
-
setEmoji
public void setEmoji(String emoji)
Emoji tag to apply to the link.
-
setTitle
public void setTitle(String title)
Title for the bookmark.
-
canEqual
protected boolean canEqual(Object other)
-
-