Package com.openai.models.beta.responses
Class BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input
-
- All Implemented Interfaces:
public final class BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.InputThe moderation policy for the response input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.BuilderA builder for Input.
public final classBetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Mode
-
Method Summary
Modifier and Type Method Description final BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Modemode()final JsonField<BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Mode>_mode()Returns the raw JSON value of mode. final Map<String, JsonValue>_additionalProperties()final BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.BuildertoBuilder()final BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Inputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Builderbuilder()Returns a mutable builder for constructing an instance of Input. -
-
Method Detail
-
_mode
final JsonField<BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Mode> _mode()
Returns the raw JSON value of mode.
Unlike mode, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input 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 BetaResponsesClientEvent.ResponseCreate.Moderation.Policy.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
The following fields are required:
.mode()
-
-
-
-