Package com.openai.models.moderations
        Class ModerationCreateResponse
- 
                    
                    - All Implemented Interfaces:
 
 public final class ModerationCreateResponseRepresents if a given text input is potentially harmful. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classModerationCreateResponse.BuilderA builder for ModerationCreateResponse. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringid()The unique identifier for the moderation request. final Stringmodel()The model used to generate the moderation results. final List<Moderation>results()A list of moderation objects. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<List<Moderation>>_results()Returns the raw JSON value of results. final Map<String, JsonValue>_additionalProperties()final ModerationCreateResponse.BuildertoBuilder()final ModerationCreateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModerationCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ModerationCreateResponse. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        resultsfinal List<Moderation> results() A list of moderation objects. 
 - 
                                        _idfinal JsonField<String> _id() Returns the raw JSON value of id. Unlike id, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _modelfinal JsonField<String> _model() Returns the raw JSON value of model. Unlike model, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _resultsfinal JsonField<List<Moderation>> _results() Returns the raw JSON value of results. Unlike results, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ModerationCreateResponse.Builder toBuilder() 
 - 
                                        validatefinal ModerationCreateResponse validate() 
 - 
                                        builderfinal static ModerationCreateResponse.Builder builder() Returns a mutable builder for constructing an instance of ModerationCreateResponse. The following fields are required: .id() .model() .results()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-