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

FeatureInfoObject 类

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

public class FeatureInfoObject

与功能相关的基类响应对象继承自。

方法摘要

修饰符和类型 方法和描述
Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Integer id()

获取 ID 值。

Boolean isActive()

获取 isActive 值。

String name()

获取名称值。

FeatureInfoObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

FeatureInfoObject withId(Integer id)

设置 ID 值。

FeatureInfoObject withIsActive(Boolean isActive)

设置 isActive 值。

FeatureInfoObject withName(String name)

设置名称值。

方法详细信息

enabledForAllModels

public Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Returns:

enabledForAllModels 值

id

public Integer id()

获取 ID 值。

Returns:

id 值

isActive

public Boolean isActive()

获取 isActive 值。

Returns:

isActive 值

name

public String name()

获取名称值。

Returns:

名称值

withEnabledForAllModels

public FeatureInfoObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

Parameters:

enabledForAllModels - 要设置的 enabledForAllModels 值

Returns:

FeatureInfoObject 对象本身。

withId

public FeatureInfoObject withId(Integer id)

设置 ID 值。

Parameters:

id - 要设置的 id 值

Returns:

FeatureInfoObject 对象本身。

withIsActive

public FeatureInfoObject withIsActive(Boolean isActive)

设置 isActive 值。

Parameters:

isActive - 要设置的 isActive 值

Returns:

FeatureInfoObject 对象本身。

withName

public FeatureInfoObject withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

FeatureInfoObject 对象本身。

适用于