@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class McardTemplate extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
McardTemplate.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CARD_TYPE |
static String |
SERIALIZED_NAME_GMT_CREATE |
static String |
SERIALIZED_NAME_GMT_MODIFIED |
static String |
SERIALIZED_NAME_TEMPLATE_ID |
static String |
SERIALIZED_NAME_TEMPLATE_STYLE_INFO |
| 构造器和说明 |
|---|
McardTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
McardTemplate |
cardType(String cardType) |
boolean |
equals(Object o) |
static McardTemplate |
fromJson(String jsonString)
Create an instance of McardTemplate 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 |
getCardType()
卡类型
|
String |
getGmtCreate()
会员卡模板创建时间
|
String |
getGmtModified()
会员卡模板修改时间
|
String |
getTemplateId()
会员卡模板ID
|
TemplateStyleInfoDTO |
getTemplateStyleInfo()
Get templateStyleInfo
|
McardTemplate |
gmtCreate(String gmtCreate) |
McardTemplate |
gmtModified(String gmtModified) |
int |
hashCode() |
McardTemplate |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCardType(String cardType) |
void |
setGmtCreate(String gmtCreate) |
void |
setGmtModified(String gmtModified) |
void |
setTemplateId(String templateId) |
void |
setTemplateStyleInfo(TemplateStyleInfoDTO templateStyleInfo) |
McardTemplate |
templateId(String templateId) |
McardTemplate |
templateStyleInfo(TemplateStyleInfoDTO templateStyleInfo) |
String |
toJson()
Convert an instance of McardTemplate 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_TEMPLATE_STYLE_INFO
public McardTemplate cardType(String cardType)
public void setCardType(String cardType)
public McardTemplate gmtCreate(String gmtCreate)
public void setGmtCreate(String gmtCreate)
public McardTemplate gmtModified(String gmtModified)
public void setGmtModified(String gmtModified)
public McardTemplate templateId(String templateId)
public void setTemplateId(String templateId)
public McardTemplate templateStyleInfo(TemplateStyleInfoDTO templateStyleInfo)
@Nullable public TemplateStyleInfoDTO getTemplateStyleInfo()
public void setTemplateStyleInfo(TemplateStyleInfoDTO templateStyleInfo)
public McardTemplate 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 McardTemplatepublic static McardTemplate fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to McardTemplatepublic String toJson()
Copyright © 2024. All rights reserved.