Class ChatCompletionContentPartRefusal.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatCompletionContentPartRefusal.BuilderA builder for ChatCompletionContentPartRefusal. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        refusalfinal ChatCompletionContentPartRefusal.Builder refusal(String refusal) The refusal message generated by the model. 
 - 
                                        refusalfinal ChatCompletionContentPartRefusal.Builder refusal(JsonField<String> refusal) Sets Builder.refusal to an arbitrary JSON value. You should usually call Builder.refusal with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ChatCompletionContentPartRefusal.Builder type(JsonValue type) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("refusal")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatCompletionContentPartRefusal.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatCompletionContentPartRefusal.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatCompletionContentPartRefusal.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatCompletionContentPartRefusal.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatCompletionContentPartRefusal.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatCompletionContentPartRefusal build() Returns an immutable instance of ChatCompletionContentPartRefusal. Further updates to this Builder will not mutate the returned instance. The following fields are required: .refusal()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-