Class PromptAnalyzerCreateResponse.Results.InputDosResults
-
- All Implemented Interfaces:
public final class PromptAnalyzerCreateResponse.Results.InputDosResultsThe input denial of service results
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptAnalyzerCreateResponse.Results.InputDosResults.BuilderA builder for InputDosResults.
-
Method Summary
Modifier and Type Method Description final Optional<Double>elapsedMs()The time in milliseconds it took to process the input denial of service final Optional<Double>embeddingsLength()The length of the embeddings analyzed final Optional<Boolean>verdict()The verdict of the input denial of service analysis final JsonField<Double>_elapsedMs()Returns the raw JSON value of elapsedMs. final JsonField<Double>_embeddingsLength()Returns the raw JSON value of embeddingsLength. final JsonField<Boolean>_verdict()Returns the raw JSON value of verdict. final Map<String, JsonValue>_additionalProperties()final PromptAnalyzerCreateResponse.Results.InputDosResults.BuildertoBuilder()final PromptAnalyzerCreateResponse.Results.InputDosResultsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptAnalyzerCreateResponse.Results.InputDosResults.Builderbuilder()Returns a mutable builder for constructing an instance of InputDosResults. -
-
Method Detail
-
elapsedMs
final Optional<Double> elapsedMs()
The time in milliseconds it took to process the input denial of service
-
embeddingsLength
final Optional<Double> embeddingsLength()
The length of the embeddings analyzed
-
_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.
-
_embeddingsLength
final JsonField<Double> _embeddingsLength()
Returns the raw JSON value of embeddingsLength.
Unlike embeddingsLength, 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.InputDosResults.Builder toBuilder()
-
validate
final PromptAnalyzerCreateResponse.Results.InputDosResults 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 PromptAnalyzerCreateResponse.Results.InputDosResults.Builder builder()
Returns a mutable builder for constructing an instance of InputDosResults.
-
-
-
-