public class ImportSwaggerShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
data
The Swagger text content.
|
String |
dataFormat
The Swagger text format:
* json * yaml |
Boolean |
dryRun
The pre-inspection.
|
String |
globalConditionShrink
The global conditions.
|
String |
groupId
The ID of the API group to which the Swagger is imported.
|
Boolean |
overwrite
Specifies whether to overwrite the existing API.
|
String |
securityToken |
| 构造器和说明 |
|---|
ImportSwaggerShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImportSwaggerShrinkRequest |
build(Map<String,?> map) |
String |
getData() |
String |
getDataFormat() |
Boolean |
getDryRun() |
String |
getGlobalConditionShrink() |
String |
getGroupId() |
Boolean |
getOverwrite() |
String |
getSecurityToken() |
ImportSwaggerShrinkRequest |
setData(String data) |
ImportSwaggerShrinkRequest |
setDataFormat(String dataFormat) |
ImportSwaggerShrinkRequest |
setDryRun(Boolean dryRun) |
ImportSwaggerShrinkRequest |
setGlobalConditionShrink(String globalConditionShrink) |
ImportSwaggerShrinkRequest |
setGroupId(String groupId) |
ImportSwaggerShrinkRequest |
setOverwrite(Boolean overwrite) |
ImportSwaggerShrinkRequest |
setSecurityToken(String securityToken) |
@NameInMap(value="Data") public String data
The Swagger text content.
@NameInMap(value="DataFormat") public String dataFormat
The Swagger text format:
* json
* yaml
@NameInMap(value="DryRun") public Boolean dryRun
The pre-inspection.
@NameInMap(value="GlobalCondition") public String globalConditionShrink
The global conditions.
@NameInMap(value="GroupId") public String groupId
The ID of the API group to which the Swagger is imported.
@NameInMap(value="Overwrite") public Boolean overwrite
Specifies whether to overwrite the existing API.
APIs with the same HTTP request type and backend request path are considered the same.
@NameInMap(value="SecurityToken") public String securityToken
public static ImportSwaggerShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic ImportSwaggerShrinkRequest setData(String data)
public String getData()
public ImportSwaggerShrinkRequest setDataFormat(String dataFormat)
public String getDataFormat()
public ImportSwaggerShrinkRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public ImportSwaggerShrinkRequest setGlobalConditionShrink(String globalConditionShrink)
public String getGlobalConditionShrink()
public ImportSwaggerShrinkRequest setGroupId(String groupId)
public String getGroupId()
public ImportSwaggerShrinkRequest setOverwrite(Boolean overwrite)
public Boolean getOverwrite()
public ImportSwaggerShrinkRequest setSecurityToken(String securityToken)
public String getSecurityToken()
Copyright © 2023. All rights reserved.