Class HierarchicalModel
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.HierarchicalModel
-
public class HierarchicalModel extends Object
The HierarchicalModel model.
-
-
Constructor Summary
Constructors Constructor Description HierarchicalModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JsonChild>
children()
Get the children value.List<JsonModelFeatureInformation>
features()
Get the features value.PrebuiltDomainObject
inherits()
Get the inherits value.String
name()
Get the name value.List<String>
roles()
Get the roles value.HierarchicalModel
withChildren(List<JsonChild> children)
Set the children value.HierarchicalModel
withFeatures(List<JsonModelFeatureInformation> features)
Set the features value.HierarchicalModel
withInherits(PrebuiltDomainObject inherits)
Set the inherits value.HierarchicalModel
withName(String name)
Set the name value.HierarchicalModel
withRoles(List<String> roles)
Set the roles value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public HierarchicalModel withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the HierarchicalModel object itself.
-
withChildren
public HierarchicalModel withChildren(List<JsonChild> children)
Set the children value.- Parameters:
children
- the children value to set- Returns:
- the HierarchicalModel object itself.
-
features
public List<JsonModelFeatureInformation> features()
Get the features value.- Returns:
- the features value
-
withFeatures
public HierarchicalModel withFeatures(List<JsonModelFeatureInformation> features)
Set the features value.- Parameters:
features
- the features value to set- Returns:
- the HierarchicalModel object itself.
-
withRoles
public HierarchicalModel withRoles(List<String> roles)
Set the roles value.- Parameters:
roles
- the roles value to set- Returns:
- the HierarchicalModel object itself.
-
inherits
public PrebuiltDomainObject inherits()
Get the inherits value.- Returns:
- the inherits value
-
withInherits
public HierarchicalModel withInherits(PrebuiltDomainObject inherits)
Set the inherits value.- Parameters:
inherits
- the inherits value to set- Returns:
- the HierarchicalModel object itself.
-
-