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

com.tencent.ads.model.IndividualQualification Maven / Gradle / Ivy

/*
 * Marketing API
 * Marketing API
 *
 * OpenAPI spec version: 1.3
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.tencent.ads.model;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;

/** 个人身份证明 */
@ApiModel(description = "个人身份证明")
public class IndividualQualification {
  @SerializedName("identification_url")
  private String identificationUrl = null;

  @SerializedName("identification_url2")
  private String identificationUrl2 = null;

  @SerializedName("photo_url")
  private String photoUrl = null;

  @SerializedName("identification_front_image_id")
  private String identificationFrontImageId = null;

  @SerializedName("identification_back_image_id")
  private String identificationBackImageId = null;

  public IndividualQualification identificationUrl(String identificationUrl) {
    this.identificationUrl = identificationUrl;
    return this;
  }

  /**
   * Get identificationUrl
   *
   * @return identificationUrl
   */
  @ApiModelProperty(value = "")
  public String getIdentificationUrl() {
    return identificationUrl;
  }

  public void setIdentificationUrl(String identificationUrl) {
    this.identificationUrl = identificationUrl;
  }

  public IndividualQualification identificationUrl2(String identificationUrl2) {
    this.identificationUrl2 = identificationUrl2;
    return this;
  }

  /**
   * Get identificationUrl2
   *
   * @return identificationUrl2
   */
  @ApiModelProperty(value = "")
  public String getIdentificationUrl2() {
    return identificationUrl2;
  }

  public void setIdentificationUrl2(String identificationUrl2) {
    this.identificationUrl2 = identificationUrl2;
  }

  public IndividualQualification photoUrl(String photoUrl) {
    this.photoUrl = photoUrl;
    return this;
  }

  /**
   * Get photoUrl
   *
   * @return photoUrl
   */
  @ApiModelProperty(value = "")
  public String getPhotoUrl() {
    return photoUrl;
  }

  public void setPhotoUrl(String photoUrl) {
    this.photoUrl = photoUrl;
  }

  public IndividualQualification identificationFrontImageId(String identificationFrontImageId) {
    this.identificationFrontImageId = identificationFrontImageId;
    return this;
  }

  /**
   * Get identificationFrontImageId
   *
   * @return identificationFrontImageId
   */
  @ApiModelProperty(value = "")
  public String getIdentificationFrontImageId() {
    return identificationFrontImageId;
  }

  public void setIdentificationFrontImageId(String identificationFrontImageId) {
    this.identificationFrontImageId = identificationFrontImageId;
  }

  public IndividualQualification identificationBackImageId(String identificationBackImageId) {
    this.identificationBackImageId = identificationBackImageId;
    return this;
  }

  /**
   * Get identificationBackImageId
   *
   * @return identificationBackImageId
   */
  @ApiModelProperty(value = "")
  public String getIdentificationBackImageId() {
    return identificationBackImageId;
  }

  public void setIdentificationBackImageId(String identificationBackImageId) {
    this.identificationBackImageId = identificationBackImageId;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    IndividualQualification individualQualification = (IndividualQualification) o;
    return Objects.equals(this.identificationUrl, individualQualification.identificationUrl)
        && Objects.equals(this.identificationUrl2, individualQualification.identificationUrl2)
        && Objects.equals(this.photoUrl, individualQualification.photoUrl)
        && Objects.equals(
            this.identificationFrontImageId, individualQualification.identificationFrontImageId)
        && Objects.equals(
            this.identificationBackImageId, individualQualification.identificationBackImageId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        identificationUrl,
        identificationUrl2,
        photoUrl,
        identificationFrontImageId,
        identificationBackImageId);
  }

  @Override
  public String toString() {
    Gson gson = new Gson();
    return gson.toJson(this);
  }

  /**
   * 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