@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InteligentPromoTool extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InteligentPromoTool.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_INTELIGENT_SEND_RULE |
static String |
SERIALIZED_NAME_INTELIGENT_VOUCHER |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_VOUCHER_NO |
| 构造器和说明 |
|---|
InteligentPromoTool() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static InteligentPromoTool |
fromJson(String jsonString)
Create an instance of InteligentPromoTool 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.
|
InteligentSendRule |
getInteligentSendRule()
Get inteligentSendRule
|
InteligentVoucher |
getInteligentVoucher()
Get inteligentVoucher
|
String |
getStatus()
单个营销工具的生效状态,当在招商部分券失效后会使用这个字段
|
String |
getVoucherNo()
营销工具uid,创建营销活动时无需设置
|
int |
hashCode() |
InteligentPromoTool |
inteligentSendRule(InteligentSendRule inteligentSendRule) |
InteligentPromoTool |
inteligentVoucher(InteligentVoucher inteligentVoucher) |
InteligentPromoTool |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setInteligentSendRule(InteligentSendRule inteligentSendRule) |
void |
setInteligentVoucher(InteligentVoucher inteligentVoucher) |
void |
setStatus(String status) |
void |
setVoucherNo(String voucherNo) |
InteligentPromoTool |
status(String status) |
String |
toJson()
Convert an instance of InteligentPromoTool 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
|
InteligentPromoTool |
voucherNo(String voucherNo) |
public static final String SERIALIZED_NAME_INTELIGENT_SEND_RULE
public static final String SERIALIZED_NAME_INTELIGENT_VOUCHER
public InteligentPromoTool inteligentSendRule(InteligentSendRule inteligentSendRule)
@Nullable public InteligentSendRule getInteligentSendRule()
public void setInteligentSendRule(InteligentSendRule inteligentSendRule)
public InteligentPromoTool inteligentVoucher(InteligentVoucher inteligentVoucher)
@Nullable public InteligentVoucher getInteligentVoucher()
public void setInteligentVoucher(InteligentVoucher inteligentVoucher)
public InteligentPromoTool status(String status)
public void setStatus(String status)
public InteligentPromoTool voucherNo(String voucherNo)
public void setVoucherNo(String voucherNo)
public InteligentPromoTool 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 InteligentPromoToolpublic static InteligentPromoTool fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InteligentPromoToolpublic String toJson()
Copyright © 2024. All rights reserved.