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.Object
The 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.String
JSON_PROPERTY_API_ID
static java.lang.String
JSON_PROPERTY_DOCUMENT_INDEX
static java.lang.String
JSON_PROPERTY_HEIGHT
static java.lang.String
JSON_PROPERTY_NAME
static java.lang.String
JSON_PROPERTY_PAGE
static java.lang.String
JSON_PROPERTY_REQUIRED
static java.lang.String
JSON_PROPERTY_SIGNER
static java.lang.String
JSON_PROPERTY_TYPE
static java.lang.String
JSON_PROPERTY_WIDTH
static java.lang.String
JSON_PROPERTY_X
static java.lang.String
JSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description SubFormFieldsPerDocumentBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubFormFieldsPerDocumentBase
apiId(java.lang.String apiId)
java.util.Map<java.lang.String,java.lang.Object>
createFormData()
SubFormFieldsPerDocumentBase
documentIndex(java.lang.Integer documentIndex)
boolean
equals(java.lang.Object o)
Return true if this SubFormFieldsPerDocumentBase object is equal to o.java.lang.String
getApiId()
An identifier for the field that is unique across all documents in the request.java.lang.Integer
getDocumentIndex()
Represents the integer index of the `file` or `file_url` document the field should be attached to.java.lang.Integer
getHeight()
Size of the field in pixels.java.lang.String
getName()
Display name for the field.java.lang.Integer
getPage()
Page in the document where the field should be placed (requires documents be PDF files).java.lang.Boolean
getRequired()
Whether this field is required.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.java.lang.String
getType()
Get typejava.lang.Integer
getWidth()
Size of the field in pixels.java.lang.Integer
getX()
Location coordinates of the field in pixels.java.lang.Integer
getY()
Location coordinates of the field in pixels.int
hashCode()
SubFormFieldsPerDocumentBase
height(java.lang.Integer height)
SubFormFieldsPerDocumentBase
name(java.lang.String name)
SubFormFieldsPerDocumentBase
page(java.lang.Integer page)
SubFormFieldsPerDocumentBase
required(java.lang.Boolean required)
void
setApiId(java.lang.String apiId)
void
setDocumentIndex(java.lang.Integer documentIndex)
void
setHeight(java.lang.Integer height)
void
setName(java.lang.String name)
void
setPage(java.lang.Integer page)
void
setRequired(java.lang.Boolean required)
void
setSigner(java.lang.String signer)
void
setType(java.lang.String type)
void
setWidth(java.lang.Integer width)
void
setX(java.lang.Integer x)
void
setY(java.lang.Integer y)
SubFormFieldsPerDocumentBase
signer(java.lang.String signer)
java.lang.String
toString()
SubFormFieldsPerDocumentBase
type(java.lang.String type)
SubFormFieldsPerDocumentBase
width(java.lang.Integer width)
SubFormFieldsPerDocumentBase
x(java.lang.Integer x)
SubFormFieldsPerDocumentBase
y(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createFormData
public java.util.Map<java.lang.String,java.lang.Object> createFormData() throws ApiException
- Throws:
ApiException
-
-