35 lines
895 B
Plaintext
35 lines
895 B
Plaintext
import type { HttpFile } from '../http/http';
|
|
import type { Configuration } from '../configuration'
|
|
import type * as req from "../types/ObjectParamAPI";
|
|
{{#useRxJS}}
|
|
import type { Observable } from 'rxjs';
|
|
{{/useRxJS}}
|
|
|
|
{{#models}}
|
|
{{#model}}
|
|
import type { {{{ classname }}} } from '{{{ importPath }}}';
|
|
{{/model}}
|
|
{{/models}}
|
|
{{#apiInfo}}
|
|
{{#apis}}
|
|
{{#operations}}
|
|
|
|
|
|
export abstract class AbstractObject{{classname}} {
|
|
{{#operation}}
|
|
/**
|
|
{{#notes}}
|
|
* {{¬es}}
|
|
{{/notes}}
|
|
{{#summary}}
|
|
* {{&summary}}
|
|
{{/summary}}
|
|
* @param param the request object
|
|
*/
|
|
public abstract {{nickname}}(param: req.{{classname}}{{operationIdCamelCase}}Request, options?: Configuration): {{#useRxJS}}Observable{{/useRxJS}}{{^useRxJS}}Promise{{/useRxJS}}<{{{returnType}}}{{^returnType}}void{{/returnType}}>;
|
|
|
|
{{/operation}}
|
|
}
|
|
{{/operations}}
|
|
{{/apis}}
|
|
{{/apiInfo}} |