Classification

data class Classification(val family: Boolean? = null, val links: Links? = null, val segment: Segment? = null)

Represents a classification in the Discovery API.

Holds classification details, including family status, links, and segment.

Constructors

Link copied to clipboard
constructor(family: Boolean? = null, links: Links? = null, segment: Segment? = null)

Properties

Link copied to clipboard
val family: Boolean? = null

Indicates if the classification is family-friendly, if available.

Link copied to clipboard
@SerializedName(value = "_links")
val links: Links? = null

The links associated with the classification, if available.

Link copied to clipboard
val segment: Segment? = null

The segment of the classification, if available.