@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class Advert extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Advert.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADVERT_GROUP |
static String |
SERIALIZED_NAME_ADVERT_ID |
static String |
SERIALIZED_NAME_ADVERT_ITEMS |
static String |
SERIALIZED_NAME_GROUP_ID |
static String |
SERIALIZED_NAME_MOBILE_CLIENT_TYPE |
| 构造器和说明 |
|---|
Advert() |
| 限定符和类型 | 方法和说明 |
|---|---|
Advert |
addAdvertItemsItem(AdvertItem advertItemsItem) |
Advert |
advertGroup(String advertGroup) |
Advert |
advertId(String advertId) |
Advert |
advertItems(List<AdvertItem> advertItems) |
boolean |
equals(Object o) |
static Advert |
fromJson(String jsonString)
Create an instance of Advert given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAdvertGroup()
广告组标识
|
String |
getAdvertId()
广告位id
|
List<AdvertItem> |
getAdvertItems()
广告位轮播内容列表
|
String |
getGroupId()
投放人群分组id
|
String |
getMobileClientType()
手机客户端类型,iphone、android、wp,空为不区分机型
|
Advert |
groupId(String groupId) |
int |
hashCode() |
Advert |
mobileClientType(String mobileClientType) |
Advert |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAdvertGroup(String advertGroup) |
void |
setAdvertId(String advertId) |
void |
setAdvertItems(List<AdvertItem> advertItems) |
void |
setGroupId(String groupId) |
void |
setMobileClientType(String mobileClientType) |
String |
toJson()
Convert an instance of Advert to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_MOBILE_CLIENT_TYPE
public void setAdvertGroup(String advertGroup)
public void setAdvertId(String advertId)
public Advert advertItems(List<AdvertItem> advertItems)
public Advert addAdvertItemsItem(AdvertItem advertItemsItem)
@Nullable public List<AdvertItem> getAdvertItems()
public void setAdvertItems(List<AdvertItem> advertItems)
public void setGroupId(String groupId)
@Nullable public String getMobileClientType()
public void setMobileClientType(String mobileClientType)
public Advert putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to Advertpublic static Advert fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Advertpublic String toJson()
Copyright © 2024. All rights reserved.