public class AlphaGetMetadataArg extends GetMetadataArg
Modifier and Type | Class and Description |
---|---|
static class |
AlphaGetMetadataArg.Builder
Builder for
AlphaGetMetadataArg . |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
includePropertyTemplates |
includeDeleted, includeHasExplicitSharedMembers, includeMediaInfo, path
Constructor and Description |
---|
AlphaGetMetadataArg(String path)
The default values for unset fields will be used.
|
AlphaGetMetadataArg(String path,
boolean includeMediaInfo,
boolean includeDeleted,
boolean includeHasExplicitSharedMembers,
List<String> includePropertyTemplates)
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<String> |
getIncludePropertyTemplates()
If true,
FileMetadata.getPropertyGroups() is set for files with
custom properties. |
int |
hashCode() |
static AlphaGetMetadataArg.Builder |
newBuilder(String path)
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.
|
getIncludeDeleted, getIncludeHasExplicitSharedMembers, getIncludeMediaInfo, getPath
public AlphaGetMetadataArg(String path, boolean includeMediaInfo, boolean includeDeleted, boolean includeHasExplicitSharedMembers, List<String> includePropertyTemplates)
newBuilder
to create instances of this class without
specifying values for all optional fields.path
- The path of a file or folder on Dropbox. Must match pattern
"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
"
and not be null
.includeMediaInfo
- If true, FileMetadata.getMediaInfo()
is
set for photo and video.includeDeleted
- If true, DeletedMetadata
will be returned
for deleted file or folder, otherwise LookupError.NOT_FOUND
will be returned.includeHasExplicitSharedMembers
- If true, the results will include
a flag for each file indicating whether or not that file has any
explicit members.includePropertyTemplates
- If true, FileMetadata.getPropertyGroups()
is set for files with custom
properties. Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public AlphaGetMetadataArg(String path)
path
- The path of a file or folder on Dropbox. Must match pattern
"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
"
and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public List<String> getIncludePropertyTemplates()
FileMetadata.getPropertyGroups()
is set for files with
custom properties.null
if not present.public static AlphaGetMetadataArg.Builder newBuilder(String path)
path
- The path of a file or folder on Dropbox. Must match pattern
"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
"
and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class GetMetadataArg
public boolean equals(Object obj)
equals
in class GetMetadataArg
public String toString()
toString
in class GetMetadataArg
public String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class GetMetadataArg