public class OapiMaterialArticleAddRequest extends BaseTaobaoRequest<OapiMaterialArticleAddResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
OapiMaterialArticleAddRequest.ArticleCreateDTO
文章参数对象
|
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| Constructor and Description |
|---|
OapiMaterialArticleAddRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getArticle() |
Class<OapiMaterialArticleAddResponse> |
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标准)
|
String |
getUnionid() |
void |
setArticle(OapiMaterialArticleAddRequest.ArticleCreateDTO article) |
void |
setArticle(String article) |
void |
setHttpMethod(String httpMethod) |
void |
setTopHttpMethod(String topHttpMethod) |
void |
setTopResponseType(String topResponseType) |
void |
setUnionid(String unionid) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, getTopMixParams, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopMixParamspublic void setArticle(String article)
public void setArticle(OapiMaterialArticleAddRequest.ArticleCreateDTO article)
public String getArticle()
public void setUnionid(String unionid)
public String getUnionid()
public String getApiMethodName()
TaobaoRequestgetApiMethodName in interface TaobaoRequest<OapiMaterialArticleAddResponse>getApiMethodName in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public String getTopResponseType()
TaobaoRequestgetTopResponseType in interface TaobaoRequest<OapiMaterialArticleAddResponse>getTopResponseType in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public void setTopResponseType(String topResponseType)
setTopResponseType in interface TaobaoRequest<OapiMaterialArticleAddResponse>setTopResponseType in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public String getTopApiCallType()
TaobaoRequestgetTopApiCallType in interface TaobaoRequest<OapiMaterialArticleAddResponse>getTopApiCallType in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod in interface TaobaoRequest<OapiMaterialArticleAddResponse>getTopHttpMethod in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public void setTopHttpMethod(String topHttpMethod)
setTopHttpMethod in interface TaobaoRequest<OapiMaterialArticleAddResponse>setTopHttpMethod in class BaseTaobaoRequest<OapiMaterialArticleAddResponse>public void setHttpMethod(String httpMethod)
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<OapiMaterialArticleAddResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2021. All rights reserved.