riskResolveReference method

Future<ResolveReferenceOut?> riskResolveReference(
  1. ResolveReferenceIn resolveReferenceIn
)

Looks keys up against the reference plane.

Looks keys up against the reference plane. Your organisation's own overrides are consulted FIRST and win outright; the shared baseline answers everything they do not cover. Every answer names the version that produced it, when that version was current and whether it is stale, so a decision can record exactly what it consulted. Read Refusal before reading Hit. A set that has never loaded, one held by the component that screens against it, and one whose source needs a licence we do not hold all answer with a refusal — and a miss on a refusing set means nothing is known, not that the key is clean.

Parameters:

Implementation

Future<ResolveReferenceOut?> riskResolveReference(ResolveReferenceIn resolveReferenceIn,) async {
  final response = await riskResolveReferenceWithHttpInfo(resolveReferenceIn,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
  // When a remote server returns no body with a status of 204, we shall not decode it.
  // At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
  // FormatException when trying to decode an empty string.
  if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
    return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'ResolveReferenceOut',) as ResolveReferenceOut;

  }
  return null;
}