@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class InteligentPublishChannel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InteligentPublishChannel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONFIG |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
InteligentPublishChannel() |
| 限定符和类型 | 方法和说明 |
|---|---|
InteligentPublishChannel |
config(String config) |
boolean |
equals(Object o) |
InteligentPublishChannel |
extInfo(String extInfo) |
static InteligentPublishChannel |
fromJson(String jsonString)
Create an instance of InteligentPublishChannel 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 |
getConfig()
当type为MERCHANT_CROWD时,config需填入口令送的密码和图片,样例如下:\"config\":\"{\\\"PASSWORD\\\":\\\"口令送密码\\\",\\\"BACKGROUND_LOGO\\\":\\\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\\\"}\"
|
String |
getExtInfo()
扩展信息,无需配置
|
String |
getName()
渠道名称
|
String |
getType()
渠道类型,目前支持以下类型: QR_CODE:二维码投放; SHORT_LINK:短连接投放; SHOP_DETAIL:店铺页投放; PAYMENT_RESULT:支付成功页; MERCHANT_CROWD:口令送; URL_WITH_TOKEN:外部发奖活动, 只有活动类型为DIRECT_SEND时才支持;
|
int |
hashCode() |
InteligentPublishChannel |
name(String name) |
InteligentPublishChannel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConfig(String config) |
void |
setExtInfo(String extInfo) |
void |
setName(String name) |
void |
setType(String type) |
String |
toJson()
Convert an instance of InteligentPublishChannel to an JSON string
|
String |
toString() |
InteligentPublishChannel |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public InteligentPublishChannel config(String config)
@Nullable public String getConfig()
public void setConfig(String config)
public InteligentPublishChannel extInfo(String extInfo)
public void setExtInfo(String extInfo)
public InteligentPublishChannel name(String name)
public void setName(String name)
public InteligentPublishChannel type(String type)
@Nullable public String getType()
public void setType(String type)
public InteligentPublishChannel 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 InteligentPublishChannelpublic static InteligentPublishChannel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to InteligentPublishChannelpublic String toJson()
Copyright © 2024. All rights reserved.