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

com.tencent.ads.model.ReadTargetingSetting 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 ReadTargetingSetting {
  @SerializedName("age")
  private List age = null;

  @SerializedName("gender")
  private List gender = null;

  @SerializedName("education")
  private List education = null;

  @SerializedName("marital_status")
  private List maritalStatus = null;

  @SerializedName("working_status")
  private List workingStatus = null;

  @SerializedName("geo_location")
  private GeoLocations geoLocation = null;

  @SerializedName("user_os")
  private List userOs = null;

  @SerializedName("new_device")
  private List newDevice = null;

  @SerializedName("device_price")
  private List devicePrice = null;

  @SerializedName("device_brand_model")
  private DeviceBrandModel deviceBrandModel = null;

  @SerializedName("network_type")
  private List networkType = null;

  @SerializedName("network_operator")
  private List networkOperator = null;

  @SerializedName("network_scene")
  private List networkScene = null;

  @SerializedName("dressing_index")
  private List dressingIndex = null;

  @SerializedName("uv_index")
  private List uvIndex = null;

  @SerializedName("makeup_index")
  private List makeupIndex = null;

  @SerializedName("climate")
  private List climate = null;

  @SerializedName("temperature")
  private List temperature = null;

  @SerializedName("air_quality_index")
  private List airQualityIndex = null;

  @SerializedName("app_install_status")
  private List appInstallStatus = null;

  @SerializedName("consumption_status")
  private List consumptionStatus = null;

  @SerializedName("game_consumption_level")
  private List gameConsumptionLevel = null;

  @SerializedName("residential_community_price")
  private List residentialCommunityPrice = null;

  @SerializedName("financial_situation")
  private List financialSituation = null;

  @SerializedName("consumption_type")
  private List consumptionType = null;

  @SerializedName("wechat_ad_behavior")
  private WechatAdBehavior wechatAdBehavior = null;

  @SerializedName("custom_audience")
  private List customAudience = null;

  @SerializedName("excluded_custom_audience")
  private List excludedCustomAudience = null;

  @SerializedName("behavior_or_interest")
  private BehaviorOrInterest behaviorOrInterest = null;

  @SerializedName("wechat_official_account_category")
  private List wechatOfficialAccountCategory = null;

  @SerializedName("mobile_union_category")
  private List mobileUnionCategory = null;

  @SerializedName("business_interest")
  private List businessInterest = null;

  @SerializedName("keyword")
  private Keyword keyword = null;

  @SerializedName("app_behavior")
  private AppBehavior appBehavior = null;

  @SerializedName("paid_user")
  private List paidUser = null;

  @SerializedName("deprecated_custom_audience")
  private List deprecatedCustomAudience = null;

  @SerializedName("deprecated_excluded_custom_audience")
  private List deprecatedExcludedCustomAudience = null;

  @SerializedName("deprecated_region")
  private List deprecatedRegion = null;

  @SerializedName("excluded_converted_audience")
  private ExcludedConvertedAudienceStruct excludedConvertedAudience = null;

  public ReadTargetingSetting age(List age) {
    this.age = age;
    return this;
  }

  public ReadTargetingSetting addAgeItem(AgeStruct ageItem) {
    if (this.age == null) {
      this.age = new ArrayList();
    }
    this.age.add(ageItem);
    return this;
  }

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

  public void setAge(List age) {
    this.age = age;
  }

  public ReadTargetingSetting gender(List gender) {
    this.gender = gender;
    return this;
  }

  public ReadTargetingSetting addGenderItem(String genderItem) {
    if (this.gender == null) {
      this.gender = new ArrayList();
    }
    this.gender.add(genderItem);
    return this;
  }

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

  public void setGender(List gender) {
    this.gender = gender;
  }

  public ReadTargetingSetting education(List education) {
    this.education = education;
    return this;
  }

  public ReadTargetingSetting addEducationItem(String educationItem) {
    if (this.education == null) {
      this.education = new ArrayList();
    }
    this.education.add(educationItem);
    return this;
  }

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

  public void setEducation(List education) {
    this.education = education;
  }

  public ReadTargetingSetting maritalStatus(List maritalStatus) {
    this.maritalStatus = maritalStatus;
    return this;
  }

  public ReadTargetingSetting addMaritalStatusItem(String maritalStatusItem) {
    if (this.maritalStatus == null) {
      this.maritalStatus = new ArrayList();
    }
    this.maritalStatus.add(maritalStatusItem);
    return this;
  }

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

  public void setMaritalStatus(List maritalStatus) {
    this.maritalStatus = maritalStatus;
  }

  public ReadTargetingSetting workingStatus(List workingStatus) {
    this.workingStatus = workingStatus;
    return this;
  }

  public ReadTargetingSetting addWorkingStatusItem(String workingStatusItem) {
    if (this.workingStatus == null) {
      this.workingStatus = new ArrayList();
    }
    this.workingStatus.add(workingStatusItem);
    return this;
  }

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

  public void setWorkingStatus(List workingStatus) {
    this.workingStatus = workingStatus;
  }

  public ReadTargetingSetting geoLocation(GeoLocations geoLocation) {
    this.geoLocation = geoLocation;
    return this;
  }

  /**
   * Get geoLocation
   *
   * @return geoLocation
   */
  @ApiModelProperty(value = "")
  public GeoLocations getGeoLocation() {
    return geoLocation;
  }

  public void setGeoLocation(GeoLocations geoLocation) {
    this.geoLocation = geoLocation;
  }

  public ReadTargetingSetting userOs(List userOs) {
    this.userOs = userOs;
    return this;
  }

  public ReadTargetingSetting addUserOsItem(String userOsItem) {
    if (this.userOs == null) {
      this.userOs = new ArrayList();
    }
    this.userOs.add(userOsItem);
    return this;
  }

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

  public void setUserOs(List userOs) {
    this.userOs = userOs;
  }

  public ReadTargetingSetting newDevice(List newDevice) {
    this.newDevice = newDevice;
    return this;
  }

  public ReadTargetingSetting addNewDeviceItem(String newDeviceItem) {
    if (this.newDevice == null) {
      this.newDevice = new ArrayList();
    }
    this.newDevice.add(newDeviceItem);
    return this;
  }

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

  public void setNewDevice(List newDevice) {
    this.newDevice = newDevice;
  }

  public ReadTargetingSetting devicePrice(List devicePrice) {
    this.devicePrice = devicePrice;
    return this;
  }

  public ReadTargetingSetting addDevicePriceItem(String devicePriceItem) {
    if (this.devicePrice == null) {
      this.devicePrice = new ArrayList();
    }
    this.devicePrice.add(devicePriceItem);
    return this;
  }

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

  public void setDevicePrice(List devicePrice) {
    this.devicePrice = devicePrice;
  }

  public ReadTargetingSetting deviceBrandModel(DeviceBrandModel deviceBrandModel) {
    this.deviceBrandModel = deviceBrandModel;
    return this;
  }

  /**
   * Get deviceBrandModel
   *
   * @return deviceBrandModel
   */
  @ApiModelProperty(value = "")
  public DeviceBrandModel getDeviceBrandModel() {
    return deviceBrandModel;
  }

  public void setDeviceBrandModel(DeviceBrandModel deviceBrandModel) {
    this.deviceBrandModel = deviceBrandModel;
  }

  public ReadTargetingSetting networkType(List networkType) {
    this.networkType = networkType;
    return this;
  }

  public ReadTargetingSetting addNetworkTypeItem(String networkTypeItem) {
    if (this.networkType == null) {
      this.networkType = new ArrayList();
    }
    this.networkType.add(networkTypeItem);
    return this;
  }

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

  public void setNetworkType(List networkType) {
    this.networkType = networkType;
  }

  public ReadTargetingSetting networkOperator(List networkOperator) {
    this.networkOperator = networkOperator;
    return this;
  }

  public ReadTargetingSetting addNetworkOperatorItem(String networkOperatorItem) {
    if (this.networkOperator == null) {
      this.networkOperator = new ArrayList();
    }
    this.networkOperator.add(networkOperatorItem);
    return this;
  }

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

  public void setNetworkOperator(List networkOperator) {
    this.networkOperator = networkOperator;
  }

  public ReadTargetingSetting networkScene(List networkScene) {
    this.networkScene = networkScene;
    return this;
  }

  public ReadTargetingSetting addNetworkSceneItem(String networkSceneItem) {
    if (this.networkScene == null) {
      this.networkScene = new ArrayList();
    }
    this.networkScene.add(networkSceneItem);
    return this;
  }

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

  public void setNetworkScene(List networkScene) {
    this.networkScene = networkScene;
  }

  public ReadTargetingSetting dressingIndex(List dressingIndex) {
    this.dressingIndex = dressingIndex;
    return this;
  }

  public ReadTargetingSetting addDressingIndexItem(String dressingIndexItem) {
    if (this.dressingIndex == null) {
      this.dressingIndex = new ArrayList();
    }
    this.dressingIndex.add(dressingIndexItem);
    return this;
  }

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

  public void setDressingIndex(List dressingIndex) {
    this.dressingIndex = dressingIndex;
  }

  public ReadTargetingSetting uvIndex(List uvIndex) {
    this.uvIndex = uvIndex;
    return this;
  }

  public ReadTargetingSetting addUvIndexItem(String uvIndexItem) {
    if (this.uvIndex == null) {
      this.uvIndex = new ArrayList();
    }
    this.uvIndex.add(uvIndexItem);
    return this;
  }

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

  public void setUvIndex(List uvIndex) {
    this.uvIndex = uvIndex;
  }

  public ReadTargetingSetting makeupIndex(List makeupIndex) {
    this.makeupIndex = makeupIndex;
    return this;
  }

  public ReadTargetingSetting addMakeupIndexItem(String makeupIndexItem) {
    if (this.makeupIndex == null) {
      this.makeupIndex = new ArrayList();
    }
    this.makeupIndex.add(makeupIndexItem);
    return this;
  }

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

  public void setMakeupIndex(List makeupIndex) {
    this.makeupIndex = makeupIndex;
  }

  public ReadTargetingSetting climate(List climate) {
    this.climate = climate;
    return this;
  }

  public ReadTargetingSetting addClimateItem(String climateItem) {
    if (this.climate == null) {
      this.climate = new ArrayList();
    }
    this.climate.add(climateItem);
    return this;
  }

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

  public void setClimate(List climate) {
    this.climate = climate;
  }

  public ReadTargetingSetting temperature(List temperature) {
    this.temperature = temperature;
    return this;
  }

  public ReadTargetingSetting addTemperatureItem(TemperatureStruct temperatureItem) {
    if (this.temperature == null) {
      this.temperature = new ArrayList();
    }
    this.temperature.add(temperatureItem);
    return this;
  }

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

  public void setTemperature(List temperature) {
    this.temperature = temperature;
  }

  public ReadTargetingSetting airQualityIndex(List airQualityIndex) {
    this.airQualityIndex = airQualityIndex;
    return this;
  }

  public ReadTargetingSetting addAirQualityIndexItem(String airQualityIndexItem) {
    if (this.airQualityIndex == null) {
      this.airQualityIndex = new ArrayList();
    }
    this.airQualityIndex.add(airQualityIndexItem);
    return this;
  }

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

  public void setAirQualityIndex(List airQualityIndex) {
    this.airQualityIndex = airQualityIndex;
  }

  public ReadTargetingSetting appInstallStatus(List appInstallStatus) {
    this.appInstallStatus = appInstallStatus;
    return this;
  }

  public ReadTargetingSetting addAppInstallStatusItem(String appInstallStatusItem) {
    if (this.appInstallStatus == null) {
      this.appInstallStatus = new ArrayList();
    }
    this.appInstallStatus.add(appInstallStatusItem);
    return this;
  }

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

  public void setAppInstallStatus(List appInstallStatus) {
    this.appInstallStatus = appInstallStatus;
  }

  public ReadTargetingSetting consumptionStatus(List consumptionStatus) {
    this.consumptionStatus = consumptionStatus;
    return this;
  }

  public ReadTargetingSetting addConsumptionStatusItem(String consumptionStatusItem) {
    if (this.consumptionStatus == null) {
      this.consumptionStatus = new ArrayList();
    }
    this.consumptionStatus.add(consumptionStatusItem);
    return this;
  }

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

  public void setConsumptionStatus(List consumptionStatus) {
    this.consumptionStatus = consumptionStatus;
  }

  public ReadTargetingSetting gameConsumptionLevel(List gameConsumptionLevel) {
    this.gameConsumptionLevel = gameConsumptionLevel;
    return this;
  }

  public ReadTargetingSetting addGameConsumptionLevelItem(String gameConsumptionLevelItem) {
    if (this.gameConsumptionLevel == null) {
      this.gameConsumptionLevel = new ArrayList();
    }
    this.gameConsumptionLevel.add(gameConsumptionLevelItem);
    return this;
  }

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

  public void setGameConsumptionLevel(List gameConsumptionLevel) {
    this.gameConsumptionLevel = gameConsumptionLevel;
  }

  public ReadTargetingSetting residentialCommunityPrice(
      List residentialCommunityPrice) {
    this.residentialCommunityPrice = residentialCommunityPrice;
    return this;
  }

  public ReadTargetingSetting addResidentialCommunityPriceItem(
      ResidentialCommunityPriceStruct residentialCommunityPriceItem) {
    if (this.residentialCommunityPrice == null) {
      this.residentialCommunityPrice = new ArrayList();
    }
    this.residentialCommunityPrice.add(residentialCommunityPriceItem);
    return this;
  }

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

  public void setResidentialCommunityPrice(
      List residentialCommunityPrice) {
    this.residentialCommunityPrice = residentialCommunityPrice;
  }

  public ReadTargetingSetting financialSituation(List financialSituation) {
    this.financialSituation = financialSituation;
    return this;
  }

  public ReadTargetingSetting addFinancialSituationItem(String financialSituationItem) {
    if (this.financialSituation == null) {
      this.financialSituation = new ArrayList();
    }
    this.financialSituation.add(financialSituationItem);
    return this;
  }

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

  public void setFinancialSituation(List financialSituation) {
    this.financialSituation = financialSituation;
  }

  public ReadTargetingSetting consumptionType(List consumptionType) {
    this.consumptionType = consumptionType;
    return this;
  }

  public ReadTargetingSetting addConsumptionTypeItem(String consumptionTypeItem) {
    if (this.consumptionType == null) {
      this.consumptionType = new ArrayList();
    }
    this.consumptionType.add(consumptionTypeItem);
    return this;
  }

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

  public void setConsumptionType(List consumptionType) {
    this.consumptionType = consumptionType;
  }

  public ReadTargetingSetting wechatAdBehavior(WechatAdBehavior wechatAdBehavior) {
    this.wechatAdBehavior = wechatAdBehavior;
    return this;
  }

  /**
   * Get wechatAdBehavior
   *
   * @return wechatAdBehavior
   */
  @ApiModelProperty(value = "")
  public WechatAdBehavior getWechatAdBehavior() {
    return wechatAdBehavior;
  }

  public void setWechatAdBehavior(WechatAdBehavior wechatAdBehavior) {
    this.wechatAdBehavior = wechatAdBehavior;
  }

  public ReadTargetingSetting customAudience(List customAudience) {
    this.customAudience = customAudience;
    return this;
  }

  public ReadTargetingSetting addCustomAudienceItem(Long customAudienceItem) {
    if (this.customAudience == null) {
      this.customAudience = new ArrayList();
    }
    this.customAudience.add(customAudienceItem);
    return this;
  }

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

  public void setCustomAudience(List customAudience) {
    this.customAudience = customAudience;
  }

  public ReadTargetingSetting excludedCustomAudience(List excludedCustomAudience) {
    this.excludedCustomAudience = excludedCustomAudience;
    return this;
  }

  public ReadTargetingSetting addExcludedCustomAudienceItem(Long excludedCustomAudienceItem) {
    if (this.excludedCustomAudience == null) {
      this.excludedCustomAudience = new ArrayList();
    }
    this.excludedCustomAudience.add(excludedCustomAudienceItem);
    return this;
  }

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

  public void setExcludedCustomAudience(List excludedCustomAudience) {
    this.excludedCustomAudience = excludedCustomAudience;
  }

  public ReadTargetingSetting behaviorOrInterest(BehaviorOrInterest behaviorOrInterest) {
    this.behaviorOrInterest = behaviorOrInterest;
    return this;
  }

  /**
   * Get behaviorOrInterest
   *
   * @return behaviorOrInterest
   */
  @ApiModelProperty(value = "")
  public BehaviorOrInterest getBehaviorOrInterest() {
    return behaviorOrInterest;
  }

  public void setBehaviorOrInterest(BehaviorOrInterest behaviorOrInterest) {
    this.behaviorOrInterest = behaviorOrInterest;
  }

  public ReadTargetingSetting wechatOfficialAccountCategory(
      List wechatOfficialAccountCategory) {
    this.wechatOfficialAccountCategory = wechatOfficialAccountCategory;
    return this;
  }

  public ReadTargetingSetting addWechatOfficialAccountCategoryItem(
      Long wechatOfficialAccountCategoryItem) {
    if (this.wechatOfficialAccountCategory == null) {
      this.wechatOfficialAccountCategory = new ArrayList();
    }
    this.wechatOfficialAccountCategory.add(wechatOfficialAccountCategoryItem);
    return this;
  }

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

  public void setWechatOfficialAccountCategory(List wechatOfficialAccountCategory) {
    this.wechatOfficialAccountCategory = wechatOfficialAccountCategory;
  }

  public ReadTargetingSetting mobileUnionCategory(List mobileUnionCategory) {
    this.mobileUnionCategory = mobileUnionCategory;
    return this;
  }

  public ReadTargetingSetting addMobileUnionCategoryItem(Long mobileUnionCategoryItem) {
    if (this.mobileUnionCategory == null) {
      this.mobileUnionCategory = new ArrayList();
    }
    this.mobileUnionCategory.add(mobileUnionCategoryItem);
    return this;
  }

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

  public void setMobileUnionCategory(List mobileUnionCategory) {
    this.mobileUnionCategory = mobileUnionCategory;
  }

  public ReadTargetingSetting businessInterest(List businessInterest) {
    this.businessInterest = businessInterest;
    return this;
  }

  public ReadTargetingSetting addBusinessInterestItem(Long businessInterestItem) {
    if (this.businessInterest == null) {
      this.businessInterest = new ArrayList();
    }
    this.businessInterest.add(businessInterestItem);
    return this;
  }

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

  public void setBusinessInterest(List businessInterest) {
    this.businessInterest = businessInterest;
  }

  public ReadTargetingSetting keyword(Keyword keyword) {
    this.keyword = keyword;
    return this;
  }

  /**
   * Get keyword
   *
   * @return keyword
   */
  @ApiModelProperty(value = "")
  public Keyword getKeyword() {
    return keyword;
  }

  public void setKeyword(Keyword keyword) {
    this.keyword = keyword;
  }

  public ReadTargetingSetting appBehavior(AppBehavior appBehavior) {
    this.appBehavior = appBehavior;
    return this;
  }

  /**
   * Get appBehavior
   *
   * @return appBehavior
   */
  @ApiModelProperty(value = "")
  public AppBehavior getAppBehavior() {
    return appBehavior;
  }

  public void setAppBehavior(AppBehavior appBehavior) {
    this.appBehavior = appBehavior;
  }

  public ReadTargetingSetting paidUser(List paidUser) {
    this.paidUser = paidUser;
    return this;
  }

  public ReadTargetingSetting addPaidUserItem(String paidUserItem) {
    if (this.paidUser == null) {
      this.paidUser = new ArrayList();
    }
    this.paidUser.add(paidUserItem);
    return this;
  }

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

  public void setPaidUser(List paidUser) {
    this.paidUser = paidUser;
  }

  public ReadTargetingSetting deprecatedCustomAudience(List deprecatedCustomAudience) {
    this.deprecatedCustomAudience = deprecatedCustomAudience;
    return this;
  }

  public ReadTargetingSetting addDeprecatedCustomAudienceItem(Long deprecatedCustomAudienceItem) {
    if (this.deprecatedCustomAudience == null) {
      this.deprecatedCustomAudience = new ArrayList();
    }
    this.deprecatedCustomAudience.add(deprecatedCustomAudienceItem);
    return this;
  }

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

  public void setDeprecatedCustomAudience(List deprecatedCustomAudience) {
    this.deprecatedCustomAudience = deprecatedCustomAudience;
  }

  public ReadTargetingSetting deprecatedExcludedCustomAudience(
      List deprecatedExcludedCustomAudience) {
    this.deprecatedExcludedCustomAudience = deprecatedExcludedCustomAudience;
    return this;
  }

  public ReadTargetingSetting addDeprecatedExcludedCustomAudienceItem(
      Long deprecatedExcludedCustomAudienceItem) {
    if (this.deprecatedExcludedCustomAudience == null) {
      this.deprecatedExcludedCustomAudience = new ArrayList();
    }
    this.deprecatedExcludedCustomAudience.add(deprecatedExcludedCustomAudienceItem);
    return this;
  }

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

  public void setDeprecatedExcludedCustomAudience(List deprecatedExcludedCustomAudience) {
    this.deprecatedExcludedCustomAudience = deprecatedExcludedCustomAudience;
  }

  public ReadTargetingSetting deprecatedRegion(List deprecatedRegion) {
    this.deprecatedRegion = deprecatedRegion;
    return this;
  }

  public ReadTargetingSetting addDeprecatedRegionItem(Long deprecatedRegionItem) {
    if (this.deprecatedRegion == null) {
      this.deprecatedRegion = new ArrayList();
    }
    this.deprecatedRegion.add(deprecatedRegionItem);
    return this;
  }

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

  public void setDeprecatedRegion(List deprecatedRegion) {
    this.deprecatedRegion = deprecatedRegion;
  }

  public ReadTargetingSetting excludedConvertedAudience(
      ExcludedConvertedAudienceStruct excludedConvertedAudience) {
    this.excludedConvertedAudience = excludedConvertedAudience;
    return this;
  }

  /**
   * Get excludedConvertedAudience
   *
   * @return excludedConvertedAudience
   */
  @ApiModelProperty(value = "")
  public ExcludedConvertedAudienceStruct getExcludedConvertedAudience() {
    return excludedConvertedAudience;
  }

  public void setExcludedConvertedAudience(
      ExcludedConvertedAudienceStruct excludedConvertedAudience) {
    this.excludedConvertedAudience = excludedConvertedAudience;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ReadTargetingSetting readTargetingSetting = (ReadTargetingSetting) o;
    return Objects.equals(this.age, readTargetingSetting.age)
        && Objects.equals(this.gender, readTargetingSetting.gender)
        && Objects.equals(this.education, readTargetingSetting.education)
        && Objects.equals(this.maritalStatus, readTargetingSetting.maritalStatus)
        && Objects.equals(this.workingStatus, readTargetingSetting.workingStatus)
        && Objects.equals(this.geoLocation, readTargetingSetting.geoLocation)
        && Objects.equals(this.userOs, readTargetingSetting.userOs)
        && Objects.equals(this.newDevice, readTargetingSetting.newDevice)
        && Objects.equals(this.devicePrice, readTargetingSetting.devicePrice)
        && Objects.equals(this.deviceBrandModel, readTargetingSetting.deviceBrandModel)
        && Objects.equals(this.networkType, readTargetingSetting.networkType)
        && Objects.equals(this.networkOperator, readTargetingSetting.networkOperator)
        && Objects.equals(this.networkScene, readTargetingSetting.networkScene)
        && Objects.equals(this.dressingIndex, readTargetingSetting.dressingIndex)
        && Objects.equals(this.uvIndex, readTargetingSetting.uvIndex)
        && Objects.equals(this.makeupIndex, readTargetingSetting.makeupIndex)
        && Objects.equals(this.climate, readTargetingSetting.climate)
        && Objects.equals(this.temperature, readTargetingSetting.temperature)
        && Objects.equals(this.airQualityIndex, readTargetingSetting.airQualityIndex)
        && Objects.equals(this.appInstallStatus, readTargetingSetting.appInstallStatus)
        && Objects.equals(this.consumptionStatus, readTargetingSetting.consumptionStatus)
        && Objects.equals(this.gameConsumptionLevel, readTargetingSetting.gameConsumptionLevel)
        && Objects.equals(
            this.residentialCommunityPrice, readTargetingSetting.residentialCommunityPrice)
        && Objects.equals(this.financialSituation, readTargetingSetting.financialSituation)
        && Objects.equals(this.consumptionType, readTargetingSetting.consumptionType)
        && Objects.equals(this.wechatAdBehavior, readTargetingSetting.wechatAdBehavior)
        && Objects.equals(this.customAudience, readTargetingSetting.customAudience)
        && Objects.equals(this.excludedCustomAudience, readTargetingSetting.excludedCustomAudience)
        && Objects.equals(this.behaviorOrInterest, readTargetingSetting.behaviorOrInterest)
        && Objects.equals(
            this.wechatOfficialAccountCategory, readTargetingSetting.wechatOfficialAccountCategory)
        && Objects.equals(this.mobileUnionCategory, readTargetingSetting.mobileUnionCategory)
        && Objects.equals(this.businessInterest, readTargetingSetting.businessInterest)
        && Objects.equals(this.keyword, readTargetingSetting.keyword)
        && Objects.equals(this.appBehavior, readTargetingSetting.appBehavior)
        && Objects.equals(this.paidUser, readTargetingSetting.paidUser)
        && Objects.equals(
            this.deprecatedCustomAudience, readTargetingSetting.deprecatedCustomAudience)
        && Objects.equals(
            this.deprecatedExcludedCustomAudience,
            readTargetingSetting.deprecatedExcludedCustomAudience)
        && Objects.equals(this.deprecatedRegion, readTargetingSetting.deprecatedRegion)
        && Objects.equals(
            this.excludedConvertedAudience, readTargetingSetting.excludedConvertedAudience);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        age,
        gender,
        education,
        maritalStatus,
        workingStatus,
        geoLocation,
        userOs,
        newDevice,
        devicePrice,
        deviceBrandModel,
        networkType,
        networkOperator,
        networkScene,
        dressingIndex,
        uvIndex,
        makeupIndex,
        climate,
        temperature,
        airQualityIndex,
        appInstallStatus,
        consumptionStatus,
        gameConsumptionLevel,
        residentialCommunityPrice,
        financialSituation,
        consumptionType,
        wechatAdBehavior,
        customAudience,
        excludedCustomAudience,
        behaviorOrInterest,
        wechatOfficialAccountCategory,
        mobileUnionCategory,
        businessInterest,
        keyword,
        appBehavior,
        paidUser,
        deprecatedCustomAudience,
        deprecatedExcludedCustomAudience,
        deprecatedRegion,
        excludedConvertedAudience);
  }

  @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