public class OapiEduClassListRequest extends BaseTaobaoRequest<OapiEduClassListResponse>
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| Constructor and Description |
|---|
OapiEduClassListRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getApiMethodName()
获取TOP的API名称。
|
Long |
getGradeId() |
Long |
getPageNo() |
Long |
getPageSize() |
Class<OapiEduClassListResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
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标准)
|
void |
setGradeId(Long gradeId) |
void |
setHttpMethod(String httpMethod) |
void |
setPageNo(Long pageNo) |
void |
setPageSize(Long pageSize) |
void |
setTopHttpMethod(String topHttpMethod) |
void |
setTopResponseType(String topResponseType) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, getTopMixParams, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopMixParamspublic void setGradeId(Long gradeId)
public Long getGradeId()
public void setPageNo(Long pageNo)
public Long getPageNo()
public void setPageSize(Long pageSize)
public Long getPageSize()
public String getApiMethodName()
TaobaoRequestgetApiMethodName in interface TaobaoRequest<OapiEduClassListResponse>getApiMethodName in class BaseTaobaoRequest<OapiEduClassListResponse>public String getTopResponseType()
TaobaoRequestgetTopResponseType in interface TaobaoRequest<OapiEduClassListResponse>getTopResponseType in class BaseTaobaoRequest<OapiEduClassListResponse>public void setTopResponseType(String topResponseType)
setTopResponseType in interface TaobaoRequest<OapiEduClassListResponse>setTopResponseType in class BaseTaobaoRequest<OapiEduClassListResponse>public String getTopApiCallType()
TaobaoRequestgetTopApiCallType in interface TaobaoRequest<OapiEduClassListResponse>getTopApiCallType in class BaseTaobaoRequest<OapiEduClassListResponse>public String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod in interface TaobaoRequest<OapiEduClassListResponse>getTopHttpMethod in class BaseTaobaoRequest<OapiEduClassListResponse>public void setTopHttpMethod(String topHttpMethod)
setTopHttpMethod in interface TaobaoRequest<OapiEduClassListResponse>setTopHttpMethod in class BaseTaobaoRequest<OapiEduClassListResponse>public void setHttpMethod(String httpMethod)
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<OapiEduClassListResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2021. All rights reserved.