Class AuthRuleV2BacktestRetrieveParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class AuthRuleV2BacktestRetrieveParams implements Params
Returns the backtest results of an Auth rule (if available).
Backtesting is an asynchronous process that requires time to complete. If a customer retrieves the backtest results using this endpoint before the report is fully generated, the response will return null for
results.current_versionandresults.draft_version. Customers are advised to wait for the backtest creation process to complete (as indicated by the webhook event auth_rules.backtest_report.created) before retrieving results from this endpoint.Backtesting is an asynchronous process, while the backtest is being processed, results will not be available which will cause
results.current_versionandresults.draft_versionobjects to containnull. The entries inresultswill also always represent the configuration of the rule at the time requests are made to this endpoint. For example, the results forcurrent_versionin the served backtest report will be consistent with which version of the rule is currently activated in the respective event stream, regardless of which version of the rule was active in the event stream at the time a backtest is requested.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthRuleV2BacktestRetrieveParams.BuilderA builder for AuthRuleV2BacktestRetrieveParams.
-
Method Summary
Modifier and Type Method Description final StringauthRuleToken()final Optional<String>authRuleBacktestToken()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final AuthRuleV2BacktestRetrieveParams.BuildertoBuilder()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 AuthRuleV2BacktestRetrieveParams.Builderbuilder()Returns a mutable builder for constructing an instance of AuthRuleV2BacktestRetrieveParams. -
-
Method Detail
-
authRuleToken
final String authRuleToken()
-
authRuleBacktestToken
final Optional<String> authRuleBacktestToken()
-
_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 AuthRuleV2BacktestRetrieveParams.Builder toBuilder()
-
_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 AuthRuleV2BacktestRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of AuthRuleV2BacktestRetrieveParams.
The following fields are required:
.authRuleToken()
-
-
-
-