src.main.kotlin.com.gabrielfeo.develocity.api.model.TestDistributionAgentPoolRegistrationKeyPrefix.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of develocity-api-kotlin Show documentation
Show all versions of develocity-api-kotlin Show documentation
A library to use the Develocity API in Kotlin
The newest version!
/**
*
* 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.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* A Test Distribution pool-specific agent registration key prefix.
*
* @param keyPrefix The registration key prefix.
* @param createdAt When the key was created
* @param description Description of the registration key to help identify it later.
* @param lastUsedAt When the key was last used
* @param lastUsedBy Who used the key last
* @param revokedAt When the key was revoked, a non-null value implies that the key is revoked and can no longer be used to authenticate.
*/
data class TestDistributionAgentPoolRegistrationKeyPrefix (
/* The registration key prefix. */
@Json(name = "keyPrefix")
val keyPrefix: kotlin.String,
/* When the key was created */
@Json(name = "createdAt")
val createdAt: java.time.OffsetDateTime,
/* Description of the registration key to help identify it later. */
@Json(name = "description")
val description: kotlin.String? = null,
/* When the key was last used */
@Json(name = "lastUsedAt")
val lastUsedAt: java.time.OffsetDateTime? = null,
/* Who used the key last */
@Json(name = "lastUsedBy")
val lastUsedBy: kotlin.String? = null,
/* When the key was revoked, a non-null value implies that the key is revoked and can no longer be used to authenticate. */
@Json(name = "revokedAt")
val revokedAt: java.time.OffsetDateTime? = null
) {
}