@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateOpenCardConfDTO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TemplateOpenCardConfDTO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CARD_RIGHTS |
static String |
SERIALIZED_NAME_CONF |
static String |
SERIALIZED_NAME_OPEN_CARD_SOURCE_TYPE |
static String |
SERIALIZED_NAME_OPEN_CARD_URL |
static String |
SERIALIZED_NAME_SOURCE_APP_ID |
| 构造器和说明 |
|---|
TemplateOpenCardConfDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
TemplateOpenCardConfDTO |
addCardRightsItem(TemplateRightsContentDTO cardRightsItem) |
TemplateOpenCardConfDTO |
cardRights(List<TemplateRightsContentDTO> cardRights) |
TemplateOpenCardConfDTO |
conf(String conf) |
boolean |
equals(Object o) |
static TemplateOpenCardConfDTO |
fromJson(String jsonString)
Create an instance of TemplateOpenCardConfDTO 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.
|
List<TemplateRightsContentDTO> |
getCardRights()
领卡权益信息
|
String |
getConf()
配置,预留字段,暂时不用
|
String |
getOpenCardSourceType()
开卡渠道类型
|
String |
getOpenCardUrl()
开卡链接,必须http、https开头
|
String |
getSourceAppId()
渠道APPID,提供领卡页面的服务提供方
|
int |
hashCode() |
TemplateOpenCardConfDTO |
openCardSourceType(String openCardSourceType) |
TemplateOpenCardConfDTO |
openCardUrl(String openCardUrl) |
TemplateOpenCardConfDTO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCardRights(List<TemplateRightsContentDTO> cardRights) |
void |
setConf(String conf) |
void |
setOpenCardSourceType(String openCardSourceType) |
void |
setOpenCardUrl(String openCardUrl) |
void |
setSourceAppId(String sourceAppId) |
TemplateOpenCardConfDTO |
sourceAppId(String sourceAppId) |
String |
toJson()
Convert an instance of TemplateOpenCardConfDTO 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_OPEN_CARD_SOURCE_TYPE
public TemplateOpenCardConfDTO cardRights(List<TemplateRightsContentDTO> cardRights)
public TemplateOpenCardConfDTO addCardRightsItem(TemplateRightsContentDTO cardRightsItem)
@Nullable public List<TemplateRightsContentDTO> getCardRights()
public void setCardRights(List<TemplateRightsContentDTO> cardRights)
public TemplateOpenCardConfDTO conf(String conf)
public void setConf(String conf)
public TemplateOpenCardConfDTO openCardSourceType(String openCardSourceType)
public void setOpenCardSourceType(String openCardSourceType)
public TemplateOpenCardConfDTO openCardUrl(String openCardUrl)
public void setOpenCardUrl(String openCardUrl)
public TemplateOpenCardConfDTO sourceAppId(String sourceAppId)
public void setSourceAppId(String sourceAppId)
public TemplateOpenCardConfDTO 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 TemplateOpenCardConfDTOpublic static TemplateOpenCardConfDTO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TemplateOpenCardConfDTOpublic String toJson()
Copyright © 2024. All rights reserved.