#import {{#imports}}#import "{{import}}.h" {{/imports}} #import "SWGObject.h" #import "SWGApiClient.h" {{newline}} {{#operations}} @interface {{classname}}: NSObject @property(nonatomic, assign)SWGApiClient *apiClient; -(instancetype) initWithApiClient:(SWGApiClient *)apiClient; -(void) addHeader:(NSString*)value forKey:(NSString*)key; -(unsigned long) requestQueueSize; +({{classname}}*) apiWithHeader:(NSString*)headerValue key:(NSString*)key; +(void) setBasePath:(NSString*)basePath; +(NSString*) getBasePath; {{#operation}} /** {{{summary}}} {{#notes}}{{{notes}}}{{/notes}} {{#allParams}}@param {{paramName}} {{description}} {{/allParams}} return type: {{{returnType}}} */ -(NSNumber*) {{nickname}}WithCompletionBlock {{^allParams}}:{{/allParams}}{{#allParams}}{{#secondaryParam}} {{paramName}}{{/secondaryParam}}:({{{dataType}}}) {{paramName}} {{#hasMore}} {{/hasMore}}{{/allParams}} {{#returnBaseType}}{{#hasParams}} completionHandler: {{/hasParams}}(void (^)({{{returnType}}} output, NSError* error))completionBlock;{{/returnBaseType}} {{^returnBaseType}}{{#hasParams}} completionHandler: {{/hasParams}}(void (^)(NSError* error))completionBlock;{{/returnBaseType}} {{newline}} {{/operation}} {{/operations}} @end