Class PromptAnalyzerCreateResponse.Results.InputLanguageResults
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.InputLanguageResultsThe input language results
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateResponse.Results.InputLanguageResults.BuilderA builder for InputLanguageResults.
-
Method Summary
Modifier and Type Method Description final Optional<Double>elapsedMs()The time in milliseconds it took to process the input language detection final Optional<String>language()Language detected in the input final Optional<Boolean>verdict()The verdict of the input language analysis final JsonField<Double>_elapsedMs()Returns the raw JSON value of elapsedMs. final JsonField<String>_language()Returns the raw JSON value of language. final JsonField<Boolean>_verdict()Returns the raw JSON value of verdict. final Map<String, JsonValue>_additionalProperties()final PromptAnalyzerCreateResponse.Results.InputLanguageResults.BuildertoBuilder()final PromptAnalyzerCreateResponse.Results.InputLanguageResultsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptAnalyzerCreateResponse.Results.InputLanguageResults.Builderbuilder()Returns a mutable builder for constructing an instance of InputLanguageResults. -
-
Method Detail
-
elapsedMs
final Optional<Double> elapsedMs()
The time in milliseconds it took to process the input language detection
-
_elapsedMs
final JsonField<Double> _elapsedMs()
Returns the raw JSON value of elapsedMs.
Unlike elapsedMs, this method doesn't throw if the JSON field has an unexpected type.
-
_language
final JsonField<String> _language()
Returns the raw JSON value of language.
Unlike language, this method doesn't throw if the JSON field has an unexpected type.
-
_verdict
final JsonField<Boolean> _verdict()
Returns the raw JSON value of verdict.
Unlike verdict, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptAnalyzerCreateResponse.Results.InputLanguageResults.Builder toBuilder()
-
validate
final PromptAnalyzerCreateResponse.Results.InputLanguageResults validate()
-
builder
final static PromptAnalyzerCreateResponse.Results.InputLanguageResults.Builder builder()
Returns a mutable builder for constructing an instance of InputLanguageResults.
-
-
-
-