public class AlphaGetMetadataBuilder
extends java.lang.Object
DbxUserFilesRequests.alphaGetMetadataBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
Metadata |
start()
Issues the request.
|
AlphaGetMetadataBuilder |
withIncludeDeleted(java.lang.Boolean includeDeleted)
Set value for optional field.
|
AlphaGetMetadataBuilder |
withIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)
Set value for optional field.
|
AlphaGetMetadataBuilder |
withIncludeMediaInfo(java.lang.Boolean includeMediaInfo)
Set value for optional field.
|
AlphaGetMetadataBuilder |
withIncludePropertyGroups(TemplateFilterBase includePropertyGroups)
Set value for optional field.
|
AlphaGetMetadataBuilder |
withIncludePropertyTemplates(java.util.List<java.lang.String> includePropertyTemplates)
Set value for optional field.
|
public AlphaGetMetadataBuilder withIncludeMediaInfo(java.lang.Boolean includeMediaInfo)
If left unset or set to null
, defaults to false
.
includeMediaInfo
- If true, FileMetadata.getMediaInfo()
is
set for photo and video. Defaults to false
when set to null
.public AlphaGetMetadataBuilder withIncludeDeleted(java.lang.Boolean includeDeleted)
If left unset or set to null
, defaults to false
.
includeDeleted
- If true, DeletedMetadata
will be returned
for deleted file or folder, otherwise LookupError.NOT_FOUND
will be returned. Defaults to false
when set to null
.public AlphaGetMetadataBuilder withIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)
If left unset or set to null
, defaults to false
.
includeHasExplicitSharedMembers
- If true, the results will include
a flag for each file indicating whether or not that file has any
explicit members. Defaults to false
when set to null
.public AlphaGetMetadataBuilder withIncludePropertyGroups(TemplateFilterBase includePropertyGroups)
includePropertyGroups
- If set to a valid list of template IDs,
FileMetadata.getPropertyGroups()
is set if there exists
property data associated with the file and each of the listed
templates.public AlphaGetMetadataBuilder withIncludePropertyTemplates(java.util.List<java.lang.String> includePropertyTemplates)
includePropertyTemplates
- If set to a valid list of template IDs,
FileMetadata.getPropertyGroups()
is set for files with custom
properties. Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public Metadata start() throws AlphaGetMetadataErrorException, DbxException