Class Moderation.CategoryScores.Builder
-
- All Implemented Interfaces:
public final class Moderation.CategoryScores.BuilderA builder for CategoryScores.
-
-
Method Summary
Modifier and Type Method Description final Moderation.CategoryScores.Builderharassment(Double harassment)The score for the category 'harassment'. final Moderation.CategoryScores.Builderharassment(JsonField<Double> harassment)The score for the category 'harassment'. final Moderation.CategoryScores.BuilderharassmentThreatening(Double harassmentThreatening)The score for the category 'harassment/threatening'. final Moderation.CategoryScores.BuilderharassmentThreatening(JsonField<Double> harassmentThreatening)The score for the category 'harassment/threatening'. final Moderation.CategoryScores.Builderhate(Double hate)The score for the category 'hate'. final Moderation.CategoryScores.Builderhate(JsonField<Double> hate)The score for the category 'hate'. final Moderation.CategoryScores.BuilderhateThreatening(Double hateThreatening)The score for the category 'hate/threatening'. final Moderation.CategoryScores.BuilderhateThreatening(JsonField<Double> hateThreatening)The score for the category 'hate/threatening'. final Moderation.CategoryScores.Builderillicit(Double illicit)The score for the category 'illicit'. final Moderation.CategoryScores.Builderillicit(JsonField<Double> illicit)The score for the category 'illicit'. final Moderation.CategoryScores.BuilderillicitViolent(Double illicitViolent)The score for the category 'illicit/violent'. final Moderation.CategoryScores.BuilderillicitViolent(JsonField<Double> illicitViolent)The score for the category 'illicit/violent'. final Moderation.CategoryScores.BuilderselfHarm(Double selfHarm)The score for the category 'self-harm'. final Moderation.CategoryScores.BuilderselfHarm(JsonField<Double> selfHarm)The score for the category 'self-harm'. final Moderation.CategoryScores.BuilderselfHarmInstructions(Double selfHarmInstructions)The score for the category 'self-harm/instructions'. final Moderation.CategoryScores.BuilderselfHarmInstructions(JsonField<Double> selfHarmInstructions)The score for the category 'self-harm/instructions'. final Moderation.CategoryScores.BuilderselfHarmIntent(Double selfHarmIntent)The score for the category 'self-harm/intent'. final Moderation.CategoryScores.BuilderselfHarmIntent(JsonField<Double> selfHarmIntent)The score for the category 'self-harm/intent'. final Moderation.CategoryScores.Buildersexual(Double sexual)The score for the category 'sexual'. final Moderation.CategoryScores.Buildersexual(JsonField<Double> sexual)The score for the category 'sexual'. final Moderation.CategoryScores.BuildersexualMinors(Double sexualMinors)The score for the category 'sexual/minors'. final Moderation.CategoryScores.BuildersexualMinors(JsonField<Double> sexualMinors)The score for the category 'sexual/minors'. final Moderation.CategoryScores.Builderviolence(Double violence)The score for the category 'violence'. final Moderation.CategoryScores.Builderviolence(JsonField<Double> violence)The score for the category 'violence'. final Moderation.CategoryScores.BuilderviolenceGraphic(Double violenceGraphic)The score for the category 'violence/graphic'. final Moderation.CategoryScores.BuilderviolenceGraphic(JsonField<Double> violenceGraphic)The score for the category 'violence/graphic'. final Moderation.CategoryScores.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Moderation.CategoryScores.BuilderputAdditionalProperty(String key, JsonValue value)final Moderation.CategoryScores.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Moderation.CategoryScores.BuilderremoveAdditionalProperty(String key)final Moderation.CategoryScores.BuilderremoveAllAdditionalProperties(Set<String> keys)final Moderation.CategoryScoresbuild()-
-
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()
-
-
-
-