Files
RestKit/Tests/Models/RKTestUser.h
2012-09-26 11:35:16 -04:00

50 lines
1.4 KiB
Objective-C

//
// RKTestUser.h
// RestKit
//
// Created by Blake Watters on 8/5/11.
// Copyright (c) 2009-2012 RestKit. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RKTestAddress.h"
@interface RKTestUser : NSObject {
NSNumber *_userID;
NSString *_name;
NSDate *_birthDate;
NSArray *_favoriteColors;
NSDictionary *_addressDictionary;
NSURL *_website;
NSNumber *_isDeveloper;
NSNumber *_luckyNumber;
NSDecimalNumber *_weight;
NSArray *_interests;
NSString *_country;
// Relationships
RKTestAddress *_address;
NSArray *_friends;
}
@property (nonatomic, strong) NSNumber *userID;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSDate *birthDate;
@property (nonatomic, strong) NSDate *favoriteDate;
@property (nonatomic, strong) NSArray *favoriteColors;
@property (nonatomic, strong) NSDictionary *addressDictionary;
@property (nonatomic, strong) NSURL *website;
@property (nonatomic, strong) NSNumber *isDeveloper;
@property (nonatomic, strong) NSNumber *luckyNumber;
@property (nonatomic, strong) NSDecimalNumber *weight;
@property (nonatomic, strong) NSArray *interests;
@property (nonatomic, strong) NSString *country;
@property (nonatomic, strong) RKTestAddress *address;
@property (nonatomic, strong) NSArray *friends;
@property (nonatomic, strong) NSSet *friendsSet;
@property (nonatomic, strong) NSOrderedSet *friendsOrderedSet;
+ (RKTestUser *)user;
@end