Class NetworkContainerInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkContainerInfo
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NetworkContainerInfo
extends Object
implements Serializable
NetworkContainerInfo
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NetworkContainerInfoCreate an instance of NetworkContainerInfo given an JSON string@Valid Map<String,NetInterface> Interfaces configured for this container with their addressesgetName()Name of the containerinthashCode()interfaces(Map<String, NetInterface> interfaces) putInterfacesItem(String key, NetInterface interfacesItem) voidsetInterfaces(Map<String, NetInterface> interfaces) voidtoJson()Convert an instance of NetworkContainerInfo 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_INTERFACES
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkContainerInfo
public NetworkContainerInfo()
-
-
Method Details
-
interfaces
-
putInterfacesItem
-
getInterfaces
Interfaces configured for this container with their addresses- Returns:
- interfaces
-
setInterfaces
-
name
-
getName
Name of the container- Returns:
- name
-
setName
-
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 NetworkContainerInfo
-
fromJson
Create an instance of NetworkContainerInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkContainerInfo
- Throws:
IOException- if the JSON string is invalid with respect to NetworkContainerInfo
-
toJson
Convert an instance of NetworkContainerInfo to an JSON string- Returns:
- JSON string
-