agentmail4k
Toggle table of contents
0.1.3
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
agentmail4k
agentmail4k
/
com.agentmail4k.sdk.model
/
Attachment
Attachment
@
Serializable
data
class
Attachment
(
val
attachmentId
:
String
,
val
filename
:
String
?
=
null
,
val
size
:
Int
,
val
contentType
:
String
?
=
null
,
val
contentDisposition
:
ContentDisposition
?
=
null
,
val
contentId
:
String
?
=
null
)
Metadata for an email attachment including filename, size, content type, and disposition.
Members
Constructors
Attachment
Link copied to clipboard
constructor
(
attachmentId
:
String
,
filename
:
String
?
=
null
,
size
:
Int
,
contentType
:
String
?
=
null
,
contentDisposition
:
ContentDisposition
?
=
null
,
contentId
:
String
?
=
null
)
Properties
attachment
Id
Link copied to clipboard
@
SerialName
(
value
=
"attachment_id"
)
val
attachmentId
:
String
content
Disposition
Link copied to clipboard
@
SerialName
(
value
=
"content_disposition"
)
val
contentDisposition
:
ContentDisposition
?
content
Id
Link copied to clipboard
@
SerialName
(
value
=
"content_id"
)
val
contentId
:
String
?
content
Type
Link copied to clipboard
@
SerialName
(
value
=
"content_type"
)
val
contentType
:
String
?
filename
Link copied to clipboard
val
filename
:
String
?
size
Link copied to clipboard
val
size
:
Int