Class HealthcheckResult
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HealthcheckResult
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class HealthcheckResult
extends Object
implements Serializable
HealthcheckResult stores information about a single run of a healthcheck probe
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionend(OffsetDateTime end) booleanstatic HealthcheckResultCreate an instance of HealthcheckResult given an JSON string@Valid OffsetDateTimegetEnd()Get endGet exitCodeGet output@Valid OffsetDateTimegetStart()Get startinthashCode()voidsetEnd(OffsetDateTime end) voidsetExitCode(Long exitCode) voidvoidsetStart(OffsetDateTime start) start(OffsetDateTime start) toJson()Convert an instance of HealthcheckResult 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
-
HealthcheckResult
public HealthcheckResult()
-
-
Method Details
-
end
-
getEnd
Get end- Returns:
- end
-
setEnd
-
exitCode
-
getExitCode
Get exitCode- Returns:
- exitCode
-
setExitCode
-
output
-
getOutput
Get output- Returns:
- output
-
setOutput
-
start
-
getStart
Get start- 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 HealthcheckResult
-
fromJson
Create an instance of HealthcheckResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of HealthcheckResult
- Throws:
IOException- if the JSON string is invalid with respect to HealthcheckResult
-
toJson
Convert an instance of HealthcheckResult to an JSON string- Returns:
- JSON string
-