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

src.main.kotlin.com.gabrielfeo.develocity.api.model.DevelocityVersion.kt Maven / Gradle / Ivy

The newest version!
/**
 *
 * Please note:
 * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * Do not edit this file manually.
 *
 */

@file:Suppress(
    "ArrayInDataClass",
    "EnumEntryName",
    "RemoveRedundantQualifierName",
    "UnusedImport"
)

package com.gabrielfeo.develocity.api.model


import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

/**
 * 
 *
 * @param string The complete version string of format `YEAR.RELEASE.PATCH`, where the patch component is omitted when `0` (e.g. `2022.3`, `2022.3.1`).
 * @param year The gregorian calendar year of the release.
 * @param release The sequence number of the release for that year, starting with 1.
 * @param patch The patch level of the release, starting with 0.
 */


data class DevelocityVersion (

    /* The complete version string of format `YEAR.RELEASE.PATCH`, where the patch component is omitted when `0` (e.g. `2022.3`, `2022.3.1`). */
    @Json(name = "string")
    val string: kotlin.String,

    /* The gregorian calendar year of the release. */
    @Json(name = "year")
    val year: kotlin.Int,

    /* The sequence number of the release for that year, starting with 1. */
    @Json(name = "release")
    val release: kotlin.Int,

    /* The patch level of the release, starting with 0. */
    @Json(name = "patch")
    val patch: kotlin.Int

) {


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy