src.main.kotlin.com.gabrielfeo.develocity.api.model.DevelocityVersion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of develocity-api-kotlin Show documentation
Show all versions of develocity-api-kotlin Show documentation
A library to use the Develocity API in Kotlin
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
) {
}