Class Moderation.CategoryScores.Builder
-
- All Implemented Interfaces:
public final class Moderation.CategoryScores.Builder
-
-
Constructor Summary
Constructors Constructor Description Moderation.CategoryScores.Builder()
-
Method Summary
Modifier and Type Method Description final Moderation.CategoryScores.Builder
harassment(Double harassment)
The score for the category 'harassment'. final Moderation.CategoryScores.Builder
harassment(JsonField<Double> harassment)
The score for the category 'harassment'. final Moderation.CategoryScores.Builder
harassmentThreatening(Double harassmentThreatening)
The score for the category 'harassment/threatening'. final Moderation.CategoryScores.Builder
harassmentThreatening(JsonField<Double> harassmentThreatening)
The score for the category 'harassment/threatening'. final Moderation.CategoryScores.Builder
hate(Double hate)
The score for the category 'hate'. final Moderation.CategoryScores.Builder
hate(JsonField<Double> hate)
The score for the category 'hate'. final Moderation.CategoryScores.Builder
hateThreatening(Double hateThreatening)
The score for the category 'hate/threatening'. final Moderation.CategoryScores.Builder
hateThreatening(JsonField<Double> hateThreatening)
The score for the category 'hate/threatening'. final Moderation.CategoryScores.Builder
illicit(Double illicit)
The score for the category 'illicit'. final Moderation.CategoryScores.Builder
illicit(JsonField<Double> illicit)
The score for the category 'illicit'. final Moderation.CategoryScores.Builder
illicitViolent(Double illicitViolent)
The score for the category 'illicit/violent'. final Moderation.CategoryScores.Builder
illicitViolent(JsonField<Double> illicitViolent)
The score for the category 'illicit/violent'. final Moderation.CategoryScores.Builder
selfHarm(Double selfHarm)
The score for the category 'self-harm'. final Moderation.CategoryScores.Builder
selfHarm(JsonField<Double> selfHarm)
The score for the category 'self-harm'. final Moderation.CategoryScores.Builder
selfHarmInstructions(Double selfHarmInstructions)
The score for the category 'self-harm/instructions'. final Moderation.CategoryScores.Builder
selfHarmInstructions(JsonField<Double> selfHarmInstructions)
The score for the category 'self-harm/instructions'. final Moderation.CategoryScores.Builder
selfHarmIntent(Double selfHarmIntent)
The score for the category 'self-harm/intent'. final Moderation.CategoryScores.Builder
selfHarmIntent(JsonField<Double> selfHarmIntent)
The score for the category 'self-harm/intent'. final Moderation.CategoryScores.Builder
sexual(Double sexual)
The score for the category 'sexual'. final Moderation.CategoryScores.Builder
sexual(JsonField<Double> sexual)
The score for the category 'sexual'. final Moderation.CategoryScores.Builder
sexualMinors(Double sexualMinors)
The score for the category 'sexual/minors'. final Moderation.CategoryScores.Builder
sexualMinors(JsonField<Double> sexualMinors)
The score for the category 'sexual/minors'. final Moderation.CategoryScores.Builder
violence(Double violence)
The score for the category 'violence'. final Moderation.CategoryScores.Builder
violence(JsonField<Double> violence)
The score for the category 'violence'. final Moderation.CategoryScores.Builder
violenceGraphic(Double violenceGraphic)
The score for the category 'violence/graphic'. final Moderation.CategoryScores.Builder
violenceGraphic(JsonField<Double> violenceGraphic)
The score for the category 'violence/graphic'. final Moderation.CategoryScores.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final Moderation.CategoryScores.Builder
putAdditionalProperty(String key, JsonValue value)
final Moderation.CategoryScores.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final Moderation.CategoryScores.Builder
removeAdditionalProperty(String key)
final Moderation.CategoryScores.Builder
removeAllAdditionalProperties(Set<String> keys)
final Moderation.CategoryScores
build()
-
-
Method Detail
-
harassment
final Moderation.CategoryScores.Builder harassment(Double harassment)
The score for the category 'harassment'.
-
harassment
final Moderation.CategoryScores.Builder harassment(JsonField<Double> harassment)
The score for the category 'harassment'.
-
harassmentThreatening
final Moderation.CategoryScores.Builder harassmentThreatening(Double harassmentThreatening)
The score for the category 'harassment/threatening'.
-
harassmentThreatening
final Moderation.CategoryScores.Builder harassmentThreatening(JsonField<Double> harassmentThreatening)
The score for the category 'harassment/threatening'.
-
hate
final Moderation.CategoryScores.Builder hate(Double hate)
The score for the category 'hate'.
-
hate
final Moderation.CategoryScores.Builder hate(JsonField<Double> hate)
The score for the category 'hate'.
-
hateThreatening
final Moderation.CategoryScores.Builder hateThreatening(Double hateThreatening)
The score for the category 'hate/threatening'.
-
hateThreatening
final Moderation.CategoryScores.Builder hateThreatening(JsonField<Double> hateThreatening)
The score for the category 'hate/threatening'.
-
illicit
final Moderation.CategoryScores.Builder illicit(Double illicit)
The score for the category 'illicit'.
-
illicit
final Moderation.CategoryScores.Builder illicit(JsonField<Double> illicit)
The score for the category 'illicit'.
-
illicitViolent
final Moderation.CategoryScores.Builder illicitViolent(Double illicitViolent)
The score for the category 'illicit/violent'.
-
illicitViolent
final Moderation.CategoryScores.Builder illicitViolent(JsonField<Double> illicitViolent)
The score for the category 'illicit/violent'.
-
selfHarm
final Moderation.CategoryScores.Builder selfHarm(Double selfHarm)
The score for the category 'self-harm'.
-
selfHarm
final Moderation.CategoryScores.Builder selfHarm(JsonField<Double> selfHarm)
The score for the category 'self-harm'.
-
selfHarmInstructions
final Moderation.CategoryScores.Builder selfHarmInstructions(Double selfHarmInstructions)
The score for the category 'self-harm/instructions'.
-
selfHarmInstructions
final Moderation.CategoryScores.Builder selfHarmInstructions(JsonField<Double> selfHarmInstructions)
The score for the category 'self-harm/instructions'.
-
selfHarmIntent
final Moderation.CategoryScores.Builder selfHarmIntent(Double selfHarmIntent)
The score for the category 'self-harm/intent'.
-
selfHarmIntent
final Moderation.CategoryScores.Builder selfHarmIntent(JsonField<Double> selfHarmIntent)
The score for the category 'self-harm/intent'.
-
sexual
final Moderation.CategoryScores.Builder sexual(Double sexual)
The score for the category 'sexual'.
-
sexual
final Moderation.CategoryScores.Builder sexual(JsonField<Double> sexual)
The score for the category 'sexual'.
-
sexualMinors
final Moderation.CategoryScores.Builder sexualMinors(Double sexualMinors)
The score for the category 'sexual/minors'.
-
sexualMinors
final Moderation.CategoryScores.Builder sexualMinors(JsonField<Double> sexualMinors)
The score for the category 'sexual/minors'.
-
violence
final Moderation.CategoryScores.Builder violence(Double violence)
The score for the category 'violence'.
-
violence
final Moderation.CategoryScores.Builder violence(JsonField<Double> violence)
The score for the category 'violence'.
-
violenceGraphic
final Moderation.CategoryScores.Builder violenceGraphic(Double violenceGraphic)
The score for the category 'violence/graphic'.
-
violenceGraphic
final Moderation.CategoryScores.Builder violenceGraphic(JsonField<Double> violenceGraphic)
The score for the category 'violence/graphic'.
-
additionalProperties
final Moderation.CategoryScores.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Moderation.CategoryScores.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Moderation.CategoryScores.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Moderation.CategoryScores.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Moderation.CategoryScores.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Moderation.CategoryScores build()
-
-
-
-