-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skyapi] refs #5 Regenerate Objc library
- Loading branch information
Showing
89 changed files
with
3,479 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,3 @@ Carthage/Build | |
|
||
fastlane/report.xml | ||
fastlane/screenshots | ||
*.idea* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
Pod::Spec.new do |s| | ||
s.name = "skyapi" | ||
s.version = "v0.25.1" | ||
s.version = "0.25.1" | ||
|
||
s.summary = "Skycoin REST API." | ||
s.description = <<-DESC | ||
|
@@ -19,16 +19,16 @@ Pod::Spec.new do |s| | |
s.platform = :ios, '7.0' | ||
s.requires_arc = true | ||
|
||
s.framework = 'SystemConfiguration' | ||
s.frameworks = 'SystemConfiguration', 'CoreData' | ||
|
||
s.homepage = "https://github.com/openapitools/openapi-generator" | ||
s.license = "Proprietary" | ||
s.source = { :git => "https://github.com/openapitools/openapi-generator.git", :tag => "#{s.version}" } | ||
s.author = { "OpenAPI" => "[email protected]" } | ||
s.author = { "Skycoin" => "[email protected]" } | ||
|
||
s.source_files = 'skyapi/**/*.{m,h}' | ||
s.public_header_files = 'skyapi/**/*.h' | ||
|
||
s.resources = 'skyapi/**/*.{xcdatamodeld,xcdatamodel}' | ||
|
||
s.dependency 'AFNetworking', '~> 3' | ||
s.dependency 'JSONModel', '~> 1.2' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressInputsManagedObject.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
/** | ||
* Skycoin REST API. | ||
* Skycoin is a next-generation cryptocurrency. | ||
* | ||
* OpenAPI spec version: 0.25.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface OAIApiv1exploreraddressInputsManagedObject : NSManagedObject | ||
|
||
|
||
@property (nullable, nonatomic, retain) NSString* owner; | ||
|
||
@property (nullable, nonatomic, retain) NSNumber* hours; | ||
|
||
@property (nullable, nonatomic, retain) NSNumber* calculatedHours; | ||
|
||
@property (nullable, nonatomic, retain) NSString* coins; | ||
|
||
@property (nullable, nonatomic, retain) NSString* uxid; | ||
@end | ||
|
||
@interface OAIApiv1exploreraddressInputsManagedObject (GeneratedAccessors) | ||
|
||
@end | ||
|
||
|
||
NS_ASSUME_NONNULL_END |
15 changes: 15 additions & 0 deletions
15
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressInputsManagedObject.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#import "OAIApiv1exploreraddressInputsManagedObject.h" | ||
|
||
/** | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
@implementation OAIApiv1exploreraddressInputsManagedObject | ||
|
||
@dynamic owner; | ||
@dynamic hours; | ||
@dynamic calculatedHours; | ||
@dynamic coins; | ||
@dynamic uxid; | ||
@end |
35 changes: 35 additions & 0 deletions
35
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressInputsManagedObjectBuilder.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
|
||
#import "OAIApiv1exploreraddressInputsManagedObject.h" | ||
#import "OAIApiv1exploreraddressInputs.h" | ||
|
||
/** | ||
* Skycoin REST API. | ||
* Skycoin is a next-generation cryptocurrency. | ||
* | ||
* OpenAPI spec version: 0.25.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
@interface OAIApiv1exploreraddressInputsManagedObjectBuilder : NSObject | ||
|
||
|
||
|
||
-(OAIApiv1exploreraddressInputsManagedObject*)createNewOAIApiv1exploreraddressInputsManagedObjectInContext:(NSManagedObjectContext*)context; | ||
|
||
-(OAIApiv1exploreraddressInputsManagedObject*)OAIApiv1exploreraddressInputsManagedObjectFromOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)object context:(NSManagedObjectContext*)context; | ||
|
||
-(void)updateOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)object withOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)object2; | ||
|
||
-(OAIApiv1exploreraddressInputs*)OAIApiv1exploreraddressInputsFromOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)obj; | ||
|
||
-(void)updateOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)object withOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)object2; | ||
|
||
@end |
61 changes: 61 additions & 0 deletions
61
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressInputsManagedObjectBuilder.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
|
||
#import "OAIApiv1exploreraddressInputsManagedObjectBuilder.h" | ||
|
||
/** | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
@implementation OAIApiv1exploreraddressInputsManagedObjectBuilder | ||
|
||
-(instancetype)init { | ||
self = [super init]; | ||
if (self != nil) { | ||
} | ||
return self; | ||
} | ||
|
||
-(OAIApiv1exploreraddressInputsManagedObject*)createNewOAIApiv1exploreraddressInputsManagedObjectInContext:(NSManagedObjectContext*)context { | ||
OAIApiv1exploreraddressInputsManagedObject *managedObject = [NSEntityDescription insertNewObjectForEntityForName:NSStringFromClass([OAIApiv1exploreraddressInputsManagedObject class]) inManagedObjectContext:context]; | ||
return managedObject; | ||
} | ||
|
||
-(OAIApiv1exploreraddressInputsManagedObject*)OAIApiv1exploreraddressInputsManagedObjectFromOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)object context:(NSManagedObjectContext*)context { | ||
OAIApiv1exploreraddressInputsManagedObject* newOAIApiv1exploreraddressInputs = [self createNewOAIApiv1exploreraddressInputsManagedObjectInContext:context]; | ||
[self updateOAIApiv1exploreraddressInputsManagedObject:newOAIApiv1exploreraddressInputs withOAIApiv1exploreraddressInputs:object]; | ||
return newOAIApiv1exploreraddressInputs; | ||
} | ||
|
||
-(void)updateOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)managedObject withOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)object { | ||
if(!managedObject || !object) { | ||
return; | ||
} | ||
NSManagedObjectContext* context = managedObject.managedObjectContext; | ||
managedObject.owner = [object.owner copy]; | ||
managedObject.hours = [object.hours copy]; | ||
managedObject.calculatedHours = [object.calculatedHours copy]; | ||
managedObject.coins = [object.coins copy]; | ||
managedObject.uxid = [object.uxid copy]; | ||
|
||
} | ||
|
||
-(OAIApiv1exploreraddressInputs*)OAIApiv1exploreraddressInputsFromOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)obj { | ||
if(!obj) { | ||
return nil; | ||
} | ||
OAIApiv1exploreraddressInputs* newOAIApiv1exploreraddressInputs = [[OAIApiv1exploreraddressInputs alloc] init]; | ||
[self updateOAIApiv1exploreraddressInputs:newOAIApiv1exploreraddressInputs withOAIApiv1exploreraddressInputsManagedObject:obj]; | ||
return newOAIApiv1exploreraddressInputs; | ||
} | ||
|
||
-(void)updateOAIApiv1exploreraddressInputs:(OAIApiv1exploreraddressInputs*)newOAIApiv1exploreraddressInputs withOAIApiv1exploreraddressInputsManagedObject:(OAIApiv1exploreraddressInputsManagedObject*)obj { | ||
newOAIApiv1exploreraddressInputs.owner = [obj.owner copy]; | ||
newOAIApiv1exploreraddressInputs.hours = [obj.hours copy]; | ||
newOAIApiv1exploreraddressInputs.calculatedHours = [obj.calculatedHours copy]; | ||
newOAIApiv1exploreraddressInputs.coins = [obj.coins copy]; | ||
newOAIApiv1exploreraddressInputs.uxid = [obj.uxid copy]; | ||
} | ||
|
||
@end |
38 changes: 38 additions & 0 deletions
38
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressOutputsManagedObject.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
/** | ||
* Skycoin REST API. | ||
* Skycoin is a next-generation cryptocurrency. | ||
* | ||
* OpenAPI spec version: 0.25.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface OAIApiv1exploreraddressOutputsManagedObject : NSManagedObject | ||
|
||
|
||
@property (nullable, nonatomic, retain) NSNumber* hours; | ||
|
||
@property (nullable, nonatomic, retain) NSString* dst; | ||
|
||
@property (nullable, nonatomic, retain) NSString* coins; | ||
|
||
@property (nullable, nonatomic, retain) NSString* uxid; | ||
@end | ||
|
||
@interface OAIApiv1exploreraddressOutputsManagedObject (GeneratedAccessors) | ||
|
||
@end | ||
|
||
|
||
NS_ASSUME_NONNULL_END |
14 changes: 14 additions & 0 deletions
14
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressOutputsManagedObject.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#import "OAIApiv1exploreraddressOutputsManagedObject.h" | ||
|
||
/** | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
@implementation OAIApiv1exploreraddressOutputsManagedObject | ||
|
||
@dynamic hours; | ||
@dynamic dst; | ||
@dynamic coins; | ||
@dynamic uxid; | ||
@end |
35 changes: 35 additions & 0 deletions
35
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressOutputsManagedObjectBuilder.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
|
||
#import "OAIApiv1exploreraddressOutputsManagedObject.h" | ||
#import "OAIApiv1exploreraddressOutputs.h" | ||
|
||
/** | ||
* Skycoin REST API. | ||
* Skycoin is a next-generation cryptocurrency. | ||
* | ||
* OpenAPI spec version: 0.25.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
@interface OAIApiv1exploreraddressOutputsManagedObjectBuilder : NSObject | ||
|
||
|
||
|
||
-(OAIApiv1exploreraddressOutputsManagedObject*)createNewOAIApiv1exploreraddressOutputsManagedObjectInContext:(NSManagedObjectContext*)context; | ||
|
||
-(OAIApiv1exploreraddressOutputsManagedObject*)OAIApiv1exploreraddressOutputsManagedObjectFromOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)object context:(NSManagedObjectContext*)context; | ||
|
||
-(void)updateOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)object withOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)object2; | ||
|
||
-(OAIApiv1exploreraddressOutputs*)OAIApiv1exploreraddressOutputsFromOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)obj; | ||
|
||
-(void)updateOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)object withOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)object2; | ||
|
||
@end |
59 changes: 59 additions & 0 deletions
59
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressOutputsManagedObjectBuilder.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
|
||
#import "OAIApiv1exploreraddressOutputsManagedObjectBuilder.h" | ||
|
||
/** | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
@implementation OAIApiv1exploreraddressOutputsManagedObjectBuilder | ||
|
||
-(instancetype)init { | ||
self = [super init]; | ||
if (self != nil) { | ||
} | ||
return self; | ||
} | ||
|
||
-(OAIApiv1exploreraddressOutputsManagedObject*)createNewOAIApiv1exploreraddressOutputsManagedObjectInContext:(NSManagedObjectContext*)context { | ||
OAIApiv1exploreraddressOutputsManagedObject *managedObject = [NSEntityDescription insertNewObjectForEntityForName:NSStringFromClass([OAIApiv1exploreraddressOutputsManagedObject class]) inManagedObjectContext:context]; | ||
return managedObject; | ||
} | ||
|
||
-(OAIApiv1exploreraddressOutputsManagedObject*)OAIApiv1exploreraddressOutputsManagedObjectFromOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)object context:(NSManagedObjectContext*)context { | ||
OAIApiv1exploreraddressOutputsManagedObject* newOAIApiv1exploreraddressOutputs = [self createNewOAIApiv1exploreraddressOutputsManagedObjectInContext:context]; | ||
[self updateOAIApiv1exploreraddressOutputsManagedObject:newOAIApiv1exploreraddressOutputs withOAIApiv1exploreraddressOutputs:object]; | ||
return newOAIApiv1exploreraddressOutputs; | ||
} | ||
|
||
-(void)updateOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)managedObject withOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)object { | ||
if(!managedObject || !object) { | ||
return; | ||
} | ||
NSManagedObjectContext* context = managedObject.managedObjectContext; | ||
managedObject.hours = [object.hours copy]; | ||
managedObject.dst = [object.dst copy]; | ||
managedObject.coins = [object.coins copy]; | ||
managedObject.uxid = [object.uxid copy]; | ||
|
||
} | ||
|
||
-(OAIApiv1exploreraddressOutputs*)OAIApiv1exploreraddressOutputsFromOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)obj { | ||
if(!obj) { | ||
return nil; | ||
} | ||
OAIApiv1exploreraddressOutputs* newOAIApiv1exploreraddressOutputs = [[OAIApiv1exploreraddressOutputs alloc] init]; | ||
[self updateOAIApiv1exploreraddressOutputs:newOAIApiv1exploreraddressOutputs withOAIApiv1exploreraddressOutputsManagedObject:obj]; | ||
return newOAIApiv1exploreraddressOutputs; | ||
} | ||
|
||
-(void)updateOAIApiv1exploreraddressOutputs:(OAIApiv1exploreraddressOutputs*)newOAIApiv1exploreraddressOutputs withOAIApiv1exploreraddressOutputsManagedObject:(OAIApiv1exploreraddressOutputsManagedObject*)obj { | ||
newOAIApiv1exploreraddressOutputs.hours = [obj.hours copy]; | ||
newOAIApiv1exploreraddressOutputs.dst = [obj.dst copy]; | ||
newOAIApiv1exploreraddressOutputs.coins = [obj.coins copy]; | ||
newOAIApiv1exploreraddressOutputs.uxid = [obj.uxid copy]; | ||
} | ||
|
||
@end |
38 changes: 38 additions & 0 deletions
38
lib/skyapi/skyapi/Model/OAIApiv1exploreraddressStatusManagedObject.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
/** | ||
* Skycoin REST API. | ||
* Skycoin is a next-generation cryptocurrency. | ||
* | ||
* OpenAPI spec version: 0.25.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface OAIApiv1exploreraddressStatusManagedObject : NSManagedObject | ||
|
||
|
||
@property (nullable, nonatomic, retain) NSNumber* unconfirmed; | ||
|
||
@property (nullable, nonatomic, retain) NSNumber* blockSeq; | ||
|
||
@property (nullable, nonatomic, retain) NSNumber* label; | ||
|
||
@property (nullable, nonatomic, retain) NSNumber* confirmed; | ||
@end | ||
|
||
@interface OAIApiv1exploreraddressStatusManagedObject (GeneratedAccessors) | ||
|
||
@end | ||
|
||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.