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.



4215
4216
4217
# File 'lib/kaltura_types.rb', line 4215

def attendance_info
  @attendance_info
end

#companyObject

Returns the value of attribute company.



4217
4218
4219
# File 'lib/kaltura_types.rb', line 4217

def company
  @company
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



4204
4205
4206
# File 'lib/kaltura_types.rb', line 4204

def date_of_birth
  @date_of_birth
end

#first_nameObject

Returns the value of attribute first_name.



4211
4212
4213
# File 'lib/kaltura_types.rb', line 4211

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



4205
4206
4207
# File 'lib/kaltura_types.rb', line 4205

def gender
  @gender
end

#is_account_ownerObject

Returns the value of attribute is_account_owner.



4209
4210
4211
# File 'lib/kaltura_types.rb', line 4209

def 
  @is_account_owner
end

#is_adminObject

Returns the value of attribute is_admin.



4206
4207
4208
# File 'lib/kaltura_types.rb', line 4206

def is_admin
  @is_admin
end

#ks_privilegesObject

Returns the value of attribute ks_privileges.



4218
4219
4220
# File 'lib/kaltura_types.rb', line 4218

def ks_privileges
  @ks_privileges
end

#last_nameObject

Returns the value of attribute last_name.



4212
4213
4214
# File 'lib/kaltura_types.rb', line 4212

def last_name
  @last_name
end

#login_enabledObject

Returns the value of attribute login_enabled.



4213
4214
4215
# File 'lib/kaltura_types.rb', line 4213

def 
  @login_enabled
end

#passwordObject

Returns the value of attribute password.



4210
4211
4212
# File 'lib/kaltura_types.rb', line 4210

def password
  @password
end

#registration_infoObject

Returns the value of attribute registration_info.



4214
4215
4216
# File 'lib/kaltura_types.rb', line 4214

def registration_info
  @registration_info
end

#role_idsObject

Returns the value of attribute role_ids.



4207
4208
4209
# File 'lib/kaltura_types.rb', line 4207

def role_ids
  @role_ids
end

#role_namesObject

Returns the value of attribute role_names.



4208
4209
4210
# File 'lib/kaltura_types.rb', line 4208

def role_names
  @role_names
end

#titleObject

Returns the value of attribute title.



4216
4217
4218
# File 'lib/kaltura_types.rb', line 4216

def title
  @title
end

#typeObject

Returns the value of attribute type.



4203
4204
4205
# File 'lib/kaltura_types.rb', line 4203

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
# File 'lib/kaltura_types.rb', line 4239

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