import { Get } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Parameters from "../models/parameters" ; import { UrlClient } from "../urlClient" ; import { GetUrlOptionalParams , GetUrlResponse } from "../models" ; /** Class containing Get operations. */ export class GetImpl implements Get { private readonly client : UrlClient ; param client constructor ( client ) { this . client = client ; } param testUrl param options url ( testUrl , options ? ) { return this . client . sendOperationRequest ( { testUrl , options } , urlOperationSpec ) ; } } const serializer = coreClient . createSerializer ( { } , false ) ; const urlOperationSpec = { path : "/Url" , httpMethod : "GET" , responses : { 200 : { bodyMapper : { type : { name : "String" } } } } , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept , Parameters . testUrl ] , serializer } ;