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

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

/** LocalEstimatedamountGetRequest */
public class LocalEstimatedamountGetRequest {
  @SerializedName("account_id")
  private Long accountId = null;

  @SerializedName("city_level")
  private CityLevel cityLevel = null;

  @SerializedName("package_level")
  private PackageLevel packageLevel = null;

  @SerializedName("poi_list")
  private List poiList = null;

  @SerializedName("optimization_goal")
  private OptimizationGoal optimizationGoal = null;

  @SerializedName("radius")
  private Long radius = null;

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

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

  @SerializedName("begin_time")
  private String beginTime = null;

  @SerializedName("end_time")
  private String endTime = null;

  @SerializedName("budget")
  private Long budget = null;

  @SerializedName("local_business_mode")
  private ExEcoLocalBusinessMode localBusinessMode = null;

  public LocalEstimatedamountGetRequest 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 LocalEstimatedamountGetRequest cityLevel(CityLevel cityLevel) {
    this.cityLevel = cityLevel;
    return this;
  }

  /**
   * Get cityLevel
   *
   * @return cityLevel
   */
  @ApiModelProperty(value = "")
  public CityLevel getCityLevel() {
    return cityLevel;
  }

  public void setCityLevel(CityLevel cityLevel) {
    this.cityLevel = cityLevel;
  }

  public LocalEstimatedamountGetRequest packageLevel(PackageLevel packageLevel) {
    this.packageLevel = packageLevel;
    return this;
  }

  /**
   * Get packageLevel
   *
   * @return packageLevel
   */
  @ApiModelProperty(value = "")
  public PackageLevel getPackageLevel() {
    return packageLevel;
  }

  public void setPackageLevel(PackageLevel packageLevel) {
    this.packageLevel = packageLevel;
  }

  public LocalEstimatedamountGetRequest poiList(List poiList) {
    this.poiList = poiList;
    return this;
  }

  public LocalEstimatedamountGetRequest addPoiListItem(String poiListItem) {
    if (this.poiList == null) {
      this.poiList = new ArrayList();
    }
    this.poiList.add(poiListItem);
    return this;
  }

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

  public void setPoiList(List poiList) {
    this.poiList = poiList;
  }

  public LocalEstimatedamountGetRequest optimizationGoal(OptimizationGoal optimizationGoal) {
    this.optimizationGoal = optimizationGoal;
    return this;
  }

  /**
   * Get optimizationGoal
   *
   * @return optimizationGoal
   */
  @ApiModelProperty(value = "")
  public OptimizationGoal getOptimizationGoal() {
    return optimizationGoal;
  }

  public void setOptimizationGoal(OptimizationGoal optimizationGoal) {
    this.optimizationGoal = optimizationGoal;
  }

  public LocalEstimatedamountGetRequest radius(Long radius) {
    this.radius = radius;
    return this;
  }

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

  public void setRadius(Long radius) {
    this.radius = radius;
  }

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

  public LocalEstimatedamountGetRequest 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 LocalEstimatedamountGetRequest gender(List gender) {
    this.gender = gender;
    return this;
  }

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

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

  public void setBeginTime(String beginTime) {
    this.beginTime = beginTime;
  }

  public LocalEstimatedamountGetRequest endTime(String endTime) {
    this.endTime = endTime;
    return this;
  }

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

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

  public LocalEstimatedamountGetRequest budget(Long budget) {
    this.budget = budget;
    return this;
  }

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

  public void setBudget(Long budget) {
    this.budget = budget;
  }

  public LocalEstimatedamountGetRequest localBusinessMode(
      ExEcoLocalBusinessMode localBusinessMode) {
    this.localBusinessMode = localBusinessMode;
    return this;
  }

  /**
   * Get localBusinessMode
   *
   * @return localBusinessMode
   */
  @ApiModelProperty(value = "")
  public ExEcoLocalBusinessMode getLocalBusinessMode() {
    return localBusinessMode;
  }

  public void setLocalBusinessMode(ExEcoLocalBusinessMode localBusinessMode) {
    this.localBusinessMode = localBusinessMode;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LocalEstimatedamountGetRequest localEstimatedamountGetRequest =
        (LocalEstimatedamountGetRequest) o;
    return Objects.equals(this.accountId, localEstimatedamountGetRequest.accountId)
        && Objects.equals(this.cityLevel, localEstimatedamountGetRequest.cityLevel)
        && Objects.equals(this.packageLevel, localEstimatedamountGetRequest.packageLevel)
        && Objects.equals(this.poiList, localEstimatedamountGetRequest.poiList)
        && Objects.equals(this.optimizationGoal, localEstimatedamountGetRequest.optimizationGoal)
        && Objects.equals(this.radius, localEstimatedamountGetRequest.radius)
        && Objects.equals(this.age, localEstimatedamountGetRequest.age)
        && Objects.equals(this.gender, localEstimatedamountGetRequest.gender)
        && Objects.equals(this.beginTime, localEstimatedamountGetRequest.beginTime)
        && Objects.equals(this.endTime, localEstimatedamountGetRequest.endTime)
        && Objects.equals(this.budget, localEstimatedamountGetRequest.budget)
        && Objects.equals(this.localBusinessMode, localEstimatedamountGetRequest.localBusinessMode);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        accountId,
        cityLevel,
        packageLevel,
        poiList,
        optimizationGoal,
        radius,
        age,
        gender,
        beginTime,
        endTime,
        budget,
        localBusinessMode);
  }

  @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