Package com.dropbox.core.v2.files
Class ExportInfo
java.lang.Object
com.dropbox.core.v2.files.ExportInfo
Export information for a file.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExport information for a file.ExportInfo(String exportAs, List<String> exportOptions) Export information for a file. -
Method Summary
Modifier and TypeMethodDescriptionbooleanFormat to which the file can be exported to.Additional formats to which the file can be exported.inthashCode()static ExportInfo.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
exportAs
-
exportOptions
-
-
Constructor Details
-
ExportInfo
Export information for a file.Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
exportAs- Format to which the file can be exported to.exportOptions- Additional formats to which the file can be exported. These values can be specified as the export_format in /files/export. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
ExportInfo
public ExportInfo()Export information for a file.The default values for unset fields will be used.
-
-
Method Details
-
getExportAs
Format to which the file can be exported to.- Returns:
- value for this field, or
nullif not present.
-
getExportOptions
Additional formats to which the file can be exported. These values can be specified as the export_format in /files/export.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-