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.Object
An 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.String
JSON_PROPERTY_API_ID
static java.lang.String
JSON_PROPERTY_EDITOR
static java.lang.String
JSON_PROPERTY_NAME
static java.lang.String
JSON_PROPERTY_REQUIRED
static java.lang.String
JSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description SignatureRequestResponseCustomFieldBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureRequestResponseCustomFieldBase
apiId(java.lang.String apiId)
java.util.Map<java.lang.String,java.lang.Object>
createFormData()
SignatureRequestResponseCustomFieldBase
editor(java.lang.String editor)
boolean
equals(java.lang.Object o)
Return true if this SignatureRequestResponseCustomFieldBase object is equal to o.java.lang.String
getApiId()
The unique ID for this field.java.lang.String
getEditor()
The name of the Role that is able to edit this field.java.lang.String
getName()
The name of the Custom Field.java.lang.Boolean
getRequired()
A boolean value denoting if this field is required.java.lang.String
getType()
The type of this Custom Field.int
hashCode()
SignatureRequestResponseCustomFieldBase
name(java.lang.String name)
SignatureRequestResponseCustomFieldBase
required(java.lang.Boolean required)
void
setApiId(java.lang.String apiId)
void
setEditor(java.lang.String editor)
void
setName(java.lang.String name)
void
setRequired(java.lang.Boolean required)
void
setType(java.lang.String type)
java.lang.String
toString()
SignatureRequestResponseCustomFieldBase
type(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:
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
-
-