Package com.dropbox.core.v2.sharing
Class GetFileMetadataBatchResult
java.lang.Object
com.dropbox.core.v2.sharing.GetFileMetadataBatchResult
Per file results of
DbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final GetFileMetadataIndividualResult -
Constructor Summary
ConstructorsConstructorDescriptionGetFileMetadataBatchResult(String file, GetFileMetadataIndividualResult result) Per file results ofDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List). -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()This is the input file identifier corresponding to one of thefilesargument toDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).The result for this particular file.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
file
-
result
-
-
Constructor Details
-
GetFileMetadataBatchResult
public GetFileMetadataBatchResult(@Nonnull String file, @Nonnull GetFileMetadataIndividualResult result) Per file results ofDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).- Parameters:
file- This is the input file identifier corresponding to one of thefilesargument toDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List). Must have length of at least 1, match pattern "((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?", and not benull.result- The result for this particular file. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getFile
This is the input file identifier corresponding to one of thefilesargument toDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).- Returns:
- value for this field, never
null.
-
getResult
The result for this particular file.- Returns:
- value for this field, never
null.
-
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
-