Package com.dropbox.core.v2.files
Class AlphaGetMetadataBuilder
- java.lang.Object
-
- com.dropbox.core.v2.files.AlphaGetMetadataBuilder
-
public class AlphaGetMetadataBuilder extends java.lang.Object
The request builder returned byDbxUserFilesRequests.alphaGetMetadataBuilder(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 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.
-
-
-
Method Detail
-
withIncludeMediaInfo
public AlphaGetMetadataBuilder 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 tofalse
when set tonull
.- Returns:
- this builder
-
withIncludeDeleted
public AlphaGetMetadataBuilder withIncludeDeleted(java.lang.Boolean includeDeleted)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
includeDeleted
- If true,DeletedMetadata
will be returned for deleted file or folder, otherwiseLookupError.NOT_FOUND
will be returned. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
withIncludeHasExplicitSharedMembers
public AlphaGetMetadataBuilder 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 tofalse
when set tonull
.- Returns:
- this builder
-
withIncludePropertyGroups
public AlphaGetMetadataBuilder 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
-
withIncludePropertyTemplates
public AlphaGetMetadataBuilder withIncludePropertyTemplates(java.util.List<java.lang.String> includePropertyTemplates)
Set value for optional field.- Parameters:
includePropertyTemplates
- If set to a valid list of template IDs,FileMetadata.getPropertyGroups()
is set for files with custom properties. Must not contain anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
start
public Metadata start() throws AlphaGetMetadataErrorException, DbxException
Issues the request.
-
-