Class ApiEnvironmentStrategy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.ApiEnvironmentStrategy
-
public class ApiEnvironmentStrategy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ApiEnvironmentStrategy()ApiEnvironmentStrategy(ApiEnvironmentStrategy 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 StringgetApiId()Get API唯一ID。StringgetApiName()Get 用户自定义API名称。EnvironmentStrategy[]getEnvironmentStrategySet()Get 环境的限流信息。StringgetMethod()Get API的方法。如GET。StringgetPath()Get API的路径。如/path。voidsetApiId(String ApiId)Set API唯一ID。voidsetApiName(String ApiName)Set 用户自定义API名称。voidsetEnvironmentStrategySet(EnvironmentStrategy[] EnvironmentStrategySet)Set 环境的限流信息。voidsetMethod(String Method)Set API的方法。如GET。voidsetPath(String Path)Set API的路径。如/path。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
-
ApiEnvironmentStrategy
public ApiEnvironmentStrategy()
-
ApiEnvironmentStrategy
public ApiEnvironmentStrategy(ApiEnvironmentStrategy 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
-
getApiId
public String getApiId()
Get API唯一ID。- Returns:
- ApiId API唯一ID。
-
setApiId
public void setApiId(String ApiId)
Set API唯一ID。- Parameters:
ApiId- API唯一ID。
-
getApiName
public String getApiName()
Get 用户自定义API名称。- Returns:
- ApiName 用户自定义API名称。
-
setApiName
public void setApiName(String ApiName)
Set 用户自定义API名称。- Parameters:
ApiName- 用户自定义API名称。
-
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的方法。如GET。- Returns:
- Method API的方法。如GET。
-
setMethod
public void setMethod(String Method)
Set API的方法。如GET。- Parameters:
Method- API的方法。如GET。
-
getEnvironmentStrategySet
public EnvironmentStrategy[] getEnvironmentStrategySet()
Get 环境的限流信息。- Returns:
- EnvironmentStrategySet 环境的限流信息。
-
setEnvironmentStrategySet
public void setEnvironmentStrategySet(EnvironmentStrategy[] EnvironmentStrategySet)
Set 环境的限流信息。- Parameters:
EnvironmentStrategySet- 环境的限流信息。
-
-