-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 2.22.0-RC1-v2-21.2.00.00 release (#200)
Co-authored-by: DevCenter-DocuSign <[email protected]>
- Loading branch information
1 parent
ddf9b66
commit 3c33d70
Showing
8 changed files
with
219 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 156 additions & 0 deletions
156
src/main/java/com/docusign/esign/model/PrefillFormData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
package com.docusign.esign.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.docusign.esign.model.NameValue; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
|
||
/** | ||
* PrefillFormData | ||
*/ | ||
|
||
public class PrefillFormData { | ||
@JsonProperty("formData") | ||
private java.util.List<NameValue> formData = null; | ||
|
||
@JsonProperty("senderEmail") | ||
private String senderEmail = null; | ||
|
||
@JsonProperty("senderName") | ||
private String senderName = null; | ||
|
||
@JsonProperty("senderUserId") | ||
private String senderUserId = null; | ||
|
||
public PrefillFormData formData(java.util.List<NameValue> formData) { | ||
this.formData = formData; | ||
return this; | ||
} | ||
|
||
public PrefillFormData addFormDataItem(NameValue formDataItem) { | ||
if (this.formData == null) { | ||
this.formData = new java.util.ArrayList<NameValue>(); | ||
} | ||
this.formData.add(formDataItem); | ||
return this; | ||
} | ||
|
||
/** | ||
* | ||
* @return formData | ||
**/ | ||
@ApiModelProperty(value = "") | ||
public java.util.List<NameValue> getFormData() { | ||
return formData; | ||
} | ||
|
||
public void setFormData(java.util.List<NameValue> formData) { | ||
this.formData = formData; | ||
} | ||
|
||
public PrefillFormData senderEmail(String senderEmail) { | ||
this.senderEmail = senderEmail; | ||
return this; | ||
} | ||
|
||
/** | ||
* | ||
* @return senderEmail | ||
**/ | ||
@ApiModelProperty(value = "") | ||
public String getSenderEmail() { | ||
return senderEmail; | ||
} | ||
|
||
public void setSenderEmail(String senderEmail) { | ||
this.senderEmail = senderEmail; | ||
} | ||
|
||
public PrefillFormData senderName(String senderName) { | ||
this.senderName = senderName; | ||
return this; | ||
} | ||
|
||
/** | ||
* | ||
* @return senderName | ||
**/ | ||
@ApiModelProperty(value = "") | ||
public String getSenderName() { | ||
return senderName; | ||
} | ||
|
||
public void setSenderName(String senderName) { | ||
this.senderName = senderName; | ||
} | ||
|
||
public PrefillFormData senderUserId(String senderUserId) { | ||
this.senderUserId = senderUserId; | ||
return this; | ||
} | ||
|
||
/** | ||
* | ||
* @return senderUserId | ||
**/ | ||
@ApiModelProperty(value = "") | ||
public String getSenderUserId() { | ||
return senderUserId; | ||
} | ||
|
||
public void setSenderUserId(String senderUserId) { | ||
this.senderUserId = senderUserId; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(java.lang.Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
PrefillFormData prefillFormData = (PrefillFormData) o; | ||
return Objects.equals(this.formData, prefillFormData.formData) && | ||
Objects.equals(this.senderEmail, prefillFormData.senderEmail) && | ||
Objects.equals(this.senderName, prefillFormData.senderName) && | ||
Objects.equals(this.senderUserId, prefillFormData.senderUserId); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(formData, senderEmail, senderName, senderUserId); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class PrefillFormData {\n"); | ||
|
||
sb.append(" formData: ").append(toIndentedString(formData)).append("\n"); | ||
sb.append(" senderEmail: ").append(toIndentedString(senderEmail)).append("\n"); | ||
sb.append(" senderName: ").append(toIndentedString(senderName)).append("\n"); | ||
sb.append(" senderUserId: ").append(toIndentedString(senderUserId)).append("\n"); | ||
sb.append("}"); | ||
return sb.toString(); | ||
} | ||
|
||
/** | ||
* Convert the given object to string with each line indented by 4 spaces | ||
* (except the first line). | ||
*/ | ||
private String toIndentedString(java.lang.Object o) { | ||
if (o == null) { | ||
return "null"; | ||
} | ||
return o.toString().replace("\n", "\n "); | ||
} | ||
|
||
} | ||
|