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

src.main.kotlin.com.gabrielfeo.develocity.api.model.BazelAttributes.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.BuildAttributesLink
import com.gabrielfeo.develocity.api.model.BuildAttributesValue

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

/**
 * The attributes of a Bazel 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 bazelVersion The Bazel version used.
 * @param command The Bazel command used (e.g. build, test, run).
 * @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 invocationId The Bazel-provided build invocation ID. Null when not known.
 * @param targetPatterns The list of requested target patterns.
 * @param exitCode The exit code of the Bazel process.
 * @param user The BUILD_USER workspace value, if set.
 * @param host The BUILD_HOST workspace value, if set.
 */


data class BazelAttributes (

    /* 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 Bazel version used. */
    @Json(name = "bazelVersion")
    val bazelVersion: kotlin.String,

    /* The Bazel command used (e.g. build, test, run). */
    @Json(name = "command")
    val command: kotlin.String,

    /* 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,

    /* The Bazel-provided build invocation ID. Null when not known. */
    @Json(name = "invocationId")
    val invocationId: kotlin.String? = null,

    /* The list of requested target patterns. */
    @Json(name = "targetPatterns")
    val targetPatterns: kotlin.collections.List? = null,

    /* The exit code of the Bazel process. */
    @Json(name = "exitCode")
    val exitCode: kotlin.Int? = null,

    /* The BUILD_USER workspace value, if set. */
    @Json(name = "user")
    val user: kotlin.String? = null,

    /* The BUILD_HOST workspace value, if set. */
    @Json(name = "host")
    val host: kotlin.String? = null

) {


}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy