
com.tencent.ads.model.ProfilesGetListStruct 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.Objects;
/** 返回结构 */
@ApiModel(description = "返回结构")
public class ProfilesGetListStruct {
@SerializedName("owner_id")
private Long ownerId = null;
@SerializedName("profile_type")
private ProfileType profileType = null;
@SerializedName("profile_id")
private Long profileId = null;
@SerializedName("promoted_object_type")
private PromotedObjectType promotedObjectType = null;
@SerializedName("promoted_object_id")
private String promotedObjectId = null;
@SerializedName("head_image_id")
private String headImageId = null;
@SerializedName("head_image_url")
private String headImageUrl = null;
@SerializedName("profile_name")
private String profileName = null;
@SerializedName("description")
private String description = null;
@SerializedName("created_time")
private Long createdTime = null;
@SerializedName("last_modified_time")
private Long lastModifiedTime = null;
@SerializedName("profile_url")
private String profileUrl = null;
@SerializedName("system_status")
private SysStatus systemStatus = null;
public ProfilesGetListStruct ownerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
/**
* Get ownerId
*
* @return ownerId
*/
@ApiModelProperty(value = "")
public Long getOwnerId() {
return ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
}
public ProfilesGetListStruct profileType(ProfileType profileType) {
this.profileType = profileType;
return this;
}
/**
* Get profileType
*
* @return profileType
*/
@ApiModelProperty(value = "")
public ProfileType getProfileType() {
return profileType;
}
public void setProfileType(ProfileType profileType) {
this.profileType = profileType;
}
public ProfilesGetListStruct profileId(Long profileId) {
this.profileId = profileId;
return this;
}
/**
* Get profileId
*
* @return profileId
*/
@ApiModelProperty(value = "")
public Long getProfileId() {
return profileId;
}
public void setProfileId(Long profileId) {
this.profileId = profileId;
}
public ProfilesGetListStruct promotedObjectType(PromotedObjectType promotedObjectType) {
this.promotedObjectType = promotedObjectType;
return this;
}
/**
* Get promotedObjectType
*
* @return promotedObjectType
*/
@ApiModelProperty(value = "")
public PromotedObjectType getPromotedObjectType() {
return promotedObjectType;
}
public void setPromotedObjectType(PromotedObjectType promotedObjectType) {
this.promotedObjectType = promotedObjectType;
}
public ProfilesGetListStruct promotedObjectId(String promotedObjectId) {
this.promotedObjectId = promotedObjectId;
return this;
}
/**
* Get promotedObjectId
*
* @return promotedObjectId
*/
@ApiModelProperty(value = "")
public String getPromotedObjectId() {
return promotedObjectId;
}
public void setPromotedObjectId(String promotedObjectId) {
this.promotedObjectId = promotedObjectId;
}
public ProfilesGetListStruct headImageId(String headImageId) {
this.headImageId = headImageId;
return this;
}
/**
* Get headImageId
*
* @return headImageId
*/
@ApiModelProperty(value = "")
public String getHeadImageId() {
return headImageId;
}
public void setHeadImageId(String headImageId) {
this.headImageId = headImageId;
}
public ProfilesGetListStruct headImageUrl(String headImageUrl) {
this.headImageUrl = headImageUrl;
return this;
}
/**
* Get headImageUrl
*
* @return headImageUrl
*/
@ApiModelProperty(value = "")
public String getHeadImageUrl() {
return headImageUrl;
}
public void setHeadImageUrl(String headImageUrl) {
this.headImageUrl = headImageUrl;
}
public ProfilesGetListStruct profileName(String profileName) {
this.profileName = profileName;
return this;
}
/**
* Get profileName
*
* @return profileName
*/
@ApiModelProperty(value = "")
public String getProfileName() {
return profileName;
}
public void setProfileName(String profileName) {
this.profileName = profileName;
}
public ProfilesGetListStruct description(String description) {
this.description = description;
return this;
}
/**
* Get description
*
* @return description
*/
@ApiModelProperty(value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ProfilesGetListStruct createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* Get createdTime
*
* @return createdTime
*/
@ApiModelProperty(value = "")
public Long getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
}
public ProfilesGetListStruct lastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
/**
* Get lastModifiedTime
*
* @return lastModifiedTime
*/
@ApiModelProperty(value = "")
public Long getLastModifiedTime() {
return lastModifiedTime;
}
public void setLastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
}
public ProfilesGetListStruct profileUrl(String profileUrl) {
this.profileUrl = profileUrl;
return this;
}
/**
* Get profileUrl
*
* @return profileUrl
*/
@ApiModelProperty(value = "")
public String getProfileUrl() {
return profileUrl;
}
public void setProfileUrl(String profileUrl) {
this.profileUrl = profileUrl;
}
public ProfilesGetListStruct systemStatus(SysStatus systemStatus) {
this.systemStatus = systemStatus;
return this;
}
/**
* Get systemStatus
*
* @return systemStatus
*/
@ApiModelProperty(value = "")
public SysStatus getSystemStatus() {
return systemStatus;
}
public void setSystemStatus(SysStatus systemStatus) {
this.systemStatus = systemStatus;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ProfilesGetListStruct profilesGetListStruct = (ProfilesGetListStruct) o;
return Objects.equals(this.ownerId, profilesGetListStruct.ownerId)
&& Objects.equals(this.profileType, profilesGetListStruct.profileType)
&& Objects.equals(this.profileId, profilesGetListStruct.profileId)
&& Objects.equals(this.promotedObjectType, profilesGetListStruct.promotedObjectType)
&& Objects.equals(this.promotedObjectId, profilesGetListStruct.promotedObjectId)
&& Objects.equals(this.headImageId, profilesGetListStruct.headImageId)
&& Objects.equals(this.headImageUrl, profilesGetListStruct.headImageUrl)
&& Objects.equals(this.profileName, profilesGetListStruct.profileName)
&& Objects.equals(this.description, profilesGetListStruct.description)
&& Objects.equals(this.createdTime, profilesGetListStruct.createdTime)
&& Objects.equals(this.lastModifiedTime, profilesGetListStruct.lastModifiedTime)
&& Objects.equals(this.profileUrl, profilesGetListStruct.profileUrl)
&& Objects.equals(this.systemStatus, profilesGetListStruct.systemStatus);
}
@Override
public int hashCode() {
return Objects.hash(
ownerId,
profileType,
profileId,
promotedObjectType,
promotedObjectId,
headImageId,
headImageUrl,
profileName,
description,
createdTime,
lastModifiedTime,
profileUrl,
systemStatus);
}
@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