src.main.kotlin.com.gabrielfeo.develocity.api.model.MavenAttributes.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.MavenBuildOptions
import com.gabrielfeo.develocity.api.model.MavenDevelocitySettings
import com.gabrielfeo.develocity.api.model.MavenGradleEnterpriseSettings
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* The attributes of a Maven 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 mavenVersion The Maven version used.
* @param extensionVersion The Develocity Maven extension version used.
* @param requestedGoals The list of requested goals.
* @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 topLevelProjectName The top level 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 fails: 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 MavenAttributes (
/* 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 Maven version used. */
@Json(name = "mavenVersion")
val mavenVersion: kotlin.String,
/* The Develocity Maven extension version used. */
@Json(name = "extensionVersion")
val extensionVersion: kotlin.String,
/* The list of requested goals. */
@Json(name = "requestedGoals")
val requestedGoals: 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: MavenDevelocitySettings,
@Json(name = "buildOptions")
val buildOptions: MavenBuildOptions,
@Json(name = "environment")
val environment: BuildAttributesEnvironment,
@Json(name = "gradleEnterpriseSettings")
@Deprecated(message = "This property is deprecated.")
val gradleEnterpriseSettings: MavenGradleEnterpriseSettings,
/* The top level project name. `null` in case of very early build failure. */
@Json(name = "topLevelProjectName")
val topLevelProjectName: 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 fails: 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