import * as msRest from "@azure/ms-rest-js" ; import * as Models from "../models" ; import * as Mappers from "../models/infoRefsMappers" ; import * as Parameters from "../models/parameters" ; import { KuduClientContext } from "../kuduClientContext" ; /** Class representing a InfoRefs. */ export class InfoRefs { private readonly client : KuduClientContext ; param { KuduClientContext } client constructor ( client ) { this . client = client ; } param options returns execute ( options ? ) ; param callback execute ( callback ) ; param options param callback execute ( options , callback ) ; execute ( options ? , callback ? ) { return this . client . sendOperationRequest ( { options } , executeOperationSpec , callback ) as Promise < Models . InfoRefsExecuteResponse > ; } param options returns execute1 ( options ? ) ; param callback execute1 ( callback ) ; param options param callback execute1 ( options , callback ) ; execute1 ( options ? , callback ? ) { return this . client . sendOperationRequest ( { options } , execute1OperationSpec , callback ) as Promise < Models . InfoRefsExecute1Response > ; } } const serializer = new msRest . Serializer ( Mappers ) ; const executeOperationSpec = { httpMethod : "GET" , path : "info/refs" , queryParameters : [ Parameters . service ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ; const execute1OperationSpec = { httpMethod : "GET" , path : "swagger.git/info/refs" , queryParameters : [ Parameters . service ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ;