Class InspectContainerState
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectContainerState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class InspectContainerState
extends Object
InspectContainerState provides a detailed record of a container's current state. It is
returned as part of InspectContainerData. As with InspectContainerData, many portions of this
struct are matched to Docker, but here we see more fields that are unused (nonsensical in the
context of Libpod).
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncgroupPath(String cgroupPath) checkpointed(Boolean checkpointed) checkpointedAt(OffsetDateTime checkpointedAt) checkpointLog(String checkpointLog) checkpointPath(String checkpointPath) booleanfinishedAt(OffsetDateTime finishedAt) static InspectContainerStateCreate an instance of InspectContainerState given an JSON stringGet cgroupPathGet checkpointedGet checkpointedAtGet checkpointLogGet checkpointPathGet conmonPidgetDead()Get deadgetError()Get errorGet exitCodeGet finishedAtGet healthGet ociVersionGet ooMKilledGet pausedgetPid()Get pidGet restartingGet restoredGet restoredAtGet restoreLogGet runningGet startedAtGet statusGet stoppedByUserinthashCode()health(HealthCheckResults health) ociVersion(String ociVersion) restarting(Boolean restarting) restoredAt(OffsetDateTime restoredAt) restoreLog(String restoreLog) voidsetCgroupPath(String cgroupPath) voidsetCheckpointed(Boolean checkpointed) voidsetCheckpointedAt(OffsetDateTime checkpointedAt) voidsetCheckpointLog(String checkpointLog) voidsetCheckpointPath(String checkpointPath) voidsetConmonPid(Long conmonPid) voidvoidvoidsetExitCode(Integer exitCode) voidsetFinishedAt(OffsetDateTime finishedAt) voidsetHealth(HealthCheckResults health) voidsetOciVersion(String ociVersion) voidsetOoMKilled(Boolean ooMKilled) voidvoidvoidsetRestarting(Boolean restarting) voidsetRestored(Boolean restored) voidsetRestoredAt(OffsetDateTime restoredAt) voidsetRestoreLog(String restoreLog) voidsetRunning(Boolean running) voidsetStartedAt(OffsetDateTime startedAt) voidvoidsetStoppedByUser(Boolean stoppedByUser) startedAt(OffsetDateTime startedAt) stoppedByUser(Boolean stoppedByUser) toJson()Convert an instance of InspectContainerState to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CGROUP_PATH
- See Also:
-
SERIALIZED_NAME_CHECKPOINT_LOG
- See Also:
-
SERIALIZED_NAME_CHECKPOINT_PATH
- See Also:
-
SERIALIZED_NAME_CHECKPOINTED
- See Also:
-
SERIALIZED_NAME_CHECKPOINTED_AT
- See Also:
-
SERIALIZED_NAME_CONMON_PID
- See Also:
-
SERIALIZED_NAME_DEAD
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_EXIT_CODE
- See Also:
-
SERIALIZED_NAME_FINISHED_AT
- See Also:
-
SERIALIZED_NAME_HEALTH
- See Also:
-
SERIALIZED_NAME_OO_M_KILLED
- See Also:
-
SERIALIZED_NAME_OCI_VERSION
- See Also:
-
SERIALIZED_NAME_PAUSED
- See Also:
-
SERIALIZED_NAME_PID
- See Also:
-
SERIALIZED_NAME_RESTARTING
- See Also:
-
SERIALIZED_NAME_RESTORE_LOG
- See Also:
-
SERIALIZED_NAME_RESTORED
- See Also:
-
SERIALIZED_NAME_RESTORED_AT
- See Also:
-
SERIALIZED_NAME_RUNNING
- See Also:
-
SERIALIZED_NAME_STARTED_AT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_STOPPED_BY_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectContainerState
public InspectContainerState()
-
-
Method Details
-
cgroupPath
-
getCgroupPath
Get cgroupPath- Returns:
- cgroupPath
-
setCgroupPath
-
checkpointLog
-
getCheckpointLog
Get checkpointLog- Returns:
- checkpointLog
-
setCheckpointLog
-
checkpointPath
-
getCheckpointPath
Get checkpointPath- Returns:
- checkpointPath
-
setCheckpointPath
-
checkpointed
-
getCheckpointed
Get checkpointed- Returns:
- checkpointed
-
setCheckpointed
-
checkpointedAt
-
getCheckpointedAt
Get checkpointedAt- Returns:
- checkpointedAt
-
setCheckpointedAt
-
conmonPid
-
getConmonPid
Get conmonPid- Returns:
- conmonPid
-
setConmonPid
-
dead
-
getDead
Get dead- Returns:
- dead
-
setDead
-
error
-
getError
Get error- Returns:
- error
-
setError
-
exitCode
-
getExitCode
Get exitCode- Returns:
- exitCode
-
setExitCode
-
finishedAt
-
getFinishedAt
Get finishedAt- Returns:
- finishedAt
-
setFinishedAt
-
health
-
getHealth
Get health- Returns:
- health
-
setHealth
-
ooMKilled
-
getOoMKilled
Get ooMKilled- Returns:
- ooMKilled
-
setOoMKilled
-
ociVersion
-
getOciVersion
Get ociVersion- Returns:
- ociVersion
-
setOciVersion
-
paused
-
getPaused
Get paused- Returns:
- paused
-
setPaused
-
pid
-
getPid
Get pid- Returns:
- pid
-
setPid
-
restarting
-
getRestarting
Get restarting- Returns:
- restarting
-
setRestarting
-
restoreLog
-
getRestoreLog
Get restoreLog- Returns:
- restoreLog
-
setRestoreLog
-
restored
-
getRestored
Get restored- Returns:
- restored
-
setRestored
-
restoredAt
-
getRestoredAt
Get restoredAt- Returns:
- restoredAt
-
setRestoredAt
-
running
-
getRunning
Get running- Returns:
- running
-
setRunning
-
startedAt
-
getStartedAt
Get startedAt- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
stoppedByUser
-
getStoppedByUser
Get stoppedByUser- Returns:
- stoppedByUser
-
setStoppedByUser
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to InspectContainerState
-
fromJson
Create an instance of InspectContainerState given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectContainerState
- Throws:
IOException- if the JSON string is invalid with respect to InspectContainerState
-
toJson
Convert an instance of InspectContainerState to an JSON string- Returns:
- JSON string
-