Class CommonServiceAPIRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcb.v20180608.models.CommonServiceAPIRequest
-
public class CommonServiceAPIRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CommonServiceAPIRequest()CommonServiceAPIRequest(CommonServiceAPIRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiRole()Get 指定角色StringgetJSONData()Get 需要转发的云API参数,要转成JSON格式StringgetService()Get Service名,需要转发访问的接口名voidsetApiRole(String ApiRole)Set 指定角色voidsetJSONData(String JSONData)Set 需要转发的云API参数,要转成JSON格式voidsetService(String Service)Set Service名,需要转发访问的接口名voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CommonServiceAPIRequest
public CommonServiceAPIRequest()
-
CommonServiceAPIRequest
public CommonServiceAPIRequest(CommonServiceAPIRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getService
public String getService()
Get Service名,需要转发访问的接口名- Returns:
- Service Service名,需要转发访问的接口名
-
setService
public void setService(String Service)
Set Service名,需要转发访问的接口名- Parameters:
Service- Service名,需要转发访问的接口名
-
getJSONData
public String getJSONData()
Get 需要转发的云API参数,要转成JSON格式- Returns:
- JSONData 需要转发的云API参数,要转成JSON格式
-
setJSONData
public void setJSONData(String JSONData)
Set 需要转发的云API参数,要转成JSON格式- Parameters:
JSONData- 需要转发的云API参数,要转成JSON格式
-
getApiRole
public String getApiRole()
Get 指定角色- Returns:
- ApiRole 指定角色
-
setApiRole
public void setApiRole(String ApiRole)
Set 指定角色- Parameters:
ApiRole- 指定角色
-
-