public class ImportOpenApiRequest extends AbstractModel
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 Content of the openAPI
|
String |
getContentVersion()
Get Version of the content.
|
String |
getEncodeType()
Get Format of the content.
|
String |
getServiceId()
Get The unique ID of the service associated with the API
|
void |
setContent(String Content)
Set Content of the openAPI
|
void |
setContentVersion(String ContentVersion)
Set Version of the content.
|
void |
setEncodeType(String EncodeType)
Set Format of the content.
|
void |
setServiceId(String ServiceId)
Set The unique ID of the service associated with the API
|
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 ImportOpenApiRequest()
public ImportOpenApiRequest(ImportOpenApiRequest source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- The unique ID of the service associated with the APIpublic String getContent()
public void setContent(String Content)
Content
- Content of the openAPIpublic String getEncodeType()
public void setEncodeType(String EncodeType)
EncodeType
- Format of the content. Values: `YAML` (default), `JSON`public String getContentVersion()
public void setContentVersion(String ContentVersion)
ContentVersion
- Version of the content. It can only be `openAPI` for now.Copyright © 2023. All rights reserved.