Class EndpointIPAMConfig
java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointIPAMConfig
@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 EndpointIPAMConfig
extends Object
EndpointIPAMConfig represents IPAM configurations for the endpoint
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinkLocalIPsItem(String linkLocalIPsItem) booleanstatic EndpointIPAMConfigCreate an instance of EndpointIPAMConfig given an JSON stringGet ipv4AddressGet ipv6AddressGet linkLocalIPsinthashCode()ipv4Address(String ipv4Address) ipv6Address(String ipv6Address) linkLocalIPs(List<String> linkLocalIPs) voidsetIpv4Address(String ipv4Address) voidsetIpv6Address(String ipv6Address) voidsetLinkLocalIPs(List<String> linkLocalIPs) toJson()Convert an instance of EndpointIPAMConfig 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_IPV4_ADDRESS
- See Also:
-
SERIALIZED_NAME_IPV6_ADDRESS
- See Also:
-
SERIALIZED_NAME_LINK_LOCAL_I_PS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EndpointIPAMConfig
public EndpointIPAMConfig()
-
-
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 EndpointIPAMConfig
-
fromJson
Create an instance of EndpointIPAMConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EndpointIPAMConfig
- Throws:
IOException- if the JSON string is invalid with respect to EndpointIPAMConfig
-
ipv4Address
-
getIpv4Address
Get ipv4Address- Returns:
- ipv4Address
-
setIpv4Address
-
ipv6Address
-
getIpv6Address
Get ipv6Address- Returns:
- ipv6Address
-
setIpv6Address
-
linkLocalIPs
-
addLinkLocalIPsItem
-
getLinkLocalIPs
Get linkLocalIPs- Returns:
- linkLocalIPs
-
setLinkLocalIPs
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of EndpointIPAMConfig to an JSON string- Returns:
- JSON string
-