@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ZMGOObligationConfig extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ZMGOObligationConfig.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BENEFIT_URL |
static String |
SERIALIZED_NAME_OBLIGATION_AMOUNT |
static String |
SERIALIZED_NAME_OBLIGATION_TEMPLATE |
static String |
SERIALIZED_NAME_OBLIGATION_TIMES |
static String |
SERIALIZED_NAME_PROMISE_TYPE_DESC |
static String |
SERIALIZED_NAME_TASK_PROGRESS_REDIRECT_SCHEMA |
| 构造器和说明 |
|---|
ZMGOObligationConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
ZMGOObligationConfig |
benefitUrl(String benefitUrl) |
boolean |
equals(Object o) |
static ZMGOObligationConfig |
fromJson(String jsonString)
Create an instance of ZMGOObligationConfig 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 |
getBenefitUrl()
芝麻GO管理页做任务按钮对应链接
|
String |
getObligationAmount()
完成任务所需的最少额度,当obligation_template取值为:OBTL002时必传
|
String |
getObligationTemplate()
承诺模式下,义务的类型,包含次数类型和金额类型: OBTL001(\"OBTL001\", \"在x时间内完成n次\"), OBTL002(\"OBTL002\", \"在x时间内达到n元金额\")
|
String |
getObligationTimes()
完成任务所需的最少次数,当obligation_template取值为:OBTL001时必填
|
String |
getPromiseTypeDesc()
任务描述
|
String |
getTaskProgressRedirectSchema()
芝麻GO管理页任务进度重定向链接
|
int |
hashCode() |
ZMGOObligationConfig |
obligationAmount(String obligationAmount) |
ZMGOObligationConfig |
obligationTemplate(String obligationTemplate) |
ZMGOObligationConfig |
obligationTimes(String obligationTimes) |
ZMGOObligationConfig |
promiseTypeDesc(String promiseTypeDesc) |
ZMGOObligationConfig |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBenefitUrl(String benefitUrl) |
void |
setObligationAmount(String obligationAmount) |
void |
setObligationTemplate(String obligationTemplate) |
void |
setObligationTimes(String obligationTimes) |
void |
setPromiseTypeDesc(String promiseTypeDesc) |
void |
setTaskProgressRedirectSchema(String taskProgressRedirectSchema) |
ZMGOObligationConfig |
taskProgressRedirectSchema(String taskProgressRedirectSchema) |
String |
toJson()
Convert an instance of ZMGOObligationConfig 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_OBLIGATION_AMOUNT
public static final String SERIALIZED_NAME_OBLIGATION_TEMPLATE
public static final String SERIALIZED_NAME_OBLIGATION_TIMES
public static final String SERIALIZED_NAME_PROMISE_TYPE_DESC
public static final String SERIALIZED_NAME_TASK_PROGRESS_REDIRECT_SCHEMA
public ZMGOObligationConfig benefitUrl(String benefitUrl)
public void setBenefitUrl(String benefitUrl)
public ZMGOObligationConfig obligationAmount(String obligationAmount)
@Nullable public String getObligationAmount()
public void setObligationAmount(String obligationAmount)
public ZMGOObligationConfig obligationTemplate(String obligationTemplate)
@Nullable public String getObligationTemplate()
public void setObligationTemplate(String obligationTemplate)
public ZMGOObligationConfig obligationTimes(String obligationTimes)
@Nullable public String getObligationTimes()
public void setObligationTimes(String obligationTimes)
public ZMGOObligationConfig promiseTypeDesc(String promiseTypeDesc)
public void setPromiseTypeDesc(String promiseTypeDesc)
public ZMGOObligationConfig taskProgressRedirectSchema(String taskProgressRedirectSchema)
@Nullable public String getTaskProgressRedirectSchema()
public void setTaskProgressRedirectSchema(String taskProgressRedirectSchema)
public ZMGOObligationConfig 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 ZMGOObligationConfigpublic static ZMGOObligationConfig fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ZMGOObligationConfigpublic String toJson()
Copyright © 2024. All rights reserved.