Class PromptAnalyzerCreateParams.Body
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateParams.BodyThe request to the prompt analyzer endpoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringprompt()final Optional<String>model()final Optional<String>output()final JsonField<String>_prompt()Returns the raw JSON value of prompt. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<String>_output()Returns the raw JSON value of output. final Map<String, JsonValue>_additionalProperties()final PromptAnalyzerCreateParams.Body.BuildertoBuilder()final PromptAnalyzerCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptAnalyzerCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
_prompt
final JsonField<String> _prompt()
Returns the raw JSON value of prompt.
Unlike prompt, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptAnalyzerCreateParams.Body.Builder toBuilder()
-
validate
final PromptAnalyzerCreateParams.Body 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 PromptAnalyzerCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.prompt()
-
-
-
-