public class CreateModelRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
description
The description of the model definition.
|
String |
groupId
The ID of the API group to which the model belongs.
|
String |
modelName
The name of the model.
|
String |
schema
The definition of the model in JSON Schema.
|
| 构造器和说明 |
|---|
CreateModelRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateModelRequest |
build(Map<String,?> map) |
String |
getDescription() |
String |
getGroupId() |
String |
getModelName() |
String |
getSchema() |
CreateModelRequest |
setDescription(String description) |
CreateModelRequest |
setGroupId(String groupId) |
CreateModelRequest |
setModelName(String modelName) |
CreateModelRequest |
setSchema(String schema) |
@NameInMap(value="Description") public String description
The description of the model definition.
@NameInMap(value="GroupId") public String groupId
The ID of the API group to which the model belongs.
@NameInMap(value="ModelName") public String modelName
The name of the model. The name must be unique within the group.
@NameInMap(value="Schema") public String schema
The definition of the model in JSON Schema.
public static CreateModelRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateModelRequest setDescription(String description)
public String getDescription()
public CreateModelRequest setGroupId(String groupId)
public String getGroupId()
public CreateModelRequest setModelName(String modelName)
public String getModelName()
public CreateModelRequest setSchema(String schema)
public String getSchema()
Copyright © 2023. All rights reserved.