ConcentrationSurrogate

data class ConcentrationSurrogate<T>(val origin: Concentration<T>, val content: String) : GraphQLSurrogate<Concentration<T>> (source)

A GraphQL surrogate for a Concentration object. The content of the surrogate is a String (JSON String) representation of the actual content inside the origin.

Type Parameters

T

the type of the original concentration

Constructors

Link copied to clipboard
constructor(origin: Concentration<T>, content: String)

Properties

Link copied to clipboard

The content of the concentration of type T, represented as a Json String.

Link copied to clipboard
open override val origin: Concentration<T>

the original Concentration instance this surrogate represents