Freigeben über


PhraselistUpdateObject Class

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

public class PhraselistUpdateObject

Object model for updating a Phraselist.

Method Summary

Modifier and Type Method and Description
Boolean enabledForAllModels()

Get the enabledForAllModels value.

Boolean isActive()

Get the isActive value.

Boolean isExchangeable()

Get the isExchangeable value.

String name()

Get the name value.

String phrases()

Get the phrases value.

PhraselistUpdateObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

PhraselistUpdateObject withIsActive(Boolean isActive)

Set the isActive value.

PhraselistUpdateObject withIsExchangeable(Boolean isExchangeable)

Set the isExchangeable value.

PhraselistUpdateObject withName(String name)

Set the name value.

PhraselistUpdateObject withPhrases(String phrases)

Set the phrases value.

Method Details

enabledForAllModels

public Boolean enabledForAllModels()

Get the enabledForAllModels value.

Returns:

the enabledForAllModels value

isActive

public Boolean isActive()

Get the isActive value.

Returns:

the isActive 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 PhraselistUpdateObject withEnabledForAllModels(Boolean enabledForAllModels)

Set the enabledForAllModels value.

Parameters:

enabledForAllModels - the enabledForAllModels value to set

Returns:

the PhraselistUpdateObject object itself.

withIsActive

public PhraselistUpdateObject withIsActive(Boolean isActive)

Set the isActive value.

Parameters:

isActive - the isActive value to set

Returns:

the PhraselistUpdateObject object itself.

withIsExchangeable

public PhraselistUpdateObject withIsExchangeable(Boolean isExchangeable)

Set the isExchangeable value.

Parameters:

isExchangeable - the isExchangeable value to set

Returns:

the PhraselistUpdateObject object itself.

withName

public PhraselistUpdateObject withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the PhraselistUpdateObject object itself.

withPhrases

public PhraselistUpdateObject withPhrases(String phrases)

Set the phrases value.

Parameters:

phrases - the phrases value to set

Returns:

the PhraselistUpdateObject object itself.

Applies to