Package com.xero.models.file
Class Folder
- java.lang.Object
-
- com.xero.models.file.Folder
-
public class Folder extends Object
Folder
-
-
Constructor Summary
Constructors Constructor Description Folder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Folderemail(String email)The email address used to email files to the inbox.booleanequals(Object o)FolderfileCount(Integer fileCount)The number of files in the folderStringgetEmail()The email address used to email files to the inbox.IntegergetFileCount()The number of files in the folderUUIDgetId()Xero unique identifier for a folder FilesBooleangetIsInbox()to indicate if the folder is the Inbox.StringgetName()The name of the folderinthashCode()Folderid(UUID id)Xero unique identifier for a folder FilesFolderisInbox(Boolean isInbox)to indicate if the folder is the Inbox.Foldername(String name)The name of the foldervoidsetEmail(String email)The email address used to email files to the inbox.voidsetFileCount(Integer fileCount)The number of files in the foldervoidsetId(UUID id)Xero unique identifier for a folder FilesvoidsetIsInbox(Boolean isInbox)to indicate if the folder is the Inbox.voidsetName(String name)The name of the folderStringtoString()
-
-
-
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:
-
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
-
-