Class SummaryNetworkSettings

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SummaryNetworkSettings extends Object implements Serializable
SummaryNetworkSettings provides a summary of container's networks in /containers/json
See Also:
  • Field Details

  • Constructor Details

    • SummaryNetworkSettings

      public SummaryNetworkSettings()
  • Method Details

    • networks

      public SummaryNetworkSettings networks(Map<String,EndpointSettings> networks)
    • putNetworksItem

      public SummaryNetworkSettings putNetworksItem(String key, EndpointSettings networksItem)
    • getNetworks

      @Nullable @Valid public @Valid Map<String,EndpointSettings> getNetworks()
      Get networks
      Returns:
      networks
    • setNetworks

      public void setNetworks(Map<String,EndpointSettings> networks)
    • 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 SummaryNetworkSettings
    • fromJson

      public static SummaryNetworkSettings fromJson(String jsonString) throws IOException
      Create an instance of SummaryNetworkSettings given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of SummaryNetworkSettings
      Throws:
      IOException - if the JSON string is invalid with respect to SummaryNetworkSettings
    • toJson

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