public class ImportOpenApiRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Get openAPI正文内容。
|
String |
getContentVersion()
Get Content版本,默认是openAPI,目前只支持openAPI。
|
String |
getEncodeType()
Get Content格式,只能是YAML或者JSON,默认是YAML。
|
String |
getServiceId()
Get API所在的服务唯一ID。
|
void |
setContent(String Content)
Set openAPI正文内容。
|
void |
setContentVersion(String ContentVersion)
Set Content版本,默认是openAPI,目前只支持openAPI。
|
void |
setEncodeType(String EncodeType)
Set Content格式,只能是YAML或者JSON,默认是YAML。
|
void |
setServiceId(String ServiceId)
Set API所在的服务唯一ID。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ImportOpenApiRequest()
public ImportOpenApiRequest(ImportOpenApiRequest source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- API所在的服务唯一ID。public String getContent()
public void setContent(String Content)
Content
- openAPI正文内容。public String getEncodeType()
public void setEncodeType(String EncodeType)
EncodeType
- Content格式,只能是YAML或者JSON,默认是YAML。public String getContentVersion()
public void setContentVersion(String ContentVersion)
ContentVersion
- Content版本,默认是openAPI,目前只支持openAPI。Copyright © 2024. All rights reserved.