Class EndpointIPAMConfig

java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointIPAMConfig
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class EndpointIPAMConfig extends Object implements Serializable
EndpointIPAMConfig represents IPAM configurations for the endpoint
See Also:
  • Field Details

  • Constructor Details

    • EndpointIPAMConfig

      public EndpointIPAMConfig()
  • Method Details

    • ipv4Address

      public EndpointIPAMConfig ipv4Address(String ipv4Address)
    • getIpv4Address

      @Nullable public String getIpv4Address()
      Get ipv4Address
      Returns:
      ipv4Address
    • setIpv4Address

      public void setIpv4Address(String ipv4Address)
    • ipv6Address

      public EndpointIPAMConfig ipv6Address(String ipv6Address)
    • getIpv6Address

      @Nullable public String getIpv6Address()
      Get ipv6Address
      Returns:
      ipv6Address
    • setIpv6Address

      public void setIpv6Address(String ipv6Address)
    • linkLocalIPs

      public EndpointIPAMConfig linkLocalIPs(List<String> linkLocalIPs)
    • addLinkLocalIPsItem

      public EndpointIPAMConfig addLinkLocalIPsItem(String linkLocalIPsItem)
    • getLinkLocalIPs

      @Nullable public List<String> getLinkLocalIPs()
      Get linkLocalIPs
      Returns:
      linkLocalIPs
    • setLinkLocalIPs

      public void setLinkLocalIPs(List<String> linkLocalIPs)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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 EndpointIPAMConfig
    • fromJson

      public static EndpointIPAMConfig fromJson(String jsonString) throws IOException
      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
    • toJson

      public String toJson()
      Convert an instance of EndpointIPAMConfig to an JSON string
      Returns:
      JSON string