Class Moderation.Categories
- 
                    
                    - All Implemented Interfaces:
 
 public final class Moderation.CategoriesA list of the categories, and whether they are flagged or not. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classModeration.Categories.BuilderA builder for Categories. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Booleanharassment()Content that expresses, incites, or promotes harassing language towards any target. final BooleanharassmentThreatening()Harassment content that also includes violence or serious harm towards any target. final Booleanhate()Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. final BooleanhateThreatening()Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. final Optional<Boolean>illicit()Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. final Optional<Boolean>illicitViolent()Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon. final BooleanselfHarm()Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders. final BooleanselfHarmInstructions()Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts. final BooleanselfHarmIntent()Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders. final Booleansexual()Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness). final BooleansexualMinors()Sexual content that includes an individual who is under 18 years old. final Booleanviolence()Content that depicts death, violence, or physical injury. final BooleanviolenceGraphic()Content that depicts death, violence, or physical injury in graphic detail. final JsonField<Boolean>_harassment()Returns the raw JSON value of harassment. final JsonField<Boolean>_harassmentThreatening()Returns the raw JSON value of harassmentThreatening. final JsonField<Boolean>_hate()Returns the raw JSON value of hate. final JsonField<Boolean>_hateThreatening()Returns the raw JSON value of hateThreatening. final JsonField<Boolean>_illicit()Returns the raw JSON value of illicit. final JsonField<Boolean>_illicitViolent()Returns the raw JSON value of illicitViolent. final JsonField<Boolean>_selfHarm()Returns the raw JSON value of selfHarm. final JsonField<Boolean>_selfHarmInstructions()Returns the raw JSON value of selfHarmInstructions. final JsonField<Boolean>_selfHarmIntent()Returns the raw JSON value of selfHarmIntent. final JsonField<Boolean>_sexual()Returns the raw JSON value of sexual. final JsonField<Boolean>_sexualMinors()Returns the raw JSON value of sexualMinors. final JsonField<Boolean>_violence()Returns the raw JSON value of violence. final JsonField<Boolean>_violenceGraphic()Returns the raw JSON value of violenceGraphic. final Map<String, JsonValue>_additionalProperties()final Moderation.Categories.BuildertoBuilder()final Moderation.Categoriesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Moderation.Categories.Builderbuilder()Returns a mutable builder for constructing an instance of Categories. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        harassmentfinal Boolean harassment() Content that expresses, incites, or promotes harassing language towards any target. 
 - 
                                        harassmentThreateningfinal Boolean harassmentThreatening() Harassment content that also includes violence or serious harm towards any target. 
 - 
                                        hatefinal Boolean hate() Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harassment. 
 - 
                                        hateThreateningfinal Boolean hateThreatening() Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. 
 - 
                                        illicitfinal Optional<Boolean> illicit() Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. For example, "how to shoplift" would fit this category. 
 - 
                                        illicitViolentfinal Optional<Boolean> illicitViolent() Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon. 
 - 
                                        selfHarmfinal Boolean selfHarm() Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders. 
 - 
                                        selfHarmInstructionsfinal Boolean selfHarmInstructions() Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts. 
 - 
                                        selfHarmIntentfinal Boolean selfHarmIntent() Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders. 
 - 
                                        sexualfinal Boolean sexual() Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness). 
 - 
                                        sexualMinorsfinal Boolean sexualMinors() Sexual content that includes an individual who is under 18 years old. 
 - 
                                        violenceGraphicfinal Boolean violenceGraphic() Content that depicts death, violence, or physical injury in graphic detail. 
 - 
                                        _harassmentfinal JsonField<Boolean> _harassment() Returns the raw JSON value of harassment. Unlike harassment, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _harassmentThreateningfinal JsonField<Boolean> _harassmentThreatening() Returns the raw JSON value of harassmentThreatening. Unlike harassmentThreatening, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _hatefinal JsonField<Boolean> _hate() Returns the raw JSON value of hate. Unlike hate, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _hateThreateningfinal JsonField<Boolean> _hateThreatening() Returns the raw JSON value of hateThreatening. Unlike hateThreatening, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _illicitfinal JsonField<Boolean> _illicit() Returns the raw JSON value of illicit. Unlike illicit, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _illicitViolentfinal JsonField<Boolean> _illicitViolent() Returns the raw JSON value of illicitViolent. Unlike illicitViolent, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _selfHarmfinal JsonField<Boolean> _selfHarm() Returns the raw JSON value of selfHarm. Unlike selfHarm, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _selfHarmInstructionsfinal JsonField<Boolean> _selfHarmInstructions() Returns the raw JSON value of selfHarmInstructions. Unlike selfHarmInstructions, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _selfHarmIntentfinal JsonField<Boolean> _selfHarmIntent() Returns the raw JSON value of selfHarmIntent. Unlike selfHarmIntent, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sexualfinal JsonField<Boolean> _sexual() Returns the raw JSON value of sexual. Unlike sexual, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _sexualMinorsfinal JsonField<Boolean> _sexualMinors() Returns the raw JSON value of sexualMinors. Unlike sexualMinors, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _violencefinal JsonField<Boolean> _violence() Returns the raw JSON value of violence. Unlike violence, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _violenceGraphicfinal JsonField<Boolean> _violenceGraphic() Returns the raw JSON value of violenceGraphic. Unlike violenceGraphic, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal Moderation.Categories.Builder toBuilder() 
 - 
                                        validatefinal Moderation.Categories validate() 
 - 
                                        builderfinal static Moderation.Categories.Builder builder() Returns a mutable builder for constructing an instance of Categories. The following fields are required: .harassment() .harassmentThreatening() .hate() .hateThreatening() .illicit() .illicitViolent() .selfHarm() .selfHarmInstructions() .selfHarmIntent() .sexual() .sexualMinors() .violence() .violenceGraphic()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-