Browse Source

add fields on UserProfile

marinofaggiana 6 years ago
parent
commit
a24a6e1fb3

+ 7 - 0
iOSClient/Library/OCCommunicationLib/OCUserProfile.h

@@ -29,11 +29,18 @@
 @property BOOL enabled;
 @property BOOL enabled;
 
 
 @property (nonatomic, strong) NSString *address;
 @property (nonatomic, strong) NSString *address;
+@property NSInteger businessSize;
+@property (nonatomic, strong) NSString *businessType;
+@property (nonatomic, strong) NSString *city;
+@property (nonatomic, strong) NSString *company;
+@property (nonatomic, strong) NSString *country;
 @property (nonatomic, strong) NSString *displayName;
 @property (nonatomic, strong) NSString *displayName;
 @property (nonatomic, strong) NSString *email;
 @property (nonatomic, strong) NSString *email;
 @property (nonatomic, strong) NSString *phone;
 @property (nonatomic, strong) NSString *phone;
+@property (nonatomic, strong) NSString *role;
 @property (nonatomic, strong) NSString *twitter;
 @property (nonatomic, strong) NSString *twitter;
 @property (nonatomic, strong) NSString *webpage;
 @property (nonatomic, strong) NSString *webpage;
+@property (nonatomic, strong) NSString *zip;
 
 
 @property double quota;
 @property double quota;
 @property double quotaFree;
 @property double quotaFree;

+ 7 - 0
iOSClient/Library/OCCommunicationLib/OCUserProfile.m

@@ -30,12 +30,19 @@
     self = [super init];
     self = [super init];
     
     
     self.id = @"";
     self.id = @"";
+    
     self.address = @"";
     self.address = @"";
+    self.businessType = @"";
+    self.city = @"";
+    self.company = @"";
+    self.country = @"";
     self.displayName = @"";
     self.displayName = @"";
     self.email = @"";
     self.email = @"";
     self.phone = @"";
     self.phone = @"";
+    self.role = @"";
     self.twitter = @"";
     self.twitter = @"";
     self.webpage = @"";
     self.webpage = @"";
+    self.zip = @"";
     
     
     return self;
     return self;
 }
 }