Package software.xdev.brevo.model
Class FileData
java.lang.Object
software.xdev.brevo.model.FileData
File data that is uploaded
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanAccount id of user which created the fileCompany id linked to a fileContact id of contact on which file is uploadedFile created date/timeDeal id linked to a filegetName()Name of uploaded filegetSize()Size of file in bytesinthashCode()voidsetAuthorId(String authorId) voidsetCompanyId(String companyId) voidsetContactId(Long contactId) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_AUTHOR_ID
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_DEAL_ID
- See Also:
-
JSON_PROPERTY_COMPANY_ID
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
-
Constructor Details
-
FileData
public FileData()
-
-
Method Details
-
name
-
getName
Name of uploaded file- Returns:
- name
-
setName
-
authorId
-
getAuthorId
Account id of user which created the file- Returns:
- authorId
-
setAuthorId
-
contactId
-
getContactId
Contact id of contact on which file is uploaded- Returns:
- contactId
-
setContactId
-
dealId
-
getDealId
Deal id linked to a file- Returns:
- dealId
-
setDealId
-
companyId
-
getCompanyId
Company id linked to a file- Returns:
- companyId
-
setCompanyId
-
size
-
getSize
Size of file in bytes- Returns:
- size
-
setSize
-
createdAt
-
getCreatedAt
File created date/time- Returns:
- createdAt
-
setCreatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-