Package com.dropbox.core.v2.files
Class GetMetadataBuilder
- java.lang.Object
-
- com.dropbox.core.v2.files.GetMetadataBuilder
-
public class GetMetadataBuilder extends java.lang.ObjectThe request builder returned byDbxUserFilesRequests.getMetadataBuilder(java.lang.String).Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metadatastart()Issues the request.GetMetadataBuilderwithIncludeDeleted(java.lang.Boolean includeDeleted)Set value for optional field.GetMetadataBuilderwithIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)Set value for optional field.GetMetadataBuilderwithIncludeMediaInfo(java.lang.Boolean includeMediaInfo)Set value for optional field.GetMetadataBuilderwithIncludePropertyGroups(TemplateFilterBase includePropertyGroups)Set value for optional field.
-
-
-
Method Detail
-
withIncludeMediaInfo
public GetMetadataBuilder withIncludeMediaInfo(java.lang.Boolean includeMediaInfo)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeMediaInfo- If true,FileMetadata.getMediaInfo()is set for photo and video. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeDeleted
public GetMetadataBuilder withIncludeDeleted(java.lang.Boolean includeDeleted)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeDeleted- If true,DeletedMetadatawill be returned for deleted file or folder, otherwiseLookupError.NOT_FOUNDwill be returned. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeHasExplicitSharedMembers
public GetMetadataBuilder withIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeHasExplicitSharedMembers- If true, the results will include a flag for each file indicating whether or not that file has any explicit members. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludePropertyGroups
public GetMetadataBuilder withIncludePropertyGroups(TemplateFilterBase includePropertyGroups)
Set value for optional field.- Parameters:
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.- Returns:
- this builder
-
start
public Metadata start() throws GetMetadataErrorException, DbxException
Issues the request.
-
-