Class ApiInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.ApiInfo
-
public class ApiInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get api描述信息StringgetHost()Get api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`StringgetMethod()Get Api 请求StringgetMicroserviceId()Get 服务Id,若为外部API,为固定值:"ms-external"StringgetNamespaceId()Get 命名空间Id,若为外部API,为固定值:"namespace-external"StringgetPath()Get API pathStringgetPathMapping()Get 请求映射voidsetDescription(String Description)Set api描述信息voidsetHost(String Host)Set api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`voidsetMethod(String Method)Set Api 请求voidsetMicroserviceId(String MicroserviceId)Set 服务Id,若为外部API,为固定值:"ms-external"voidsetNamespaceId(String NamespaceId)Set 命名空间Id,若为外部API,为固定值:"namespace-external"voidsetPath(String Path)Set API pathvoidsetPathMapping(String PathMapping)Set 请求映射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
-
ApiInfo
public ApiInfo()
-
ApiInfo
public ApiInfo(ApiInfo 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
-
getNamespaceId
public String getNamespaceId()
Get 命名空间Id,若为外部API,为固定值:"namespace-external"- Returns:
- NamespaceId 命名空间Id,若为外部API,为固定值:"namespace-external"
-
setNamespaceId
public void setNamespaceId(String NamespaceId)
Set 命名空间Id,若为外部API,为固定值:"namespace-external"- Parameters:
NamespaceId- 命名空间Id,若为外部API,为固定值:"namespace-external"
-
getMicroserviceId
public String getMicroserviceId()
Get 服务Id,若为外部API,为固定值:"ms-external"- Returns:
- MicroserviceId 服务Id,若为外部API,为固定值:"ms-external"
-
setMicroserviceId
public void setMicroserviceId(String MicroserviceId)
Set 服务Id,若为外部API,为固定值:"ms-external"- Parameters:
MicroserviceId- 服务Id,若为外部API,为固定值:"ms-external"
-
getPath
public String getPath()
Get API path- Returns:
- Path API path
-
setPath
public void setPath(String Path)
Set API path- Parameters:
Path- API path
-
getMethod
public String getMethod()
Get Api 请求- Returns:
- Method Api 请求
-
setMethod
public void setMethod(String Method)
Set Api 请求- Parameters:
Method- Api 请求
-
getPathMapping
public String getPathMapping()
Get 请求映射- Returns:
- PathMapping 请求映射
-
setPathMapping
public void setPathMapping(String PathMapping)
Set 请求映射- Parameters:
PathMapping- 请求映射
-
getHost
public String getHost()
Get api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`- Returns:
- Host api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
-
setHost
public void setHost(String Host)
Set api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`- Parameters:
Host- api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
-
getDescription
public String getDescription()
Get api描述信息- Returns:
- Description api描述信息
-
setDescription
public void setDescription(String Description)
Set api描述信息- Parameters:
Description- api描述信息
-
-