PeriodUnitEnum

enum PeriodUnitEnum : Enum<PeriodUnitEnum>

Available period units. Can be day, week, month or year.

Values: DAY,WEEK,MONTH,YEAR

Entries

YEAR
Link copied to clipboard
@SerializedName(value = year)
YEAR("year")
MONTH
Link copied to clipboard
@SerializedName(value = month)
MONTH("month")
WEEK
Link copied to clipboard
@SerializedName(value = week)
WEEK("week")
DAY
Link copied to clipboard
@SerializedName(value = day)
DAY("day")

Types

Companion
Link copied to clipboard
object Companion

Functions

toString
Link copied to clipboard
open override fun toString(): String
Override toString() to avoid using the enum variable name as the value, and instead use the actual value defined in the API spec file.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
val value: String