Package software.xdev.brevo.model
Class ConversationsMessageFile
java.lang.Object
software.xdev.brevo.model.ConversationsMessageFile
ConversationsMessageFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanName of the fileGet imageInfoWhether the file is an imagegetSize()Size in bytes minimum: 0getUrl()URL of the fileinthashCode()imageInfo(ConversationsMessageFileImageInfo imageInfo) voidsetFilename(String filename) voidsetImageInfo(ConversationsMessageFileImageInfo imageInfo) voidsetIsImage(Boolean isImage) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_FILENAME
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_IS_IMAGE
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_IMAGE_INFO
- See Also:
-
-
Constructor Details
-
ConversationsMessageFile
public ConversationsMessageFile()
-
-
Method Details
-
filename
-
getFilename
Name of the file- Returns:
- filename
-
setFilename
-
size
-
getSize
Size in bytes minimum: 0- Returns:
- size
-
setSize
-
isImage
-
getIsImage
Whether the file is an image- Returns:
- isImage
-
setIsImage
-
url
-
getUrl
URL of the file- Returns:
- url
-
setUrl
-
imageInfo
-
getImageInfo
Get imageInfo- Returns:
- imageInfo
-
setImageInfo
-
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
-