Class InteractionAnalyzeResponse.Metadata
-
- All Implemented Interfaces:
public final class InteractionAnalyzeResponse.Metadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInteractionAnalyzeResponse.Metadata.BuilderA builder for Metadata.
public final classInteractionAnalyzeResponse.Metadata.Project
-
Method Summary
Modifier and Type Method Description final Stringmodel()The language model from the request. final DoubleprocessingTimeMs()The total time taken to perform the analysis. final InteractionAnalyzeResponse.Metadata.Projectproject()final Stringprovider()The provider of the language model from the request. final StringrequesterId()The identifier for the entity from the request. final Optional<OffsetDateTime>analyzedAt()The timestamp when the analysis was performed. final Optional<String>eventId()The unique identifier for the analysis event. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<Double>_processingTimeMs()Returns the raw JSON value of processingTimeMs. final JsonField<InteractionAnalyzeResponse.Metadata.Project>_project()Returns the raw JSON value of project. final JsonField<String>_provider()Returns the raw JSON value of provider. final JsonField<String>_requesterId()Returns the raw JSON value of requesterId. final JsonField<OffsetDateTime>_analyzedAt()Returns the raw JSON value of analyzedAt. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final InteractionAnalyzeResponse.Metadata.BuildertoBuilder()final InteractionAnalyzeResponse.Metadatavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InteractionAnalyzeResponse.Metadata.Builderbuilder()Returns a mutable builder for constructing an instance of Metadata. -
-
Method Detail
-
processingTimeMs
final Double processingTimeMs()
The total time taken to perform the analysis.
-
project
final InteractionAnalyzeResponse.Metadata.Project project()
-
requesterId
final String requesterId()
The identifier for the entity from the request.
-
analyzedAt
final Optional<OffsetDateTime> analyzedAt()
The timestamp when the analysis was performed.
-
_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.
-
_processingTimeMs
final JsonField<Double> _processingTimeMs()
Returns the raw JSON value of processingTimeMs.
Unlike processingTimeMs, this method doesn't throw if the JSON field has an unexpected type.
-
_project
final JsonField<InteractionAnalyzeResponse.Metadata.Project> _project()
Returns the raw JSON value of project.
Unlike project, this method doesn't throw if the JSON field has an unexpected type.
-
_provider
final JsonField<String> _provider()
Returns the raw JSON value of provider.
Unlike provider, this method doesn't throw if the JSON field has an unexpected type.
-
_requesterId
final JsonField<String> _requesterId()
Returns the raw JSON value of requesterId.
Unlike requesterId, this method doesn't throw if the JSON field has an unexpected type.
-
_analyzedAt
final JsonField<OffsetDateTime> _analyzedAt()
Returns the raw JSON value of analyzedAt.
Unlike analyzedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_eventId
final JsonField<String> _eventId()
Returns the raw JSON value of eventId.
Unlike eventId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InteractionAnalyzeResponse.Metadata.Builder toBuilder()
-
validate
final InteractionAnalyzeResponse.Metadata 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 InteractionAnalyzeResponse.Metadata.Builder builder()
Returns a mutable builder for constructing an instance of Metadata.
The following fields are required:
.model() .processingTimeMs() .project() .provider() .requesterId()
-
-
-
-