public class ListFoldersArgs extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ListFoldersArgs.Builder
Builder for
ListFoldersArgs . |
Modifier and Type | Field and Description |
---|---|
protected List<FolderAction> |
actions |
protected long |
limit |
Constructor and Description |
---|
ListFoldersArgs()
The default values for unset fields will be used.
|
ListFoldersArgs(long limit,
List<FolderAction> actions)
Use
newBuilder to create instances of this class without
specifying values for all optional fields. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<FolderAction> |
getActions()
This is a list indicating whether each returned folder data entry will
include a boolean field
FolderPermission.getAllow() that describes
whether the current user can perform the `FolderAction` on the folder. |
long |
getLimit()
The maximum number of results to return per request.
|
int |
hashCode() |
static ListFoldersArgs.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final long limit
protected final List<FolderAction> actions
public ListFoldersArgs(long limit, List<FolderAction> actions)
newBuilder
to create instances of this class without
specifying values for all optional fields.limit
- The maximum number of results to return per request. Must
be greater than or equal to 1 and be less than or equal to 1000.actions
- This is a list indicating whether each returned folder
data entry will include a boolean field FolderPermission.getAllow()
that describes whether the current user
can perform the `FolderAction` on the folder. Must not contain a
null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFoldersArgs()
public long getLimit()
null
if not present. Defaults to
1000L.public List<FolderAction> getActions()
FolderPermission.getAllow()
that describes
whether the current user can perform the `FolderAction` on the folder.null
if not present.public static ListFoldersArgs.Builder newBuilder()
public String toStringMultiline()
The returned String may contain newlines.