delete oudated objc files (#7449)

This commit is contained in:
William Cheng 2020-09-18 18:27:33 +08:00 committed by GitHub
parent ef42977097
commit 874daad7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 0 additions and 241 deletions

View File

@ -1,19 +0,0 @@
#import <Foundation/Foundation.h>
#import <AFNetworking/AFURLResponseSerialization.h>
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@wordnik.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
@interface SWGJSONResponseSerializer : AFJSONResponseSerializer
@end

View File

@ -1,31 +0,0 @@
#import <Foundation/Foundation.h>
#import "SWGObject.h"
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
@protocol SWGApiResponse
@end
@interface SWGApiResponse : SWGObject
@property(nonatomic) NSNumber* code;
@property(nonatomic) NSString* type;
@property(nonatomic) NSString* message;
@end

View File

@ -1,36 +0,0 @@
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
NS_ASSUME_NONNULL_BEGIN
@interface SWGApiResponseManagedObject : NSManagedObject
@property (nullable, nonatomic, retain) NSNumber* code;
@property (nullable, nonatomic, retain) NSString* type;
@property (nullable, nonatomic, retain) NSString* message;
@end
@interface SWGApiResponseManagedObject (GeneratedAccessors)
@end
NS_ASSUME_NONNULL_END

View File

@ -1,13 +0,0 @@
#import "SWGApiResponseManagedObject.h"
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@implementation SWGApiResponseManagedObject
@dynamic code;
@dynamic type;
@dynamic message;
@end

View File

@ -1,35 +0,0 @@
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "SWGApiResponseManagedObject.h"
#import "SWGApiResponse.h"
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
@interface SWGApiResponseManagedObjectBuilder : NSObject
-(SWGApiResponseManagedObject*)createNewSWGApiResponseManagedObjectInContext:(NSManagedObjectContext*)context;
-(SWGApiResponseManagedObject*)SWGApiResponseManagedObjectFromSWGApiResponse:(SWGApiResponse*)object context:(NSManagedObjectContext*)context;
-(void)updateSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)object withSWGApiResponse:(SWGApiResponse*)object2;
-(SWGApiResponse*)SWGApiResponseFromSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)obj;
-(void)updateSWGApiResponse:(SWGApiResponse*)object withSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)object2;
@end

View File

@ -1,57 +0,0 @@
#import "SWGApiResponseManagedObjectBuilder.h"
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@implementation SWGApiResponseManagedObjectBuilder
-(instancetype)init {
self = [super init];
if (self != nil) {
}
return self;
}
-(SWGApiResponseManagedObject*)createNewSWGApiResponseManagedObjectInContext:(NSManagedObjectContext*)context {
SWGApiResponseManagedObject *managedObject = [NSEntityDescription insertNewObjectForEntityForName:NSStringFromClass([SWGApiResponseManagedObject class]) inManagedObjectContext:context];
return managedObject;
}
-(SWGApiResponseManagedObject*)SWGApiResponseManagedObjectFromSWGApiResponse:(SWGApiResponse*)object context:(NSManagedObjectContext*)context {
SWGApiResponseManagedObject* newSWGApiResponse = [self createNewSWGApiResponseManagedObjectInContext:context];
[self updateSWGApiResponseManagedObject:newSWGApiResponse withSWGApiResponse:object];
return newSWGApiResponse;
}
-(void)updateSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)managedObject withSWGApiResponse:(SWGApiResponse*)object {
if(!managedObject || !object) {
return;
}
NSManagedObjectContext* context = managedObject.managedObjectContext;
managedObject.code = [object.code copy];
managedObject.type = [object.type copy];
managedObject.message = [object.message copy];
}
-(SWGApiResponse*)SWGApiResponseFromSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)obj {
if(!obj) {
return nil;
}
SWGApiResponse* newSWGApiResponse = [[SWGApiResponse alloc] init];
[self updateSWGApiResponse:newSWGApiResponse withSWGApiResponseManagedObject:obj];
return newSWGApiResponse;
}
-(void)updateSWGApiResponse:(SWGApiResponse*)newSWGApiResponse withSWGApiResponseManagedObject:(SWGApiResponseManagedObject*)obj {
newSWGApiResponse.code = [obj.code copy];
newSWGApiResponse.type = [obj.type copy];
newSWGApiResponse.message = [obj.message copy];
}
@end

View File

@ -1,19 +0,0 @@
#import <Foundation/Foundation.h>
#import <AFNetworking/AFURLResponseSerialization.h>
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@wordnik.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
@interface SWGJSONResponseSerializer : AFJSONResponseSerializer
@end

View File

@ -1,31 +0,0 @@
#import <Foundation/Foundation.h>
#import "SWGObject.h"
/**
* Swagger Petstore
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
@protocol SWGApiResponse
@end
@interface SWGApiResponse : SWGObject
@property(nonatomic) NSNumber* code;
@property(nonatomic) NSString* type;
@property(nonatomic) NSString* message;
@end