Relationship

data class Relationship(val id: String?, val type: String?, val references: DiscoveryReferencesResponse?)

Represents a relationship between entities in the Discovery API.

Holds an ID, type, and references for a related entity.

Constructors

Link copied to clipboard
constructor(id: String?, type: String?, references: DiscoveryReferencesResponse?)

Properties

Link copied to clipboard
val id: String?

The ID of the related entity, if available.

Link copied to clipboard

The references for the related entity, if available.

Link copied to clipboard
val type: String?

The type of the related entity, if available.