你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelInfo 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelInfo

public class ModelInfo

实体类型中使用的基类型。

方法摘要

修饰符和类型 方法和描述
UUID id()

获取 ID 值。

String name()

获取名称值。

String readableType()

获取 readableType 值。

Integer typeId()

获取 typeId 值。

ModelInfo withId(UUID id)

设置 ID 值。

ModelInfo withName(String name)

设置名称值。

ModelInfo withReadableType(String readableType)

设置 readableType 值。

ModelInfo withTypeId(Integer typeId)

设置 typeId 值。

方法详细信息

id

public UUID id()

获取 ID 值。

Returns:

id 值

name

public String name()

获取名称值。

Returns:

名称值

readableType

public String readableType()

获取 readableType 值。

Returns:

readableType 值

typeId

public Integer typeId()

获取 typeId 值。

Returns:

typeId 值

withId

public ModelInfo withId(UUID id)

设置 ID 值。

Parameters:

id - 要设置的 id 值

Returns:

ModelInfo 对象本身。

withName

public ModelInfo withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

ModelInfo 对象本身。

withReadableType

public ModelInfo withReadableType(String readableType)

设置 readableType 值。

Parameters:

readableType - 要设置的 readableType 值

Returns:

ModelInfo 对象本身。

withTypeId

public ModelInfo withTypeId(Integer typeId)

设置 typeId 值。

Parameters:

typeId - 要设置的 typeId 值

Returns:

ModelInfo 对象本身。

适用于