@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ConsultActivityResultInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ConsultActivityResultInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTIVITY_ID |
static String |
SERIALIZED_NAME_CONSULT_RESULT_CODE |
| 构造器和说明 |
|---|
ConsultActivityResultInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ConsultActivityResultInfo |
activityId(String activityId) |
ConsultActivityResultInfo |
consultResultCode(String consultResultCode) |
boolean |
equals(Object o) |
static ConsultActivityResultInfo |
fromJson(String jsonString)
Create an instance of ConsultActivityResultInfo given an JSON string
|
String |
getActivityId()
活动id
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getConsultResultCode()
咨询结果码 SUCCESS:可以领取 COUNT_OVER_LIMIT:不可领取,次数超过限制 BUDGET_NOT_ENOUGH:不可领取,预算不足 ACTIVITY_NOT_START:活动未开始 ACTIVITY_NOT_PERMISSION:商户没有权限发放该活动 OTHER:不可领取,未知原因
|
int |
hashCode() |
ConsultActivityResultInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setActivityId(String activityId) |
void |
setConsultResultCode(String consultResultCode) |
String |
toJson()
Convert an instance of ConsultActivityResultInfo 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_CONSULT_RESULT_CODE
public ConsultActivityResultInfo activityId(String activityId)
public void setActivityId(String activityId)
public ConsultActivityResultInfo consultResultCode(String consultResultCode)
@Nullable public String getConsultResultCode()
public void setConsultResultCode(String consultResultCode)
public ConsultActivityResultInfo 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 ConsultActivityResultInfopublic static ConsultActivityResultInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ConsultActivityResultInfopublic String toJson()
Copyright © 2024. All rights reserved.