public class OapiCspaceAuthGenerateRequest extends BaseTaobaoRequest<OapiCspaceAuthGenerateResponse>
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| 构造器和说明 |
|---|
OapiCspaceAuthGenerateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
Long |
getAgentId() |
String |
getApiMethodName()
获取TOP的API名称。
|
Long |
getAppId() |
Long |
getDuration() |
String |
getFileIds() |
String |
getPath() |
Class<OapiCspaceAuthGenerateResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。
|
String |
getTopApiCallType()
获取API调用方式
|
String |
getTopHttpMethod()
获取Http method,例如GET,POST
|
String |
getTopResponseType()
API对应的响应格式,包含top(top标准),qimen(奇门1.0标准),qimen2(奇门2.0标准)
|
String |
getType() |
void |
setAgentId(Long agentId) |
void |
setAppId(Long appId) |
void |
setDuration(Long duration) |
void |
setFileIds(String fileIds) |
void |
setHttpMethod(String httpMethod) |
void |
setPath(String path) |
void |
setTopHttpMethod(String topHttpMethod) |
void |
setTopResponseType(String topResponseType) |
void |
setType(String type) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, getTopMixParams, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopMixParamspublic void setAgentId(Long agentId)
public Long getAgentId()
public void setAppId(Long appId)
public Long getAppId()
public void setDuration(Long duration)
public Long getDuration()
public void setFileIds(String fileIds)
public String getFileIds()
public void setPath(String path)
public String getPath()
public void setType(String type)
public String getType()
public String getApiMethodName()
TaobaoRequestgetApiMethodName 在接口中 TaobaoRequest<OapiCspaceAuthGenerateResponse>getApiMethodName 在类中 BaseTaobaoRequest<OapiCspaceAuthGenerateResponse>public String getTopResponseType()
TaobaoRequestpublic void setTopResponseType(String topResponseType)
public String getTopApiCallType()
TaobaoRequestpublic String getTopHttpMethod()
TaobaoRequestpublic void setTopHttpMethod(String topHttpMethod)
public void setHttpMethod(String httpMethod)
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<OapiCspaceAuthGenerateResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2020. All rights reserved.