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

src.main.kotlin.com.gabrielfeo.develocity.api.model.PythonAttributes.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 python 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 pythonVersion The python version used in the build.
 * @param pythonAgentVersion The version of the Develocity python agent.
 * @param command The command and arguments requested in the build.
 * @param links The list of Build Scan links.
 * @param tags The list of Build Scan tags.
 * @param propertyValues The list of Build Scan values.
 * @param exitCode The exit code of the python process.
 * @param exception The exception message thrown by the python process, if any.
 * @param user The username of the user that ran the build.
 * @param host The hostname of the user that ran the build, if set.
 */


data class PythonAttributes (

    /* 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 python version used in the build. */
    @Json(name = "pythonVersion")
    val pythonVersion: kotlin.String,

    /* The version of the Develocity python agent. */
    @Json(name = "pythonAgentVersion")
    val pythonAgentVersion: kotlin.String,

    /* The command and arguments requested in the build. */
    @Json(name = "command")
    val command: kotlin.collections.List,

    /* The list of Build Scan links. */
    @Json(name = "links")
    val links: kotlin.collections.List,

    /* 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 exit code of the python process. */
    @Json(name = "exitCode")
    val exitCode: kotlin.Int? = null,

    /* The exception message thrown by the python process, if any. */
    @Json(name = "exception")
    val exception: kotlin.String? = null,

    /* The username of the user that ran the build. */
    @Json(name = "user")
    val user: kotlin.String? = null,

    /* The hostname of the user that ran the build, if set. */
    @Json(name = "host")
    val host: kotlin.String? = null

) {


}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy