Class InspectAdditionalNetwork
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectAdditionalNetwork
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InspectAdditionalNetwork
extends Object
implements Serializable
InspectAdditionalNetwork holds information about non-default networks the container has been connected to. As with InspectNetworkSettings, many fields are unused and maintained only for compatibility with Docker.
- See Also:
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalMACAddressesItem(String additionalMACAddressesItem) addAliasesItem(String aliasesItem) additionalMACAddresses(List<String> additionalMACAddresses) addLinksItem(String linksItem) addSecondaryIPAddressesItem(Address secondaryIPAddressesItem) addSecondaryIPv6AddressesItem(Address secondaryIPv6AddressesItem) driverOpts(Map<String, String> driverOpts) endpointID(String endpointID) booleanstatic InspectAdditionalNetworkCreate an instance of InspectAdditionalNetwork given an JSON stringAdditionalMacAddresses is a set of additional MAC Addresses beyond the first.Aliases are any network aliases the container has in this network.DriverOpts is presently unused and maintained exclusively for compatibility.EndpointID is unused, maintained exclusively for compatibility.Gateway is the IP address of the gateway this network will use.GlobalIPv6Address is the global-scope IPv6 Address for this network.GlobalIPv6PrefixLen is the length of the subnet mask of this network.IPAddress is the IP address for this network.IPAMConfig is presently unused and maintained exclusively for compatibility.IPPrefixLen is the length of the subnet mask of this network.IPv6Gateway is the IPv6 gateway this network will use.getLinks()Links is presently unused and maintained exclusively for compatibility.MacAddress is the MAC address for the interface in this network.Name of the network we're connecting to.SecondaryIPAddresses is a list of extra IP Addresses that the container has been assigned in this network.SecondaryIPv6Addresses is a list of extra IPv6 Addresses that the container has been assigned in this network.globalIPv6Address(String globalIPv6Address) globalIPv6PrefixLen(Long globalIPv6PrefixLen) inthashCode()ipAMConfig(Map<String, String> ipAMConfig) ipPrefixLen(Long ipPrefixLen) ipv6Gateway(String ipv6Gateway) macAddress(String macAddress) putDriverOptsItem(String key, String driverOptsItem) putIpAMConfigItem(String key, String ipAMConfigItem) secondaryIPAddresses(List<Address> secondaryIPAddresses) secondaryIPv6Addresses(List<Address> secondaryIPv6Addresses) voidsetAdditionalMACAddresses(List<String> additionalMACAddresses) voidsetAliases(List<String> aliases) voidsetDriverOpts(Map<String, String> driverOpts) voidsetEndpointID(String endpointID) voidsetGateway(String gateway) voidsetGlobalIPv6Address(String globalIPv6Address) voidsetGlobalIPv6PrefixLen(Long globalIPv6PrefixLen) voidsetIpAddress(String ipAddress) voidsetIpAMConfig(Map<String, String> ipAMConfig) voidsetIpPrefixLen(Long ipPrefixLen) voidsetIpv6Gateway(String ipv6Gateway) voidvoidsetMacAddress(String macAddress) voidsetNetworkID(String networkID) voidsetSecondaryIPAddresses(List<Address> secondaryIPAddresses) voidsetSecondaryIPv6Addresses(List<Address> secondaryIPv6Addresses) toJson()Convert an instance of InspectAdditionalNetwork 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_ADDITIONAL_M_A_C_ADDRESSES
- See Also:
-
SERIALIZED_NAME_ALIASES
- See Also:
-
SERIALIZED_NAME_DRIVER_OPTS
- 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_IP_A_M_CONFIG
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_IP_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_IPV6_GATEWAY
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
SERIALIZED_NAME_MAC_ADDRESS
- See Also:
-
SERIALIZED_NAME_NETWORK_I_D
- See Also:
-
SERIALIZED_NAME_SECONDARY_I_P_ADDRESSES
- See Also:
-
SERIALIZED_NAME_SECONDARY_I_PV6_ADDRESSES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectAdditionalNetwork
public InspectAdditionalNetwork()
-
-
Method Details
-
additionalMACAddresses
-
addAdditionalMACAddressesItem
-
getAdditionalMACAddresses
AdditionalMacAddresses is a set of additional MAC Addresses beyond the first. CNI may configure more than one interface for a single network, which can cause this.- Returns:
- additionalMACAddresses
-
setAdditionalMACAddresses
-
aliases
-
addAliasesItem
-
getAliases
Aliases are any network aliases the container has in this network.- Returns:
- aliases
-
setAliases
-
driverOpts
-
putDriverOptsItem
-
getDriverOpts
DriverOpts is presently unused and maintained exclusively for compatibility.- Returns:
- driverOpts
-
setDriverOpts
-
endpointID
-
getEndpointID
EndpointID is unused, maintained exclusively for compatibility.- Returns:
- endpointID
-
setEndpointID
-
gateway
-
getGateway
Gateway is the IP address of the gateway this network will use.- Returns:
- gateway
-
setGateway
-
globalIPv6Address
-
getGlobalIPv6Address
GlobalIPv6Address is the global-scope IPv6 Address for this network.- Returns:
- globalIPv6Address
-
setGlobalIPv6Address
-
globalIPv6PrefixLen
-
getGlobalIPv6PrefixLen
GlobalIPv6PrefixLen is the length of the subnet mask of this network.- Returns:
- globalIPv6PrefixLen
-
setGlobalIPv6PrefixLen
-
ipAMConfig
-
putIpAMConfigItem
-
getIpAMConfig
IPAMConfig is presently unused and maintained exclusively for compatibility.- Returns:
- ipAMConfig
-
setIpAMConfig
-
ipAddress
-
getIpAddress
IPAddress is the IP address for this network.- Returns:
- ipAddress
-
setIpAddress
-
ipPrefixLen
-
getIpPrefixLen
IPPrefixLen is the length of the subnet mask of this network.- Returns:
- ipPrefixLen
-
setIpPrefixLen
-
ipv6Gateway
-
getIpv6Gateway
IPv6Gateway is the IPv6 gateway this network will use.- Returns:
- ipv6Gateway
-
setIpv6Gateway
-
links
-
addLinksItem
-
getLinks
Links is presently unused and maintained exclusively for compatibility.- Returns:
- links
-
setLinks
-
macAddress
-
getMacAddress
MacAddress is the MAC address for the interface in this network.- Returns:
- macAddress
-
setMacAddress
-
networkID
-
getNetworkID
Name of the network we're connecting to.- Returns:
- networkID
-
setNetworkID
-
secondaryIPAddresses
-
addSecondaryIPAddressesItem
-
getSecondaryIPAddresses
SecondaryIPAddresses is a list of extra IP Addresses that the container has been assigned in this network.- Returns:
- secondaryIPAddresses
-
setSecondaryIPAddresses
-
secondaryIPv6Addresses
-
addSecondaryIPv6AddressesItem
-
getSecondaryIPv6Addresses
SecondaryIPv6Addresses is a list of extra IPv6 Addresses that the container has been assigned in this network.- Returns:
- secondaryIPv6Addresses
-
setSecondaryIPv6Addresses
-
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 InspectAdditionalNetwork
-
fromJson
Create an instance of InspectAdditionalNetwork given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectAdditionalNetwork
- Throws:
IOException- if the JSON string is invalid with respect to InspectAdditionalNetwork
-
toJson
Convert an instance of InspectAdditionalNetwork to an JSON string- Returns:
- JSON string
-