com.slack.api.methods.request.files.remote.FilesRemoteListRequest Maven / Gradle / Ivy
package com.slack.api.methods.request.files.remote;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
/**
* https://api.slack.com/methods/files.remote.list
*/
@Data
@Builder
public class FilesRemoteListRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `remote_files:read`
*/
private String token;
/**
* Filter files appearing in a specific channel, indicated by its ID.
*/
private String channel;
/**
* 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.
*/
private String cursor;
/**
* The maximum number of items to return.
*/
private Integer limit;
/**
* Filter files created after this timestamp (inclusive).
*/
private String tsFrom;
/**
* Filter files created before this timestamp (inclusive).
*/
private String tsTo;
}