Class NetworkSettings
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkSettings
@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 NetworkSettings
extends Object
NetworkSettings exposes the network settings in the api
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSecondaryIPAddressesItem(Address secondaryIPAddressesItem) addSecondaryIPv6AddressesItem(Address secondaryIPv6AddressesItem) endpointID(String endpointID) booleanstatic NetworkSettingsCreate an instance of NetworkSettings given an JSON stringGet bridgeGet endpointIDGet gatewayGet globalIPv6AddressGet globalIPv6PrefixLenHairpinMode specifies if hairpin NAT should be enabled on the virtual interface Deprecated: This field is never set and will be removed in a future release.Get ipAddressGet ipPrefixLenGet ipv6GatewayLinkLocalIPv6Address is an IPv6 unicast address using the link-local prefix Deprecated: This field is never set and will be removed in a future release.LinkLocalIPv6PrefixLen is the prefix length of an IPv6 unicast address Deprecated: This field is never set and will be removed in a future release.Get macAddressGet networksgetPorts()PortMap is a collection of PortBinding indexed by PortGet sandboxIDGet sandboxKeyGet secondaryIPAddressesGet secondaryIPv6AddressesglobalIPv6Address(String globalIPv6Address) globalIPv6PrefixLen(Long globalIPv6PrefixLen) hairpinMode(Boolean hairpinMode) inthashCode()ipPrefixLen(Long ipPrefixLen) ipv6Gateway(String ipv6Gateway) linkLocalIPv6Address(String linkLocalIPv6Address) linkLocalIPv6PrefixLen(Long linkLocalIPv6PrefixLen) macAddress(String macAddress) networks(Map<String, EndpointSettings> networks) ports(Map<String, List<PortBinding>> ports) putNetworksItem(String key, EndpointSettings networksItem) putPortsItem(String key, List<PortBinding> portsItem) sandboxKey(String sandboxKey) secondaryIPAddresses(List<Address> secondaryIPAddresses) secondaryIPv6Addresses(List<Address> secondaryIPv6Addresses) voidvoidsetEndpointID(String endpointID) voidsetGateway(String gateway) voidsetGlobalIPv6Address(String globalIPv6Address) voidsetGlobalIPv6PrefixLen(Long globalIPv6PrefixLen) voidsetHairpinMode(Boolean hairpinMode) voidsetIpAddress(String ipAddress) voidsetIpPrefixLen(Long ipPrefixLen) voidsetIpv6Gateway(String ipv6Gateway) voidsetLinkLocalIPv6Address(String linkLocalIPv6Address) voidsetLinkLocalIPv6PrefixLen(Long linkLocalIPv6PrefixLen) voidsetMacAddress(String macAddress) voidsetNetworks(Map<String, EndpointSettings> networks) voidsetPorts(Map<String, List<PortBinding>> ports) voidsetSandboxID(String sandboxID) voidsetSandboxKey(String sandboxKey) voidsetSecondaryIPAddresses(List<Address> secondaryIPAddresses) voidsetSecondaryIPv6Addresses(List<Address> secondaryIPv6Addresses) toJson()Convert an instance of NetworkSettings 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_BRIDGE
- See Also:
-
SERIALIZED_NAME_ENDPOINT_I_D
- See Also:
-
SERIALIZED_NAME_GATEWAY
- See Also:
-
SERIALIZED_NAME_GLOBAL_I_PV6_ADDRESS
- See Also:
-
SERIALIZED_NAME_GLOBAL_I_PV6_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_HAIRPIN_MODE
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_IP_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_IPV6_GATEWAY
- See Also:
-
SERIALIZED_NAME_LINK_LOCAL_I_PV6_ADDRESS
- See Also:
-
SERIALIZED_NAME_LINK_LOCAL_I_PV6_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_MAC_ADDRESS
- See Also:
-
SERIALIZED_NAME_NETWORKS
- See Also:
-
SERIALIZED_NAME_PORTS
- See Also:
-
SERIALIZED_NAME_SANDBOX_I_D
- See Also:
-
SERIALIZED_NAME_SANDBOX_KEY
- See Also:
-
SERIALIZED_NAME_SECONDARY_I_P_ADDRESSES
- See Also:
-
SERIALIZED_NAME_SECONDARY_I_PV6_ADDRESSES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkSettings
public NetworkSettings()
-
-
Method Details
-
bridge
-
getBridge
Get bridge- Returns:
- bridge
-
setBridge
-
endpointID
-
getEndpointID
Get endpointID- Returns:
- endpointID
-
setEndpointID
-
gateway
-
getGateway
Get gateway- Returns:
- gateway
-
setGateway
-
globalIPv6Address
-
getGlobalIPv6Address
Get globalIPv6Address- Returns:
- globalIPv6Address
-
setGlobalIPv6Address
-
globalIPv6PrefixLen
-
getGlobalIPv6PrefixLen
Get globalIPv6PrefixLen- Returns:
- globalIPv6PrefixLen
-
setGlobalIPv6PrefixLen
-
hairpinMode
-
getHairpinMode
HairpinMode specifies if hairpin NAT should be enabled on the virtual interface Deprecated: This field is never set and will be removed in a future release.- Returns:
- hairpinMode
-
setHairpinMode
-
ipAddress
-
getIpAddress
Get ipAddress- Returns:
- ipAddress
-
setIpAddress
-
ipPrefixLen
-
getIpPrefixLen
Get ipPrefixLen- Returns:
- ipPrefixLen
-
setIpPrefixLen
-
ipv6Gateway
-
getIpv6Gateway
Get ipv6Gateway- Returns:
- ipv6Gateway
-
setIpv6Gateway
-
linkLocalIPv6Address
-
getLinkLocalIPv6Address
LinkLocalIPv6Address is an IPv6 unicast address using the link-local prefix Deprecated: This field is never set and will be removed in a future release.- Returns:
- linkLocalIPv6Address
-
setLinkLocalIPv6Address
-
linkLocalIPv6PrefixLen
-
getLinkLocalIPv6PrefixLen
LinkLocalIPv6PrefixLen is the prefix length of an IPv6 unicast address Deprecated: This field is never set and will be removed in a future release.- Returns:
- linkLocalIPv6PrefixLen
-
setLinkLocalIPv6PrefixLen
-
macAddress
-
getMacAddress
Get macAddress- Returns:
- macAddress
-
setMacAddress
-
networks
-
putNetworksItem
-
getNetworks
Get networks- Returns:
- networks
-
setNetworks
-
ports
-
putPortsItem
-
getPorts
PortMap is a collection of PortBinding indexed by Port- Returns:
- ports
-
setPorts
-
sandboxID
-
getSandboxID
Get sandboxID- Returns:
- sandboxID
-
setSandboxID
-
sandboxKey
-
getSandboxKey
Get sandboxKey- Returns:
- sandboxKey
-
setSandboxKey
-
secondaryIPAddresses
-
addSecondaryIPAddressesItem
-
getSecondaryIPAddresses
Get secondaryIPAddresses- Returns:
- secondaryIPAddresses
-
setSecondaryIPAddresses
-
secondaryIPv6Addresses
-
addSecondaryIPv6AddressesItem
-
getSecondaryIPv6Addresses
Get secondaryIPv6Addresses- Returns:
- secondaryIPv6Addresses
-
setSecondaryIPv6Addresses
-
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 NetworkSettings
-
fromJson
Create an instance of NetworkSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkSettings
- Throws:
IOException- if the JSON string is invalid with respect to NetworkSettings
-
toJson
Convert an instance of NetworkSettings to an JSON string- Returns:
- JSON string
-