Package com.openai.models.moderations
        Class ModerationCreateParams.Body
- 
                    
                    - All Implemented Interfaces:
 
 public final class ModerationCreateParams.Body
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classModerationCreateParams.Body.BuilderA builder for Body. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final ModerationCreateParams.Inputinput()Input (or inputs) to classify. final Optional<ModerationModel>model()The content moderation model you would like to use. final JsonField<ModerationCreateParams.Input>_input()Returns the raw JSON value of input. final JsonField<ModerationModel>_model()Returns the raw JSON value of model. final Map<String, JsonValue>_additionalProperties()final ModerationCreateParams.Body.BuildertoBuilder()final ModerationCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModerationCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        inputfinal ModerationCreateParams.Input input() Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models. 
 - 
                                        modelfinal Optional<ModerationModel> model() The content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here. 
 - 
                                        _inputfinal JsonField<ModerationCreateParams.Input> _input() Returns the raw JSON value of input. Unlike input, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _modelfinal JsonField<ModerationModel> _model() Returns the raw JSON value of model. Unlike model, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ModerationCreateParams.Body.Builder toBuilder() 
 - 
                                        validatefinal ModerationCreateParams.Body validate() 
 - 
                                        builderfinal static ModerationCreateParams.Body.Builder builder() Returns a mutable builder for constructing an instance of Body. The following fields are required: .input()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-