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

JSONModelFeature Class

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

public class JSONModelFeature

Exported Model - Phraselist Model Feature.

Method Summary

Modifier and Type Method and Description
Boolean activated()

Get the activated value.

Boolean enabledForAllModels()

Get the enabledForAllModels value.

Boolean mode()

Get the mode value.

String name()

Get the name value.

JSONModelFeature withActivated(Boolean activated)

Set the activated value.

JSONModelFeature withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

JSONModelFeature withMode(Boolean mode)

Set the mode value.

JSONModelFeature withName(String name)

Set the name value.

JSONModelFeature withWords(String words)

Set the words value.

String words()

Get the words value.

Method Details

activated

public Boolean activated()

Get the activated value.

Returns:

the activated value

enabledForAllModels

public Boolean enabledForAllModels()

Get the enabledForAllModels value.

Returns:

the enabledForAllModels value

mode

public Boolean mode()

Get the mode value.

Returns:

the mode value

name

public String name()

Get the name value.

Returns:

the name value

withActivated

public JSONModelFeature withActivated(Boolean activated)

Set the activated value.

Parameters:

activated - the activated value to set

Returns:

the JSONModelFeature object itself.

withEnabledForAllModels

public JSONModelFeature withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

Parameters:

enabledForAllModels - the enabledForAllModels value to set

Returns:

the JSONModelFeature object itself.

withMode

public JSONModelFeature withMode(Boolean mode)

Set the mode value.

Parameters:

mode - the mode value to set

Returns:

the JSONModelFeature object itself.

withName

public JSONModelFeature withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the JSONModelFeature object itself.

withWords

public JSONModelFeature withWords(String words)

Set the words value.

Parameters:

words - the words value to set

Returns:

the JSONModelFeature object itself.

words

public String words()

Get the words value.

Returns:

the words value

Applies to