Class FilesRemoteListRequest
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteListRequest
- All Implemented Interfaces:
SlackApiRequest
public class FilesRemoteListRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/files.remote.list
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilesRemoteListRequest.FilesRemoteListRequestBuilder -
Method Summary
Modifier and Type Method Description static FilesRemoteListRequest.FilesRemoteListRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()Filter files appearing in a specific channel, indicated by its ID.java.lang.StringgetCursor()Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata.java.lang.IntegergetLimit()The maximum number of items to return.java.lang.StringgetToken()Authentication token.java.lang.StringgetTsFrom()Filter files created after this timestamp (inclusive).java.lang.StringgetTsTo()Filter files created before this timestamp (inclusive).inthashCode()voidsetChannel(java.lang.String channel)Filter files appearing in a specific channel, indicated by its ID.voidsetCursor(java.lang.String cursor)Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata.voidsetLimit(java.lang.Integer limit)The maximum number of items to return.voidsetToken(java.lang.String token)Authentication token.voidsetTsFrom(java.lang.String tsFrom)Filter files created after this timestamp (inclusive).voidsetTsTo(java.lang.String tsTo)Filter files created before this timestamp (inclusive).java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `remote_files:read`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()Filter files appearing in a specific channel, indicated by its ID. -
getCursor
public java.lang.String getCursor()Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail. -
getLimit
public java.lang.Integer getLimit()The maximum number of items to return. -
getTsFrom
public java.lang.String getTsFrom()Filter files created after this timestamp (inclusive). -
getTsTo
public java.lang.String getTsTo()Filter files created before this timestamp (inclusive). -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `remote_files:read` -
setChannel
public void setChannel(java.lang.String channel)Filter files appearing in a specific channel, indicated by its ID. -
setCursor
public void setCursor(java.lang.String cursor)Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail. -
setLimit
public void setLimit(java.lang.Integer limit)The maximum number of items to return. -
setTsFrom
public void setTsFrom(java.lang.String tsFrom)Filter files created after this timestamp (inclusive). -
setTsTo
public void setTsTo(java.lang.String tsTo)Filter files created before this timestamp (inclusive). -
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
-