Class DisconnectOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.DisconnectOptions
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class DisconnectOptions
extends Object
implements Serializable
DisconnectOptions represents the data to be used to disconnect a container from the network.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DisconnectOptionsCreate an instance of DisconnectOptions given an JSON stringGet containergetForce()Get forceinthashCode()voidsetContainer(String container) voidtoJson()Convert an instance of DisconnectOptions 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_CONTAINER
- See Also:
-
SERIALIZED_NAME_FORCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DisconnectOptions
public DisconnectOptions()
-
-
Method Details
-
container
-
getContainer
Get container- Returns:
- container
-
setContainer
-
force
-
getForce
Get force- Returns:
- force
-
setForce
-
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 DisconnectOptions
-
fromJson
Create an instance of DisconnectOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DisconnectOptions
- Throws:
IOException- if the JSON string is invalid with respect to DisconnectOptions
-
toJson
Convert an instance of DisconnectOptions to an JSON string- Returns:
- JSON string
-