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