Delen via


PhraselistCreateObject Class

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

public class PhraselistCreateObject

Object model for creating a phraselist model.

Method Summary

Modifier and Type Method and Description
Boolean enabledForAllModels()

Get the enabledForAllModels value.

Boolean isExchangeable()

Get the isExchangeable value.

String name()

Get the name value.

String phrases()

Get the phrases value.

PhraselistCreateObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

PhraselistCreateObject withIsExchangeable(Boolean isExchangeable)

Set the isExchangeable value.

PhraselistCreateObject withName(String name)

Set the name value.

PhraselistCreateObject withPhrases(String phrases)

Set the phrases value.

Method Details

enabledForAllModels

public Boolean enabledForAllModels()

Get the enabledForAllModels value.

Returns:

the enabledForAllModels value

isExchangeable

public Boolean isExchangeable()

Get the isExchangeable value.

Returns:

the isExchangeable value

name

public String name()

Get the name value.

Returns:

the name value

phrases

public String phrases()

Get the phrases value.

Returns:

the phrases value

withEnabledForAllModels

public PhraselistCreateObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

Parameters:

enabledForAllModels - the enabledForAllModels value to set

Returns:

the PhraselistCreateObject object itself.

withIsExchangeable

public PhraselistCreateObject withIsExchangeable(Boolean isExchangeable)

Set the isExchangeable value.

Parameters:

isExchangeable - the isExchangeable value to set

Returns:

the PhraselistCreateObject object itself.

withName

public PhraselistCreateObject withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the PhraselistCreateObject object itself.

withPhrases

public PhraselistCreateObject withPhrases(String phrases)

Set the phrases value.

Parameters:

phrases - the phrases value to set

Returns:

the PhraselistCreateObject object itself.

Applies to