src.main.kotlin.com.gabrielfeo.develocity.api.model.GradleConfigurationCacheResult.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.GradleConfigurationCacheLoadResult
import com.gabrielfeo.develocity.api.model.GradleConfigurationCacheStoreResult
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* The configuration cache result of a Gradle build.
*
* @param outcome The outcome of the configuration cache operation: * `HIT` - There was a configuration cache hit. * `MISS` - There was a configuration cache miss. * `FAILED` - There was a configuration cache related failure.
* @param dependencyResolutionDuration The duration of dependency resolution during configuration caching.
* @param entrySize The size of the configuration entry in bytes. `null` in case of certain failures or if the entry size was not captured.
* @param checkFingerprintDuration The duration of checking the configuration cache fingerprint. `null` in case no configuration cache fingerprint check was captured.
* @param store
* @param load
* @param missReasons The reasons why the configuration cache cannot be reused. `null` if there was no configuration cache hit.
*/
data class GradleConfigurationCacheResult (
/* The outcome of the configuration cache operation: * `HIT` - There was a configuration cache hit. * `MISS` - There was a configuration cache miss. * `FAILED` - There was a configuration cache related failure. */
@Json(name = "outcome")
val outcome: GradleConfigurationCacheResult.Outcome,
/* The duration of dependency resolution during configuration caching. */
@Json(name = "dependencyResolutionDuration")
val dependencyResolutionDuration: kotlin.Long,
/* The size of the configuration entry in bytes. `null` in case of certain failures or if the entry size was not captured. */
@Json(name = "entrySize")
val entrySize: kotlin.Long? = null,
/* The duration of checking the configuration cache fingerprint. `null` in case no configuration cache fingerprint check was captured. */
@Json(name = "checkFingerprintDuration")
val checkFingerprintDuration: kotlin.Long? = null,
@Json(name = "store")
val store: GradleConfigurationCacheStoreResult? = null,
@Json(name = "load")
val load: GradleConfigurationCacheLoadResult? = null,
/* The reasons why the configuration cache cannot be reused. `null` if there was no configuration cache hit. */
@Json(name = "missReasons")
val missReasons: kotlin.collections.List? = null
) {
/**
* The outcome of the configuration cache operation: * `HIT` - There was a configuration cache hit. * `MISS` - There was a configuration cache miss. * `FAILED` - There was a configuration cache related failure.
*
* Values: hit,miss,failed
*/
@JsonClass(generateAdapter = false)
enum class Outcome(val value: kotlin.String) {
@Json(name = "HIT") hit("HIT"),
@Json(name = "MISS") miss("MISS"),
@Json(name = "FAILED") failed("FAILED");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy