Class ServiceUpdateResponse

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ServiceUpdateResponse extends Object implements Serializable
ServiceUpdateResponse service update response
See Also:
  • Field Details

  • Constructor Details

    • ServiceUpdateResponse

      public ServiceUpdateResponse()
  • Method Details

    • warnings

      public ServiceUpdateResponse warnings(List<String> warnings)
    • addWarningsItem

      public ServiceUpdateResponse addWarningsItem(String warningsItem)
    • getWarnings

      @Nullable public List<String> getWarnings()
      Optional warning messages
      Returns:
      warnings
    • setWarnings

      public void setWarnings(List<String> warnings)
    • 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 ServiceUpdateResponse
    • fromJson

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

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