Package com.dropbox.core.v2.sharing
Class GetFileMetadataBatchResult
- java.lang.Object
-
- com.dropbox.core.v2.sharing.GetFileMetadataBatchResult
-
public class GetFileMetadataBatchResult extends java.lang.ObjectPer file results ofDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringfileprotected GetFileMetadataIndividualResultresult
-
Constructor Summary
Constructors Constructor Description GetFileMetadataBatchResult(java.lang.String file, GetFileMetadataIndividualResult result)Per file results ofDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFile()This is the input file identifier corresponding to one of thefilesargument toDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List).GetFileMetadataIndividualResultgetResult()The result for this particular file.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
file
protected final java.lang.String file
-
result
protected final GetFileMetadataIndividualResult result
-
-
Constructor Detail
-
GetFileMetadataBatchResult
public GetFileMetadataBatchResult(java.lang.String file, 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:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getFile
public java.lang.String 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
public GetFileMetadataIndividualResult getResult()
The result for this particular file.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toStringMultiline
public java.lang.String 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
-
-