All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.svix.kotlin.models.StatisticsPeriod.kt Maven / Gradle / Ivy

/**
* Svix API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.1.1
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.svix.kotlin.models


import com.squareup.moshi.Json

/**
* Period length for a statistics data point
* Values: oneDay,fiveMinutes
*/


enum class StatisticsPeriod(val value: kotlin.String) {

    

    @Json(name = "OneDay")
    oneDay("OneDay"),

    @Json(name = "FiveMinutes")
    fiveMinutes("FiveMinutes");


    /**
    This override toString avoids using the enum var name and uses the actual api value instead.
    In cases the var name and value are different, the client would send incorrect enums to the server.
    **/
    override fun toString(): String {
        return value
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy