Package com.openai.models.responses
Class ResponseCreateParams.Moderation.Policy.Input
-
- All Implemented Interfaces:
public final class ResponseCreateParams.Moderation.Policy.InputThe moderation policy for the response input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCreateParams.Moderation.Policy.Input.BuilderA builder for Input.
public final classResponseCreateParams.Moderation.Policy.Input.Mode
-
Method Summary
Modifier and Type Method Description final ResponseCreateParams.Moderation.Policy.Input.Modemode()final JsonField<ResponseCreateParams.Moderation.Policy.Input.Mode>_mode()Returns the raw JSON value of mode. final Map<String, JsonValue>_additionalProperties()final ResponseCreateParams.Moderation.Policy.Input.BuildertoBuilder()final ResponseCreateParams.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 ResponseCreateParams.Moderation.Policy.Input.Builderbuilder()Returns a mutable builder for constructing an instance of Input. -
-
Method Detail
-
mode
final ResponseCreateParams.Moderation.Policy.Input.Mode mode()
-
_mode
final JsonField<ResponseCreateParams.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()
-
toBuilder
final ResponseCreateParams.Moderation.Policy.Input.Builder toBuilder()
-
validate
final ResponseCreateParams.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 ResponseCreateParams.Moderation.Policy.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
The following fields are required:
.mode()
-
-
-
-