Package com.hellosign.openapi.model
Class SubFormFieldsPerDocumentBase
- java.lang.Object
-
- com.hellosign.openapi.model.SubFormFieldsPerDocumentBase
-
- Direct Known Subclasses:
SubFormFieldsPerDocumentCheckbox,SubFormFieldsPerDocumentCheckboxMerge,SubFormFieldsPerDocumentDateSigned,SubFormFieldsPerDocumentDropdown,SubFormFieldsPerDocumentHyperlink,SubFormFieldsPerDocumentInitials,SubFormFieldsPerDocumentRadio,SubFormFieldsPerDocumentSignature,SubFormFieldsPerDocumentText,SubFormFieldsPerDocumentTextMerge
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SubFormFieldsPerDocumentBase extends java.lang.ObjectThe fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href=\"/docs/placing-fields/form-fields-per-document\" target=\"_blank\">Using Form Fields per Document</a>.) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_API_IDstatic java.lang.StringJSON_PROPERTY_DOCUMENT_INDEXstatic java.lang.StringJSON_PROPERTY_HEIGHTstatic java.lang.StringJSON_PROPERTY_NAMEstatic java.lang.StringJSON_PROPERTY_PAGEstatic java.lang.StringJSON_PROPERTY_REQUIREDstatic java.lang.StringJSON_PROPERTY_SIGNERstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_WIDTHstatic java.lang.StringJSON_PROPERTY_Xstatic java.lang.StringJSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description SubFormFieldsPerDocumentBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubFormFieldsPerDocumentBaseapiId(java.lang.String apiId)java.util.Map<java.lang.String,java.lang.Object>createFormData()SubFormFieldsPerDocumentBasedocumentIndex(java.lang.Integer documentIndex)booleanequals(java.lang.Object o)Return true if this SubFormFieldsPerDocumentBase object is equal to o.java.lang.StringgetApiId()An identifier for the field that is unique across all documents in the request.java.lang.IntegergetDocumentIndex()Represents the integer index of the `file` or `file_url` document the field should be attached to.java.lang.IntegergetHeight()Size of the field in pixels.java.lang.StringgetName()Display name for the field.java.lang.IntegergetPage()Page in the document where the field should be placed (requires documents be PDF files).java.lang.BooleangetRequired()Whether this field is required.java.lang.StringgetSigner()Signer index identified by the offset in the signers parameter (0-based indexing), indicating which signer should fill out the field.java.lang.StringgetType()Get typejava.lang.IntegergetWidth()Size of the field in pixels.java.lang.IntegergetX()Location coordinates of the field in pixels.java.lang.IntegergetY()Location coordinates of the field in pixels.inthashCode()SubFormFieldsPerDocumentBaseheight(java.lang.Integer height)SubFormFieldsPerDocumentBasename(java.lang.String name)SubFormFieldsPerDocumentBasepage(java.lang.Integer page)SubFormFieldsPerDocumentBaserequired(java.lang.Boolean required)voidsetApiId(java.lang.String apiId)voidsetDocumentIndex(java.lang.Integer documentIndex)voidsetHeight(java.lang.Integer height)voidsetName(java.lang.String name)voidsetPage(java.lang.Integer page)voidsetRequired(java.lang.Boolean required)voidsetSigner(java.lang.String signer)voidsetType(java.lang.String type)voidsetWidth(java.lang.Integer width)voidsetX(java.lang.Integer x)voidsetY(java.lang.Integer y)SubFormFieldsPerDocumentBasesigner(java.lang.String signer)java.lang.StringtoString()SubFormFieldsPerDocumentBasetype(java.lang.String type)SubFormFieldsPerDocumentBasewidth(java.lang.Integer width)SubFormFieldsPerDocumentBasex(java.lang.Integer x)SubFormFieldsPerDocumentBasey(java.lang.Integer y)
-
-
-
Field Detail
-
JSON_PROPERTY_DOCUMENT_INDEX
public static final java.lang.String JSON_PROPERTY_DOCUMENT_INDEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_API_ID
public static final java.lang.String JSON_PROPERTY_API_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEIGHT
public static final java.lang.String JSON_PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUIRED
public static final java.lang.String JSON_PROPERTY_REQUIRED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIGNER
public static final java.lang.String JSON_PROPERTY_SIGNER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WIDTH
public static final java.lang.String JSON_PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_X
public static final java.lang.String JSON_PROPERTY_X
- See Also:
- Constant Field Values
-
JSON_PROPERTY_Y
public static final java.lang.String JSON_PROPERTY_Y
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final java.lang.String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
documentIndex
public SubFormFieldsPerDocumentBase documentIndex(java.lang.Integer documentIndex)
-
getDocumentIndex
@Nonnull public java.lang.Integer getDocumentIndex()
Represents the integer index of the `file` or `file_url` document the field should be attached to.- Returns:
- documentIndex
-
setDocumentIndex
public void setDocumentIndex(java.lang.Integer documentIndex)
-
apiId
public SubFormFieldsPerDocumentBase apiId(java.lang.String apiId)
-
getApiId
@Nonnull public java.lang.String getApiId()
An identifier for the field that is unique across all documents in the request.- Returns:
- apiId
-
setApiId
public void setApiId(java.lang.String apiId)
-
height
public SubFormFieldsPerDocumentBase height(java.lang.Integer height)
-
getHeight
@Nonnull public java.lang.Integer getHeight()
Size of the field in pixels.- Returns:
- height
-
setHeight
public void setHeight(java.lang.Integer height)
-
required
public SubFormFieldsPerDocumentBase required(java.lang.Boolean required)
-
getRequired
@Nonnull public java.lang.Boolean getRequired()
Whether this field is required.- Returns:
- required
-
setRequired
public void setRequired(java.lang.Boolean required)
-
signer
public SubFormFieldsPerDocumentBase signer(java.lang.String signer)
-
getSigner
@Nonnull public java.lang.String getSigner()
Signer index identified by the offset in the signers parameter (0-based indexing), indicating which signer should fill out the field. **NOTE**: If type is `text-merge` or `checkbox-merge`, you must set this to sender in order to use pre-filled data.- Returns:
- signer
-
setSigner
public void setSigner(java.lang.String signer)
-
type
public SubFormFieldsPerDocumentBase type(java.lang.String type)
-
getType
@Nonnull public java.lang.String getType()
Get type- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
width
public SubFormFieldsPerDocumentBase width(java.lang.Integer width)
-
getWidth
@Nonnull public java.lang.Integer getWidth()
Size of the field in pixels.- Returns:
- width
-
setWidth
public void setWidth(java.lang.Integer width)
-
x
public SubFormFieldsPerDocumentBase x(java.lang.Integer x)
-
getX
@Nonnull public java.lang.Integer getX()
Location coordinates of the field in pixels.- Returns:
- x
-
setX
public void setX(java.lang.Integer x)
-
y
public SubFormFieldsPerDocumentBase y(java.lang.Integer y)
-
getY
@Nonnull public java.lang.Integer getY()
Location coordinates of the field in pixels.- Returns:
- y
-
setY
public void setY(java.lang.Integer y)
-
name
public SubFormFieldsPerDocumentBase name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
Display name for the field.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
page
public SubFormFieldsPerDocumentBase page(java.lang.Integer page)
-
getPage
@Nullable public java.lang.Integer getPage()
Page in the document where the field should be placed (requires documents be PDF files). - When the page number parameter is supplied, the API will use the new coordinate system. - Check out the differences between both [coordinate systems](https://faq.hellosign.com/hc/en-us/articles/217115577) and how to use them.- Returns:
- page
-
setPage
public void setPage(java.lang.Integer page)
-
equals
public boolean equals(java.lang.Object o)
Return true if this SubFormFieldsPerDocumentBase object is equal to o.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createFormData
public java.util.Map<java.lang.String,java.lang.Object> createFormData() throws ApiException- Throws:
ApiException
-
-