public class GetMetadataBuilder
extends java.lang.Object
DbxUserFilesRequests.getMetadataBuilder(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.
|
GetMetadataBuilder |
withIncludeDeleted(java.lang.Boolean includeDeleted)
Set value for optional field.
|
GetMetadataBuilder |
withIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)
Set value for optional field.
|
GetMetadataBuilder |
withIncludeMediaInfo(java.lang.Boolean includeMediaInfo)
Set value for optional field.
|
GetMetadataBuilder |
withIncludePropertyGroups(TemplateFilterBase includePropertyGroups)
Set value for optional field.
|
public GetMetadataBuilder 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 GetMetadataBuilder 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 GetMetadataBuilder 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 GetMetadataBuilder 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 Metadata start() throws GetMetadataErrorException, DbxException