Package com.dropbox.core.v2.sharing
Class GetFileMetadataBatchResult
- java.lang.Object
-
- com.dropbox.core.v2.sharing.GetFileMetadataBatchResult
-
public class GetFileMetadataBatchResult extends java.lang.Object
Per file results ofDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
file
protected GetFileMetadataIndividualResult
result
-
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 boolean
equals(java.lang.Object obj)
java.lang.String
getFile()
This is the input file identifier corresponding to one of thefiles
argument toDbxUserSharingRequests.getFileMetadataBatch(java.util.List,java.util.List)
.GetFileMetadataIndividualResult
getResult()
The result for this particular file.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
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 thefiles
argument 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 thefiles
argument 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-