Class NetworkInspectReport
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkInspectReport
@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 NetworkInspectReport
extends Object
NetworkInspectReport
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNetworkDnsServersItem(String networkDnsServersItem) addRoutesItem(Route routesItem) addSubnetsItem(Subnet subnetsItem) containers(Map<String, NetworkContainerInfo> containers) created(OffsetDateTime created) dnsEnabled(Boolean dnsEnabled) booleanstatic NetworkInspectReportCreate an instance of NetworkInspectReport given an JSON string@Valid Map<String,NetworkContainerInfo> Get containers@Valid OffsetDateTimeCreated contains the timestamp when this network was created.DNSEnabled is whether name resolution is active for container on this Network.Driver for this Network, e.g.getId()ID of the Network.Internal is whether the Network should not have external routes to public or other Networks.IPAMOptions contains options used for the ip assignment.IPv6Enabled if set to true an ipv6 subnet should be created for this net.Labels is a set of key-value labels that have been applied to the Network.getName()Name of the Network.List of custom DNS server for podman's DNS resolver at network level, all the containers attached to this network will consider resolvers configured at network level.NetworkInterface is the network interface name on the host.Options is a set of key-value options that have been applied to the Network.Routes to use for this network.Subnets to use for this network.inthashCode()ipamOptions(Map<String, String> ipamOptions) ipv6Enabled(Boolean ipv6Enabled) networkDnsServers(List<String> networkDnsServers) networkInterface(String networkInterface) putContainersItem(String key, NetworkContainerInfo containersItem) putIpamOptionsItem(String key, String ipamOptionsItem) putLabelsItem(String key, String labelsItem) putOptionsItem(String key, String optionsItem) voidsetContainers(Map<String, NetworkContainerInfo> containers) voidsetCreated(OffsetDateTime created) voidsetDnsEnabled(Boolean dnsEnabled) voidvoidvoidsetInternal(Boolean internal) voidsetIpamOptions(Map<String, String> ipamOptions) voidsetIpv6Enabled(Boolean ipv6Enabled) voidvoidvoidsetNetworkDnsServers(List<String> networkDnsServers) voidsetNetworkInterface(String networkInterface) voidsetOptions(Map<String, String> options) voidvoidsetSubnets(List<@Valid Subnet> subnets) toJson()Convert an instance of NetworkInspectReport 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_CONTAINERS
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DNS_ENABLED
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_INTERNAL
- See Also:
-
SERIALIZED_NAME_IPAM_OPTIONS
- See Also:
-
SERIALIZED_NAME_IPV6_ENABLED
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NETWORK_DNS_SERVERS
- See Also:
-
SERIALIZED_NAME_NETWORK_INTERFACE
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_ROUTES
- See Also:
-
SERIALIZED_NAME_SUBNETS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkInspectReport
public NetworkInspectReport()
-
-
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 NetworkInspectReport
-
fromJson
Create an instance of NetworkInspectReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkInspectReport
- Throws:
IOException- if the JSON string is invalid with respect to NetworkInspectReport
-
containers
-
putContainersItem
-
getContainers
Get containers- Returns:
- containers
-
setContainers
-
created
-
getCreated
Created contains the timestamp when this network was created.- Returns:
- created
-
setCreated
-
dnsEnabled
-
getDnsEnabled
DNSEnabled is whether name resolution is active for container on this Network. Only supported with the bridge driver.- Returns:
- dnsEnabled
-
setDnsEnabled
-
driver
-
getDriver
Driver for this Network, e.g. bridge, macvlan...- Returns:
- driver
-
setDriver
-
id
-
getId
ID of the Network.- Returns:
- id
-
setId
-
internal
-
getInternal
Internal is whether the Network should not have external routes to public or other Networks.- Returns:
- internal
-
setInternal
-
ipamOptions
-
putIpamOptionsItem
-
getIpamOptions
IPAMOptions contains options used for the ip assignment.- Returns:
- ipamOptions
-
setIpamOptions
-
ipv6Enabled
-
getIpv6Enabled
IPv6Enabled if set to true an ipv6 subnet should be created for this net.- Returns:
- ipv6Enabled
-
setIpv6Enabled
-
labels
-
putLabelsItem
-
getLabels
Labels is a set of key-value labels that have been applied to the Network.- Returns:
- labels
-
setLabels
-
name
-
getName
Name of the Network.- Returns:
- name
-
setName
-
networkDnsServers
-
addNetworkDnsServersItem
-
getNetworkDnsServers
List of custom DNS server for podman's DNS resolver at network level, all the containers attached to this network will consider resolvers configured at network level.- Returns:
- networkDnsServers
-
setNetworkDnsServers
-
networkInterface
-
getNetworkInterface
NetworkInterface is the network interface name on the host.- Returns:
- networkInterface
-
setNetworkInterface
-
options
-
putOptionsItem
-
getOptions
Options is a set of key-value options that have been applied to the Network.- Returns:
- options
-
setOptions
-
routes
-
addRoutesItem
-
getRoutes
Routes to use for this network.- Returns:
- routes
-
setRoutes
-
subnets
-
addSubnetsItem
-
getSubnets
Subnets to use for this network.- Returns:
- subnets
-
setSubnets
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of NetworkInspectReport to an JSON string- Returns:
- JSON string
-