Class HealthCheckLog
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HealthCheckLog
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class HealthCheckLog
extends Object
implements Serializable
HealthCheckLog describes the results of a single healthcheck
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-