Class ExportModel

java.lang.Object
ai.reveng.model.ExportModel

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ExportModel extends Object
ExportModel
  • Field Details

  • Constructor Details

    • ExportModel

      public ExportModel()
  • Method Details

    • numberOfExports

      public ExportModel numberOfExports(@Nonnull Integer numberOfExports)
    • getNumberOfExports

      @Nonnull public Integer getNumberOfExports()
      Get numberOfExports
      Returns:
      numberOfExports
    • setNumberOfExports

      public void setNumberOfExports(@Nonnull Integer numberOfExports)
    • exports

      public ExportModel exports(@Nonnull List<Map<String,Integer>> exports)
    • addExportsItem

      public ExportModel addExportsItem(Map<String,Integer> exportsItem)
    • getExports

      @Nonnull public List<Map<String,Integer>> getExports()
      Get exports
      Returns:
      exports
    • setExports

      public void setExports(@Nonnull List<Map<String,Integer>> exports)
    • putAdditionalProperty

      public ExportModel putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the ExportModel instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 ExportModel
    • fromJson

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

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