Methods
# inner User(rawUser) → {User}
User Model
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
rawUser | 
  
  
  
      
Object
  
   | 
  
      User data  | 
|
username | 
  
  
  
      
String
  
   | 
  
      Username param  | 
|
userId | 
  
  
  
      
String
  
   | 
  
      user id param  | 
|
email | 
  
  
  
      
String
  
   | 
  
      Email param  | 
|
token | 
  
  
  
      
String
  
   | 
  
      Token param  | 
|
deviceId | 
  
  
  
      
String
  
   | 
  
      Device id param  | 
|
image | 
  
  
  
      
String
  
   | 
  
      User avatar/photo/image  | 
|
paired | 
  
  
  
      
Boolean
  
   | 
  
      
      
          <optional> | 
  
  
  Paired param  | 
user - The User representation
User
    Type Definitions
Object
    
# User
This model represents the logged user. These properties are pre defined by this template and you can modify according your User model properties.
User representation
Properties:
| Name | Type | Description | 
|---|---|---|
username | 
    
    
    
        
String
    
     | 
    
    
    Username property  | 
userId | 
    
    
    
        
String
    
     | 
    
    
    User id property  | 
email | 
    
    
    
        
String
    
     | 
    
    
    Email property  | 
fullName | 
    
    
    
        
String
    
     | 
    
    
    Full name property  | 
token | 
    
    
    
        
String
    
     | 
    
    
    Token property  | 
deviceId | 
    
    
    
        
String
    
     | 
    
    
    Device id property  | 
isPaired | 
    
    
    
        
Boolean
    
     | 
    
    
    Entitlement property  |