import { Queries } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { UrlMultiClient } from "../urlMultiClient" ; import { QueriesArrayStringMultiNullOptionalParams , QueriesArrayStringMultiEmptyOptionalParams , QueriesArrayStringMultiValidOptionalParams } from "../models" ; /** Class containing Queries operations. */ export class QueriesImpl implements Queries { private readonly client : UrlMultiClient ; param client constructor ( client ) { this . client = client ; } param options arrayStringMultiNull ( options ? ) { return this . client . sendOperationRequest ( { options } , arrayStringMultiNullOperationSpec ) ; } param options arrayStringMultiEmpty ( options ? ) { return this . client . sendOperationRequest ( { options } , arrayStringMultiEmptyOperationSpec ) ; } param options arrayStringMultiValid ( options ? ) { return this . client . sendOperationRequest ( { options } , arrayStringMultiValidOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const arrayStringMultiNullOperationSpec = { path : "/queries/array/multi/string/null" , httpMethod : "GET" , responses : { 200 : { } , default : { bodyMapper : Mappers . ErrorModel } } , queryParameters : [ Parameters . arrayQuery ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept ] , serializer } ; const arrayStringMultiEmptyOperationSpec = { path : "/queries/array/multi/string/empty" , httpMethod : "GET" , responses : { 200 : { } , default : { bodyMapper : Mappers . ErrorModel } } , queryParameters : [ Parameters . arrayQuery ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept ] , serializer } ; const arrayStringMultiValidOperationSpec = { path : "/queries/array/multi/string/valid" , httpMethod : "GET" , responses : { 200 : { } , default : { bodyMapper : Mappers . ErrorModel } } , queryParameters : [ Parameters . arrayQuery1 ] , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept ] , serializer } ;