src.main.kotlin.com.gabrielfeo.develocity.api.model.Build.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.gabrielfeo.develocity.api.model.BuildModels
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* A build with common attributes.
*
* @param id The Build Scan ID.
* @param availableAt A unix-epoch-time in milliseconds referring to the instant that Develocity completed receiving and processing the build.
* @param buildToolType The build tool type of the build.
* @param buildToolVersion The build tool version used.
* @param buildAgentVersion The build agent version used.
* @param models
*/
data class Build (
/* The Build Scan ID. */
@Json(name = "id")
val id: kotlin.String,
/* A unix-epoch-time in milliseconds referring to the instant that Develocity completed receiving and processing the build. */
@Json(name = "availableAt")
val availableAt: kotlin.Long,
/* The build tool type of the build. */
@Json(name = "buildToolType")
val buildToolType: kotlin.String,
/* The build tool version used. */
@Json(name = "buildToolVersion")
val buildToolVersion: kotlin.String,
/* The build agent version used. */
@Json(name = "buildAgentVersion")
val buildAgentVersion: kotlin.String,
@Json(name = "models")
val models: BuildModels? = null
) {
}