Class ImportOpenApiRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.ImportOpenApiRequest
-
public class ImportOpenApiRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ImportOpenApiRequest()ImportOpenApiRequest(ImportOpenApiRequest 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 StringgetContent()Get openAPI正文内容。StringgetContentVersion()Get Content版本,默认是openAPI,目前只支持openAPI。StringgetEncodeType()Get Content格式,只能是YAML或者JSON,默认是YAML。StringgetServiceId()Get API所在的服务唯一ID。voidsetContent(String Content)Set openAPI正文内容。voidsetContentVersion(String ContentVersion)Set Content版本,默认是openAPI,目前只支持openAPI。voidsetEncodeType(String EncodeType)Set Content格式,只能是YAML或者JSON,默认是YAML。voidsetServiceId(String ServiceId)Set API所在的服务唯一ID。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
-
ImportOpenApiRequest
public ImportOpenApiRequest()
-
ImportOpenApiRequest
public ImportOpenApiRequest(ImportOpenApiRequest 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
-
getServiceId
public String getServiceId()
Get API所在的服务唯一ID。- Returns:
- ServiceId API所在的服务唯一ID。
-
setServiceId
public void setServiceId(String ServiceId)
Set API所在的服务唯一ID。- Parameters:
ServiceId- API所在的服务唯一ID。
-
getContent
public String getContent()
Get openAPI正文内容。- Returns:
- Content openAPI正文内容。
-
setContent
public void setContent(String Content)
Set openAPI正文内容。- Parameters:
Content- openAPI正文内容。
-
getEncodeType
public String getEncodeType()
Get Content格式,只能是YAML或者JSON,默认是YAML。- Returns:
- EncodeType Content格式,只能是YAML或者JSON,默认是YAML。
-
setEncodeType
public void setEncodeType(String EncodeType)
Set Content格式,只能是YAML或者JSON,默认是YAML。- Parameters:
EncodeType- Content格式,只能是YAML或者JSON,默认是YAML。
-
getContentVersion
public String getContentVersion()
Get Content版本,默认是openAPI,目前只支持openAPI。- Returns:
- ContentVersion Content版本,默认是openAPI,目前只支持openAPI。
-
setContentVersion
public void setContentVersion(String ContentVersion)
Set Content版本,默认是openAPI,目前只支持openAPI。- Parameters:
ContentVersion- Content版本,默认是openAPI,目前只支持openAPI。
-
-