Package com.dropbox.core.v2.paper
Class ListUsersOnPaperDocResponse
- java.lang.Object
-
- com.dropbox.core.v2.paper.ListUsersOnPaperDocResponse
-
public class ListUsersOnPaperDocResponse extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Cursor
cursor
protected UserInfo
docOwner
protected boolean
hasMore
protected java.util.List<InviteeInfoWithPermissionLevel>
invitees
protected java.util.List<UserInfoWithPermissionLevel>
users
-
Constructor Summary
Constructors Constructor Description ListUsersOnPaperDocResponse(java.util.List<InviteeInfoWithPermissionLevel> invitees, java.util.List<UserInfoWithPermissionLevel> users, UserInfo docOwner, Cursor cursor, boolean hasMore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Cursor
getCursor()
Pass the cursor intoDbxUserPaperRequests.docsUsersListContinue(String,String)
to paginate through all users.UserInfo
getDocOwner()
The Paper doc owner.boolean
getHasMore()
Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsUsersListContinue(String,String)
returns immediately with some results.java.util.List<InviteeInfoWithPermissionLevel>
getInvitees()
List of email addresses with their respective permission levels that are invited on the Paper doc.java.util.List<UserInfoWithPermissionLevel>
getUsers()
List of users with their respective permission levels that are invited on the Paper folder.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
invitees
@Nonnull protected final java.util.List<InviteeInfoWithPermissionLevel> invitees
-
users
@Nonnull protected final java.util.List<UserInfoWithPermissionLevel> users
-
docOwner
@Nonnull protected final UserInfo docOwner
-
cursor
@Nonnull protected final Cursor cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
ListUsersOnPaperDocResponse
public ListUsersOnPaperDocResponse(@Nonnull java.util.List<InviteeInfoWithPermissionLevel> invitees, @Nonnull java.util.List<UserInfoWithPermissionLevel> users, @Nonnull UserInfo docOwner, @Nonnull Cursor cursor, boolean hasMore)
- Parameters:
invitees
- List of email addresses with their respective permission levels that are invited on the Paper doc. Must not contain anull
item and not benull
.users
- List of users with their respective permission levels that are invited on the Paper folder. Must not contain anull
item and not benull
.docOwner
- The Paper doc owner. This field is populated on every single response. Must not benull
.cursor
- Pass the cursor intoDbxUserPaperRequests.docsUsersListContinue(String,String)
to paginate through all users. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsUsersList(String)
. Must not benull
.hasMore
- Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsUsersListContinue(String,String)
returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsUsersListContinue(String,String)
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getInvitees
@Nonnull public java.util.List<InviteeInfoWithPermissionLevel> getInvitees()
List of email addresses with their respective permission levels that are invited on the Paper doc.- Returns:
- value for this field, never
null
.
-
getUsers
@Nonnull public java.util.List<UserInfoWithPermissionLevel> getUsers()
List of users with their respective permission levels that are invited on the Paper folder.- Returns:
- value for this field, never
null
.
-
getDocOwner
@Nonnull public UserInfo getDocOwner()
The Paper doc owner. This field is populated on every single response.- Returns:
- value for this field, never
null
.
-
getCursor
@Nonnull public Cursor getCursor()
Pass the cursor intoDbxUserPaperRequests.docsUsersListContinue(String,String)
to paginate through all users. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsUsersList(String)
.- Returns:
- value for this field, never
null
.
-
getHasMore
public boolean getHasMore()
Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsUsersListContinue(String,String)
returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsUsersListContinue(String,String)
.- 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
-
-