Package com.boldsign.model
Class TemplateFiles
- java.lang.Object
-
- com.boldsign.model.TemplateFiles
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateFiles extends Object
TemplateFiles
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateFiles.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DOCUMENT_IDstatic StringSERIALIZED_NAME_DOCUMENT_NAMEstatic StringSERIALIZED_NAME_ORDERstatic StringSERIALIZED_NAME_PAGE_COUNT
-
Constructor Summary
Constructors Constructor Description TemplateFiles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()TemplateFilesdocumentId(String documentId)TemplateFilesdocumentName(String documentName)booleanequals(Object o)static TemplateFilesfromJson(String jsonString)Create an instance of TemplateFiles given an JSON stringStringgetDocumentId()Get documentIdStringgetDocumentName()Get documentNameIntegergetOrder()Get orderIntegergetPageCount()Get pageCountinthashCode()TemplateFilesorder(Integer order)TemplateFilespageCount(Integer pageCount)voidsetDocumentId(String documentId)voidsetDocumentName(String documentName)voidsetOrder(Integer order)voidsetPageCount(Integer pageCount)StringtoJson()Convert an instance of TemplateFiles 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_DOCUMENT_ID
public static final String SERIALIZED_NAME_DOCUMENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_NAME
public static final String SERIALIZED_NAME_DOCUMENT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORDER
public static final String SERIALIZED_NAME_ORDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGE_COUNT
public static final String SERIALIZED_NAME_PAGE_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
documentId
public TemplateFiles documentId(String documentId)
-
setDocumentId
public void setDocumentId(String documentId)
-
documentName
public TemplateFiles documentName(String documentName)
-
setDocumentName
public void setDocumentName(String documentName)
-
order
public TemplateFiles order(Integer order)
-
setOrder
public void setOrder(Integer order)
-
pageCount
public TemplateFiles pageCount(Integer pageCount)
-
setPageCount
public void setPageCount(Integer pageCount)
-
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 TemplateFiles
-
fromJson
public static TemplateFiles fromJson(String jsonString) throws IOException
Create an instance of TemplateFiles given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateFiles
- Throws:
IOException- if the JSON string is invalid with respect to TemplateFiles
-
toJson
public String toJson()
Convert an instance of TemplateFiles to an JSON string- Returns:
- JSON string
-
-