Class WaitResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.WaitResponse
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WaitResponse
extends Object
implements Serializable
OK response to ContainerWait operation
- See Also:
-
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 string@Valid WaitExitErrorgetError()Get error@NotNull LongExit code of the containerinthashCode()voidsetError(WaitExitError error) voidsetStatusCode(Long statusCode) statusCode(Long statusCode) toJson()Convert an instance of WaitResponse 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_STATUS_CODE
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WaitResponse
public WaitResponse()
-
-
Method Details
-
statusCode
-
getStatusCode
Exit code of the container- Returns:
- statusCode
-
setStatusCode
-
error
-
getError
Get error- Returns:
- error
-
setError
-
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 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
-