All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.docusign.esign.model.PrefillTabs Maven / Gradle / Ivy

There is a newer version: 3.20.0
Show newest version
package com.docusign.esign.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

/** PrefillTabs. */
public class PrefillTabs {
  @JsonProperty("checkboxTabs")
  private java.util.List checkboxTabs = null;

  @JsonProperty("radioGroupTabs")
  private java.util.List radioGroupTabs = null;

  @JsonProperty("senderCompanyTabs")
  private java.util.List senderCompanyTabs = null;

  @JsonProperty("senderNameTabs")
  private java.util.List senderNameTabs = null;

  @JsonProperty("tabGroups")
  private java.util.List tabGroups = null;

  @JsonProperty("textTabs")
  private java.util.List textTabs = null;

  /**
   * checkboxTabs.
   *
   * @return PrefillTabs
   */
  public PrefillTabs checkboxTabs(java.util.List checkboxTabs) {
    this.checkboxTabs = checkboxTabs;
    return this;
  }

  /**
   * addCheckboxTabsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addCheckboxTabsItem(Checkbox checkboxTabsItem) {
    if (this.checkboxTabs == null) {
      this.checkboxTabs = new java.util.ArrayList();
    }
    this.checkboxTabs.add(checkboxTabsItem);
    return this;
  }

  /**
   * Specifies a tag on the document in a location where the recipient can select an option..
   *
   * @return checkboxTabs
   */
  @ApiModelProperty(
      value =
          "Specifies a tag on the document in a location where the recipient can select an option.")
  public java.util.List getCheckboxTabs() {
    return checkboxTabs;
  }

  /** setCheckboxTabs. */
  public void setCheckboxTabs(java.util.List checkboxTabs) {
    this.checkboxTabs = checkboxTabs;
  }

  /**
   * radioGroupTabs.
   *
   * @return PrefillTabs
   */
  public PrefillTabs radioGroupTabs(java.util.List radioGroupTabs) {
    this.radioGroupTabs = radioGroupTabs;
    return this;
  }

  /**
   * addRadioGroupTabsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addRadioGroupTabsItem(RadioGroup radioGroupTabsItem) {
    if (this.radioGroupTabs == null) {
      this.radioGroupTabs = new java.util.ArrayList();
    }
    this.radioGroupTabs.add(radioGroupTabsItem);
    return this;
  }

  /**
   * Specifies a tag on the document in a location where the recipient can select one option from a
   * group of options using a radio button. The radio buttons do not have to be on the same page in
   * a document..
   *
   * @return radioGroupTabs
   */
  @ApiModelProperty(
      value =
          "Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.")
  public java.util.List getRadioGroupTabs() {
    return radioGroupTabs;
  }

  /** setRadioGroupTabs. */
  public void setRadioGroupTabs(java.util.List radioGroupTabs) {
    this.radioGroupTabs = radioGroupTabs;
  }

  /**
   * senderCompanyTabs.
   *
   * @return PrefillTabs
   */
  public PrefillTabs senderCompanyTabs(java.util.List senderCompanyTabs) {
    this.senderCompanyTabs = senderCompanyTabs;
    return this;
  }

  /**
   * addSenderCompanyTabsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addSenderCompanyTabsItem(SenderCompany senderCompanyTabsItem) {
    if (this.senderCompanyTabs == null) {
      this.senderCompanyTabs = new java.util.ArrayList();
    }
    this.senderCompanyTabs.add(senderCompanyTabsItem);
    return this;
  }

  /**
   * .
   *
   * @return senderCompanyTabs
   */
  @ApiModelProperty(value = "")
  public java.util.List getSenderCompanyTabs() {
    return senderCompanyTabs;
  }

  /** setSenderCompanyTabs. */
  public void setSenderCompanyTabs(java.util.List senderCompanyTabs) {
    this.senderCompanyTabs = senderCompanyTabs;
  }

  /**
   * senderNameTabs.
   *
   * @return PrefillTabs
   */
  public PrefillTabs senderNameTabs(java.util.List senderNameTabs) {
    this.senderNameTabs = senderNameTabs;
    return this;
  }

  /**
   * addSenderNameTabsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addSenderNameTabsItem(SenderName senderNameTabsItem) {
    if (this.senderNameTabs == null) {
      this.senderNameTabs = new java.util.ArrayList();
    }
    this.senderNameTabs.add(senderNameTabsItem);
    return this;
  }

  /**
   * .
   *
   * @return senderNameTabs
   */
  @ApiModelProperty(value = "")
  public java.util.List getSenderNameTabs() {
    return senderNameTabs;
  }

  /** setSenderNameTabs. */
  public void setSenderNameTabs(java.util.List senderNameTabs) {
    this.senderNameTabs = senderNameTabs;
  }

  /**
   * tabGroups.
   *
   * @return PrefillTabs
   */
  public PrefillTabs tabGroups(java.util.List tabGroups) {
    this.tabGroups = tabGroups;
    return this;
  }

  /**
   * addTabGroupsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addTabGroupsItem(TabGroup tabGroupsItem) {
    if (this.tabGroups == null) {
      this.tabGroups = new java.util.ArrayList();
    }
    this.tabGroups.add(tabGroupsItem);
    return this;
  }

  /**
   * .
   *
   * @return tabGroups
   */
  @ApiModelProperty(value = "")
  public java.util.List getTabGroups() {
    return tabGroups;
  }

  /** setTabGroups. */
  public void setTabGroups(java.util.List tabGroups) {
    this.tabGroups = tabGroups;
  }

  /**
   * textTabs.
   *
   * @return PrefillTabs
   */
  public PrefillTabs textTabs(java.util.List textTabs) {
    this.textTabs = textTabs;
    return this;
  }

  /**
   * addTextTabsItem.
   *
   * @return PrefillTabs
   */
  public PrefillTabs addTextTabsItem(Text textTabsItem) {
    if (this.textTabs == null) {
      this.textTabs = new java.util.ArrayList();
    }
    this.textTabs.add(textTabsItem);
    return this;
  }

  /**
   * Specifies a that that is an adaptable field that allows the recipient to enter different text
   * information. When getting information that includes this tab type, the original value of the
   * tab when the associated envelope was sent is included in the response..
   *
   * @return textTabs
   */
  @ApiModelProperty(
      value =
          "Specifies a that that is an adaptable field that allows the recipient to enter different text information.  When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.")
  public java.util.List getTextTabs() {
    return textTabs;
  }

  /** setTextTabs. */
  public void setTextTabs(java.util.List textTabs) {
    this.textTabs = textTabs;
  }

  /**
   * Compares objects.
   *
   * @return true or false depending on comparison result.
   */
  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PrefillTabs prefillTabs = (PrefillTabs) o;
    return Objects.equals(this.checkboxTabs, prefillTabs.checkboxTabs)
        && Objects.equals(this.radioGroupTabs, prefillTabs.radioGroupTabs)
        && Objects.equals(this.senderCompanyTabs, prefillTabs.senderCompanyTabs)
        && Objects.equals(this.senderNameTabs, prefillTabs.senderNameTabs)
        && Objects.equals(this.tabGroups, prefillTabs.tabGroups)
        && Objects.equals(this.textTabs, prefillTabs.textTabs);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        checkboxTabs, radioGroupTabs, senderCompanyTabs, senderNameTabs, tabGroups, textTabs);
  }

  /** Converts the given object to string. */
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class PrefillTabs {\n");

    sb.append("    checkboxTabs: ").append(toIndentedString(checkboxTabs)).append("\n");
    sb.append("    radioGroupTabs: ").append(toIndentedString(radioGroupTabs)).append("\n");
    sb.append("    senderCompanyTabs: ").append(toIndentedString(senderCompanyTabs)).append("\n");
    sb.append("    senderNameTabs: ").append(toIndentedString(senderNameTabs)).append("\n");
    sb.append("    tabGroups: ").append(toIndentedString(tabGroups)).append("\n");
    sb.append("    textTabs: ").append(toIndentedString(textTabs)).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    ");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy