Class NetworkingConfig
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkingConfig
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NetworkingConfig
extends Object
implements Serializable
NetworkingConfig represents the container's networking configuration for each of its interfaces Carries the networking configs specified in the `docker run` and `docker network connect` commands
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendpointsConfig(Map<String, EndpointSettings> endpointsConfig) booleanstatic NetworkingConfigCreate an instance of NetworkingConfig given an JSON string@Valid Map<String,EndpointSettings> Get endpointsConfiginthashCode()putEndpointsConfigItem(String key, EndpointSettings endpointsConfigItem) voidsetEndpointsConfig(Map<String, EndpointSettings> endpointsConfig) toJson()Convert an instance of NetworkingConfig 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_ENDPOINTS_CONFIG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkingConfig
public NetworkingConfig()
-
-
Method Details
-
endpointsConfig
-
putEndpointsConfigItem
-
getEndpointsConfig
Get endpointsConfig- Returns:
- endpointsConfig
-
setEndpointsConfig
-
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 NetworkingConfig
-
fromJson
Create an instance of NetworkingConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkingConfig
- Throws:
IOException- if the JSON string is invalid with respect to NetworkingConfig
-
toJson
Convert an instance of NetworkingConfig to an JSON string- Returns:
- JSON string
-