cleanup entity classes and ViewThreadFragment (#1302)
* cleanup entity classes and ViewThreadFragment * fix tests
This commit is contained in:
parent
d863bc50e4
commit
2b2212e951
11 changed files with 52 additions and 132 deletions
|
|
@ -26,13 +26,12 @@ import kotlinx.android.parcel.Parcelize
|
|||
|
||||
@Parcelize
|
||||
data class Attachment(
|
||||
var id: String,
|
||||
var url: String,
|
||||
val id: String,
|
||||
val url: String,
|
||||
@SerializedName("preview_url") val previewUrl: String,
|
||||
@SerializedName("text_url") val textUrl: String?,
|
||||
val meta: MetaData?,
|
||||
var type: Type,
|
||||
var description: String?
|
||||
val type: Type,
|
||||
val description: String?
|
||||
) : Parcelable {
|
||||
|
||||
@JsonAdapter(MediaTypeDeserializer::class)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue