Class Grammars
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.Grammars
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Grammars
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about the grammars from a custom language model.
-
Constructor Summary
Constructors Constructor Description Grammars()
-
Method Summary
Modifier and Type Method Description List<Grammar>
getGrammars()
Gets the grammars.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Grammars
public Grammars()
-
-
Method Details
-
getGrammars
Gets the grammars.An array of `Grammar` objects that provides information about the grammars for the custom model. The array is empty if the custom model has no grammars.
- Returns:
- the grammars
-