ResponseModelIdentity

data class ResponseModelIdentity(val responsePath: ResponsePath, val runtimePath: RuntimePath)(source)

The identity of a generated response model class.

Used as the key for collecting models, deduplicating models, assigning Kotlin class names, and resolving property types.

Parameters

responsePath

The response path from the query root to this model's location in the JSON response.

runtimePath

The runtime type constraints relevant to this model. Contains only assignments whose paths are prefixes of responsePath.

Constructors

Link copied to clipboard
constructor(responsePath: ResponsePath, runtimePath: RuntimePath)

Properties

Link copied to clipboard
Link copied to clipboard