@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class QuotaQueryResponse extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QuotaQueryResponse.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AGREEMENT_NO |
static String |
SERIALIZED_NAME_ERROR_CODE |
static String |
SERIALIZED_NAME_FAIL_REASON |
static String |
SERIALIZED_NAME_QUOTA_DETAILS |
static String |
SERIALIZED_NAME_SUCCESS |
| 构造器和说明 |
|---|
QuotaQueryResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
QuotaQueryResponse |
agreementNo(String agreementNo) |
boolean |
equals(Object o) |
QuotaQueryResponse |
errorCode(String errorCode) |
QuotaQueryResponse |
failReason(String failReason) |
static QuotaQueryResponse |
fromJson(String jsonString)
Create an instance of QuotaQueryResponse 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 |
getAgreementNo()
协议号
|
String |
getErrorCode()
单个协议查询结果错误码
|
String |
getFailReason()
单个协议响应错误描述
|
AccountQuotaDetail |
getQuotaDetails()
Get quotaDetails
|
String |
getSuccess()
单个协议查询结果是否成功
|
int |
hashCode() |
QuotaQueryResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
QuotaQueryResponse |
quotaDetails(AccountQuotaDetail quotaDetails) |
void |
setAgreementNo(String agreementNo) |
void |
setErrorCode(String errorCode) |
void |
setFailReason(String failReason) |
void |
setQuotaDetails(AccountQuotaDetail quotaDetails) |
void |
setSuccess(String success) |
QuotaQueryResponse |
success(String success) |
String |
toJson()
Convert an instance of QuotaQueryResponse 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 QuotaQueryResponse agreementNo(String agreementNo)
public void setAgreementNo(String agreementNo)
public QuotaQueryResponse errorCode(String errorCode)
public void setErrorCode(String errorCode)
public QuotaQueryResponse failReason(String failReason)
public void setFailReason(String failReason)
public QuotaQueryResponse quotaDetails(AccountQuotaDetail quotaDetails)
@Nullable public AccountQuotaDetail getQuotaDetails()
public void setQuotaDetails(AccountQuotaDetail quotaDetails)
public QuotaQueryResponse success(String success)
public void setSuccess(String success)
public QuotaQueryResponse 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 QuotaQueryResponsepublic static QuotaQueryResponse fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to QuotaQueryResponsepublic String toJson()
Copyright © 2024. All rights reserved.