SubCategory

data class SubCategory(val url: String?, val name: String?, val id: String?) : Parcelable

Represents a subcategory in the Discovery API.

Holds subcategory details such as URL, name, and ID.

Constructors

Link copied to clipboard
constructor(url: String?, name: String?, id: String?)

Properties

Link copied to clipboard
val id: String?

The subcategory's ID, if available.

Link copied to clipboard
val name: String?

The subcategory's name, if available.

Link copied to clipboard
val url: String?

The subcategory's URL, if available.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)