timeSpan

timeSpan
timeSpan

A literal defining period of time. This period is represented some integral number of a specified timeUnit.e.g. 6 days.

JSON Example
{
    "unit": "string",
    "amount": 0
}
string
unit
Optional

The unit of measure for the time span. e.g: days.

Possible values are : MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS,
integer As int64 As int64
amount
Optional

The amount for the time span.