Class HealthcheckResult
java.lang.Object
io.github.alersrt.pod4j.openapi.model.HealthcheckResult
@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 HealthcheckResult
extends Object
HealthcheckResult stores information about a single run of a healthcheck probe
-
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 stringgetEnd()Get endGet exitCodeGet outputgetStart()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 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
-
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
-
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 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
-