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

PhraselistUpdateObject 类

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

public class PhraselistUpdateObject

用于更新短语列表的对象模型。

方法摘要

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

获取 enabledForAllModels 值。

Boolean isActive()

获取 isActive 值。

Boolean isExchangeable()

获取 isExchangeable 值。

String name()

获取名称值。

String phrases()

获取短语值。

PhraselistUpdateObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

PhraselistUpdateObject withIsActive(Boolean isActive)

设置 isActive 值。

PhraselistUpdateObject withIsExchangeable(Boolean isExchangeable)

设置 isExchangeable 值。

PhraselistUpdateObject withName(String name)

设置名称值。

PhraselistUpdateObject withPhrases(String phrases)

设置短语值。

方法详细信息

enabledForAllModels

public Boolean enabledForAllModels()

获取 enabledForAllModels 值。

Returns:

enabledForAllModels 值

isActive

public Boolean isActive()

获取 isActive 值。

Returns:

isActive 值

isExchangeable

public Boolean isExchangeable()

获取 isExchangeable 值。

Returns:

isExchangeable 值

name

public String name()

获取名称值。

Returns:

名称值

phrases

public String phrases()

获取短语值。

Returns:

短语值

withEnabledForAllModels

public PhraselistUpdateObject withEnabledForAllModels(Boolean enabledForAllModels)

设置 enabledForAllModels 值。

Parameters:

enabledForAllModels - 要设置的 enabledForAllModels 值

Returns:

PhraselistUpdateObject 对象本身。

withIsActive

public PhraselistUpdateObject withIsActive(Boolean isActive)

设置 isActive 值。

Parameters:

isActive - 要设置的 isActive 值

Returns:

PhraselistUpdateObject 对象本身。

withIsExchangeable

public PhraselistUpdateObject withIsExchangeable(Boolean isExchangeable)

设置 isExchangeable 值。

Parameters:

isExchangeable - 要设置的 isExchangeable 值

Returns:

PhraselistUpdateObject 对象本身。

withName

public PhraselistUpdateObject withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

PhraselistUpdateObject 对象本身。

withPhrases

public PhraselistUpdateObject withPhrases(String phrases)

设置短语值。

Parameters:

phrases - 要设置的短语值

Returns:

PhraselistUpdateObject 对象本身。

适用于