Package com.openai.models.responses
        Class ResponseOutputRefusal
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseOutputRefusalA refusal from the model. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseOutputRefusal.BuilderA builder for ResponseOutputRefusal. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringrefusal()The refusal explanation from the model. final JsonValue_type()The type of the refusal. final JsonField<String>_refusal()Returns the raw JSON value of refusal. final Map<String, JsonValue>_additionalProperties()final ResponseOutputRefusal.BuildertoBuilder()final ResponseOutputRefusalvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseOutputRefusal.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseOutputRefusal. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _typefinal JsonValue _type() The type of the refusal. Always refusal.Expected to always return the following: JsonValue.from("refusal")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _refusalfinal JsonField<String> _refusal() Returns the raw JSON value of refusal. Unlike refusal, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ResponseOutputRefusal.Builder toBuilder() 
 - 
                                        validatefinal ResponseOutputRefusal validate() 
 - 
                                        builderfinal static ResponseOutputRefusal.Builder builder() Returns a mutable builder for constructing an instance of ResponseOutputRefusal. The following fields are required: .refusal()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-