Class DisconnectOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.DisconnectOptions
@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 DisconnectOptions
extends Object
DisconnectOptions represents the data to be used to disconnect a container from the network.
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-