src.main.kotlin.com.gabrielfeo.develocity.api.model.GradleAttributes.kt Maven / Gradle / Ivy
/**
*
* 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.BuildAttributesEnvironment
import com.gabrielfeo.develocity.api.model.BuildAttributesLink
import com.gabrielfeo.develocity.api.model.BuildAttributesValue
import com.gabrielfeo.develocity.api.model.GradleBuildOptions
import com.gabrielfeo.develocity.api.model.GradleDevelocitySettings
import com.gabrielfeo.develocity.api.model.GradleGradleEnterpriseSettings
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* The attributes of a Gradle build.
*
* @param id The Build Scan ID.
* @param buildStartTime The time when the build starts, as milliseconds since Epoch.
* @param buildDuration The duration of the build, as milliseconds.
* @param gradleVersion The Gradle version used.
* @param pluginVersion The Develocity Gradle plugin version used.
* @param requestedTasks The list of requested tasks.
* @param hasFailed True when the build fails, false otherwise.
* @param tags The list of Build Scan tags.
* @param propertyValues The list of Build Scan values.
* @param links The list of Build Scan links.
* @param develocitySettings
* @param buildOptions
* @param environment
* @param gradleEnterpriseSettings
* @param rootProjectName The root project name. `null` in case of very early build failure.
* @param hasVerificationFailure Set only if the build fails: true when the build has at least one failure classified as \"Verification\", false otherwise. The Verification classification is meant for failures that are expected within a standard application development lifecycle. They typically represent a problem with the developer’s inputs to the build such as the source code.
* @param hasNonVerificationFailure Set only if the build failed: true when the build has at least one failure classified as \"Non-verification\", false otherwise. The Non-verification classification is meant for failures that are typically not expected within a standard application development lifecycle, such as build configuration failures, dependency resolution failures, and infrastructure failures.
*/
data class GradleAttributes (
/* The Build Scan ID. */
@Json(name = "id")
val id: kotlin.String,
/* The time when the build starts, as milliseconds since Epoch. */
@Json(name = "buildStartTime")
val buildStartTime: kotlin.Long,
/* The duration of the build, as milliseconds. */
@Json(name = "buildDuration")
val buildDuration: kotlin.Long,
/* The Gradle version used. */
@Json(name = "gradleVersion")
val gradleVersion: kotlin.String,
/* The Develocity Gradle plugin version used. */
@Json(name = "pluginVersion")
val pluginVersion: kotlin.String,
/* The list of requested tasks. */
@Json(name = "requestedTasks")
val requestedTasks: kotlin.collections.List,
/* True when the build fails, false otherwise. */
@Json(name = "hasFailed")
val hasFailed: kotlin.Boolean,
/* The list of Build Scan tags. */
@Json(name = "tags")
val tags: kotlin.collections.List,
/* The list of Build Scan values. */
@Json(name = "values")
val propertyValues: kotlin.collections.List,
/* The list of Build Scan links. */
@Json(name = "links")
val links: kotlin.collections.List,
@Json(name = "develocitySettings")
val develocitySettings: GradleDevelocitySettings,
@Json(name = "buildOptions")
val buildOptions: GradleBuildOptions,
@Json(name = "environment")
val environment: BuildAttributesEnvironment,
@Json(name = "gradleEnterpriseSettings")
@Deprecated(message = "This property is deprecated.")
val gradleEnterpriseSettings: GradleGradleEnterpriseSettings,
/* The root project name. `null` in case of very early build failure. */
@Json(name = "rootProjectName")
val rootProjectName: kotlin.String? = null,
/* Set only if the build fails: true when the build has at least one failure classified as \"Verification\", false otherwise. The Verification classification is meant for failures that are expected within a standard application development lifecycle. They typically represent a problem with the developer’s inputs to the build such as the source code. */
@Json(name = "hasVerificationFailure")
val hasVerificationFailure: kotlin.Boolean? = null,
/* Set only if the build failed: true when the build has at least one failure classified as \"Non-verification\", false otherwise. The Non-verification classification is meant for failures that are typically not expected within a standard application development lifecycle, such as build configuration failures, dependency resolution failures, and infrastructure failures. */
@Json(name = "hasNonVerificationFailure")
val hasNonVerificationFailure: kotlin.Boolean? = null
) {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy