de.gesellix.docker.remote.api.ServiceJobStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-remote-api-model-1-45 Show documentation
Show all versions of docker-remote-api-model-1-45 Show documentation
API model for the Docker remote api v1.45
/**
*
* 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 de.gesellix.docker.remote.api
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* The status of the service when it is in one of ReplicatedJob or GlobalJob modes. Absent on Replicated and Global mode services. The JobIteration is an ObjectVersion, but unlike the Service's version, does not need to be sent with an update request.
*
* @param jobIteration
* @param lastExecution The last time, as observed by the server, that this job was started.
*/
@JsonClass(generateAdapter = true)
data class ServiceJobStatus(
@Json(name = "JobIteration")
var jobIteration: ObjectVersion? = null,
// The last time, as observed by the server, that this job was started.
@Json(name = "LastExecution")
var lastExecution: kotlin.String? = null,
)