Package com.boldsign.model
Class DocumentFiles
- java.lang.Object
-
- com.boldsign.model.DocumentFiles
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class DocumentFiles extends Object
DocumentFiles
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentFiles.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DOCUMENT_NAMEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_ORDERstatic StringSERIALIZED_NAME_PAGE_COUNTstatic StringSERIALIZED_NAME_TEMPLATE_IDstatic StringSERIALIZED_NAME_TEMPLATE_NAME
-
Constructor Summary
Constructors Constructor Description DocumentFiles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()DocumentFilesdocumentName(String documentName)booleanequals(Object o)static DocumentFilesfromJson(String jsonString)Create an instance of DocumentFiles given an JSON stringStringgetDocumentName()Get documentNameStringgetId()Get idIntegergetOrder()Get orderIntegergetPageCount()Get pageCountStringgetTemplateId()Get templateIdStringgetTemplateName()Get templateNameinthashCode()DocumentFilesid(String id)DocumentFilesorder(Integer order)DocumentFilespageCount(Integer pageCount)voidsetDocumentName(String documentName)voidsetId(String id)voidsetOrder(Integer order)voidsetPageCount(Integer pageCount)voidsetTemplateId(String templateId)voidsetTemplateName(String templateName)DocumentFilestemplateId(String templateId)DocumentFilestemplateName(String templateName)StringtoJson()Convert an instance of DocumentFiles 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_ID
public static final String SERIALIZED_NAME_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
-
SERIALIZED_NAME_TEMPLATE_NAME
public static final String SERIALIZED_NAME_TEMPLATE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPLATE_ID
public static final String SERIALIZED_NAME_TEMPLATE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public DocumentFiles id(String id)
-
setId
public void setId(String id)
-
documentName
public DocumentFiles documentName(String documentName)
-
setDocumentName
public void setDocumentName(String documentName)
-
order
public DocumentFiles order(Integer order)
-
setOrder
public void setOrder(Integer order)
-
pageCount
public DocumentFiles pageCount(Integer pageCount)
-
setPageCount
public void setPageCount(Integer pageCount)
-
templateName
public DocumentFiles templateName(String templateName)
-
setTemplateName
public void setTemplateName(String templateName)
-
templateId
public DocumentFiles templateId(String templateId)
-
setTemplateId
public void setTemplateId(String templateId)
-
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 DocumentFiles
-
fromJson
public static DocumentFiles fromJson(String jsonString) throws IOException
Create an instance of DocumentFiles given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentFiles
- Throws:
IOException- if the JSON string is invalid with respect to DocumentFiles
-
toJson
public String toJson()
Convert an instance of DocumentFiles to an JSON string- Returns:
- JSON string
-
-