Class: ONEAccess::DataObject::User

Inherits:
Object
  • Object
show all
Extended by:
Serializable
Defined in:
lib/oneaccess/data_object/user.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Serializable

from_json, represented_by

Instance Attribute Details

#activeObject

Returns the value of attribute active.



18
19
20
# File 'lib/oneaccess/data_object/user.rb', line 18

def active
  @active
end

#addressObject

Returns the value of attribute address.



22
23
24
# File 'lib/oneaccess/data_object/user.rb', line 22

def address
  @address
end

#emailObject

Returns the value of attribute email.



15
16
17
# File 'lib/oneaccess/data_object/user.rb', line 15

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



13
14
15
# File 'lib/oneaccess/data_object/user.rb', line 13

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



12
13
14
# File 'lib/oneaccess/data_object/user.rb', line 12

def id
  @id
end

#is_broker_administratorObject

Returns the value of attribute is_broker_administrator.



20
21
22
# File 'lib/oneaccess/data_object/user.rb', line 20

def is_broker_administrator
  @is_broker_administrator
end

#last_nameObject

Returns the value of attribute last_name.



14
15
16
# File 'lib/oneaccess/data_object/user.rb', line 14

def last_name
  @last_name
end

#organizationObject

Instance of OrganizationLight



21
22
23
# File 'lib/oneaccess/data_object/user.rb', line 21

def organization
  @organization
end

#phoneObject

Returns the value of attribute phone.



16
17
18
# File 'lib/oneaccess/data_object/user.rb', line 16

def phone
  @phone
end

#reg_statusObject

Returns the value of attribute reg_status.



19
20
21
# File 'lib/oneaccess/data_object/user.rb', line 19

def reg_status
  @reg_status
end

#typeObject

Returns the value of attribute type.



17
18
19
# File 'lib/oneaccess/data_object/user.rb', line 17

def type
  @type
end