ObjectCreationExample

data class ObjectCreationExample<T>(val description: String, val value: T)

An example of creating an object of the given type. Used to provide strongly typed examples to the ObjectCreator.

Parameters

T

the type of object to create

description

description of the example--e.g. "good example, correct amount of detail"

value

the example object

Constructors

Link copied to clipboard
constructor(description: String, value: T)

Properties

Link copied to clipboard
Link copied to clipboard
val value: T