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

com.docusign.esign.model.AuthenticationStatus 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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

/** Contains information about the authentication status.. */
@ApiModel(description = "Contains information about the authentication status.")
public class AuthenticationStatus {
  @JsonProperty("accessCodeResult")
  private EventResult accessCodeResult = null;

  @JsonProperty("ageVerifyResult")
  private EventResult ageVerifyResult = null;

  @JsonProperty("anySocialIDResult")
  private EventResult anySocialIDResult = null;

  @JsonProperty("facebookResult")
  private EventResult facebookResult = null;

  @JsonProperty("googleResult")
  private EventResult googleResult = null;

  @JsonProperty("identityVerificationResult")
  private EventResult identityVerificationResult = null;

  @JsonProperty("idLookupResult")
  private EventResult idLookupResult = null;

  @JsonProperty("idQuestionsResult")
  private EventResult idQuestionsResult = null;

  @JsonProperty("linkedinResult")
  private EventResult linkedinResult = null;

  @JsonProperty("liveIDResult")
  private EventResult liveIDResult = null;

  @JsonProperty("ofacResult")
  private EventResult ofacResult = null;

  @JsonProperty("openIDResult")
  private EventResult openIDResult = null;

  @JsonProperty("phoneAuthResult")
  private EventResult phoneAuthResult = null;

  @JsonProperty("salesforceResult")
  private EventResult salesforceResult = null;

  @JsonProperty("signatureProviderResult")
  private EventResult signatureProviderResult = null;

  @JsonProperty("smsAuthResult")
  private EventResult smsAuthResult = null;

  @JsonProperty("sTANPinResult")
  private EventResult sTANPinResult = null;

  @JsonProperty("twitterResult")
  private EventResult twitterResult = null;

  @JsonProperty("yahooResult")
  private EventResult yahooResult = null;

  /**
   * accessCodeResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus accessCodeResult(EventResult accessCodeResult) {
    this.accessCodeResult = accessCodeResult;
    return this;
  }

  /**
   * Get accessCodeResult.
   *
   * @return accessCodeResult
   */
  @ApiModelProperty(value = "")
  public EventResult getAccessCodeResult() {
    return accessCodeResult;
  }

  /** setAccessCodeResult. */
  public void setAccessCodeResult(EventResult accessCodeResult) {
    this.accessCodeResult = accessCodeResult;
  }

  /**
   * ageVerifyResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus ageVerifyResult(EventResult ageVerifyResult) {
    this.ageVerifyResult = ageVerifyResult;
    return this;
  }

  /**
   * Get ageVerifyResult.
   *
   * @return ageVerifyResult
   */
  @ApiModelProperty(value = "")
  public EventResult getAgeVerifyResult() {
    return ageVerifyResult;
  }

  /** setAgeVerifyResult. */
  public void setAgeVerifyResult(EventResult ageVerifyResult) {
    this.ageVerifyResult = ageVerifyResult;
  }

  /**
   * anySocialIDResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus anySocialIDResult(EventResult anySocialIDResult) {
    this.anySocialIDResult = anySocialIDResult;
    return this;
  }

  /**
   * Get anySocialIDResult.
   *
   * @return anySocialIDResult
   */
  @ApiModelProperty(value = "")
  public EventResult getAnySocialIDResult() {
    return anySocialIDResult;
  }

  /** setAnySocialIDResult. */
  public void setAnySocialIDResult(EventResult anySocialIDResult) {
    this.anySocialIDResult = anySocialIDResult;
  }

  /**
   * facebookResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus facebookResult(EventResult facebookResult) {
    this.facebookResult = facebookResult;
    return this;
  }

  /**
   * Get facebookResult.
   *
   * @return facebookResult
   */
  @ApiModelProperty(value = "")
  public EventResult getFacebookResult() {
    return facebookResult;
  }

  /** setFacebookResult. */
  public void setFacebookResult(EventResult facebookResult) {
    this.facebookResult = facebookResult;
  }

  /**
   * googleResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus googleResult(EventResult googleResult) {
    this.googleResult = googleResult;
    return this;
  }

  /**
   * Get googleResult.
   *
   * @return googleResult
   */
  @ApiModelProperty(value = "")
  public EventResult getGoogleResult() {
    return googleResult;
  }

  /** setGoogleResult. */
  public void setGoogleResult(EventResult googleResult) {
    this.googleResult = googleResult;
  }

  /**
   * identityVerificationResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus identityVerificationResult(EventResult identityVerificationResult) {
    this.identityVerificationResult = identityVerificationResult;
    return this;
  }

  /**
   * Get identityVerificationResult.
   *
   * @return identityVerificationResult
   */
  @ApiModelProperty(value = "")
  public EventResult getIdentityVerificationResult() {
    return identityVerificationResult;
  }

  /** setIdentityVerificationResult. */
  public void setIdentityVerificationResult(EventResult identityVerificationResult) {
    this.identityVerificationResult = identityVerificationResult;
  }

  /**
   * idLookupResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus idLookupResult(EventResult idLookupResult) {
    this.idLookupResult = idLookupResult;
    return this;
  }

  /**
   * Get idLookupResult.
   *
   * @return idLookupResult
   */
  @ApiModelProperty(value = "")
  public EventResult getIdLookupResult() {
    return idLookupResult;
  }

  /** setIdLookupResult. */
  public void setIdLookupResult(EventResult idLookupResult) {
    this.idLookupResult = idLookupResult;
  }

  /**
   * idQuestionsResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus idQuestionsResult(EventResult idQuestionsResult) {
    this.idQuestionsResult = idQuestionsResult;
    return this;
  }

  /**
   * Get idQuestionsResult.
   *
   * @return idQuestionsResult
   */
  @ApiModelProperty(value = "")
  public EventResult getIdQuestionsResult() {
    return idQuestionsResult;
  }

  /** setIdQuestionsResult. */
  public void setIdQuestionsResult(EventResult idQuestionsResult) {
    this.idQuestionsResult = idQuestionsResult;
  }

  /**
   * linkedinResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus linkedinResult(EventResult linkedinResult) {
    this.linkedinResult = linkedinResult;
    return this;
  }

  /**
   * Get linkedinResult.
   *
   * @return linkedinResult
   */
  @ApiModelProperty(value = "")
  public EventResult getLinkedinResult() {
    return linkedinResult;
  }

  /** setLinkedinResult. */
  public void setLinkedinResult(EventResult linkedinResult) {
    this.linkedinResult = linkedinResult;
  }

  /**
   * liveIDResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus liveIDResult(EventResult liveIDResult) {
    this.liveIDResult = liveIDResult;
    return this;
  }

  /**
   * Get liveIDResult.
   *
   * @return liveIDResult
   */
  @ApiModelProperty(value = "")
  public EventResult getLiveIDResult() {
    return liveIDResult;
  }

  /** setLiveIDResult. */
  public void setLiveIDResult(EventResult liveIDResult) {
    this.liveIDResult = liveIDResult;
  }

  /**
   * ofacResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus ofacResult(EventResult ofacResult) {
    this.ofacResult = ofacResult;
    return this;
  }

  /**
   * Get ofacResult.
   *
   * @return ofacResult
   */
  @ApiModelProperty(value = "")
  public EventResult getOfacResult() {
    return ofacResult;
  }

  /** setOfacResult. */
  public void setOfacResult(EventResult ofacResult) {
    this.ofacResult = ofacResult;
  }

  /**
   * openIDResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus openIDResult(EventResult openIDResult) {
    this.openIDResult = openIDResult;
    return this;
  }

  /**
   * Get openIDResult.
   *
   * @return openIDResult
   */
  @ApiModelProperty(value = "")
  public EventResult getOpenIDResult() {
    return openIDResult;
  }

  /** setOpenIDResult. */
  public void setOpenIDResult(EventResult openIDResult) {
    this.openIDResult = openIDResult;
  }

  /**
   * phoneAuthResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus phoneAuthResult(EventResult phoneAuthResult) {
    this.phoneAuthResult = phoneAuthResult;
    return this;
  }

  /**
   * Get phoneAuthResult.
   *
   * @return phoneAuthResult
   */
  @ApiModelProperty(value = "")
  public EventResult getPhoneAuthResult() {
    return phoneAuthResult;
  }

  /** setPhoneAuthResult. */
  public void setPhoneAuthResult(EventResult phoneAuthResult) {
    this.phoneAuthResult = phoneAuthResult;
  }

  /**
   * salesforceResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus salesforceResult(EventResult salesforceResult) {
    this.salesforceResult = salesforceResult;
    return this;
  }

  /**
   * Get salesforceResult.
   *
   * @return salesforceResult
   */
  @ApiModelProperty(value = "")
  public EventResult getSalesforceResult() {
    return salesforceResult;
  }

  /** setSalesforceResult. */
  public void setSalesforceResult(EventResult salesforceResult) {
    this.salesforceResult = salesforceResult;
  }

  /**
   * signatureProviderResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus signatureProviderResult(EventResult signatureProviderResult) {
    this.signatureProviderResult = signatureProviderResult;
    return this;
  }

  /**
   * Get signatureProviderResult.
   *
   * @return signatureProviderResult
   */
  @ApiModelProperty(value = "")
  public EventResult getSignatureProviderResult() {
    return signatureProviderResult;
  }

  /** setSignatureProviderResult. */
  public void setSignatureProviderResult(EventResult signatureProviderResult) {
    this.signatureProviderResult = signatureProviderResult;
  }

  /**
   * smsAuthResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus smsAuthResult(EventResult smsAuthResult) {
    this.smsAuthResult = smsAuthResult;
    return this;
  }

  /**
   * Get smsAuthResult.
   *
   * @return smsAuthResult
   */
  @ApiModelProperty(value = "")
  public EventResult getSmsAuthResult() {
    return smsAuthResult;
  }

  /** setSmsAuthResult. */
  public void setSmsAuthResult(EventResult smsAuthResult) {
    this.smsAuthResult = smsAuthResult;
  }

  /**
   * sTANPinResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus sTANPinResult(EventResult sTANPinResult) {
    this.sTANPinResult = sTANPinResult;
    return this;
  }

  /**
   * Get sTANPinResult.
   *
   * @return sTANPinResult
   */
  @ApiModelProperty(value = "")
  public EventResult getSTANPinResult() {
    return sTANPinResult;
  }

  /** setSTANPinResult. */
  public void setSTANPinResult(EventResult sTANPinResult) {
    this.sTANPinResult = sTANPinResult;
  }

  /**
   * twitterResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus twitterResult(EventResult twitterResult) {
    this.twitterResult = twitterResult;
    return this;
  }

  /**
   * Get twitterResult.
   *
   * @return twitterResult
   */
  @ApiModelProperty(value = "")
  public EventResult getTwitterResult() {
    return twitterResult;
  }

  /** setTwitterResult. */
  public void setTwitterResult(EventResult twitterResult) {
    this.twitterResult = twitterResult;
  }

  /**
   * yahooResult.
   *
   * @return AuthenticationStatus
   */
  public AuthenticationStatus yahooResult(EventResult yahooResult) {
    this.yahooResult = yahooResult;
    return this;
  }

  /**
   * Get yahooResult.
   *
   * @return yahooResult
   */
  @ApiModelProperty(value = "")
  public EventResult getYahooResult() {
    return yahooResult;
  }

  /** setYahooResult. */
  public void setYahooResult(EventResult yahooResult) {
    this.yahooResult = yahooResult;
  }

  /**
   * 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;
    }
    AuthenticationStatus authenticationStatus = (AuthenticationStatus) o;
    return Objects.equals(this.accessCodeResult, authenticationStatus.accessCodeResult)
        && Objects.equals(this.ageVerifyResult, authenticationStatus.ageVerifyResult)
        && Objects.equals(this.anySocialIDResult, authenticationStatus.anySocialIDResult)
        && Objects.equals(this.facebookResult, authenticationStatus.facebookResult)
        && Objects.equals(this.googleResult, authenticationStatus.googleResult)
        && Objects.equals(
            this.identityVerificationResult, authenticationStatus.identityVerificationResult)
        && Objects.equals(this.idLookupResult, authenticationStatus.idLookupResult)
        && Objects.equals(this.idQuestionsResult, authenticationStatus.idQuestionsResult)
        && Objects.equals(this.linkedinResult, authenticationStatus.linkedinResult)
        && Objects.equals(this.liveIDResult, authenticationStatus.liveIDResult)
        && Objects.equals(this.ofacResult, authenticationStatus.ofacResult)
        && Objects.equals(this.openIDResult, authenticationStatus.openIDResult)
        && Objects.equals(this.phoneAuthResult, authenticationStatus.phoneAuthResult)
        && Objects.equals(this.salesforceResult, authenticationStatus.salesforceResult)
        && Objects.equals(
            this.signatureProviderResult, authenticationStatus.signatureProviderResult)
        && Objects.equals(this.smsAuthResult, authenticationStatus.smsAuthResult)
        && Objects.equals(this.sTANPinResult, authenticationStatus.sTANPinResult)
        && Objects.equals(this.twitterResult, authenticationStatus.twitterResult)
        && Objects.equals(this.yahooResult, authenticationStatus.yahooResult);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        accessCodeResult,
        ageVerifyResult,
        anySocialIDResult,
        facebookResult,
        googleResult,
        identityVerificationResult,
        idLookupResult,
        idQuestionsResult,
        linkedinResult,
        liveIDResult,
        ofacResult,
        openIDResult,
        phoneAuthResult,
        salesforceResult,
        signatureProviderResult,
        smsAuthResult,
        sTANPinResult,
        twitterResult,
        yahooResult);
  }

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

    sb.append("    accessCodeResult: ").append(toIndentedString(accessCodeResult)).append("\n");
    sb.append("    ageVerifyResult: ").append(toIndentedString(ageVerifyResult)).append("\n");
    sb.append("    anySocialIDResult: ").append(toIndentedString(anySocialIDResult)).append("\n");
    sb.append("    facebookResult: ").append(toIndentedString(facebookResult)).append("\n");
    sb.append("    googleResult: ").append(toIndentedString(googleResult)).append("\n");
    sb.append("    identityVerificationResult: ")
        .append(toIndentedString(identityVerificationResult))
        .append("\n");
    sb.append("    idLookupResult: ").append(toIndentedString(idLookupResult)).append("\n");
    sb.append("    idQuestionsResult: ").append(toIndentedString(idQuestionsResult)).append("\n");
    sb.append("    linkedinResult: ").append(toIndentedString(linkedinResult)).append("\n");
    sb.append("    liveIDResult: ").append(toIndentedString(liveIDResult)).append("\n");
    sb.append("    ofacResult: ").append(toIndentedString(ofacResult)).append("\n");
    sb.append("    openIDResult: ").append(toIndentedString(openIDResult)).append("\n");
    sb.append("    phoneAuthResult: ").append(toIndentedString(phoneAuthResult)).append("\n");
    sb.append("    salesforceResult: ").append(toIndentedString(salesforceResult)).append("\n");
    sb.append("    signatureProviderResult: ")
        .append(toIndentedString(signatureProviderResult))
        .append("\n");
    sb.append("    smsAuthResult: ").append(toIndentedString(smsAuthResult)).append("\n");
    sb.append("    sTANPinResult: ").append(toIndentedString(sTANPinResult)).append("\n");
    sb.append("    twitterResult: ").append(toIndentedString(twitterResult)).append("\n");
    sb.append("    yahooResult: ").append(toIndentedString(yahooResult)).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