CategoryResponse

data class CategoryResponse @JvmOverloads constructor(val count: Int = 0, val tags: List<CategoryResponse.Tag> = emptyList())

Class for response received from CategoryNetworkService class

Constructors

Link copied to clipboard
fun CategoryResponse(count: Int = 0, tags: List<CategoryResponse.Tag> = emptyList())

Types

Link copied to clipboard
data class Tag @JvmOverloads constructor(    val id: String = "",     val name: String = "",     val url: String = "",     val products: Int = 0)

Properties

Link copied to clipboard
val count: Int = 0
Link copied to clipboard
val tags: List<CategoryResponse.Tag>