import * as msRest from "@azure/ms-rest-js" ; import * as Models from "../models" ; import * as Mappers from "../models/error404Mappers" ; import * as Parameters from "../models/parameters" ; import { KuduClientContext } from "../kuduClientContext" ; /** Class representing a Error404. */ export class Error404 { private readonly client : KuduClientContext ; param { KuduClientContext } client constructor ( client ) { this . client = client ; } param path param options returns handle ( path , options ? ) ; param path param callback handle ( path , callback ) ; param path param options param callback handle ( path , options , callback ) ; handle ( path , options ? , callback ? ) { return this . client . sendOperationRequest ( { path , options } , handleOperationSpec , callback ) as Promise < Models . Error404HandleResponse > ; } param path param options returns handle1 ( path , options ? ) ; param path param callback handle1 ( path , callback ) ; param path param options param callback handle1 ( path , options , callback ) ; handle1 ( path , options ? , callback ? ) { return this . client . sendOperationRequest ( { path , options } , handle1OperationSpec , callback ) as Promise < Models . Error404Handle1Response > ; } param path param options returns handle2 ( path , options ? ) ; param path param callback handle2 ( path , callback ) ; param path param options param callback handle2 ( path , options , callback ) ; handle2 ( path , options ? , callback ? ) { return this . client . sendOperationRequest ( { path , options } , handle2OperationSpec , callback ) as Promise < Models . Error404Handle2Response > ; } param path param options returns handle3 ( path , options ? ) ; param path param callback handle3 ( path , callback ) ; param path param options param callback handle3 ( path , options , callback ) ; handle3 ( path , options ? , callback ? ) { return this . client . sendOperationRequest ( { path , options } , handle3OperationSpec , callback ) as Promise < Models . Error404Handle3Response > ; } param path param options returns handle4 ( path , options ? ) ; param path param callback handle4 ( path , callback ) ; param path param options param callback handle4 ( path , options , callback ) ; handle4 ( path , options ? , callback ? ) { return this . client . sendOperationRequest ( { path , options } , handle4OperationSpec , callback ) as Promise < Models . Error404Handle4Response > ; } } const serializer = new msRest . Serializer ( Mappers ) ; const handleOperationSpec = { httpMethod : "GET" , path : "{path}" , urlParameters : [ Parameters . path ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ; const handle1OperationSpec = { httpMethod : "PUT" , path : "{path}" , urlParameters : [ Parameters . path ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ; const handle2OperationSpec = { httpMethod : "POST" , path : "{path}" , urlParameters : [ Parameters . path ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ; const handle3OperationSpec = { httpMethod : "DELETE" , path : "{path}" , urlParameters : [ Parameters . path ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ; const handle4OperationSpec = { httpMethod : "PATCH" , path : "{path}" , urlParameters : [ Parameters . path ] , responses : { 200 : { bodyMapper : { serializedName : "parsedResponse" , type : { name : "Object" } } } , default : { } } , serializer } ;