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

com.tencent.ads.model.WechatAdvertiserSpecificationGetListStruct 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.ArrayList;
import java.util.List;
import java.util.Objects;

/** 返回结构 */
@ApiModel(description = "返回结构")
public class WechatAdvertiserSpecificationGetListStruct {
  @SerializedName("account_id")
  private Long accountId = null;

  @SerializedName("wechat_account_name")
  private String wechatAccountName = null;

  @SerializedName("system_industry_id")
  private Long systemIndustryId = null;

  @SerializedName("wechat_account_id")
  private String wechatAccountId = null;

  @SerializedName("wechat_account_type")
  private WechatSpecificationAccountType wechatAccountType = null;

  @SerializedName("corporation_name")
  private String corporationName = null;

  @SerializedName("auth_status")
  private WechatAuthStatus authStatus = null;

  @SerializedName("auth_time")
  private Long authTime = null;

  @SerializedName("agency_id_list")
  private List agencyIdList = null;

  @SerializedName("staff_wechat_id_list")
  private List staffWechatIdList = null;

  @SerializedName("daily_budget")
  private Long dailyBudget = null;

  public WechatAdvertiserSpecificationGetListStruct accountId(Long accountId) {
    this.accountId = accountId;
    return this;
  }

  /**
   * Get accountId
   *
   * @return accountId
   */
  @ApiModelProperty(value = "")
  public Long getAccountId() {
    return accountId;
  }

  public void setAccountId(Long accountId) {
    this.accountId = accountId;
  }

  public WechatAdvertiserSpecificationGetListStruct wechatAccountName(String wechatAccountName) {
    this.wechatAccountName = wechatAccountName;
    return this;
  }

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

  public void setWechatAccountName(String wechatAccountName) {
    this.wechatAccountName = wechatAccountName;
  }

  public WechatAdvertiserSpecificationGetListStruct systemIndustryId(Long systemIndustryId) {
    this.systemIndustryId = systemIndustryId;
    return this;
  }

  /**
   * Get systemIndustryId
   *
   * @return systemIndustryId
   */
  @ApiModelProperty(value = "")
  public Long getSystemIndustryId() {
    return systemIndustryId;
  }

  public void setSystemIndustryId(Long systemIndustryId) {
    this.systemIndustryId = systemIndustryId;
  }

  public WechatAdvertiserSpecificationGetListStruct wechatAccountId(String wechatAccountId) {
    this.wechatAccountId = wechatAccountId;
    return this;
  }

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

  public void setWechatAccountId(String wechatAccountId) {
    this.wechatAccountId = wechatAccountId;
  }

  public WechatAdvertiserSpecificationGetListStruct wechatAccountType(
      WechatSpecificationAccountType wechatAccountType) {
    this.wechatAccountType = wechatAccountType;
    return this;
  }

  /**
   * Get wechatAccountType
   *
   * @return wechatAccountType
   */
  @ApiModelProperty(value = "")
  public WechatSpecificationAccountType getWechatAccountType() {
    return wechatAccountType;
  }

  public void setWechatAccountType(WechatSpecificationAccountType wechatAccountType) {
    this.wechatAccountType = wechatAccountType;
  }

  public WechatAdvertiserSpecificationGetListStruct corporationName(String corporationName) {
    this.corporationName = corporationName;
    return this;
  }

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

  public void setCorporationName(String corporationName) {
    this.corporationName = corporationName;
  }

  public WechatAdvertiserSpecificationGetListStruct authStatus(WechatAuthStatus authStatus) {
    this.authStatus = authStatus;
    return this;
  }

  /**
   * Get authStatus
   *
   * @return authStatus
   */
  @ApiModelProperty(value = "")
  public WechatAuthStatus getAuthStatus() {
    return authStatus;
  }

  public void setAuthStatus(WechatAuthStatus authStatus) {
    this.authStatus = authStatus;
  }

  public WechatAdvertiserSpecificationGetListStruct authTime(Long authTime) {
    this.authTime = authTime;
    return this;
  }

  /**
   * Get authTime
   *
   * @return authTime
   */
  @ApiModelProperty(value = "")
  public Long getAuthTime() {
    return authTime;
  }

  public void setAuthTime(Long authTime) {
    this.authTime = authTime;
  }

  public WechatAdvertiserSpecificationGetListStruct agencyIdList(List agencyIdList) {
    this.agencyIdList = agencyIdList;
    return this;
  }

  public WechatAdvertiserSpecificationGetListStruct addAgencyIdListItem(Long agencyIdListItem) {
    if (this.agencyIdList == null) {
      this.agencyIdList = new ArrayList();
    }
    this.agencyIdList.add(agencyIdListItem);
    return this;
  }

  /**
   * Get agencyIdList
   *
   * @return agencyIdList
   */
  @ApiModelProperty(value = "")
  public List getAgencyIdList() {
    return agencyIdList;
  }

  public void setAgencyIdList(List agencyIdList) {
    this.agencyIdList = agencyIdList;
  }

  public WechatAdvertiserSpecificationGetListStruct staffWechatIdList(
      List staffWechatIdList) {
    this.staffWechatIdList = staffWechatIdList;
    return this;
  }

  public WechatAdvertiserSpecificationGetListStruct addStaffWechatIdListItem(
      String staffWechatIdListItem) {
    if (this.staffWechatIdList == null) {
      this.staffWechatIdList = new ArrayList();
    }
    this.staffWechatIdList.add(staffWechatIdListItem);
    return this;
  }

  /**
   * Get staffWechatIdList
   *
   * @return staffWechatIdList
   */
  @ApiModelProperty(value = "")
  public List getStaffWechatIdList() {
    return staffWechatIdList;
  }

  public void setStaffWechatIdList(List staffWechatIdList) {
    this.staffWechatIdList = staffWechatIdList;
  }

  public WechatAdvertiserSpecificationGetListStruct dailyBudget(Long dailyBudget) {
    this.dailyBudget = dailyBudget;
    return this;
  }

  /**
   * Get dailyBudget
   *
   * @return dailyBudget
   */
  @ApiModelProperty(value = "")
  public Long getDailyBudget() {
    return dailyBudget;
  }

  public void setDailyBudget(Long dailyBudget) {
    this.dailyBudget = dailyBudget;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    WechatAdvertiserSpecificationGetListStruct wechatAdvertiserSpecificationGetListStruct =
        (WechatAdvertiserSpecificationGetListStruct) o;
    return Objects.equals(this.accountId, wechatAdvertiserSpecificationGetListStruct.accountId)
        && Objects.equals(
            this.wechatAccountName, wechatAdvertiserSpecificationGetListStruct.wechatAccountName)
        && Objects.equals(
            this.systemIndustryId, wechatAdvertiserSpecificationGetListStruct.systemIndustryId)
        && Objects.equals(
            this.wechatAccountId, wechatAdvertiserSpecificationGetListStruct.wechatAccountId)
        && Objects.equals(
            this.wechatAccountType, wechatAdvertiserSpecificationGetListStruct.wechatAccountType)
        && Objects.equals(
            this.corporationName, wechatAdvertiserSpecificationGetListStruct.corporationName)
        && Objects.equals(this.authStatus, wechatAdvertiserSpecificationGetListStruct.authStatus)
        && Objects.equals(this.authTime, wechatAdvertiserSpecificationGetListStruct.authTime)
        && Objects.equals(
            this.agencyIdList, wechatAdvertiserSpecificationGetListStruct.agencyIdList)
        && Objects.equals(
            this.staffWechatIdList, wechatAdvertiserSpecificationGetListStruct.staffWechatIdList)
        && Objects.equals(this.dailyBudget, wechatAdvertiserSpecificationGetListStruct.dailyBudget);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        accountId,
        wechatAccountName,
        systemIndustryId,
        wechatAccountId,
        wechatAccountType,
        corporationName,
        authStatus,
        authTime,
        agencyIdList,
        staffWechatIdList,
        dailyBudget);
  }

  @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