mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
updated client
This commit is contained in:
parent
ca06241307
commit
c05a3c3a99
15
samples/client/petstore/objc/client/SWGOrders.h
Normal file
15
samples/client/petstore/objc/client/SWGOrders.h
Normal file
@ -0,0 +1,15 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "SWGObject.h"
|
||||
#import "NSDictionary.h"
|
||||
#import "SWGOrders.h"
|
||||
#import "NSMutableDictionary.h"
|
||||
|
||||
|
||||
@interface SWGOrders : NSMutableDictionary
|
||||
|
||||
- (id)
|
||||
|
||||
- (id) initWithValues: (NSDictionary*)dict;
|
||||
- (NSDictionary*) asDictionary;
|
||||
|
||||
@end
|
27
samples/client/petstore/objc/client/SWGOrders.m
Normal file
27
samples/client/petstore/objc/client/SWGOrders.m
Normal file
@ -0,0 +1,27 @@
|
||||
#import "SWGDate.h"
|
||||
#import "SWGOrders.h"
|
||||
|
||||
@implementation SWGOrders
|
||||
|
||||
-(id)
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
-(id) initWithValues:(NSDictionary*)dict
|
||||
{
|
||||
self = [super init];
|
||||
if(self) {
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(NSDictionary*) asDictionary {
|
||||
NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
|
||||
|
||||
NSDictionary* output = [dict copy];
|
||||
return output;
|
||||
}
|
||||
|
||||
@end
|
Loading…
Reference in New Issue
Block a user