@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayMarketingCardBenefitModifyModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayMarketingCardBenefitModifyModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BENEFIT_ID |
static String |
SERIALIZED_NAME_MCARD_TEMPLATE_BENEFIT |
| 构造器和说明 |
|---|
AlipayMarketingCardBenefitModifyModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingCardBenefitModifyModel |
benefitId(String benefitId) |
boolean |
equals(Object o) |
static AlipayMarketingCardBenefitModifyModel |
fromJson(String jsonString)
Create an instance of AlipayMarketingCardBenefitModifyModel 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 |
getBenefitId()
权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。
|
McardTemplateBenefit |
getMcardTemplateBenefit()
Get mcardTemplateBenefit
|
int |
hashCode() |
AlipayMarketingCardBenefitModifyModel |
mcardTemplateBenefit(McardTemplateBenefit mcardTemplateBenefit) |
AlipayMarketingCardBenefitModifyModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBenefitId(String benefitId) |
void |
setMcardTemplateBenefit(McardTemplateBenefit mcardTemplateBenefit) |
String |
toJson()
Convert an instance of AlipayMarketingCardBenefitModifyModel 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_MCARD_TEMPLATE_BENEFIT
public AlipayMarketingCardBenefitModifyModel benefitId(String benefitId)
@Nullable public String getBenefitId()
public void setBenefitId(String benefitId)
public AlipayMarketingCardBenefitModifyModel mcardTemplateBenefit(McardTemplateBenefit mcardTemplateBenefit)
@Nullable public McardTemplateBenefit getMcardTemplateBenefit()
public void setMcardTemplateBenefit(McardTemplateBenefit mcardTemplateBenefit)
public AlipayMarketingCardBenefitModifyModel 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 AlipayMarketingCardBenefitModifyModelpublic static AlipayMarketingCardBenefitModifyModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayMarketingCardBenefitModifyModelpublic String toJson()
Copyright © 2024. All rights reserved.