Package com.dropbox.core.v2.sharing
Class ListFileMembersBatchResult
- java.lang.Object
-
- com.dropbox.core.v2.sharing.ListFileMembersBatchResult
-
public class ListFileMembersBatchResult extends java.lang.Object
Per-file result forDbxUserSharingRequests.listFileMembersBatch(java.util.List,long)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
file
protected ListFileMembersIndividualResult
result
-
Constructor Summary
Constructors Constructor Description ListFileMembersBatchResult(java.lang.String file, ListFileMembersIndividualResult result)
Per-file result forDbxUserSharingRequests.listFileMembersBatch(java.util.List,long)
.
-
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, whether an ID or a path.ListFileMembersIndividualResult
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
@Nonnull protected final java.lang.String file
-
result
@Nonnull protected final ListFileMembersIndividualResult result
-
-
Constructor Detail
-
ListFileMembersBatchResult
public ListFileMembersBatchResult(@Nonnull java.lang.String file, @Nonnull ListFileMembersIndividualResult result)
Per-file result forDbxUserSharingRequests.listFileMembersBatch(java.util.List,long)
.- Parameters:
file
- This is the input file identifier, whether an ID or a path. 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
@Nonnull public java.lang.String getFile()
This is the input file identifier, whether an ID or a path.- Returns:
- value for this field, never
null
.
-
getResult
@Nonnull public ListFileMembersIndividualResult 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
-
-