ConcentrationSurrogate

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

A GraphQL surrogate for a Concentration object. Note: the content of the surrogate is a String (Json String) representation of the actual content inside the origin.

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>