Class ConnectOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ConnectOptions
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ConnectOptions
extends Object
implements Serializable
ConnectOptions represents the data to be used to connect a container to the network.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendpointConfig(EndpointSettings endpointConfig) booleanstatic ConnectOptionsCreate an instance of ConnectOptions given an JSON stringGet container@Valid EndpointSettingsGet endpointConfiginthashCode()voidsetContainer(String container) voidsetEndpointConfig(EndpointSettings endpointConfig) toJson()Convert an instance of ConnectOptions 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_ENDPOINT_CONFIG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConnectOptions
public ConnectOptions()
-
-
Method Details
-
container
-
getContainer
Get container- Returns:
- container
-
setContainer
-
endpointConfig
-
getEndpointConfig
Get endpointConfig- Returns:
- endpointConfig
-
setEndpointConfig
-
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 ConnectOptions
-
fromJson
Create an instance of ConnectOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ConnectOptions
- Throws:
IOException- if the JSON string is invalid with respect to ConnectOptions
-
toJson
Convert an instance of ConnectOptions to an JSON string- Returns:
- JSON string
-