
com.tencent.ads.model.MpInfoUpdate 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;
/**
* <p>微信广告开户信息,当输入参数 account_id 不为空时使用,
* 用于微信公众号开通微信广告业务(需提前绑定公众号),或开通微信通用账号业务,其中通用账号能力为邀请制开放。</p><li>公众号开通广告业务:绑定公众号后,如绑定的微信公众账号尚未开通广告服务,可通过填写该结构进行开通,其中
* system_industry_id、contact_person、contact_person_telephone
* 必填。</li><li>通用账号业务:除business_type,business_content字段外,均为必填字段。</li><li>账号信息修改:可通过填写该结构进行信息修正,但当且仅当微信广告信息审核拒绝时,才允许进行更新</li>
*/
@ApiModel(
description =
"微信广告开户信息,当输入参数 account_id 不为空时使用, 用于微信公众号开通微信广告业务(需提前绑定公众号),或开通微信通用账号业务,其中通用账号能力为邀请制开放。
公众号开通广告业务:绑定公众号后,如绑定的微信公众账号尚未开通广告服务,可通过填写该结构进行开通,其中 system_industry_id、contact_person、contact_person_telephone 必填。 通用账号业务:除business_type,business_content字段外,均为必填字段。 账号信息修改:可通过填写该结构进行信息修正,但当且仅当微信广告信息审核拒绝时,才允许进行更新 ")
public class MpInfoUpdate {
@SerializedName("system_industry_id")
private Long systemIndustryId = null;
@SerializedName("contact_person")
private String contactPerson = null;
@SerializedName("contact_person_telephone")
private String contactPersonTelephone = null;
@SerializedName("business_type")
private WechatBusinessType businessType = null;
@SerializedName("business_content")
private String businessContent = null;
@SerializedName("name")
private String name = null;
@SerializedName("profile_photo")
private String profilePhoto = null;
@SerializedName("brand_introduction")
private String brandIntroduction = null;
@SerializedName("introduction_url")
private String introductionUrl = null;
public MpInfoUpdate systemIndustryId(Long systemIndustryId) {
this.systemIndustryId = systemIndustryId;
return this;
}
/**
* Get systemIndustryId
*
* @return systemIndustryId
*/
@ApiModelProperty(value = "")
public Long getSystemIndustryId() {
return systemIndustryId;
}
public void setSystemIndustryId(Long systemIndustryId) {
this.systemIndustryId = systemIndustryId;
}
public MpInfoUpdate contactPerson(String contactPerson) {
this.contactPerson = contactPerson;
return this;
}
/**
* Get contactPerson
*
* @return contactPerson
*/
@ApiModelProperty(value = "")
public String getContactPerson() {
return contactPerson;
}
public void setContactPerson(String contactPerson) {
this.contactPerson = contactPerson;
}
public MpInfoUpdate contactPersonTelephone(String contactPersonTelephone) {
this.contactPersonTelephone = contactPersonTelephone;
return this;
}
/**
* Get contactPersonTelephone
*
* @return contactPersonTelephone
*/
@ApiModelProperty(value = "")
public String getContactPersonTelephone() {
return contactPersonTelephone;
}
public void setContactPersonTelephone(String contactPersonTelephone) {
this.contactPersonTelephone = contactPersonTelephone;
}
public MpInfoUpdate businessType(WechatBusinessType businessType) {
this.businessType = businessType;
return this;
}
/**
* Get businessType
*
* @return businessType
*/
@ApiModelProperty(value = "")
public WechatBusinessType getBusinessType() {
return businessType;
}
public void setBusinessType(WechatBusinessType businessType) {
this.businessType = businessType;
}
public MpInfoUpdate businessContent(String businessContent) {
this.businessContent = businessContent;
return this;
}
/**
* Get businessContent
*
* @return businessContent
*/
@ApiModelProperty(value = "")
public String getBusinessContent() {
return businessContent;
}
public void setBusinessContent(String businessContent) {
this.businessContent = businessContent;
}
public MpInfoUpdate name(String name) {
this.name = name;
return this;
}
/**
* Get name
*
* @return name
*/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public MpInfoUpdate profilePhoto(String profilePhoto) {
this.profilePhoto = profilePhoto;
return this;
}
/**
* Get profilePhoto
*
* @return profilePhoto
*/
@ApiModelProperty(value = "")
public String getProfilePhoto() {
return profilePhoto;
}
public void setProfilePhoto(String profilePhoto) {
this.profilePhoto = profilePhoto;
}
public MpInfoUpdate brandIntroduction(String brandIntroduction) {
this.brandIntroduction = brandIntroduction;
return this;
}
/**
* Get brandIntroduction
*
* @return brandIntroduction
*/
@ApiModelProperty(value = "")
public String getBrandIntroduction() {
return brandIntroduction;
}
public void setBrandIntroduction(String brandIntroduction) {
this.brandIntroduction = brandIntroduction;
}
public MpInfoUpdate introductionUrl(String introductionUrl) {
this.introductionUrl = introductionUrl;
return this;
}
/**
* Get introductionUrl
*
* @return introductionUrl
*/
@ApiModelProperty(value = "")
public String getIntroductionUrl() {
return introductionUrl;
}
public void setIntroductionUrl(String introductionUrl) {
this.introductionUrl = introductionUrl;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MpInfoUpdate mpInfoUpdate = (MpInfoUpdate) o;
return Objects.equals(this.systemIndustryId, mpInfoUpdate.systemIndustryId)
&& Objects.equals(this.contactPerson, mpInfoUpdate.contactPerson)
&& Objects.equals(this.contactPersonTelephone, mpInfoUpdate.contactPersonTelephone)
&& Objects.equals(this.businessType, mpInfoUpdate.businessType)
&& Objects.equals(this.businessContent, mpInfoUpdate.businessContent)
&& Objects.equals(this.name, mpInfoUpdate.name)
&& Objects.equals(this.profilePhoto, mpInfoUpdate.profilePhoto)
&& Objects.equals(this.brandIntroduction, mpInfoUpdate.brandIntroduction)
&& Objects.equals(this.introductionUrl, mpInfoUpdate.introductionUrl);
}
@Override
public int hashCode() {
return Objects.hash(
systemIndustryId,
contactPerson,
contactPersonTelephone,
businessType,
businessContent,
name,
profilePhoto,
brandIntroduction,
introductionUrl);
}
@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