Class EndpointIPAMConfig

java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointIPAMConfig

@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 EndpointIPAMConfig extends Object
EndpointIPAMConfig represents IPAM configurations for the endpoint
  • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      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