public class OapiDingSendRequest extends BaseTaobaoRequest<OapiDingSendResponse>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OapiDingSendRequest.AttachmentVo
附件
|
static class |
OapiDingSendRequest.OpenDingSendVo
发DING的请求体
|
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| 构造器和说明 |
|---|
OapiDingSendRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getOpenDingSendVo() |
Class<OapiDingSendResponse> |
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标准)
|
void |
setHttpMethod(String httpMethod) |
void |
setOpenDingSendVo(OapiDingSendRequest.OpenDingSendVo openDingSendVo) |
void |
setOpenDingSendVo(String openDingSendVo) |
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 setOpenDingSendVo(String openDingSendVo)
public void setOpenDingSendVo(OapiDingSendRequest.OpenDingSendVo openDingSendVo)
public String getOpenDingSendVo()
public String getApiMethodName()
TaobaoRequestgetApiMethodName 在接口中 TaobaoRequest<OapiDingSendResponse>getApiMethodName 在类中 BaseTaobaoRequest<OapiDingSendResponse>public String getTopResponseType()
TaobaoRequestgetTopResponseType 在接口中 TaobaoRequest<OapiDingSendResponse>getTopResponseType 在类中 BaseTaobaoRequest<OapiDingSendResponse>public void setTopResponseType(String topResponseType)
public String getTopApiCallType()
TaobaoRequestgetTopApiCallType 在接口中 TaobaoRequest<OapiDingSendResponse>getTopApiCallType 在类中 BaseTaobaoRequest<OapiDingSendResponse>public String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod 在接口中 TaobaoRequest<OapiDingSendResponse>getTopHttpMethod 在类中 BaseTaobaoRequest<OapiDingSendResponse>public void setTopHttpMethod(String topHttpMethod)
public void setHttpMethod(String httpMethod)
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<OapiDingSendResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2020. All rights reserved.