Package com.hellosign.openapi.model
Class SignatureRequestResponseCustomFieldBase
- java.lang.Object
-
- com.hellosign.openapi.model.SignatureRequestResponseCustomFieldBase
-
- Direct Known Subclasses:
SignatureRequestResponseCustomFieldCheckbox,SignatureRequestResponseCustomFieldText
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SignatureRequestResponseCustomFieldBase extends java.lang.ObjectAn array of Custom Field objects containing the name and type of each custom field. * Text Field uses `SignatureRequestResponseCustomFieldText` * Checkbox Field uses `SignatureRequestResponseCustomFieldCheckbox`
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_API_IDstatic java.lang.StringJSON_PROPERTY_EDITORstatic java.lang.StringJSON_PROPERTY_NAMEstatic java.lang.StringJSON_PROPERTY_REQUIREDstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description SignatureRequestResponseCustomFieldBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureRequestResponseCustomFieldBaseapiId(java.lang.String apiId)java.util.Map<java.lang.String,java.lang.Object>createFormData()SignatureRequestResponseCustomFieldBaseeditor(java.lang.String editor)booleanequals(java.lang.Object o)Return true if this SignatureRequestResponseCustomFieldBase object is equal to o.java.lang.StringgetApiId()The unique ID for this field.java.lang.StringgetEditor()The name of the Role that is able to edit this field.java.lang.StringgetName()The name of the Custom Field.java.lang.BooleangetRequired()A boolean value denoting if this field is required.java.lang.StringgetType()The type of this Custom Field.inthashCode()SignatureRequestResponseCustomFieldBasename(java.lang.String name)SignatureRequestResponseCustomFieldBaserequired(java.lang.Boolean required)voidsetApiId(java.lang.String apiId)voidsetEditor(java.lang.String editor)voidsetName(java.lang.String name)voidsetRequired(java.lang.Boolean required)voidsetType(java.lang.String type)java.lang.StringtoString()SignatureRequestResponseCustomFieldBasetype(java.lang.String type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUIRED
public static final java.lang.String JSON_PROPERTY_REQUIRED
- 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_EDITOR
public static final java.lang.String JSON_PROPERTY_EDITOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public SignatureRequestResponseCustomFieldBase type(java.lang.String type)
-
getType
@Nonnull public java.lang.String getType()
The type of this Custom Field. Only 'text' and 'checkbox' are currently supported.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
name
public SignatureRequestResponseCustomFieldBase name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
The name of the Custom Field.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
required
public SignatureRequestResponseCustomFieldBase required(java.lang.Boolean required)
-
getRequired
@Nullable public java.lang.Boolean getRequired()
A boolean value denoting if this field is required.- Returns:
- required
-
setRequired
public void setRequired(java.lang.Boolean required)
-
apiId
public SignatureRequestResponseCustomFieldBase apiId(java.lang.String apiId)
-
getApiId
@Nullable public java.lang.String getApiId()
The unique ID for this field.- Returns:
- apiId
-
setApiId
public void setApiId(java.lang.String apiId)
-
editor
public SignatureRequestResponseCustomFieldBase editor(java.lang.String editor)
-
getEditor
@Nullable public java.lang.String getEditor()
The name of the Role that is able to edit this field.- Returns:
- editor
-
setEditor
public void setEditor(java.lang.String editor)
-
equals
public boolean equals(java.lang.Object o)
Return true if this SignatureRequestResponseCustomFieldBase 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
-
-