import { Queue } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { HeaderPrefixClient } from "../headerPrefixClient" ; import { QueueGetPropertiesOptionalParams , QueueGetPropertiesResponse } from "../models" ; /** Class containing Queue operations. */ export class QueueImpl implements Queue { private readonly client : HeaderPrefixClient ; param client constructor ( client ) { this . client = client ; } param options getProperties ( options ? ) { return this . client . sendOperationRequest ( { options } , getPropertiesOperationSpec ) ; } } const xmlSerializer = coreClient . createSerializer ( Mappers , true ) ; const getPropertiesOperationSpec = { path : "/{queueName}" , httpMethod : "GET" , responses : { 200 : { headersMapper : Mappers . QueueGetPropertiesHeaders } , default : { bodyMapper : Mappers . StorageError , headersMapper : Mappers . QueueGetPropertiesExceptionHeaders } } , urlParameters : [ Parameters . $host ] , headerParameters : [ Parameters . accept , Parameters . requestId , Parameters . metadata ] , isXML : true , serializer : xmlSerializer } ;