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

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

Go to download

The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.

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

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

/**
 * ConnectUserObject
 */

public class ConnectUserObject {
  @JsonProperty("configurationtype")
  private String configurationtype = null;

  @JsonProperty("connectId")
  private String connectId = null;

  @JsonProperty("enabled")
  private String enabled = null;

  @JsonProperty("hasAccess")
  private String hasAccess = null;

  @JsonProperty("senderSearchableItems")
  private java.util.List senderSearchableItems = new java.util.ArrayList();

  public ConnectUserObject configurationtype(String configurationtype) {
    this.configurationtype = configurationtype;
    return this;
  }

   /**
   * If merge field's are being used, specifies the type of the merge field. The only  supported value is **salesforce**.
   * @return configurationtype
  **/
  @ApiModelProperty(example = "null", value = "If merge field's are being used, specifies the type of the merge field. The only  supported value is **salesforce**.")
  public String getConfigurationtype() {
    return configurationtype;
  }

  public void setConfigurationtype(String configurationtype) {
    this.configurationtype = configurationtype;
  }

  public ConnectUserObject connectId(String connectId) {
    this.connectId = connectId;
    return this;
  }

   /**
   * 
   * @return connectId
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getConnectId() {
    return connectId;
  }

  public void setConnectId(String connectId) {
    this.connectId = connectId;
  }

  public ConnectUserObject enabled(String enabled) {
    this.enabled = enabled;
    return this;
  }

   /**
   * 
   * @return enabled
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getEnabled() {
    return enabled;
  }

  public void setEnabled(String enabled) {
    this.enabled = enabled;
  }

  public ConnectUserObject hasAccess(String hasAccess) {
    this.hasAccess = hasAccess;
    return this;
  }

   /**
   * 
   * @return hasAccess
  **/
  @ApiModelProperty(example = "null", value = "")
  public String getHasAccess() {
    return hasAccess;
  }

  public void setHasAccess(String hasAccess) {
    this.hasAccess = hasAccess;
  }

  public ConnectUserObject senderSearchableItems(java.util.List senderSearchableItems) {
    this.senderSearchableItems = senderSearchableItems;
    return this;
  }

  public ConnectUserObject addSenderSearchableItemsItem(String senderSearchableItemsItem) {
    this.senderSearchableItems.add(senderSearchableItemsItem);
    return this;
  }

   /**
   * 
   * @return senderSearchableItems
  **/
  @ApiModelProperty(example = "null", value = "")
  public java.util.List getSenderSearchableItems() {
    return senderSearchableItems;
  }

  public void setSenderSearchableItems(java.util.List senderSearchableItems) {
    this.senderSearchableItems = senderSearchableItems;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ConnectUserObject connectUserObject = (ConnectUserObject) o;
    return Objects.equals(this.configurationtype, connectUserObject.configurationtype) &&
        Objects.equals(this.connectId, connectUserObject.connectId) &&
        Objects.equals(this.enabled, connectUserObject.enabled) &&
        Objects.equals(this.hasAccess, connectUserObject.hasAccess) &&
        Objects.equals(this.senderSearchableItems, connectUserObject.senderSearchableItems);
  }

  @Override
  public int hashCode() {
    return Objects.hash(configurationtype, connectId, enabled, hasAccess, senderSearchableItems);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ConnectUserObject {\n");
    
    sb.append("    configurationtype: ").append(toIndentedString(configurationtype)).append("\n");
    sb.append("    connectId: ").append(toIndentedString(connectId)).append("\n");
    sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
    sb.append("    hasAccess: ").append(toIndentedString(hasAccess)).append("\n");
    sb.append("    senderSearchableItems: ").append(toIndentedString(senderSearchableItems)).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 - 2025 Weber Informatics LLC | Privacy Policy