Class Folder


  • public class Folder
    extends Object
    Folder
    • Constructor Detail

      • Folder

        public Folder()
    • Method Detail

      • name

        public Folder name​(String name)
        The name of the folder
        Parameters:
        name - String
        Returns:
        Folder
      • getName

        public String getName()
        The name of the folder
        Returns:
        name
      • setName

        public void setName​(String name)
        The name of the folder
        Parameters:
        name - String
      • fileCount

        public Folder fileCount​(Integer fileCount)
        The number of files in the folder
        Parameters:
        fileCount - Integer
        Returns:
        Folder
      • getFileCount

        public Integer getFileCount()
        The number of files in the folder
        Returns:
        fileCount
      • setFileCount

        public void setFileCount​(Integer fileCount)
        The number of files in the folder
        Parameters:
        fileCount - Integer
      • email

        public Folder email​(String email)
        The email address used to email files to the inbox. Only the inbox will have this element.
        Parameters:
        email - String
        Returns:
        Folder
      • getEmail

        public String getEmail()
        The email address used to email files to the inbox. Only the inbox will have this element.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        The email address used to email files to the inbox. Only the inbox will have this element.
        Parameters:
        email - String
      • isInbox

        public Folder isInbox​(Boolean isInbox)
        to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
        Parameters:
        isInbox - Boolean
        Returns:
        Folder
      • getIsInbox

        public Boolean getIsInbox()
        to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
        Returns:
        isInbox
      • setIsInbox

        public void setIsInbox​(Boolean isInbox)
        to indicate if the folder is the Inbox. The Inbox cannot be renamed or deleted.
        Parameters:
        isInbox - Boolean
      • id

        public Folder id​(UUID id)
        Xero unique identifier for a folder Files
        Parameters:
        id - UUID
        Returns:
        Folder
      • getId

        public UUID getId()
        Xero unique identifier for a folder Files
        Returns:
        id
      • setId

        public void setId​(UUID id)
        Xero unique identifier for a folder Files
        Parameters:
        id - UUID
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object