Class FeatureInfoObject
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.FeatureInfoObject
-
- Direct Known Subclasses:
PatternFeatureInfo
,PhraseListFeatureInfo
public class FeatureInfoObject extends Object
The base class Features-related response objects inherit from.
-
-
Constructor Summary
Constructors Constructor Description FeatureInfoObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabledForAllModels()
Get the enabledForAllModels value.Integer
id()
Get the id value.Boolean
isActive()
Get the isActive value.String
name()
Get the name value.FeatureInfoObject
withEnabledForAllModels(Boolean enabledForAllModels)
Set the enabledForAllModels value.FeatureInfoObject
withId(Integer id)
Set the id value.FeatureInfoObject
withIsActive(Boolean isActive)
Set the isActive value.FeatureInfoObject
withName(String name)
Set the name value.
-
-
-
Method Detail
-
id
public Integer id()
Get the id value.- Returns:
- the id value
-
withId
public FeatureInfoObject withId(Integer id)
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the FeatureInfoObject object itself.
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public FeatureInfoObject withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the FeatureInfoObject object itself.
-
isActive
public Boolean isActive()
Get the isActive value.- Returns:
- the isActive value
-
withIsActive
public FeatureInfoObject withIsActive(Boolean isActive)
Set the isActive value.- Parameters:
isActive
- the isActive value to set- Returns:
- the FeatureInfoObject object itself.
-
enabledForAllModels
public Boolean enabledForAllModels()
Get the enabledForAllModels value.- Returns:
- the enabledForAllModels value
-
withEnabledForAllModels
public FeatureInfoObject withEnabledForAllModels(Boolean enabledForAllModels)
Set the enabledForAllModels value.- Parameters:
enabledForAllModels
- the enabledForAllModels value to set- Returns:
- the FeatureInfoObject object itself.
-
-