public class ApiInfo extends AbstractModel
Constructor and Description |
---|
ApiInfo() |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get api描述信息
|
String |
getHost()
Get api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
|
String |
getMethod()
Get Api 请求
|
String |
getMicroserviceId()
Get 服务Id,若为外部API,为固定值:"ms-external"
|
String |
getNamespaceId()
Get 命名空间Id,若为外部API,为固定值:"namespace-external"
|
String |
getPath()
Get API path
|
String |
getPathMapping()
Get 请求映射
|
void |
setDescription(String Description)
Set api描述信息
|
void |
setHost(String Host)
Set api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`
|
void |
setMethod(String Method)
Set Api 请求
|
void |
setMicroserviceId(String MicroserviceId)
Set 服务Id,若为外部API,为固定值:"ms-external"
|
void |
setNamespaceId(String NamespaceId)
Set 命名空间Id,若为外部API,为固定值:"namespace-external"
|
void |
setPath(String Path)
Set API path
|
void |
setPathMapping(String PathMapping)
Set 请求映射
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ApiInfo()
public ApiInfo(ApiInfo source)
public String getNamespaceId()
public void setNamespaceId(String NamespaceId)
NamespaceId
- 命名空间Id,若为外部API,为固定值:"namespace-external"public String getMicroserviceId()
public void setMicroserviceId(String MicroserviceId)
MicroserviceId
- 服务Id,若为外部API,为固定值:"ms-external"public String getPath()
public void setPath(String Path)
Path
- API pathpublic String getMethod()
public void setMethod(String Method)
Method
- Api 请求public String getPathMapping()
public void setPathMapping(String PathMapping)
PathMapping
- 请求映射public String getHost()
public void setHost(String Host)
Host
- api所在服务host,限定外部Api填写。格式: `http://127.0.0.1:8080`public String getDescription()
public void setDescription(String Description)
Description
- api描述信息Copyright © 2021. All rights reserved.