Package com.dropbox.core.v2.sharing
Class FileMemberActionResult
java.lang.Object
com.dropbox.core.v2.sharing.FileMemberActionResult
Per-member result for
DbxUserSharingRequests.addFileMember(String,List).-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MemberSelectorprotected final FileMemberActionIndividualResultprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionFileMemberActionResult(MemberSelector member, FileMemberActionIndividualResult result) Per-member result forDbxUserSharingRequests.addFileMember(String,List).FileMemberActionResult(MemberSelector member, FileMemberActionIndividualResult result, String sckeySha1, List<String> invitationSignature) Per-member result forDbxUserSharingRequests.addFileMember(String,List). -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe sharing sender-recipient invitation signatures for the input member_id.One of specified input members.The outcome of the action on this member.The SHA-1 encrypted shared content key.inthashCode()newBuilder(MemberSelector member, FileMemberActionIndividualResult result) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
member
-
result
-
sckeySha1
-
invitationSignature
-
-
Constructor Details
-
FileMemberActionResult
public FileMemberActionResult(@Nonnull MemberSelector member, @Nonnull FileMemberActionIndividualResult result, @Nullable String sckeySha1, @Nullable List<String> invitationSignature) Per-member result forDbxUserSharingRequests.addFileMember(String,List).Use
newBuilder(com.dropbox.core.v2.sharing.MemberSelector,com.dropbox.core.v2.sharing.FileMemberActionIndividualResult)to create instances of this class without specifying values for all optional fields.- Parameters:
member- One of specified input members. Must not benull.result- The outcome of the action on this member. Must not benull.sckeySha1- The SHA-1 encrypted shared content key.invitationSignature- The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileMemberActionResult
public FileMemberActionResult(@Nonnull MemberSelector member, @Nonnull FileMemberActionIndividualResult result) Per-member result forDbxUserSharingRequests.addFileMember(String,List).The default values for unset fields will be used.
- Parameters:
member- One of specified input members. Must not benull.result- The outcome of the action on this member. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getMember
One of specified input members.- Returns:
- value for this field, never
null.
-
getResult
The outcome of the action on this member.- Returns:
- value for this field, never
null.
-
getSckeySha1
The SHA-1 encrypted shared content key.- Returns:
- value for this field, or
nullif not present.
-
getInvitationSignature
The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static FileMemberActionResult.Builder newBuilder(MemberSelector member, FileMemberActionIndividualResult result) Returns a new builder for creating an instance of this class.- Parameters:
member- One of specified input members. Must not benull.result- The outcome of the action on this member. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-