Class: Kaltura::KalturaUser
- Inherits:
-
KalturaBaseUser
- Object
- KalturaObjectBase
- KalturaBaseUser
- Kaltura::KalturaUser
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attendance_info ⇒ Object
Returns the value of attribute attendance_info.
-
#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.
-
#registration_info ⇒ Object
Returns the value of attribute registration_info.
-
#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
#attendance_info ⇒ Object
Returns the value of attribute attendance_info.
4167 4168 4169 |
# File 'lib/kaltura_types.rb', line 4167 def attendance_info @attendance_info end |
#date_of_birth ⇒ Object
Returns the value of attribute date_of_birth.
4156 4157 4158 |
# File 'lib/kaltura_types.rb', line 4156 def date_of_birth @date_of_birth end |
#first_name ⇒ Object
Returns the value of attribute first_name.
4163 4164 4165 |
# File 'lib/kaltura_types.rb', line 4163 def first_name @first_name end |
#gender ⇒ Object
Returns the value of attribute gender.
4157 4158 4159 |
# File 'lib/kaltura_types.rb', line 4157 def gender @gender end |
#is_account_owner ⇒ Object
Returns the value of attribute is_account_owner.
4161 4162 4163 |
# File 'lib/kaltura_types.rb', line 4161 def is_account_owner @is_account_owner end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
4158 4159 4160 |
# File 'lib/kaltura_types.rb', line 4158 def is_admin @is_admin end |
#last_name ⇒ Object
Returns the value of attribute last_name.
4164 4165 4166 |
# File 'lib/kaltura_types.rb', line 4164 def last_name @last_name end |
#login_enabled ⇒ Object
Returns the value of attribute login_enabled.
4165 4166 4167 |
# File 'lib/kaltura_types.rb', line 4165 def login_enabled @login_enabled end |
#password ⇒ Object
Returns the value of attribute password.
4162 4163 4164 |
# File 'lib/kaltura_types.rb', line 4162 def password @password end |
#registration_info ⇒ Object
Returns the value of attribute registration_info.
4166 4167 4168 |
# File 'lib/kaltura_types.rb', line 4166 def registration_info @registration_info end |
#role_ids ⇒ Object
Returns the value of attribute role_ids.
4159 4160 4161 |
# File 'lib/kaltura_types.rb', line 4159 def role_ids @role_ids end |
#role_names ⇒ Object
Returns the value of attribute role_names.
4160 4161 4162 |
# File 'lib/kaltura_types.rb', line 4160 def role_names @role_names end |
#type ⇒ Object
Returns the value of attribute type.
4155 4156 4157 |
# File 'lib/kaltura_types.rb', line 4155 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 |
# File 'lib/kaltura_types.rb', line 4188 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 if xml_element.elements['registrationInfo'] != nil self.registration_info = xml_element.elements['registrationInfo'].text end if xml_element.elements['attendanceInfo'] != nil self.attendance_info = xml_element.elements['attendanceInfo'].text end end |