data class Attachment
Wrapper for the content to uploaded/downloaded from Cumulocity
Attachment(o: JSONObject) Attachment(id: String, name: String, type: String?, content: ByteArray?)
Wrapper for the content to uploaded/downloaded from Cumulocity |
var content: ByteArray?
byte array of the file contents to be sent or received from Cumulocity |
|
val id: String
null of the internal id assigned by Cumulocity |
|
val name: String
name/label of the of the data and shown in Cumulocity -> Administration -> Management -> File Repository |
|
val type: String?
Content type of the data e.g. application/png etc |