Class TestEvaluateParams
-
- All Implemented Interfaces:
-
com.openlayer.api.core.Params
public final class TestEvaluateParams implements Params
Triggers one-off evaluation of a specific monitoring test for a custom timestamp range. This allows evaluating tests for historical data or custom time periods outside the regular evaluation window schedule. It also allows overwriting the existing test results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTestEvaluateParams.BuilderA builder for TestEvaluateParams.
public final classTestEvaluateParams.Body
-
Method Summary
Modifier and Type Method Description final Optional<String>testId()final LongendTimestamp()End timestamp in seconds (Unix epoch) final LongstartTimestamp()Start timestamp in seconds (Unix epoch) final Optional<String>inferencePipelineId()ID of the inference pipeline to evaluate. final Optional<Boolean>overwriteResults()Whether to overwrite existing test results final JsonField<Long>_endTimestamp()Returns the raw JSON value of endTimestamp. final JsonField<Long>_startTimestamp()Returns the raw JSON value of startTimestamp. final JsonField<String>_inferencePipelineId()Returns the raw JSON value of inferencePipelineId. final JsonField<Boolean>_overwriteResults()Returns the raw JSON value of overwriteResults. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final TestEvaluateParams.BuildertoBuilder()final TestEvaluateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static TestEvaluateParams.Builderbuilder()Returns a mutable builder for constructing an instance of TestEvaluateParams. -
-
Method Detail
-
endTimestamp
final Long endTimestamp()
End timestamp in seconds (Unix epoch)
-
startTimestamp
final Long startTimestamp()
Start timestamp in seconds (Unix epoch)
-
inferencePipelineId
final Optional<String> inferencePipelineId()
ID of the inference pipeline to evaluate. If not provided, all inference pipelines the test applies to will be evaluated.
-
overwriteResults
final Optional<Boolean> overwriteResults()
Whether to overwrite existing test results
-
_endTimestamp
final JsonField<Long> _endTimestamp()
Returns the raw JSON value of endTimestamp.
Unlike endTimestamp, this method doesn't throw if the JSON field has an unexpected type.
-
_startTimestamp
final JsonField<Long> _startTimestamp()
Returns the raw JSON value of startTimestamp.
Unlike startTimestamp, this method doesn't throw if the JSON field has an unexpected type.
-
_inferencePipelineId
final JsonField<String> _inferencePipelineId()
Returns the raw JSON value of inferencePipelineId.
Unlike inferencePipelineId, this method doesn't throw if the JSON field has an unexpected type.
-
_overwriteResults
final JsonField<Boolean> _overwriteResults()
Returns the raw JSON value of overwriteResults.
Unlike overwriteResults, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final TestEvaluateParams.Builder toBuilder()
-
_body
final TestEvaluateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static TestEvaluateParams.Builder builder()
Returns a mutable builder for constructing an instance of TestEvaluateParams.
The following fields are required:
.endTimestamp() .startTimestamp()
-
-
-
-