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