toggle menu
kindlysdk
main
switch theme
search in API
kindlysdk
/
no.kindly.chatsdk.chat.sdk.data.entity.attachment.response
/
AttachmentResponse
Attachment
Response
data
class
AttachmentResponse
(
val
name
:
String
,
val
type
:
String
,
val
status
:
String
,
val
sender
:
String
,
val
storagePath
:
String
,
val
created
:
String
,
val
sizeKb
:
String
,
val
url
:
String
?
,
val
id
:
String
,
val
uploadUrl
:
String
)
Members
Members & Extensions
Constructors
Attachment
Response
Link copied to clipboard
constructor
(
name
:
String
,
type
:
String
,
status
:
String
,
sender
:
String
,
storagePath
:
String
,
created
:
String
,
sizeKb
:
String
,
url
:
String
?
,
id
:
String
,
uploadUrl
:
String
)
Properties
created
Link copied to clipboard
val
created
:
String
id
Link copied to clipboard
val
id
:
String
name
Link copied to clipboard
val
name
:
String
sender
Link copied to clipboard
val
sender
:
String
size
Kb
Link copied to clipboard
@
SerializedName
(
value
=
"size_kb"
)
val
sizeKb
:
String
status
Link copied to clipboard
val
status
:
String
storage
Path
Link copied to clipboard
@
SerializedName
(
value
=
"storage_path"
)
val
storagePath
:
String
type
Link copied to clipboard
val
type
:
String
upload
Url
Link copied to clipboard
@
SerializedName
(
value
=
"upload_url"
)
val
uploadUrl
:
String
url
Link copied to clipboard
val
url
:
String
?
Functions
to
File
Attachment
Link copied to clipboard
fun
AttachmentResponse
.
toFileAttachment
(
)
:
FileAttachment