import { OperationResults } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { HealthCareApisClient } from "../healthCareApisClient" ; import { OperationResultsGetOptionalParams , OperationResultsGetResponse } from "../models" ; /** Class containing OperationResults operations. */ export class OperationResultsImpl implements OperationResults { private readonly client : HealthCareApisClient ; param client constructor ( client ) { this . client = client ; } param locationName param operationResultId param options get ( locationName , operationResultId , options ? ) { return this . client . sendOperationRequest ( { locationName , operationResultId , options } , getOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const getOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . OperationResultsDescription } , default : { bodyMapper : Mappers . ErrorDetails } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . locationName , Parameters . operationResultId ] , headerParameters : [ Parameters . accept ] , serializer } ;