Class StarsRemoveRequest
java.lang.Object
com.slack.api.methods.request.stars.StarsRemoveRequest
- All Implemented Interfaces:
SlackApiRequest
public class StarsRemoveRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStarsRemoveRequest.StarsRemoveRequestBuilder -
Method Summary
Modifier and Type Method Description static StarsRemoveRequest.StarsRemoveRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).java.lang.StringgetFile()File to remove star from.java.lang.StringgetFileComment()File comment to remove star from.java.lang.StringgetTimestamp()Timestamp of the message to remove star from.java.lang.StringgetToken()Authentication token.inthashCode()voidsetChannel(java.lang.String channel)Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).voidsetFile(java.lang.String file)File to remove star from.voidsetFileComment(java.lang.String fileComment)File comment to remove star from.voidsetTimestamp(java.lang.String timestamp)Timestamp of the message to remove star from.voidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `stars:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getFile
public java.lang.String getFile()File to remove star from. -
getFileComment
public java.lang.String getFileComment()File comment to remove star from. -
getChannel
public java.lang.String getChannel()Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). -
getTimestamp
public java.lang.String getTimestamp()Timestamp of the message to remove star from. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `stars:write` -
setFile
public void setFile(java.lang.String file)File to remove star from. -
setFileComment
public void setFileComment(java.lang.String fileComment)File comment to remove star from. -
setChannel
public void setChannel(java.lang.String channel)Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). -
setTimestamp
public void setTimestamp(java.lang.String timestamp)Timestamp of the message to remove star from. -
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
-