Class MembershipInfo.Builder

    • Field Detail

      • initials

        protected java.lang.String initials
      • isInherited

        protected boolean isInherited
    • Constructor Detail

      • Builder

        protected Builder​(AccessLevel accessType)
    • Method Detail

      • withPermissions

        public MembershipInfo.Builder withPermissions​(java.util.List<MemberPermission> permissions)
        Set value for optional field.
        Parameters:
        permissions - The permissions that requesting user has on this member. The set of permissions corresponds to the MemberActions in the request. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withInitials

        public MembershipInfo.Builder withInitials​(java.lang.String initials)
        Set value for optional field.
        Parameters:
        initials - Never set.
        Returns:
        this builder
      • withIsInherited

        public MembershipInfo.Builder withIsInherited​(java.lang.Boolean isInherited)
        Set value for optional field.

        If left unset or set to null, defaults to false.

        Parameters:
        isInherited - True if the member has access from a parent folder. Defaults to false when set to null.
        Returns:
        this builder