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

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

/** 用户标识,app数据上报时必填,web数据上报时可以不填user_id,但建议填写,方便后续优化 */
@ApiModel(description = "用户标识,app数据上报时必填,web数据上报时可以不填user_id,但建议填写,方便后续优化")
public class ActionsUserId {
  @SerializedName("hash_imei")
  private String hashImei = null;

  @SerializedName("md5_sha256_imei")
  private String md5Sha256Imei = null;

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

  @SerializedName("md5_sha256_idfa")
  private String md5Sha256Idfa = null;

  @SerializedName("gdt_openid")
  private String gdtOpenid = null;

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

  @SerializedName("sha256_phone")
  private String sha256Phone = null;

  @SerializedName("hash_android_id")
  private String hashAndroidId = null;

  @SerializedName("hash_oaid")
  private String hashOaid = null;

  @SerializedName("md5_sha256_oaid")
  private String md5Sha256Oaid = null;

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

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

  @SerializedName("wechat_app_id")
  private String wechatAppId = null;

  public ActionsUserId 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 ActionsUserId md5Sha256Imei(String md5Sha256Imei) {
    this.md5Sha256Imei = md5Sha256Imei;
    return this;
  }

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

  public void setMd5Sha256Imei(String md5Sha256Imei) {
    this.md5Sha256Imei = md5Sha256Imei;
  }

  public ActionsUserId 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 ActionsUserId md5Sha256Idfa(String md5Sha256Idfa) {
    this.md5Sha256Idfa = md5Sha256Idfa;
    return this;
  }

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

  public void setMd5Sha256Idfa(String md5Sha256Idfa) {
    this.md5Sha256Idfa = md5Sha256Idfa;
  }

  public ActionsUserId gdtOpenid(String gdtOpenid) {
    this.gdtOpenid = gdtOpenid;
    return this;
  }

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

  public void setGdtOpenid(String gdtOpenid) {
    this.gdtOpenid = gdtOpenid;
  }

  public ActionsUserId 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 ActionsUserId sha256Phone(String sha256Phone) {
    this.sha256Phone = sha256Phone;
    return this;
  }

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

  public void setSha256Phone(String sha256Phone) {
    this.sha256Phone = sha256Phone;
  }

  public ActionsUserId hashAndroidId(String hashAndroidId) {
    this.hashAndroidId = hashAndroidId;
    return this;
  }

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

  public void setHashAndroidId(String hashAndroidId) {
    this.hashAndroidId = hashAndroidId;
  }

  public ActionsUserId hashOaid(String hashOaid) {
    this.hashOaid = hashOaid;
    return this;
  }

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

  public void setHashOaid(String hashOaid) {
    this.hashOaid = hashOaid;
  }

  public ActionsUserId md5Sha256Oaid(String md5Sha256Oaid) {
    this.md5Sha256Oaid = md5Sha256Oaid;
    return this;
  }

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

  public void setMd5Sha256Oaid(String md5Sha256Oaid) {
    this.md5Sha256Oaid = md5Sha256Oaid;
  }

  public ActionsUserId 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 ActionsUserId 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;
  }

  public ActionsUserId wechatAppId(String wechatAppId) {
    this.wechatAppId = wechatAppId;
    return this;
  }

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

  public void setWechatAppId(String wechatAppId) {
    this.wechatAppId = wechatAppId;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ActionsUserId actionsUserId = (ActionsUserId) o;
    return Objects.equals(this.hashImei, actionsUserId.hashImei)
        && Objects.equals(this.md5Sha256Imei, actionsUserId.md5Sha256Imei)
        && Objects.equals(this.hashIdfa, actionsUserId.hashIdfa)
        && Objects.equals(this.md5Sha256Idfa, actionsUserId.md5Sha256Idfa)
        && Objects.equals(this.gdtOpenid, actionsUserId.gdtOpenid)
        && Objects.equals(this.hashPhone, actionsUserId.hashPhone)
        && Objects.equals(this.sha256Phone, actionsUserId.sha256Phone)
        && Objects.equals(this.hashAndroidId, actionsUserId.hashAndroidId)
        && Objects.equals(this.hashOaid, actionsUserId.hashOaid)
        && Objects.equals(this.md5Sha256Oaid, actionsUserId.md5Sha256Oaid)
        && Objects.equals(this.wechatOpenid, actionsUserId.wechatOpenid)
        && Objects.equals(this.wechatUnionid, actionsUserId.wechatUnionid)
        && Objects.equals(this.wechatAppId, actionsUserId.wechatAppId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        hashImei,
        md5Sha256Imei,
        hashIdfa,
        md5Sha256Idfa,
        gdtOpenid,
        hashPhone,
        sha256Phone,
        hashAndroidId,
        hashOaid,
        md5Sha256Oaid,
        wechatOpenid,
        wechatUnionid,
        wechatAppId);
  }

  @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