Package com.openai.models
        Class CustomToolInputFormat.Grammar
- 
                    
                    - All Implemented Interfaces:
 
 public final class CustomToolInputFormat.GrammarA grammar defined by the user. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classCustomToolInputFormat.Grammar.BuilderA builder for Grammar. public final classCustomToolInputFormat.Grammar.SyntaxThe syntax of the grammar definition. One of larkorregex.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringdefinition()The grammar definition. final CustomToolInputFormat.Grammar.Syntaxsyntax()The syntax of the grammar definition. final JsonValue_type()Grammar format. final JsonField<String>_definition()Returns the raw JSON value of definition. final JsonField<CustomToolInputFormat.Grammar.Syntax>_syntax()Returns the raw JSON value of syntax. final Map<String, JsonValue>_additionalProperties()final CustomToolInputFormat.Grammar.BuildertoBuilder()final CustomToolInputFormat.Grammarvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CustomToolInputFormat.Grammar.Builderbuilder()Returns a mutable builder for constructing an instance of Grammar. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        definitionfinal String definition() The grammar definition. 
 - 
                                        syntaxfinal CustomToolInputFormat.Grammar.Syntax syntax() The syntax of the grammar definition. One of larkorregex.
 - 
                                        _typefinal JsonValue _type() Grammar format. Always grammar.Expected to always return the following: JsonValue.from("grammar")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _definitionfinal JsonField<String> _definition() Returns the raw JSON value of definition. Unlike definition, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _syntaxfinal JsonField<CustomToolInputFormat.Grammar.Syntax> _syntax() Returns the raw JSON value of syntax. Unlike syntax, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal CustomToolInputFormat.Grammar.Builder toBuilder() 
 - 
                                        validatefinal CustomToolInputFormat.Grammar validate() 
 - 
                                        builderfinal static CustomToolInputFormat.Grammar.Builder builder() Returns a mutable builder for constructing an instance of Grammar. The following fields are required: .definition() .syntax()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-