Class NetworkContainerInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkContainerInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class NetworkContainerInfo
extends Object
NetworkContainerInfo
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-
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
-
toJson
Convert an instance of NetworkContainerInfo to an JSON string- Returns:
- JSON string
-