TimeSpan

data class TimeSpan(val timeUnit: TimeUnit) : QuerySemanticType

A number that is a length of time counted in timeUnit, such as a timeout in seconds, so query consumers format it as a duration. Declared on the model (@QueryDuration), never inferred: an Int does not tell its unit. It does not change how the field is queried.

Constructors

Link copied to clipboard
constructor(timeUnit: TimeUnit)

Properties

Link copied to clipboard