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

com.tencent.ads.model.PropertiesUserId 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;

/** 用户ID */
@ApiModel(description = "用户ID")
public class PropertiesUserId {
  @SerializedName("hash_qq")
  private String hashQq = null;

  @SerializedName("hash_phone")
  private String hashPhone = null;

  @SerializedName("hash_idfa")
  private String hashIdfa = null;

  @SerializedName("hash_imei")
  private String hashImei = null;

  @SerializedName("hash_mac")
  private String hashMac = null;

  @SerializedName("wechat_openid")
  private String wechatOpenid = null;

  @SerializedName("wechat_unionid")
  private String wechatUnionid = null;

  public PropertiesUserId hashQq(String hashQq) {
    this.hashQq = hashQq;
    return this;
  }

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

  public void setHashQq(String hashQq) {
    this.hashQq = hashQq;
  }

  public PropertiesUserId hashPhone(String hashPhone) {
    this.hashPhone = hashPhone;
    return this;
  }

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

  public void setHashPhone(String hashPhone) {
    this.hashPhone = hashPhone;
  }

  public PropertiesUserId hashIdfa(String hashIdfa) {
    this.hashIdfa = hashIdfa;
    return this;
  }

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

  public void setHashIdfa(String hashIdfa) {
    this.hashIdfa = hashIdfa;
  }

  public PropertiesUserId hashImei(String hashImei) {
    this.hashImei = hashImei;
    return this;
  }

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

  public void setHashImei(String hashImei) {
    this.hashImei = hashImei;
  }

  public PropertiesUserId hashMac(String hashMac) {
    this.hashMac = hashMac;
    return this;
  }

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

  public void setHashMac(String hashMac) {
    this.hashMac = hashMac;
  }

  public PropertiesUserId wechatOpenid(String wechatOpenid) {
    this.wechatOpenid = wechatOpenid;
    return this;
  }

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

  public void setWechatOpenid(String wechatOpenid) {
    this.wechatOpenid = wechatOpenid;
  }

  public PropertiesUserId wechatUnionid(String wechatUnionid) {
    this.wechatUnionid = wechatUnionid;
    return this;
  }

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

  public void setWechatUnionid(String wechatUnionid) {
    this.wechatUnionid = wechatUnionid;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    PropertiesUserId propertiesUserId = (PropertiesUserId) o;
    return Objects.equals(this.hashQq, propertiesUserId.hashQq)
        && Objects.equals(this.hashPhone, propertiesUserId.hashPhone)
        && Objects.equals(this.hashIdfa, propertiesUserId.hashIdfa)
        && Objects.equals(this.hashImei, propertiesUserId.hashImei)
        && Objects.equals(this.hashMac, propertiesUserId.hashMac)
        && Objects.equals(this.wechatOpenid, propertiesUserId.wechatOpenid)
        && Objects.equals(this.wechatUnionid, propertiesUserId.wechatUnionid);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        hashQq, hashPhone, hashIdfa, hashImei, hashMac, wechatOpenid, wechatUnionid);
  }

  @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