T - 奇门API响应类public abstract class QimenRequest<T extends QimenResponse> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
body |
protected String |
customerId |
protected TaobaoHashMap |
queryParams |
protected String |
testType |
protected Long |
timestamp |
protected String |
version |
| 构造器和说明 |
|---|
QimenRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addQueryParam(String key,
String value) |
abstract String |
getApiMethodName()
获取API名称。
|
String |
getBody() |
String |
getCustomerId() |
TaobaoHashMap |
getQueryParams() |
abstract Class<T> |
getResponseClass()
获取API响应类实例。
|
String |
getTestType() |
Long |
getTimestamp() |
String |
getVersion() |
void |
setBody(String body) |
void |
setCustomerId(String customerId) |
void |
setTestType(String testType) |
void |
setTimestamp(Long timestamp) |
void |
setVersion(String version) |
protected String customerId
protected Long timestamp
protected String version
protected String testType
protected String body
protected TaobaoHashMap queryParams
public String getCustomerId()
public void setCustomerId(String customerId)
public Long getTimestamp()
public void setTimestamp(Long timestamp)
public String getVersion()
public void setVersion(String version)
public String getTestType()
public void setTestType(String testType)
public void setBody(String body)
public String getBody()
public TaobaoHashMap getQueryParams()
public abstract String getApiMethodName()
Copyright © 2020. All rights reserved.