Package com.boldsign.model
Class TemplateProperties
- java.lang.Object
-
- com.boldsign.model.TemplateProperties
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateProperties extends Object
TemplateProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateProperties.AllowedSignatureTypesEnumGets or Sets allowedSignatureTypesstatic classTemplateProperties.CustomTypeAdapterFactorystatic classTemplateProperties.DocumentDownloadOptionEnumGets or Sets documentDownloadOption
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TemplateProperties()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_TEMPLATE_ID
public static final String SERIALIZED_NAME_TEMPLATE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_TITLE
public static final String SERIALIZED_NAME_DOCUMENT_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_MESSAGE
public static final String SERIALIZED_NAME_DOCUMENT_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILES
public static final String SERIALIZED_NAME_FILES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLES
public static final String SERIALIZED_NAME_ROLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORM_GROUPS
public static final String SERIALIZED_NAME_FORM_GROUPS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMON_FIELDS
public static final String SERIALIZED_NAME_COMMON_FIELDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_C_C_DETAILS
public static final String SERIALIZED_NAME_C_C_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRAND_ID
public static final String SERIALIZED_NAME_BRAND_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOW_MESSAGE_EDITING
public static final String SERIALIZED_NAME_ALLOW_MESSAGE_EDITING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOW_NEW_ROLES
public static final String SERIALIZED_NAME_ALLOW_NEW_ROLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOW_NEW_FILES
public static final String SERIALIZED_NAME_ALLOW_NEW_FILES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOW_MODIFY_FILES
public static final String SERIALIZED_NAME_ALLOW_MODIFY_FILES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_REASSIGN
public static final String SERIALIZED_NAME_ENABLE_REASSIGN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_PRINT_AND_SIGN
public static final String SERIALIZED_NAME_ENABLE_PRINT_AND_SIGN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_SIGNING_ORDER
public static final String SERIALIZED_NAME_ENABLE_SIGNING_ORDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_DATE
public static final String SERIALIZED_NAME_CREATED_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_BY
public static final String SERIALIZED_NAME_CREATED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHARED_TEMPLATE_DETAIL
public static final String SERIALIZED_NAME_SHARED_TEMPLATE_DETAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_INFO
public static final String SERIALIZED_NAME_DOCUMENT_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABELS
public static final String SERIALIZED_NAME_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPLATE_LABELS
public static final String SERIALIZED_NAME_TEMPLATE_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BEHALF_OF
public static final String SERIALIZED_NAME_BEHALF_OF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_DOWNLOAD_OPTION
public static final String SERIALIZED_NAME_DOCUMENT_DOWNLOAD_OPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_NOTIFICATION_SETTINGS
public static final String SERIALIZED_NAME_RECIPIENT_NOTIFICATION_SETTINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORM_FIELD_PERMISSION
public static final String SERIALIZED_NAME_FORM_FIELD_PERMISSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ALLOWED_SIGNATURE_TYPES
public static final String SERIALIZED_NAME_ALLOWED_SIGNATURE_TYPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUP_SIGNER_SETTINGS
public static final String SERIALIZED_NAME_GROUP_SIGNER_SETTINGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHARING
public static final String SERIALIZED_NAME_SHARING
- See Also:
- Constant Field Values
-
-
Method Detail
-
templateId
public TemplateProperties templateId(String templateId)
-
setTemplateId
public void setTemplateId(String templateId)
-
title
public TemplateProperties title(String title)
-
setTitle
public void setTitle(String title)
-
description
public TemplateProperties description(String description)
-
setDescription
public void setDescription(String description)
-
documentTitle
public TemplateProperties documentTitle(String documentTitle)
-
getDocumentTitle
@Nullable public String getDocumentTitle()
Get documentTitle- Returns:
- documentTitle
-
setDocumentTitle
public void setDocumentTitle(String documentTitle)
-
documentMessage
public TemplateProperties documentMessage(String documentMessage)
-
getDocumentMessage
@Nullable public String getDocumentMessage()
Get documentMessage- Returns:
- documentMessage
-
setDocumentMessage
public void setDocumentMessage(String documentMessage)
-
files
public TemplateProperties files(List<TemplateFiles> files)
-
addFilesItem
public TemplateProperties addFilesItem(TemplateFiles filesItem)
-
getFiles
@Nullable public List<TemplateFiles> getFiles()
Get files- Returns:
- files
-
setFiles
public void setFiles(List<TemplateFiles> files)
-
roles
public TemplateProperties roles(List<Roles> roles)
-
addRolesItem
public TemplateProperties addRolesItem(Roles rolesItem)
-
formGroups
public TemplateProperties formGroups(List<FormGroup> formGroups)
-
addFormGroupsItem
public TemplateProperties addFormGroupsItem(FormGroup formGroupsItem)
-
commonFields
public TemplateProperties commonFields(List<TemplateFormFields> commonFields)
-
addCommonFieldsItem
public TemplateProperties addCommonFieldsItem(TemplateFormFields commonFieldsItem)
-
getCommonFields
@Nullable public List<TemplateFormFields> getCommonFields()
Get commonFields- Returns:
- commonFields
-
setCommonFields
public void setCommonFields(List<TemplateFormFields> commonFields)
-
cCDetails
public TemplateProperties cCDetails(List<String> cCDetails)
-
addCCDetailsItem
public TemplateProperties addCCDetailsItem(String cCDetailsItem)
-
brandId
public TemplateProperties brandId(String brandId)
-
setBrandId
public void setBrandId(String brandId)
-
allowMessageEditing
public TemplateProperties allowMessageEditing(Boolean allowMessageEditing)
-
getAllowMessageEditing
@Nullable public Boolean getAllowMessageEditing()
Get allowMessageEditing- Returns:
- allowMessageEditing
-
setAllowMessageEditing
public void setAllowMessageEditing(Boolean allowMessageEditing)
-
allowNewRoles
public TemplateProperties allowNewRoles(Boolean allowNewRoles)
-
getAllowNewRoles
@Nullable public Boolean getAllowNewRoles()
Get allowNewRoles- Returns:
- allowNewRoles
-
setAllowNewRoles
public void setAllowNewRoles(Boolean allowNewRoles)
-
allowNewFiles
public TemplateProperties allowNewFiles(Boolean allowNewFiles)
-
getAllowNewFiles
@Nullable public Boolean getAllowNewFiles()
Get allowNewFiles- Returns:
- allowNewFiles
-
setAllowNewFiles
public void setAllowNewFiles(Boolean allowNewFiles)
-
allowModifyFiles
public TemplateProperties allowModifyFiles(Boolean allowModifyFiles)
-
getAllowModifyFiles
@Nullable public Boolean getAllowModifyFiles()
Get allowModifyFiles- Returns:
- allowModifyFiles
-
setAllowModifyFiles
public void setAllowModifyFiles(Boolean allowModifyFiles)
-
enableReassign
public TemplateProperties enableReassign(Boolean enableReassign)
-
getEnableReassign
@Nullable public Boolean getEnableReassign()
Get enableReassign- Returns:
- enableReassign
-
setEnableReassign
public void setEnableReassign(Boolean enableReassign)
-
enablePrintAndSign
public TemplateProperties enablePrintAndSign(Boolean enablePrintAndSign)
-
getEnablePrintAndSign
@Nullable public Boolean getEnablePrintAndSign()
Get enablePrintAndSign- Returns:
- enablePrintAndSign
-
setEnablePrintAndSign
public void setEnablePrintAndSign(Boolean enablePrintAndSign)
-
enableSigningOrder
public TemplateProperties enableSigningOrder(Boolean enableSigningOrder)
-
getEnableSigningOrder
@Nullable public Boolean getEnableSigningOrder()
Get enableSigningOrder- Returns:
- enableSigningOrder
-
setEnableSigningOrder
public void setEnableSigningOrder(Boolean enableSigningOrder)
-
createdDate
public TemplateProperties createdDate(Long createdDate)
-
setCreatedDate
public void setCreatedDate(Long createdDate)
-
createdBy
public TemplateProperties createdBy(TemplateSenderDetail createdBy)
-
getCreatedBy
@Nullable public TemplateSenderDetail getCreatedBy()
Get createdBy- Returns:
- createdBy
-
setCreatedBy
public void setCreatedBy(TemplateSenderDetail createdBy)
-
sharedTemplateDetail
@Deprecated public TemplateProperties sharedTemplateDetail(List<TemplateSharedTemplateDetail> sharedTemplateDetail)
Deprecated.
-
addSharedTemplateDetailItem
public TemplateProperties addSharedTemplateDetailItem(TemplateSharedTemplateDetail sharedTemplateDetailItem)
-
getSharedTemplateDetail
@Deprecated @Nullable public List<TemplateSharedTemplateDetail> getSharedTemplateDetail()
Deprecated.Get sharedTemplateDetail- Returns:
- sharedTemplateDetail
-
setSharedTemplateDetail
@Deprecated public void setSharedTemplateDetail(List<TemplateSharedTemplateDetail> sharedTemplateDetail)
Deprecated.
-
documentInfo
public TemplateProperties documentInfo(List<DocumentInfo> documentInfo)
-
addDocumentInfoItem
public TemplateProperties addDocumentInfoItem(DocumentInfo documentInfoItem)
-
getDocumentInfo
@Nullable public List<DocumentInfo> getDocumentInfo()
Get documentInfo- Returns:
- documentInfo
-
setDocumentInfo
public void setDocumentInfo(List<DocumentInfo> documentInfo)
-
labels
public TemplateProperties labels(List<String> labels)
-
addLabelsItem
public TemplateProperties addLabelsItem(String labelsItem)
-
templateLabels
public TemplateProperties templateLabels(List<String> templateLabels)
-
addTemplateLabelsItem
public TemplateProperties addTemplateLabelsItem(String templateLabelsItem)
-
getTemplateLabels
@Nullable public List<String> getTemplateLabels()
Get templateLabels- Returns:
- templateLabels
-
behalfOf
public TemplateProperties behalfOf(BehalfOf behalfOf)
-
setBehalfOf
public void setBehalfOf(BehalfOf behalfOf)
-
documentDownloadOption
public TemplateProperties documentDownloadOption(TemplateProperties.DocumentDownloadOptionEnum documentDownloadOption)
-
getDocumentDownloadOption
@Nullable public TemplateProperties.DocumentDownloadOptionEnum getDocumentDownloadOption()
Get documentDownloadOption- Returns:
- documentDownloadOption
-
setDocumentDownloadOption
public void setDocumentDownloadOption(TemplateProperties.DocumentDownloadOptionEnum documentDownloadOption)
-
recipientNotificationSettings
public TemplateProperties recipientNotificationSettings(RecipientNotificationSettings recipientNotificationSettings)
-
getRecipientNotificationSettings
@Nullable public RecipientNotificationSettings getRecipientNotificationSettings()
Get recipientNotificationSettings- Returns:
- recipientNotificationSettings
-
setRecipientNotificationSettings
public void setRecipientNotificationSettings(RecipientNotificationSettings recipientNotificationSettings)
-
formFieldPermission
public TemplateProperties formFieldPermission(FormFieldPermission formFieldPermission)
-
getFormFieldPermission
@Nullable public FormFieldPermission getFormFieldPermission()
Get formFieldPermission- Returns:
- formFieldPermission
-
setFormFieldPermission
public void setFormFieldPermission(FormFieldPermission formFieldPermission)
-
allowedSignatureTypes
public TemplateProperties allowedSignatureTypes(List<TemplateProperties.AllowedSignatureTypesEnum> allowedSignatureTypes)
-
addAllowedSignatureTypesItem
public TemplateProperties addAllowedSignatureTypesItem(TemplateProperties.AllowedSignatureTypesEnum allowedSignatureTypesItem)
-
getAllowedSignatureTypes
@Nullable public List<TemplateProperties.AllowedSignatureTypesEnum> getAllowedSignatureTypes()
Get allowedSignatureTypes- Returns:
- allowedSignatureTypes
-
setAllowedSignatureTypes
public void setAllowedSignatureTypes(List<TemplateProperties.AllowedSignatureTypesEnum> allowedSignatureTypes)
-
groupSignerSettings
public TemplateProperties groupSignerSettings(GroupSignerSettings groupSignerSettings)
-
getGroupSignerSettings
@Nullable public GroupSignerSettings getGroupSignerSettings()
Get groupSignerSettings- Returns:
- groupSignerSettings
-
setGroupSignerSettings
public void setGroupSignerSettings(GroupSignerSettings groupSignerSettings)
-
sharing
public TemplateProperties sharing(TemplateSharing sharing)
-
getSharing
@Nullable public TemplateSharing getSharing()
Get sharing- Returns:
- sharing
-
setSharing
public void setSharing(TemplateSharing sharing)
-
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 TemplateProperties
-
fromJson
public static TemplateProperties fromJson(String jsonString) throws IOException
Create an instance of TemplateProperties given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateProperties
- Throws:
IOException- if the JSON string is invalid with respect to TemplateProperties
-
toJson
public String toJson()
Convert an instance of TemplateProperties to an JSON string- Returns:
- JSON string
-
-