Package-level declarations

Types

Link copied to clipboard
data class ApiProblem(@Json(name = "status") val status: Int, @Json(name = "type") val type: String, @Json(name = "title") val title: String, @Json(name = "detail") val detail: String? = null)

Response detailing why a request was rejected. Adheres to the RFC-7807 standard (colloquially known as \"Problem JSON\") for the response format.

Link copied to clipboard
data class BazelWorkUnit(@Json(name = "packageName") val packageName: String, @Json(name = "targetName") val targetName: String)

A Bazel work unit.

Link copied to clipboard
data class Build(@Json(name = "id") val id: String, @Json(name = "availableAt") val availableAt: Long, @Json(name = "buildToolType") val buildToolType: String, @Json(name = "buildToolVersion") val buildToolVersion: String, @Json(name = "buildAgentVersion") val buildAgentVersion: String, @Json(name = "models") val models: BuildModels? = null)

A build with the common attributes of a Build Scan.

Link copied to clipboard
data class BuildAttributesEnvironment(@Json(name = "operatingSystem") val operatingSystem: String, @Json(name = "numberOfCpuCores") val numberOfCpuCores: Int, @Json(name = "jreVersion") val jreVersion: String, @Json(name = "jvmVersion") val jvmVersion: String, @Json(name = "jvmMaxMemoryHeapSize") val jvmMaxMemoryHeapSize: Long, @Json(name = "jvmLocale") val jvmLocale: String, @Json(name = "username") val username: String? = null, @Json(name = "jvmCharset") val jvmCharset: String? = null, @Json(name = "publicHostname") val publicHostname: String? = null, @Json(name = "localHostname") val localHostname: String? = null, @Json(name = "localIpAddresses") val localIpAddresses: List<String>? = null)

The environment where the build is executed.

Link copied to clipboard
data class BuildAttributesLink(@Json(name = "label") val label: String, @Json(name = "url") val url: String)

A Build Scan link.

Link copied to clipboard
data class BuildAttributesValue(@Json(name = "name") val name: String, @Json(name = "value") val value: String? = null)

A Build Scan value.

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum BuildModelName : Enum<BuildModelName>

Build model names that can be requested when fetching builds.

Link copied to clipboard
data class BuildModelQuery(@Json(name = "availabilityWaitTimeoutSecs") val availabilityWaitTimeoutSecs: Int? = null)
Link copied to clipboard
data class BuildModels(@Json(name = "gradleAttributes") val gradleAttributes: BuildModelsGradleAttributes? = null, @Json(name = "gradleBuildCachePerformance") val gradleBuildCachePerformance: BuildModelsGradleBuildCachePerformance? = null, @Json(name = "gradleProjects") val gradleProjects: BuildModelsGradleProjects? = null, @Json(name = "gradleNetworkActivity") val gradleNetworkActivity: BuildModelsGradleNetworkActivity? = null, @Json(name = "mavenAttributes") val mavenAttributes: BuildModelsMavenAttributes? = null, @Json(name = "mavenBuildCachePerformance") val mavenBuildCachePerformance: BuildModelsMavenBuildCachePerformance? = null, @Json(name = "mavenModules") val mavenModules: BuildModelsMavenModules? = null, @Json(name = "mavenDependencyResolution") val mavenDependencyResolution: BuildModelsMavenDependencyResolution? = null)

Optional requested models associated with the Build Scan.

Link copied to clipboard
data class BuildModelsGradleAttributes(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: GradleAttributes? = null)

The attributes of a Gradle Build Scan, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsGradleBuildCachePerformance(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: GradleBuildCachePerformance? = null)

The build cache performance of a Gradle Build Scan, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsGradleNetworkActivity(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: GradleNetworkActivity? = null)

Information about the network activity of the build, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsGradleProjects(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: List<GradleProject>? = null)

List of Gradle projects, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsMavenAttributes(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: MavenAttributes? = null)

The attributes of a Maven Build Scan, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsMavenBuildCachePerformance(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: MavenBuildCachePerformance? = null)

The build cache performance of a Maven Build Scan, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsMavenDependencyResolution(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: MavenDependencyResolution? = null)

Information about dependency resolution, or a report of a problem encountered.

Link copied to clipboard
data class BuildModelsMavenModules(@Json(name = "problem") val problem: ApiProblem? = null, @Json(name = "model") val model: List<MavenModule>? = null)

List of Maven modules, or a report of a problem encountered.

Link copied to clipboard
data class BuildQuery(@Json(name = "models") val models: List<BuildModelName>? = null, @Json(name = "availabilityWaitTimeoutSecs") val availabilityWaitTimeoutSecs: Int? = null)
Link copied to clipboard
data class BuildScanIdsByOutcome(@Json(name = "passed") val passed: List<String>, @Json(name = "failed") val failed: List<String>, @Json(name = "skipped") val skipped: List<String>, @Json(name = "flaky") val flaky: List<String>, @Json(name = "notSelected") val notSelected: List<String>)

Build Scan IDs for builds that contain tests with outcomes.

Link copied to clipboard
data class BuildsQuery(@Json(name = "since") val since: Long? = null, @Json(name = "sinceBuild") val sinceBuild: String? = null, @Json(name = "fromInstant") val fromInstant: Long? = null, @Json(name = "fromBuild") val fromBuild: String? = null, @Json(name = "reverse") val reverse: Boolean? = null, @Json(name = "maxBuilds") val maxBuilds: Int? = null, @Json(name = "maxWaitSecs") val maxWaitSecs: Int? = null, @Json(name = "query") val query: String? = null, @Json(name = "models") val models: List<BuildModelName>? = null)
Link copied to clipboard
data class DevelocityVersion(@Json(name = "string") val string: String, @Json(name = "year") val year: Int, @Json(name = "release") val release: Int, @Json(name = "patch") val patch: Int)
Link copied to clipboard
data class GradleAttributes(@Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "gradleVersion") val gradleVersion: String, @Json(name = "pluginVersion") val pluginVersion: String, @Json(name = "requestedTasks") val requestedTasks: List<String>, @Json(name = "hasFailed") val hasFailed: Boolean, @Json(name = "tags") val tags: List<String>, @Json(name = "values") val propertyValues: List<BuildAttributesValue>, @Json(name = "links") val links: List<BuildAttributesLink>, @Json(name = "gradleEnterpriseSettings") val gradleEnterpriseSettings: GradleGradleEnterpriseSettings, @Json(name = "develocitySettings") val develocitySettings: GradleDevelocitySettings, @Json(name = "buildOptions") val buildOptions: GradleBuildOptions, @Json(name = "environment") val environment: BuildAttributesEnvironment, @Json(name = "rootProjectName") val rootProjectName: String? = null, @Json(name = "hasVerificationFailure") val hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") val hasNonVerificationFailure: Boolean? = null)

The attributes of a Gradle Build Scan.

Link copied to clipboard
data class GradleBuildCachePerformance(@Json(name = "id") val id: String, @Json(name = "buildTime") val buildTime: Long, @Json(name = "effectiveTaskExecutionTime") val effectiveTaskExecutionTime: Long, @Json(name = "effectiveWorkUnitExecutionTime") val effectiveWorkUnitExecutionTime: Long, @Json(name = "serialTaskExecutionTime") val serialTaskExecutionTime: Long, @Json(name = "serialWorkUnitExecutionTime") val serialWorkUnitExecutionTime: Long, @Json(name = "serializationFactor") val serializationFactor: Double, @Json(name = "taskExecution") val taskExecution: List<GradleBuildCachePerformanceTaskExecutionEntry>, @Json(name = "avoidanceSavingsSummary") val avoidanceSavingsSummary: GradleBuildCachePerformanceAvoidanceSavingsSummary, @Json(name = "taskAvoidanceSavingsSummary") val taskAvoidanceSavingsSummary: GradleBuildCachePerformanceTaskAvoidanceSavingsSummary, @Json(name = "workUnitAvoidanceSavingsSummary") val workUnitAvoidanceSavingsSummary: GradleBuildCachePerformanceWorkUnitAvoidanceSavingsSummary, @Json(name = "taskFingerprintingSummary") val taskFingerprintingSummary: GradleBuildCachePerformanceTaskFingerprintingSummary? = null, @Json(name = "workUnitFingerprintingSummary") val workUnitFingerprintingSummary: GradleBuildCachePerformanceWorkUnitFingerprintingSummary? = null, @Json(name = "buildCaches") val buildCaches: GradleBuildCachePerformanceBuildCaches? = null)

The build cache performance of a Gradle Build Scan.

data class GradleBuildCachePerformanceAvoidanceSavingsSummary(@Json(name = "total") val total: Long, @Json(name = "ratio") val ratio: Double, @Json(name = "upToDate") val upToDate: Long, @Json(name = "localBuildCache") val localBuildCache: Long, @Json(name = "remoteBuildCache") val remoteBuildCache: Long)

This is deprecated, use GradleBuildCachePerformanceTaskAvoidanceSavingsSummary instead. A breakdown of avoidance savings.

data class GradleBuildCachePerformanceBuildCacheLocalInfo(@Json(name = "isEnabled") val isEnabled: Boolean, @Json(name = "isPushEnabled") val isPushEnabled: Boolean? = null, @Json(name = "isDisabledDueToError") val isDisabledDueToError: Boolean? = null, @Json(name = "directory") val directory: String? = null)

Information about the local build cache used in the build.

data class GradleBuildCachePerformanceBuildCacheOverhead(@Json(name = "uploading") val uploading: Long, @Json(name = "downloading") val downloading: Long, @Json(name = "packing") val packing: Long, @Json(name = "unpacking") val unpacking: Long)

Information about the build cache overhead in this build.

data class GradleBuildCachePerformanceBuildCacheRemoteInfo(@Json(name = "isEnabled") val isEnabled: Boolean, @Json(name = "type") val type: String? = null, @Json(name = "className") val className: String? = null, @Json(name = "isPushEnabled") val isPushEnabled: Boolean? = null, @Json(name = "isDisabledDueToError") val isDisabledDueToError: Boolean? = null, @Json(name = "url") val url: String? = null)

Information about the remote build cache used in the build.

Link copied to clipboard

Information about the local and remote build caches used in the build. null if the build cache is globally disabled.

data class GradleBuildCachePerformanceTaskAvoidanceSavingsSummary(@Json(name = "total") val total: Long, @Json(name = "ratio") val ratio: Double, @Json(name = "upToDate") val upToDate: Long, @Json(name = "localBuildCache") val localBuildCache: Long, @Json(name = "remoteBuildCache") val remoteBuildCache: Long)

A breakdown of avoidance savings for tasks.

data class GradleBuildCachePerformanceTaskExecutionEntry(@Json(name = "taskPath") val taskPath: String, @Json(name = "taskType") val taskType: String, @Json(name = "avoidanceOutcome") val avoidanceOutcome: GradleBuildCachePerformanceTaskExecutionEntry.AvoidanceOutcome, @Json(name = "duration") val duration: Long, @Json(name = "fingerprintingDuration") val fingerprintingDuration: Long? = null, @Json(name = "avoidanceSavings") val avoidanceSavings: Long? = null, @Json(name = "nonCacheabilityCategory") val nonCacheabilityCategory: GradleBuildCachePerformanceTaskExecutionEntry.NonCacheabilityCategory? = null, @Json(name = "nonCacheabilityReason") val nonCacheabilityReason: String? = null, @Json(name = "skipReasonMessage") val skipReasonMessage: String? = null, @Json(name = "cacheArtifactSize") val cacheArtifactSize: Long? = null, @Json(name = "cacheArtifactRejectedReason") val cacheArtifactRejectedReason: GradleBuildCachePerformanceTaskExecutionEntry.CacheArtifactRejectedReason? = null, @Json(name = "cacheKey") val cacheKey: String? = null)
data class GradleBuildCachePerformanceTaskFingerprintingSummary(@Json(name = "count") val count: Int, @Json(name = "serialDuration") val serialDuration: Long)

A summary of task fingerprinting. Fingerprinted tasks are part of the taskExecution.avoidedTasks or taskExecution.executedTasks, or taskExecution.noSourceTasks buckets. null if Gradle version is <5.0 or Develocity Gradle plugin version is <2.1.

data class GradleBuildCachePerformanceWorkUnitAvoidanceSavingsSummary(@Json(name = "total") val total: Long, @Json(name = "ratio") val ratio: Double, @Json(name = "upToDate") val upToDate: Long, @Json(name = "localBuildCache") val localBuildCache: Long, @Json(name = "remoteBuildCache") val remoteBuildCache: Long)

A breakdown of avoidance savings for tasks and artifact transforms.

data class GradleBuildCachePerformanceWorkUnitFingerprintingSummary(@Json(name = "count") val count: Int, @Json(name = "serialDuration") val serialDuration: Long)

A summary of task and artifact transform fingerprinting. null if Gradle version is <5.0 or Develocity Gradle plugin version is <2.1.

Link copied to clipboard
data class GradleBuildOptions(@Json(name = "configurationOnDemandEnabled") val configurationOnDemandEnabled: Boolean, @Json(name = "continuousBuildEnabled") val continuousBuildEnabled: Boolean, @Json(name = "continueOnFailureEnabled") val continueOnFailureEnabled: Boolean, @Json(name = "daemonEnabled") val daemonEnabled: Boolean, @Json(name = "dryRunEnabled") val dryRunEnabled: Boolean, @Json(name = "excludedTasks") val excludedTasks: List<String>, @Json(name = "maxNumberOfGradleWorkers") val maxNumberOfGradleWorkers: Int, @Json(name = "offlineModeEnabled") val offlineModeEnabled: Boolean, @Json(name = "parallelProjectExecutionEnabled") val parallelProjectExecutionEnabled: Boolean, @Json(name = "refreshDependenciesEnabled") val refreshDependenciesEnabled: Boolean, @Json(name = "rerunTasksEnabled") val rerunTasksEnabled: Boolean, @Json(name = "buildCacheEnabled") val buildCacheEnabled: Boolean? = null, @Json(name = "configurationCacheEnabled") val configurationCacheEnabled: Boolean? = null, @Json(name = "fileSystemWatchingEnabled") val fileSystemWatchingEnabled: Boolean? = null)

Gradle build options for this build.

Link copied to clipboard
data class GradleDevelocitySettings(@Json(name = "backgroundPublicationEnabled") val backgroundPublicationEnabled: Boolean? = null, @Json(name = "buildOutputCapturingEnabled") val buildOutputCapturingEnabled: Boolean? = null, @Json(name = "taskInputsFileCapturingEnabled") val taskInputsFileCapturingEnabled: Boolean? = null, @Json(name = "testOutputCapturingEnabled") val testOutputCapturingEnabled: Boolean? = null)

Settings for Develocity.

Link copied to clipboard
data class GradleEnterpriseVersion(@Json(name = "string") val string: String, @Json(name = "year") val year: Int, @Json(name = "release") val release: Int, @Json(name = "patch") val patch: Int)

This object is deprecated, use DevelocityVersion instead.

Link copied to clipboard
data class GradleGradleEnterpriseSettings(@Json(name = "backgroundPublicationEnabled") val backgroundPublicationEnabled: Boolean? = null, @Json(name = "buildOutputCapturingEnabled") val buildOutputCapturingEnabled: Boolean? = null, @Json(name = "taskInputsFileCapturingEnabled") val taskInputsFileCapturingEnabled: Boolean? = null, @Json(name = "testOutputCapturingEnabled") val testOutputCapturingEnabled: Boolean? = null)

This property is deprecated, use develocitySettings instead. Settings for Develocity.

Link copied to clipboard
data class GradleNetworkActivity(@Json(name = "networkRequestCount") val networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") val serialNetworkRequestTime: Long, @Json(name = "fileDownloadSize") val fileDownloadSize: Long, @Json(name = "fileDownloadCount") val fileDownloadCount: Long, @Json(name = "wallClockNetworkRequestTime") val wallClockNetworkRequestTime: Long? = null)

Information about the network activity of the build. It includes network activity during dependency resolution, java toolchain downloads, etc. For a comprehensive list see the Build Scan.

Link copied to clipboard
data class GradleProject(@Json(name = "name") val name: String, @Json(name = "path") val path: String, @Json(name = "parent") val parent: Int? = null)

A Gradle project.

Link copied to clipboard
data class GradleWorkUnit(@Json(name = "projectName") val projectName: String, @Json(name = "taskPath") val taskPath: String)

A Gradle work unit.

Link copied to clipboard
data class KeySecretPair(@Json(name = "key") val key: String, @Json(name = "secret") val secret: String)

A Build Cache Node key and secret pair.

Link copied to clipboard
data class MavenAttributes(@Json(name = "id") val id: String, @Json(name = "buildStartTime") val buildStartTime: Long, @Json(name = "buildDuration") val buildDuration: Long, @Json(name = "mavenVersion") val mavenVersion: String, @Json(name = "extensionVersion") val extensionVersion: String, @Json(name = "requestedGoals") val requestedGoals: List<String>, @Json(name = "hasFailed") val hasFailed: Boolean, @Json(name = "tags") val tags: List<String>, @Json(name = "values") val propertyValues: List<BuildAttributesValue>, @Json(name = "links") val links: List<BuildAttributesLink>, @Json(name = "gradleEnterpriseSettings") val gradleEnterpriseSettings: MavenGradleEnterpriseSettings, @Json(name = "develocitySettings") val develocitySettings: MavenDevelocitySettings, @Json(name = "buildOptions") val buildOptions: MavenBuildOptions, @Json(name = "environment") val environment: BuildAttributesEnvironment, @Json(name = "topLevelProjectName") val topLevelProjectName: String? = null, @Json(name = "hasVerificationFailure") val hasVerificationFailure: Boolean? = null, @Json(name = "hasNonVerificationFailure") val hasNonVerificationFailure: Boolean? = null)

The attributes of a Maven Build Scan.

Link copied to clipboard
data class MavenBuildCachePerformance(@Json(name = "id") val id: String, @Json(name = "buildTime") val buildTime: Long, @Json(name = "effectiveProjectExecutionTime") val effectiveProjectExecutionTime: Long, @Json(name = "serialProjectExecutionTime") val serialProjectExecutionTime: Long, @Json(name = "serializationFactor") val serializationFactor: Double, @Json(name = "goalExecution") val goalExecution: List<MavenBuildCachePerformanceGoalExecutionEntry>, @Json(name = "goalFingerprintingSummary") val goalFingerprintingSummary: MavenBuildCachePerformanceGoalFingerprintingSummary, @Json(name = "avoidanceSavingsSummary") val avoidanceSavingsSummary: MavenBuildCachePerformanceAvoidanceSavingsSummary, @Json(name = "buildCaches") val buildCaches: MavenBuildCachePerformanceBuildCaches? = null)

The build cache performance of a Maven Build Scan.

data class MavenBuildCachePerformanceAvoidanceSavingsSummary(@Json(name = "total") val total: Long, @Json(name = "ratio") val ratio: Double, @Json(name = "localBuildCache") val localBuildCache: Long, @Json(name = "remoteBuildCache") val remoteBuildCache: Long)

A breakdown of avoidance savings.

data class MavenBuildCachePerformanceBuildCacheLocalInfo(@Json(name = "isEnabled") val isEnabled: Boolean, @Json(name = "isPushEnabled") val isPushEnabled: Boolean? = null, @Json(name = "isDisabledDueToError") val isDisabledDueToError: Boolean? = null, @Json(name = "directory") val directory: String? = null)

Information about the local build cache used in the build, if it is configured in the build. null if the local build cache is not configured.

data class MavenBuildCachePerformanceBuildCacheOverhead(@Json(name = "uploading") val uploading: Long, @Json(name = "downloading") val downloading: Long, @Json(name = "packing") val packing: Long, @Json(name = "unpacking") val unpacking: Long)

Information about the build cache overhead in this build.

data class MavenBuildCachePerformanceBuildCacheRemoteInfo(@Json(name = "isEnabled") val isEnabled: Boolean, @Json(name = "isPushEnabled") val isPushEnabled: Boolean? = null, @Json(name = "isDisabledDueToError") val isDisabledDueToError: Boolean? = null, @Json(name = "url") val url: String? = null)

Information about the remote build cache used in the build, if it is configured in the build. null if the remote build cache is not configured.

Link copied to clipboard
data class MavenBuildCachePerformanceBuildCaches(@Json(name = "overhead") val overhead: MavenBuildCachePerformanceBuildCacheOverhead, @Json(name = "local") val local: MavenBuildCachePerformanceBuildCacheLocalInfo? = null, @Json(name = "remote") val remote: MavenBuildCachePerformanceBuildCacheRemoteInfo? = null)

Information about the local and remote build caches used in the build, if it is configured in the build. null if the build cache configuration cannot be captured (e.g. very early build failure).

data class MavenBuildCachePerformanceGoalExecutionEntry(@Json(name = "goalName") val goalName: String, @Json(name = "mojoType") val mojoType: String, @Json(name = "goalExecutionId") val goalExecutionId: String, @Json(name = "goalProjectName") val goalProjectName: String, @Json(name = "avoidanceOutcome") val avoidanceOutcome: MavenBuildCachePerformanceGoalExecutionEntry.AvoidanceOutcome, @Json(name = "duration") val duration: Long, @Json(name = "fingerprintingDuration") val fingerprintingDuration: Long? = null, @Json(name = "avoidanceSavings") val avoidanceSavings: Long? = null, @Json(name = "nonCacheabilityCategory") val nonCacheabilityCategory: MavenBuildCachePerformanceGoalExecutionEntry.NonCacheabilityCategory? = null, @Json(name = "nonCacheabilityReason") val nonCacheabilityReason: String? = null, @Json(name = "cacheArtifactSize") val cacheArtifactSize: Long? = null, @Json(name = "cacheArtifactRejectedReason") val cacheArtifactRejectedReason: MavenBuildCachePerformanceGoalExecutionEntry.CacheArtifactRejectedReason? = null, @Json(name = "cacheKey") val cacheKey: String? = null)
data class MavenBuildCachePerformanceGoalFingerprintingSummary(@Json(name = "count") val count: Int, @Json(name = "serialDuration") val serialDuration: Long)

A summary of goal fingerprinting. Fingerprinted goals are part of the goalExecution.avoidedGoals or goalExecution.executedGoals buckets.

Link copied to clipboard
data class MavenBuildOptions(@Json(name = "errorsEnabled") val errorsEnabled: Boolean, @Json(name = "maxNumberOfThreads") val maxNumberOfThreads: Int, @Json(name = "nonRecursiveEnabled") val nonRecursiveEnabled: Boolean, @Json(name = "noSnapshotsUpdatesEnabled") val noSnapshotsUpdatesEnabled: Boolean, @Json(name = "offlineModeEnabled") val offlineModeEnabled: Boolean, @Json(name = "updateSnapshotsEnabled") val updateSnapshotsEnabled: Boolean, @Json(name = "batchModeEnabled") val batchModeEnabled: Boolean? = null, @Json(name = "debugEnabled") val debugEnabled: Boolean? = null, @Json(name = "failAtEndEnabled") val failAtEndEnabled: Boolean? = null, @Json(name = "failFastEnabled") val failFastEnabled: Boolean? = null, @Json(name = "failNeverEnabled") val failNeverEnabled: Boolean? = null, @Json(name = "laxChecksumsEnabled") val laxChecksumsEnabled: Boolean? = null, @Json(name = "rerunGoals") val rerunGoals: Boolean? = null, @Json(name = "rerunGoalsEnabled") val rerunGoalsEnabled: Boolean? = null, @Json(name = "quietEnabled") val quietEnabled: Boolean? = null, @Json(name = "strictChecksumsEnabled") val strictChecksumsEnabled: Boolean? = null)

Maven build options for this build.

Link copied to clipboard
data class MavenDependencyResolution(@Json(name = "serialDependencyResolutionTime") val serialDependencyResolutionTime: Long, @Json(name = "networkRequestCount") val networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") val serialNetworkRequestTime: Long, @Json(name = "wallClockNetworkRequestTime") val wallClockNetworkRequestTime: Long, @Json(name = "fileDownloadSize") val fileDownloadSize: Long, @Json(name = "fileDownloadCount") val fileDownloadCount: Long)

Information about dependency resolution.

Link copied to clipboard
data class MavenDevelocitySettings(@Json(name = "backgroundPublicationEnabled") val backgroundPublicationEnabled: Boolean? = null, @Json(name = "buildOutputCapturingEnabled") val buildOutputCapturingEnabled: Boolean? = null, @Json(name = "goalInputsFileCapturingEnabled") val goalInputsFileCapturingEnabled: Boolean? = null, @Json(name = "testOutputCapturingEnabled") val testOutputCapturingEnabled: Boolean? = null)

Settings for Develocity.

Link copied to clipboard
data class MavenGradleEnterpriseSettings(@Json(name = "backgroundPublicationEnabled") val backgroundPublicationEnabled: Boolean? = null, @Json(name = "buildOutputCapturingEnabled") val buildOutputCapturingEnabled: Boolean? = null, @Json(name = "goalInputsFileCapturingEnabled") val goalInputsFileCapturingEnabled: Boolean? = null, @Json(name = "testOutputCapturingEnabled") val testOutputCapturingEnabled: Boolean? = null)

This property is deprecated, use develocitySettings instead. Settings for Develocity.

Link copied to clipboard
data class MavenModule(@Json(name = "name") val name: String, @Json(name = "groupId") val groupId: String, @Json(name = "artifactId") val artifactId: String, @Json(name = "version") val version: String, @Json(name = "parent") val parent: Int? = null)

A Maven module.

Link copied to clipboard
data class MavenWorkUnit(@Json(name = "groupId") val groupId: String, @Json(name = "artifactId") val artifactId: String, @Json(name = "goalName") val goalName: String, @Json(name = "executionId") val executionId: String)

A Maven work unit.

Link copied to clipboard
data class NodeConfiguration(@Json(name = "enabled") val enabled: Boolean, @Json(name = "replication") val replication: ReplicationConfiguration? = null)

A Build Cache Node configuration description.

Link copied to clipboard
data class PageMetadata(@Json(name = "number") val number: Int, @Json(name = "size") val propertySize: Int, @Json(name = "totalPages") val totalPages: Int, @Json(name = "totalElements") val totalElements: Int)

Information about the current and available page of elements. Pages are returned from list operations which could contain a lot of elements. One page contains a subset of the available elements. API users can retrieve all pages in order to retrieve all of the available elements.

Link copied to clipboard
data class PageQuery(@Json(name = "pageNumber") val pageNumber: Int? = 0, @Json(name = "pageSize") val pageSize: Int? = null)
Link copied to clipboard
data class Project(@Json(name = "id") val id: String, @Json(name = "displayName") val displayName: String? = null, @Json(name = "description") val description: String? = null)

A project.

Link copied to clipboard
data class ProjectGroup(@Json(name = "id") val id: String, @Json(name = "displayName") val displayName: String? = null, @Json(name = "description") val description: String? = null, @Json(name = "identityProviderAttributeValue") val identityProviderAttributeValue: String? = null, @Json(name = "projects") val projects: List<ProjectReference>? = null)

A group of projects that can be assigned to users.

Link copied to clipboard
data class ProjectGroupsPage(@Json(name = "content") val content: List<ProjectGroup>, @Json(name = "page") val page: PageMetadata)

A paged list of project groups.

Link copied to clipboard
data class ProjectReference(@Json(name = "id") val id: String)

A container for a project ID.

Link copied to clipboard
data class ProjectsPage(@Json(name = "content") val content: List<Project>, @Json(name = "page") val page: PageMetadata)

A paged list of projects.

Link copied to clipboard
data class ReplicationConfiguration(@Json(name = "source") val source: String, @Json(name = "preemptive") val preemptive: Boolean)

Cached data replication configuration description. May be null if replication is not configured.

Link copied to clipboard
data class TestCasesQuery(@Json(name = "container") val container: String, @Json(name = "testOutcomes") val testOutcomes: List<TestOutcome>, @Json(name = "query") val query: String, @Json(name = "limit") val limit: Int? = 100, @Json(name = "include") val include: List<TestIncludeFields>? = null)
Link copied to clipboard
data class TestContainersQuery(@Json(name = "container") val container: String = "*", @Json(name = "testOutcomes") val testOutcomes: List<TestOutcome>, @Json(name = "query") val query: String, @Json(name = "include") val include: List<TestIncludeFields>? = null)
Link copied to clipboard
data class TestDistributionAgentPoolConfiguration(@Json(name = "name") val name: String, @Json(name = "minimumSize") val minimumSize: Int, @Json(name = "maximumSize") val maximumSize: Int, @Json(name = "capabilities") val capabilities: List<String>, @Json(name = "orderIndex") val orderIndex: Int? = null)

An agent pool configuration.

data class TestDistributionAgentPoolConfigurationWithId(@Json(name = "id") val id: String, @Json(name = "name") val name: String, @Json(name = "minimumSize") val minimumSize: Int, @Json(name = "maximumSize") val maximumSize: Int, @Json(name = "orderIndex") val orderIndex: Int, @Json(name = "capabilities") val capabilities: List<String>)

An agent pool configuration.

Link copied to clipboard

A list of agent pools.

Link copied to clipboard
data class TestDistributionAgentPoolStatus(@Json(name = "id") val id: String, @Json(name = "name") val name: String, @Json(name = "minimumSize") val minimumSize: Int, @Json(name = "maximumSize") val maximumSize: Int, @Json(name = "connectedAgents") val connectedAgents: Int, @Json(name = "idleAgents") val idleAgents: Int, @Json(name = "desiredAgents") val desiredAgents: Int)

The status of an agent pool.

Link copied to clipboard
data class TestDistributionApiKey(@Json(name = "key") val key: String, @Json(name = "description") val description: String? = null)

A Test Distribution agent API key.

Link copied to clipboard
data class TestDistributionApiKeyDescription(@Json(name = "description") val description: String? = null)

Optional description of a Test Distribution agent API key.

Link copied to clipboard
data class TestDistributionApiKeyPrefix(@Json(name = "keyPrefix") val keyPrefix: String, @Json(name = "generatedAt") val generatedAt: OffsetDateTime, @Json(name = "description") val description: String? = null, @Json(name = "lastUsedAt") val lastUsedAt: OffsetDateTime? = null, @Json(name = "lastUsedBy") val lastUsedBy: String? = null, @Json(name = "revokedAt") val revokedAt: OffsetDateTime? = null)

A Test Distribution agent API key prefix.

Link copied to clipboard
data class TestDistributionApiKeyPrefixPage(@Json(name = "content") val content: List<TestDistributionApiKeyPrefix>)

A list of Test Distribution agent API key prefixes.

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum TestIncludeFields : Enum<TestIncludeFields>

Values: BUILD_SCAN_IDS,WORK_UNITS

Link copied to clipboard
data class TestOrContainer(@Json(name = "name") val name: String, @Json(name = "outcomeDistribution") val outcomeDistribution: TestOutcomeDistribution, @Json(name = "workUnits") val workUnits: List<TestWorkUnit>? = null, @Json(name = "buildScanIdsByOutcome") val buildScanIdsByOutcome: BuildScanIdsByOutcome? = null)

A test or test container.

Link copied to clipboard
@JsonClass(generateAdapter = false)
enum TestOutcome : Enum<TestOutcome>

Values: passed,failed,skipped,flaky,notSelected

Link copied to clipboard
data class TestOutcomeDistribution(@Json(name = "passed") val passed: Int, @Json(name = "failed") val failed: Int, @Json(name = "skipped") val skipped: Int, @Json(name = "flaky") val flaky: Int, @Json(name = "notSelected") val notSelected: Int, @Json(name = "total") val total: Int)

A distribution of outcomes.

Link copied to clipboard
data class TestsResponse(@Json(name = "content") val content: List<TestOrContainer>)

A list of test containers or test cases.

Link copied to clipboard
data class TestWorkUnit(@Json(name = "bazel") val bazel: BazelWorkUnit? = null, @Json(name = "gradle") val gradle: GradleWorkUnit? = null, @Json(name = "maven") val maven: MavenWorkUnit? = null)

Contains a work unit. Only one of the properties is set, representing the build tool used for the build.