Package com.boldsign.model
Class TemplateRecords
- java.lang.Object
-
- com.boldsign.model.TemplateRecords
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateRecords extends Object
TemplateRecords
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateRecords.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PAGE_DETAILSstatic StringSERIALIZED_NAME_RESULT
-
Constructor Summary
Constructors Constructor Description TemplateRecords()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateRecordsaddResultItem(Template resultItem)Map<String,Object>createFormData()booleanequals(Object o)static TemplateRecordsfromJson(String jsonString)Create an instance of TemplateRecords given an JSON stringPageDetailsgetPageDetails()Get pageDetailsList<Template>getResult()Get resultinthashCode()TemplateRecordspageDetails(PageDetails pageDetails)TemplateRecordsresult(List<Template> result)voidsetPageDetails(PageDetails pageDetails)voidsetResult(List<Template> result)StringtoJson()Convert an instance of TemplateRecords to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PAGE_DETAILS
public static final String SERIALIZED_NAME_PAGE_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
pageDetails
public TemplateRecords pageDetails(PageDetails pageDetails)
-
getPageDetails
@Nullable public PageDetails getPageDetails()
Get pageDetails- Returns:
- pageDetails
-
setPageDetails
public void setPageDetails(PageDetails pageDetails)
-
result
public TemplateRecords result(List<Template> result)
-
addResultItem
public TemplateRecords addResultItem(Template resultItem)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 TemplateRecords
-
fromJson
public static TemplateRecords fromJson(String jsonString) throws IOException
Create an instance of TemplateRecords given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateRecords
- Throws:
IOException- if the JSON string is invalid with respect to TemplateRecords
-
toJson
public String toJson()
Convert an instance of TemplateRecords to an JSON string- Returns:
- JSON string
-
-