BaseResponse

open class BaseResponse(val success: Boolean = false, val message: String? = null, val data: Any? = null)

Base response model for API responses

Constructors

Link copied to clipboard
constructor(success: Boolean = false, message: String? = null, data: Any? = null)

Properties

Link copied to clipboard
@SerializedName(value = "data")
val data: Any? = null
Link copied to clipboard
@SerializedName(value = "message")
val message: String? = null
Link copied to clipboard
@SerializedName(value = "success")
val success: Boolean = false