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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get numberOfSectionsGet sectionsinthashCode()numberOfSections(Integer numberOfSections) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the SectionModel instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-