objc.model-header.mustache Maven / Gradle / Ivy
#import
#import "NIKSwaggerObject.h"
{{#imports}}#import "{{import}}.h"
{{/imports}}
{{newline}}
{{#models}}
{{#model}}
@interface {{classname}} : NIKSwaggerObject
{{#vars}}
@property(nonatomic) {{datatype}} {{name}};
{{/vars}}
- (id) {{#vars}}{{name}}: ({{datatype}}) {{name}}{{#hasMore}}{{newline}} {{/hasMore}}{{^hasMore}};{{/hasMore}}
{{/vars}}
{{newline}}
- (id) initWithValues: (NSDictionary*)dict;
- (NSDictionary*) asDictionary;
{{newline}}
@end
{{/model}}
{{/models}}