Class DocsUsersListBuilder

    • Method Detail

      • withLimit

        public DocsUsersListBuilder withLimit​(java.lang.Integer limit)
        Set value for optional field.

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

        Parameters:
        limit - Size limit per batch. The maximum number of users that can be retrieved per batch is 1000. Higher value results in invalid arguments error. Must be greater than or equal to 1 and be less than or equal to 1000. Defaults to 1000 when set to null.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withFilterBy

        public DocsUsersListBuilder withFilterBy​(UserOnPaperDocFilter filterBy)
        Set value for optional field.

        If left unset or set to null, defaults to UserOnPaperDocFilter.SHARED.

        Parameters:
        filterBy - Specify this attribute if you want to obtain users that have already accessed the Paper doc. Must not be null. Defaults to UserOnPaperDocFilter.SHARED when set to null.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.