Class HealthCheckLog
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HealthCheckLog
@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 HealthCheckLog
extends Object
HealthCheckLog describes the results of a single healthcheck
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic HealthCheckLogCreate an instance of HealthCheckLog given an JSON stringgetEnd()End time as a stringExitcode is 0 or 1Output is the stdout/stderr from the healthcheck commandgetStart()Start time as stringinthashCode()voidvoidsetExitCode(Long exitCode) voidvoidtoJson()Convert an instance of HealthCheckLog 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_END
- See Also:
-
SERIALIZED_NAME_EXIT_CODE
- See Also:
-
SERIALIZED_NAME_OUTPUT
- See Also:
-
SERIALIZED_NAME_START
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
HealthCheckLog
public HealthCheckLog()
-
-
Method Details
-
end
-
getEnd
End time as a string- Returns:
- end
-
setEnd
-
exitCode
-
getExitCode
Exitcode is 0 or 1- Returns:
- exitCode
-
setExitCode
-
output
-
getOutput
Output is the stdout/stderr from the healthcheck command- Returns:
- output
-
setOutput
-
start
-
getStart
Start time as string- Returns:
- start
-
setStart
-
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 HealthCheckLog
-
fromJson
Create an instance of HealthCheckLog given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of HealthCheckLog
- Throws:
IOException- if the JSON string is invalid with respect to HealthCheckLog
-
toJson
Convert an instance of HealthCheckLog to an JSON string- Returns:
- JSON string
-