Class WorkspaceUpdate


  • public final class WorkspaceUpdate
    extends Object
    The WorkspaceUpdate model.
    • Constructor Detail

      • WorkspaceUpdate

        public WorkspaceUpdate()
    • Method Detail

      • getName

        public String getName()
        Get the name property: The name property.
        Returns:
        the name value.
      • setName

        public WorkspaceUpdate setName​(String name)
        Set the name property: The name property.
        Parameters:
        name - the name value to set.
        Returns:
        the WorkspaceUpdate object itself.
      • getVisibility

        public WorkspaceVisibility getVisibility()
        Get the visibility property: Visibility "organization" means everyone in the organization can access the workspace. Visibility "private" means only people explicitly added can access the workspace.
        Returns:
        the visibility value.
      • setVisibility

        public WorkspaceUpdate setVisibility​(WorkspaceVisibility visibility)
        Set the visibility property: Visibility "organization" means everyone in the organization can access the workspace. Visibility "private" means only people explicitly added can access the workspace.
        Parameters:
        visibility - the visibility value to set.
        Returns:
        the WorkspaceUpdate object itself.
      • isRejectInvalidDocuments

        public Boolean isRejectInvalidDocuments()
        Get the rejectInvalidDocuments property: If true, the uploaded document will be rejected if it's of the wrong document type, or if its document type cannot be determined. No credits will be consumed.
        Returns:
        the rejectInvalidDocuments value.
      • setRejectInvalidDocuments

        public WorkspaceUpdate setRejectInvalidDocuments​(Boolean rejectInvalidDocuments)
        Set the rejectInvalidDocuments property: If true, the uploaded document will be rejected if it's of the wrong document type, or if its document type cannot be determined. No credits will be consumed.
        Parameters:
        rejectInvalidDocuments - the rejectInvalidDocuments value to set.
        Returns:
        the WorkspaceUpdate object itself.
      • isRejectDuplicates

        public Boolean isRejectDuplicates()
        Get the rejectDuplicates property: If "true", parsing will fail when the uploaded document is duplicate of an existing document, no credits will be consumed. If "false", will parse the document normally whether its a duplicate or not. If not provided, will fallback to the workspace settings.
        Returns:
        the rejectDuplicates value.
      • setRejectDuplicates

        public WorkspaceUpdate setRejectDuplicates​(Boolean rejectDuplicates)
        Set the rejectDuplicates property: If "true", parsing will fail when the uploaded document is duplicate of an existing document, no credits will be consumed. If "false", will parse the document normally whether its a duplicate or not. If not provided, will fallback to the workspace settings.
        Parameters:
        rejectDuplicates - the rejectDuplicates value to set.
        Returns:
        the WorkspaceUpdate object itself.
      • getWhitelistIngestAddresses

        public List<String> getWhitelistIngestAddresses()
        Get the whitelistIngestAddresses property: If specified, only emails from these addresses will be ingested for parsing. Wild cards are allowed, e.g. "*@eyefind.info".
        Returns:
        the whitelistIngestAddresses value.
      • setWhitelistIngestAddresses

        public WorkspaceUpdate setWhitelistIngestAddresses​(List<String> whitelistIngestAddresses)
        Set the whitelistIngestAddresses property: If specified, only emails from these addresses will be ingested for parsing. Wild cards are allowed, e.g. "*@eyefind.info".
        Parameters:
        whitelistIngestAddresses - the whitelistIngestAddresses value to set.
        Returns:
        the WorkspaceUpdate object itself.