Package ai.reveng.model
Class SectionModel
java.lang.Object
ai.reveng.model.SectionModel
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SectionModel
extends Object
SectionModel
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSectionsItem(SingleSectionModel sectionsItem) booleanstatic SectionModelCreate an instance of SectionModel given an JSON stringGet numberOfSectionsGet sectionsinthashCode()numberOfSections(Integer numberOfSections) sections(List<SingleSectionModel> sections) voidsetNumberOfSections(Integer numberOfSections) voidsetSections(List<SingleSectionModel> sections) toJson()Convert an instance of SectionModel 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_SECTIONS
- See Also:
-
SERIALIZED_NAME_SECTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SectionModel
public SectionModel()
-
-
Method Details
-
numberOfSections
-
getNumberOfSections
Get numberOfSections- Returns:
- numberOfSections
-
setNumberOfSections
-
sections
-
addSectionsItem
-
getSections
Get sections- Returns:
- sections
-
setSections
-
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 SectionModel
-
fromJson
Create an instance of SectionModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SectionModel
- Throws:
IOException- if the JSON string is invalid with respect to SectionModel
-
toJson
Convert an instance of SectionModel to an JSON string- Returns:
- JSON string
-