Class WaitResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.WaitResponse
@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 WaitResponse
extends Object
OK response to ContainerWait operation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerror(WaitExitError error) static WaitResponseCreate an instance of WaitResponse given an JSON stringgetError()Get errorExit code of the containerinthashCode()voidsetError(WaitExitError error) voidsetStatusCode(Long statusCode) statusCode(Long statusCode) toJson()Convert an instance of WaitResponse 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_ERROR
- See Also:
-
SERIALIZED_NAME_STATUS_CODE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WaitResponse
public WaitResponse()
-
-
Method Details
-
error
-
getError
Get error- Returns:
- error
-
setError
-
statusCode
-
getStatusCode
Exit code of the container- Returns:
- statusCode
-
setStatusCode
-
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 WaitResponse
-
fromJson
Create an instance of WaitResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WaitResponse
- Throws:
IOException- if the JSON string is invalid with respect to WaitResponse
-
toJson
Convert an instance of WaitResponse to an JSON string- Returns:
- JSON string
-