Package com.dropbox.core.v2.sharing
Class ListFileMembersCountResult
- java.lang.Object
-
- com.dropbox.core.v2.sharing.ListFileMembersCountResult
-
public class ListFileMembersCountResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
memberCount
protected SharedFileMembers
members
-
Constructor Summary
Constructors Constructor Description ListFileMembersCountResult(SharedFileMembers members, long memberCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getMemberCount()
The number of members on this file.SharedFileMembers
getMembers()
A list of members on this file.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
members
@Nonnull protected final SharedFileMembers members
-
memberCount
protected final long memberCount
-
-
Constructor Detail
-
ListFileMembersCountResult
public ListFileMembersCountResult(@Nonnull SharedFileMembers members, long memberCount)
- Parameters:
members
- A list of members on this file. Must not benull
.memberCount
- The number of members on this file. This does not include inherited members.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getMembers
@Nonnull public SharedFileMembers getMembers()
A list of members on this file.- Returns:
- value for this field, never
null
.
-
getMemberCount
public long getMemberCount()
The number of members on this file. This does not include inherited members.- Returns:
- value for this field.
-
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
-
-