PhraselistUpdateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PhraselistUpdateObject
- com.
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. |
Phraselist |
withEnabledForAllModels(Boolean enabledForAllModels)
Set the enabledForAllModels value. |
Phraselist |
withIsActive(Boolean isActive)
Set the isActive value. |
Phraselist |
withIsExchangeable(Boolean isExchangeable)
Set the isExchangeable value. |
Phraselist |
withName(String name)
Set the name value. |
Phraselist |
withPhrases(String phrases)
Set the phrases value. |
Method Details
enabledForAllModels
public Boolean enabledForAllModels()
Get the enabledForAllModels value.
Returns:
isActive
public Boolean isActive()
Get the isActive value.
Returns:
isExchangeable
public Boolean isExchangeable()
Get the isExchangeable value.
Returns:
name
public String name()
Get the name value.
Returns:
phrases
public String phrases()
Get the phrases value.
Returns:
withEnabledForAllModels
public PhraselistUpdateObject withEnabledForAllModels(Boolean enabledForAllModels)
Set the enabledForAllModels value.
Parameters:
Returns:
withIsActive
public PhraselistUpdateObject withIsActive(Boolean isActive)
Set the isActive value.
Parameters:
Returns:
withIsExchangeable
public PhraselistUpdateObject withIsExchangeable(Boolean isExchangeable)
Set the isExchangeable value.
Parameters:
Returns:
withName
public PhraselistUpdateObject withName(String name)
Set the name value.
Parameters:
Returns:
withPhrases
public PhraselistUpdateObject withPhrases(String phrases)
Set the phrases value.
Parameters:
Returns:
Applies to
Azure SDK for Java