
com.tencent.ads.model.AppBehavior 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;
/** app行为定向 */
@ApiModel(description = "app行为定向")
public class AppBehavior {
@SerializedName("object_type")
private AppActionObjectType objectType = null;
@SerializedName("object_id_list")
private List objectIdList = null;
@SerializedName("time_window")
private Long timeWindow = null;
@SerializedName("act_id_list")
private List actIdList = null;
public AppBehavior objectType(AppActionObjectType objectType) {
this.objectType = objectType;
return this;
}
/**
* Get objectType
*
* @return objectType
*/
@ApiModelProperty(value = "")
public AppActionObjectType getObjectType() {
return objectType;
}
public void setObjectType(AppActionObjectType objectType) {
this.objectType = objectType;
}
public AppBehavior objectIdList(List objectIdList) {
this.objectIdList = objectIdList;
return this;
}
public AppBehavior addObjectIdListItem(Long objectIdListItem) {
if (this.objectIdList == null) {
this.objectIdList = new ArrayList();
}
this.objectIdList.add(objectIdListItem);
return this;
}
/**
* Get objectIdList
*
* @return objectIdList
*/
@ApiModelProperty(value = "")
public List getObjectIdList() {
return objectIdList;
}
public void setObjectIdList(List objectIdList) {
this.objectIdList = objectIdList;
}
public AppBehavior timeWindow(Long timeWindow) {
this.timeWindow = timeWindow;
return this;
}
/**
* Get timeWindow
*
* @return timeWindow
*/
@ApiModelProperty(value = "")
public Long getTimeWindow() {
return timeWindow;
}
public void setTimeWindow(Long timeWindow) {
this.timeWindow = timeWindow;
}
public AppBehavior actIdList(List actIdList) {
this.actIdList = actIdList;
return this;
}
public AppBehavior addActIdListItem(String actIdListItem) {
if (this.actIdList == null) {
this.actIdList = new ArrayList();
}
this.actIdList.add(actIdListItem);
return this;
}
/**
* Get actIdList
*
* @return actIdList
*/
@ApiModelProperty(value = "")
public List getActIdList() {
return actIdList;
}
public void setActIdList(List actIdList) {
this.actIdList = actIdList;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AppBehavior appBehavior = (AppBehavior) o;
return Objects.equals(this.objectType, appBehavior.objectType)
&& Objects.equals(this.objectIdList, appBehavior.objectIdList)
&& Objects.equals(this.timeWindow, appBehavior.timeWindow)
&& Objects.equals(this.actIdList, appBehavior.actIdList);
}
@Override
public int hashCode() {
return Objects.hash(objectType, objectIdList, timeWindow, actIdList);
}
@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