Package ai.reveng.model
Class ImportModel
java.lang.Object
ai.reveng.model.ImportModel
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ImportModel
extends Object
ImportModel
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ImportModelCreate an instance of ImportModel given an JSON stringGet importsGet numberOfImportsinthashCode()numberOfImports(Integer numberOfImports) voidvoidsetNumberOfImports(Integer numberOfImports) toJson()Convert an instance of ImportModel to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NUMBER_OF_IMPORTS
- See Also:
-
SERIALIZED_NAME_IMPORTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ImportModel
public ImportModel()
-
-
Method Details
-
numberOfImports
-
getNumberOfImports
Get numberOfImports- Returns:
- numberOfImports
-
setNumberOfImports
-
imports
-
addImportsItem
-
getImports
Get imports- Returns:
- imports
-
setImports
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 ImportModel
-
fromJson
Create an instance of ImportModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImportModel
- Throws:
IOException- if the JSON string is invalid with respect to ImportModel
-
toJson
Convert an instance of ImportModel to an JSON string- Returns:
- JSON string
-