Class: Kaltura::KalturaUser
- Inherits:
-
KalturaBaseUser
- Object
- KalturaObjectBase
- KalturaBaseUser
- Kaltura::KalturaUser
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#date_of_birth ⇒ Object
Returns the value of attribute date_of_birth.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#is_account_owner ⇒ Object
Returns the value of attribute is_account_owner.
-
#is_admin ⇒ Object
Returns the value of attribute is_admin.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#login_enabled ⇒ Object
Returns the value of attribute login_enabled.
-
#password ⇒ Object
Returns the value of attribute password.
-
#role_ids ⇒ Object
Returns the value of attribute role_ids.
-
#role_names ⇒ Object
Returns the value of attribute role_names.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from KalturaBaseUser
#admin_tags, #allowed_partner_ids, #allowed_partner_packages, #city, #country, #created_at, #deleted_at, #description, #email, #full_name, #id, #indexed_partner_data_int, #indexed_partner_data_string, #language, #last_login_time, #partner_data, #partner_id, #screen_name, #state, #status, #status_updated_at, #storage_size, #tags, #thumbnail_url, #updated_at, #user_mode, #zip
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#date_of_birth ⇒ Object
Returns the value of attribute date_of_birth.
4053 4054 4055 |
# File 'lib/kaltura_types.rb', line 4053 def date_of_birth @date_of_birth end |
#first_name ⇒ Object
Returns the value of attribute first_name.
4060 4061 4062 |
# File 'lib/kaltura_types.rb', line 4060 def first_name @first_name end |
#gender ⇒ Object
Returns the value of attribute gender.
4054 4055 4056 |
# File 'lib/kaltura_types.rb', line 4054 def gender @gender end |
#is_account_owner ⇒ Object
Returns the value of attribute is_account_owner.
4058 4059 4060 |
# File 'lib/kaltura_types.rb', line 4058 def is_account_owner @is_account_owner end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
4055 4056 4057 |
# File 'lib/kaltura_types.rb', line 4055 def is_admin @is_admin end |
#last_name ⇒ Object
Returns the value of attribute last_name.
4061 4062 4063 |
# File 'lib/kaltura_types.rb', line 4061 def last_name @last_name end |
#login_enabled ⇒ Object
Returns the value of attribute login_enabled.
4062 4063 4064 |
# File 'lib/kaltura_types.rb', line 4062 def login_enabled @login_enabled end |
#password ⇒ Object
Returns the value of attribute password.
4059 4060 4061 |
# File 'lib/kaltura_types.rb', line 4059 def password @password end |
#role_ids ⇒ Object
Returns the value of attribute role_ids.
4056 4057 4058 |
# File 'lib/kaltura_types.rb', line 4056 def role_ids @role_ids end |
#role_names ⇒ Object
Returns the value of attribute role_names.
4057 4058 4059 |
# File 'lib/kaltura_types.rb', line 4057 def role_names @role_names end |
#type ⇒ Object
Returns the value of attribute type.
4052 4053 4054 |
# File 'lib/kaltura_types.rb', line 4052 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 |
# File 'lib/kaltura_types.rb', line 4083 def from_xml(xml_element) super if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['dateOfBirth'] != nil self.date_of_birth = xml_element.elements['dateOfBirth'].text end if xml_element.elements['gender'] != nil self.gender = xml_element.elements['gender'].text end if xml_element.elements['isAdmin'] != nil self.is_admin = xml_element.elements['isAdmin'].text end if xml_element.elements['roleIds'] != nil self.role_ids = xml_element.elements['roleIds'].text end if xml_element.elements['roleNames'] != nil self.role_names = xml_element.elements['roleNames'].text end if xml_element.elements['isAccountOwner'] != nil self.is_account_owner = xml_element.elements['isAccountOwner'].text end if xml_element.elements['password'] != nil self.password = xml_element.elements['password'].text end if xml_element.elements['firstName'] != nil self.first_name = xml_element.elements['firstName'].text end if xml_element.elements['lastName'] != nil self.last_name = xml_element.elements['lastName'].text end if xml_element.elements['loginEnabled'] != nil self.login_enabled = xml_element.elements['loginEnabled'].text end end |