Class Moderation.CategoryAppliedInputTypes
-
- All Implemented Interfaces:
public final class Moderation.CategoryAppliedInputTypesA list of the categories along with the input type(s) that the score applies to.
-
-
Nested Class Summary
-
Method Summary
-
-
Method Detail
-
harassment
final List<Moderation.CategoryAppliedInputTypes.Harassment> harassment()
The applied input type(s) for the category 'harassment'.
-
harassmentThreatening
final List<Moderation.CategoryAppliedInputTypes.HarassmentThreatening> harassmentThreatening()
The applied input type(s) for the category 'harassment/threatening'.
-
hate
final List<Moderation.CategoryAppliedInputTypes.Hate> hate()
The applied input type(s) for the category 'hate'.
-
hateThreatening
final List<Moderation.CategoryAppliedInputTypes.HateThreatening> hateThreatening()
The applied input type(s) for the category 'hate/threatening'.
-
illicit
final List<Moderation.CategoryAppliedInputTypes.Illicit> illicit()
The applied input type(s) for the category 'illicit'.
-
illicitViolent
final List<Moderation.CategoryAppliedInputTypes.IllicitViolent> illicitViolent()
The applied input type(s) for the category 'illicit/violent'.
-
selfHarm
final List<Moderation.CategoryAppliedInputTypes.SelfHarm> selfHarm()
The applied input type(s) for the category 'self-harm'.
-
selfHarmInstructions
final List<Moderation.CategoryAppliedInputTypes.SelfHarmInstruction> selfHarmInstructions()
The applied input type(s) for the category 'self-harm/instructions'.
-
selfHarmIntent
final List<Moderation.CategoryAppliedInputTypes.SelfHarmIntent> selfHarmIntent()
The applied input type(s) for the category 'self-harm/intent'.
-
sexual
final List<Moderation.CategoryAppliedInputTypes.Sexual> sexual()
The applied input type(s) for the category 'sexual'.
-
sexualMinors
final List<Moderation.CategoryAppliedInputTypes.SexualMinor> sexualMinors()
The applied input type(s) for the category 'sexual/minors'.
-
violence
final List<Moderation.CategoryAppliedInputTypes.Violence> violence()
The applied input type(s) for the category 'violence'.
-
violenceGraphic
final List<Moderation.CategoryAppliedInputTypes.ViolenceGraphic> violenceGraphic()
The applied input type(s) for the category 'violence/graphic'.
-
_harassment
final JsonField<List<Moderation.CategoryAppliedInputTypes.Harassment>> _harassment()
Returns the raw JSON value of harassment.
Unlike harassment, this method doesn't throw if the JSON field has an unexpected type.
-
_harassmentThreatening
final JsonField<List<Moderation.CategoryAppliedInputTypes.HarassmentThreatening>> _harassmentThreatening()
Returns the raw JSON value of harassmentThreatening.
Unlike harassmentThreatening, this method doesn't throw if the JSON field has an unexpected type.
-
_hate
final JsonField<List<Moderation.CategoryAppliedInputTypes.Hate>> _hate()
Returns the raw JSON value of hate.
Unlike hate, this method doesn't throw if the JSON field has an unexpected type.
-
_hateThreatening
final JsonField<List<Moderation.CategoryAppliedInputTypes.HateThreatening>> _hateThreatening()
Returns the raw JSON value of hateThreatening.
Unlike hateThreatening, this method doesn't throw if the JSON field has an unexpected type.
-
_illicit
final JsonField<List<Moderation.CategoryAppliedInputTypes.Illicit>> _illicit()
Returns the raw JSON value of illicit.
Unlike illicit, this method doesn't throw if the JSON field has an unexpected type.
-
_illicitViolent
final JsonField<List<Moderation.CategoryAppliedInputTypes.IllicitViolent>> _illicitViolent()
Returns the raw JSON value of illicitViolent.
Unlike illicitViolent, this method doesn't throw if the JSON field has an unexpected type.
-
_selfHarm
final JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarm>> _selfHarm()
Returns the raw JSON value of selfHarm.
Unlike selfHarm, this method doesn't throw if the JSON field has an unexpected type.
-
_selfHarmInstructions
final JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarmInstruction>> _selfHarmInstructions()
Returns the raw JSON value of selfHarmInstructions.
Unlike selfHarmInstructions, this method doesn't throw if the JSON field has an unexpected type.
-
_selfHarmIntent
final JsonField<List<Moderation.CategoryAppliedInputTypes.SelfHarmIntent>> _selfHarmIntent()
Returns the raw JSON value of selfHarmIntent.
Unlike selfHarmIntent, this method doesn't throw if the JSON field has an unexpected type.
-
_sexual
final JsonField<List<Moderation.CategoryAppliedInputTypes.Sexual>> _sexual()
Returns the raw JSON value of sexual.
Unlike sexual, this method doesn't throw if the JSON field has an unexpected type.
-
_sexualMinors
final JsonField<List<Moderation.CategoryAppliedInputTypes.SexualMinor>> _sexualMinors()
Returns the raw JSON value of sexualMinors.
Unlike sexualMinors, this method doesn't throw if the JSON field has an unexpected type.
-
_violence
final JsonField<List<Moderation.CategoryAppliedInputTypes.Violence>> _violence()
Returns the raw JSON value of violence.
Unlike violence, this method doesn't throw if the JSON field has an unexpected type.
-
_violenceGraphic
final JsonField<List<Moderation.CategoryAppliedInputTypes.ViolenceGraphic>> _violenceGraphic()
Returns the raw JSON value of violenceGraphic.
Unlike violenceGraphic, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Moderation.CategoryAppliedInputTypes.Builder toBuilder()
-
validate
final Moderation.CategoryAppliedInputTypes validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static Moderation.CategoryAppliedInputTypes.Builder builder()
Returns a mutable builder for constructing an instance of CategoryAppliedInputTypes.
The following fields are required:
.harassment() .harassmentThreatening() .hate() .hateThreatening() .illicit() .illicitViolent() .selfHarm() .selfHarmInstructions() .selfHarmIntent() .sexual() .sexualMinors() .violence() .violenceGraphic()
-
-
-
-