public class GetMetadataBuilder extends 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(Boolean includeDeleted)
Set value for optional field.
|
GetMetadataBuilder |
withIncludeHasExplicitSharedMembers(Boolean includeHasExplicitSharedMembers)
Set value for optional field.
|
GetMetadataBuilder |
withIncludeMediaInfo(Boolean includeMediaInfo)
Set value for optional field.
|
public GetMetadataBuilder withIncludeMediaInfo(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(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(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 Metadata start() throws GetMetadataErrorException, DbxException