
com.tencent.ads.model.CustomerProfileStruct 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 CustomerProfileStruct {
@SerializedName("gender")
private LocalStoreCustomerProfileGender gender = null;
@SerializedName("age")
private List age = null;
@SerializedName("income")
private List income = null;
@SerializedName("vehicle")
private List vehicle = null;
public CustomerProfileStruct gender(LocalStoreCustomerProfileGender gender) {
this.gender = gender;
return this;
}
/**
* Get gender
*
* @return gender
*/
@ApiModelProperty(value = "")
public LocalStoreCustomerProfileGender getGender() {
return gender;
}
public void setGender(LocalStoreCustomerProfileGender gender) {
this.gender = gender;
}
public CustomerProfileStruct age(List age) {
this.age = age;
return this;
}
public CustomerProfileStruct addAgeItem(CustomerProfileAgeStruct 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 CustomerProfileStruct income(List income) {
this.income = income;
return this;
}
public CustomerProfileStruct addIncomeItem(CustomerProfileIncomeStruct incomeItem) {
if (this.income == null) {
this.income = new ArrayList();
}
this.income.add(incomeItem);
return this;
}
/**
* Get income
*
* @return income
*/
@ApiModelProperty(value = "")
public List getIncome() {
return income;
}
public void setIncome(List income) {
this.income = income;
}
public CustomerProfileStruct vehicle(List vehicle) {
this.vehicle = vehicle;
return this;
}
public CustomerProfileStruct addVehicleItem(String vehicleItem) {
if (this.vehicle == null) {
this.vehicle = new ArrayList();
}
this.vehicle.add(vehicleItem);
return this;
}
/**
* Get vehicle
*
* @return vehicle
*/
@ApiModelProperty(value = "")
public List getVehicle() {
return vehicle;
}
public void setVehicle(List vehicle) {
this.vehicle = vehicle;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CustomerProfileStruct customerProfileStruct = (CustomerProfileStruct) o;
return Objects.equals(this.gender, customerProfileStruct.gender)
&& Objects.equals(this.age, customerProfileStruct.age)
&& Objects.equals(this.income, customerProfileStruct.income)
&& Objects.equals(this.vehicle, customerProfileStruct.vehicle);
}
@Override
public int hashCode() {
return Objects.hash(gender, age, income, vehicle);
}
@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