@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class McardTemplateBenefit extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
McardTemplateBenefit.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BENEFIT_DESC |
static String |
SERIALIZED_NAME_END_DATE |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_START_DATE |
static String |
SERIALIZED_NAME_TEMPLATE_ID |
static String |
SERIALIZED_NAME_TITLE |
| 构造器和说明 |
|---|
McardTemplateBenefit() |
| 限定符和类型 | 方法和说明 |
|---|---|
McardTemplateBenefit |
addBenefitDescItem(String benefitDescItem) |
McardTemplateBenefit |
benefitDesc(List<String> benefitDesc) |
McardTemplateBenefit |
endDate(String endDate) |
boolean |
equals(Object o) |
McardTemplateBenefit |
extInfo(String extInfo) |
static McardTemplateBenefit |
fromJson(String jsonString)
Create an instance of McardTemplateBenefit 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<String> |
getBenefitDesc()
权益描述信息
|
String |
getEndDate()
权益结束时间。
|
String |
getExtInfo()
会员卡模板权益扩展信息:JSON格式; openUrl 说明:跳转到商户的优惠活动页面
|
String |
getStartDate()
权益开始时间
|
String |
getTemplateId()
会员卡模板ID
|
String |
getTitle()
权益标题
|
int |
hashCode() |
McardTemplateBenefit |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBenefitDesc(List<String> benefitDesc) |
void |
setEndDate(String endDate) |
void |
setExtInfo(String extInfo) |
void |
setStartDate(String startDate) |
void |
setTemplateId(String templateId) |
void |
setTitle(String title) |
McardTemplateBenefit |
startDate(String startDate) |
McardTemplateBenefit |
templateId(String templateId) |
McardTemplateBenefit |
title(String title) |
String |
toJson()
Convert an instance of McardTemplateBenefit 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 McardTemplateBenefit benefitDesc(List<String> benefitDesc)
public McardTemplateBenefit addBenefitDescItem(String benefitDescItem)
public McardTemplateBenefit endDate(String endDate)
@Nullable public String getEndDate()
public void setEndDate(String endDate)
public McardTemplateBenefit extInfo(String extInfo)
@Nullable public String getExtInfo()
public void setExtInfo(String extInfo)
public McardTemplateBenefit startDate(String startDate)
public void setStartDate(String startDate)
public McardTemplateBenefit templateId(String templateId)
public void setTemplateId(String templateId)
public McardTemplateBenefit title(String title)
public void setTitle(String title)
public McardTemplateBenefit 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 McardTemplateBenefitpublic static McardTemplateBenefit fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to McardTemplateBenefitpublic String toJson()
Copyright © 2024. All rights reserved.