Package com.openai.models.responses
Class Response.Moderation.Input.ModerationResult.CategoryScores
-
- All Implemented Interfaces:
public final class Response.Moderation.Input.ModerationResult.CategoryScoresA dictionary of moderation categories to scores.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponse.Moderation.Input.ModerationResult.CategoryScores.BuilderA builder for CategoryScores.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final Response.Moderation.Input.ModerationResult.CategoryScores.BuildertoBuilder()final Response.Moderation.Input.ModerationResult.CategoryScoresvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Response.Moderation.Input.ModerationResult.CategoryScores.Builderbuilder()Returns a mutable builder for constructing an instance of CategoryScores. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Response.Moderation.Input.ModerationResult.CategoryScores.Builder toBuilder()
-
validate
final Response.Moderation.Input.ModerationResult.CategoryScores 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 Response.Moderation.Input.ModerationResult.CategoryScores.Builder builder()
Returns a mutable builder for constructing an instance of CategoryScores.
-
-
-
-