Class FileMemberActionResult

    • Field Detail

      • sckeySha1

        @Nullable
        protected final java.lang.String sckeySha1
      • invitationSignature

        @Nullable
        protected final java.util.List<java.lang.String> invitationSignature
    • Constructor Detail

      • FileMemberActionResult

        public FileMemberActionResult​(@Nonnull
                                      MemberSelector member,
                                      @Nonnull
                                      FileMemberActionIndividualResult result)
        Per-member result for DbxUserSharingRequests.addFileMember(String,List).

        The default values for unset fields will be used.

        Parameters:
        member - One of specified input members. Must not be null.
        result - The outcome of the action on this member. Must not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getMember

        @Nonnull
        public MemberSelector getMember()
        One of specified input members.
        Returns:
        value for this field, never null.
      • getSckeySha1

        @Nullable
        public java.lang.String getSckeySha1()
        The SHA-1 encrypted shared content key.
        Returns:
        value for this field, or null if not present.
      • getInvitationSignature

        @Nullable
        public java.util.List<java.lang.String> 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 null if 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 be null.
        result - The outcome of the action on this member. Must not be null.
        Returns:
        builder for this class.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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