Package com.hellosign.openapi.model
Class SubAttachment
- java.lang.Object
-
- com.hellosign.openapi.model.SubAttachment
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SubAttachment extends java.lang.Object
SubAttachment
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_INSTRUCTIONS
static java.lang.String
JSON_PROPERTY_NAME
static java.lang.String
JSON_PROPERTY_REQUIRED
static java.lang.String
JSON_PROPERTY_SIGNER_INDEX
-
Constructor Summary
Constructors Constructor Description SubAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
createFormData()
boolean
equals(java.lang.Object o)
Return true if this SubAttachment object is equal to o.java.lang.String
getInstructions()
The instructions for uploading the attachment.java.lang.String
getName()
The name of attachment.java.lang.Boolean
getRequired()
Determines if the attachment must be uploaded.java.lang.Integer
getSignerIndex()
The signer's index in the `signers` parameter (0-based indexing).int
hashCode()
SubAttachment
instructions(java.lang.String instructions)
SubAttachment
name(java.lang.String name)
SubAttachment
required(java.lang.Boolean required)
void
setInstructions(java.lang.String instructions)
void
setName(java.lang.String name)
void
setRequired(java.lang.Boolean required)
void
setSignerIndex(java.lang.Integer signerIndex)
SubAttachment
signerIndex(java.lang.Integer signerIndex)
java.lang.String
toString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIGNER_INDEX
public static final java.lang.String JSON_PROPERTY_SIGNER_INDEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTRUCTIONS
public static final java.lang.String JSON_PROPERTY_INSTRUCTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUIRED
public static final java.lang.String JSON_PROPERTY_REQUIRED
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public SubAttachment name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
The name of attachment.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
signerIndex
public SubAttachment signerIndex(java.lang.Integer signerIndex)
-
getSignerIndex
@Nonnull public java.lang.Integer getSignerIndex()
The signer's index in the `signers` parameter (0-based indexing). **NOTE**: Only one signer can be assigned per attachment.- Returns:
- signerIndex
-
setSignerIndex
public void setSignerIndex(java.lang.Integer signerIndex)
-
instructions
public SubAttachment instructions(java.lang.String instructions)
-
getInstructions
@Nullable public java.lang.String getInstructions()
The instructions for uploading the attachment.- Returns:
- instructions
-
setInstructions
public void setInstructions(java.lang.String instructions)
-
required
public SubAttachment required(java.lang.Boolean required)
-
getRequired
@Nullable public java.lang.Boolean getRequired()
Determines if the attachment must be uploaded.- Returns:
- required
-
setRequired
public void setRequired(java.lang.Boolean required)
-
equals
public boolean equals(java.lang.Object o)
Return true if this SubAttachment 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
-
-