Class: Kaltura::KalturaUser

Inherits:
KalturaBaseUser show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaAdminUser

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#attendance_infoObject

Returns the value of attribute attendance_info.



4179
4180
4181
# File 'lib/kaltura_types.rb', line 4179

def attendance_info
  @attendance_info
end

#companyObject

Returns the value of attribute company.



4181
4182
4183
# File 'lib/kaltura_types.rb', line 4181

def company
  @company
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



4168
4169
4170
# File 'lib/kaltura_types.rb', line 4168

def date_of_birth
  @date_of_birth
end

#first_nameObject

Returns the value of attribute first_name.



4175
4176
4177
# File 'lib/kaltura_types.rb', line 4175

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



4169
4170
4171
# File 'lib/kaltura_types.rb', line 4169

def gender
  @gender
end

#is_account_ownerObject

Returns the value of attribute is_account_owner.



4173
4174
4175
# File 'lib/kaltura_types.rb', line 4173

def 
  
end

#is_adminObject

Returns the value of attribute is_admin.



4170
4171
4172
# File 'lib/kaltura_types.rb', line 4170

def is_admin
  @is_admin
end

#ks_privilegesObject

Returns the value of attribute ks_privileges.



4182
4183
4184
# File 'lib/kaltura_types.rb', line 4182

def ks_privileges
  @ks_privileges
end

#last_nameObject

Returns the value of attribute last_name.



4176
4177
4178
# File 'lib/kaltura_types.rb', line 4176

def last_name
  @last_name
end

#login_enabledObject

Returns the value of attribute login_enabled.



4177
4178
4179
# File 'lib/kaltura_types.rb', line 4177

def 
  @login_enabled
end

#passwordObject

Returns the value of attribute password.



4174
4175
4176
# File 'lib/kaltura_types.rb', line 4174

def password
  @password
end

#registration_infoObject

Returns the value of attribute registration_info.



4178
4179
4180
# File 'lib/kaltura_types.rb', line 4178

def registration_info
  @registration_info
end

#role_idsObject

Returns the value of attribute role_ids.



4171
4172
4173
# File 'lib/kaltura_types.rb', line 4171

def role_ids
  @role_ids
end

#role_namesObject

Returns the value of attribute role_names.



4172
4173
4174
# File 'lib/kaltura_types.rb', line 4172

def role_names
  @role_names
end

#titleObject

Returns the value of attribute title.



4180
4181
4182
# File 'lib/kaltura_types.rb', line 4180

def title
  @title
end

#typeObject

Returns the value of attribute type.



4167
4168
4169
# File 'lib/kaltura_types.rb', line 4167

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
# File 'lib/kaltura_types.rb', line 4203

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. = 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. = 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
  if xml_element.elements['title'] != nil
    self.title = xml_element.elements['title'].text
  end
  if xml_element.elements['company'] != nil
    self.company = xml_element.elements['company'].text
  end
  if xml_element.elements['ksPrivileges'] != nil
    self.ks_privileges = xml_element.elements['ksPrivileges'].text
  end
end