public class OapiEduFaceSearchRequest extends BaseTaobaoRequest<OapiEduFaceSearchResponse>
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| Constructor and Description |
|---|
OapiEduFaceSearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getApiMethodName()
获取TOP的API名称。
|
Long |
getClassId() |
Long |
getHeight() |
Class<OapiEduFaceSearchResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
Boolean |
getSynchronous() |
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。其中:
Key: 请求参数名
Value: 请求参数值
|
String |
getTopApiCallType()
获取API调用方式
|
String |
getTopHttpMethod()
获取Http method,例如GET,POST
|
String |
getTopResponseType()
API对应的响应格式,包含top(top标准),qimen(奇门1.0标准),qimen2(奇门2.0标准)
|
String |
getUrl() |
String |
getUserid() |
Long |
getWidth() |
void |
setClassId(Long classId) |
void |
setHeight(Long height) |
void |
setHttpMethod(String httpMethod) |
void |
setSynchronous(Boolean synchronous) |
void |
setTopHttpMethod(String topHttpMethod) |
void |
setTopResponseType(String topResponseType) |
void |
setUrl(String url) |
void |
setUserid(String userid) |
void |
setWidth(Long width) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, getTopMixParams, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopMixParamspublic void setClassId(Long classId)
public Long getClassId()
public void setHeight(Long height)
public Long getHeight()
public void setSynchronous(Boolean synchronous)
public Boolean getSynchronous()
public void setUrl(String url)
public String getUrl()
public void setUserid(String userid)
public String getUserid()
public void setWidth(Long width)
public Long getWidth()
public String getApiMethodName()
TaobaoRequestgetApiMethodName in interface TaobaoRequest<OapiEduFaceSearchResponse>getApiMethodName in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public String getTopResponseType()
TaobaoRequestgetTopResponseType in interface TaobaoRequest<OapiEduFaceSearchResponse>getTopResponseType in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public void setTopResponseType(String topResponseType)
setTopResponseType in interface TaobaoRequest<OapiEduFaceSearchResponse>setTopResponseType in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public String getTopApiCallType()
TaobaoRequestgetTopApiCallType in interface TaobaoRequest<OapiEduFaceSearchResponse>getTopApiCallType in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod in interface TaobaoRequest<OapiEduFaceSearchResponse>getTopHttpMethod in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public void setTopHttpMethod(String topHttpMethod)
setTopHttpMethod in interface TaobaoRequest<OapiEduFaceSearchResponse>setTopHttpMethod in class BaseTaobaoRequest<OapiEduFaceSearchResponse>public void setHttpMethod(String httpMethod)
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<OapiEduFaceSearchResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2021. All rights reserved.