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.



4323
4324
4325
# File 'lib/kaltura_types.rb', line 4323

def attendance_info
  @attendance_info
end

#companyObject

Returns the value of attribute company.



4325
4326
4327
# File 'lib/kaltura_types.rb', line 4325

def company
  @company
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



4311
4312
4313
# File 'lib/kaltura_types.rb', line 4311

def date_of_birth
  @date_of_birth
end

#encrypted_seedObject

Returns the value of attribute encrypted_seed.



4327
4328
4329
# File 'lib/kaltura_types.rb', line 4327

def encrypted_seed
  @encrypted_seed
end

#external_idObject

This field should be sent instead of the id field whenever you want to work with hashed user ids



4330
4331
4332
# File 'lib/kaltura_types.rb', line 4330

def external_id
  @external_id
end

#first_nameObject

Returns the value of attribute first_name.



4319
4320
4321
# File 'lib/kaltura_types.rb', line 4319

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



4312
4313
4314
# File 'lib/kaltura_types.rb', line 4312

def gender
  @gender
end

#is_account_ownerObject

Returns the value of attribute is_account_owner.



4317
4318
4319
# File 'lib/kaltura_types.rb', line 4317

def 
  @is_account_owner
end

#is_adminObject

Returns the value of attribute is_admin.



4313
4314
4315
# File 'lib/kaltura_types.rb', line 4313

def is_admin
  @is_admin
end

#is_guestObject

Returns the value of attribute is_guest.



4314
4315
4316
# File 'lib/kaltura_types.rb', line 4314

def is_guest
  @is_guest
end

#is_sso_excludedObject

Returns the value of attribute is_sso_excluded.



4328
4329
4330
# File 'lib/kaltura_types.rb', line 4328

def is_sso_excluded
  @is_sso_excluded
end

#ks_privilegesObject

Returns the value of attribute ks_privileges.



4326
4327
4328
# File 'lib/kaltura_types.rb', line 4326

def ks_privileges
  @ks_privileges
end

#last_nameObject

Returns the value of attribute last_name.



4320
4321
4322
# File 'lib/kaltura_types.rb', line 4320

def last_name
  @last_name
end

#login_enabledObject

Returns the value of attribute login_enabled.



4321
4322
4323
# File 'lib/kaltura_types.rb', line 4321

def 
  @login_enabled
end

#passwordObject

Returns the value of attribute password.



4318
4319
4320
# File 'lib/kaltura_types.rb', line 4318

def password
  @password
end

#registration_infoObject

Returns the value of attribute registration_info.



4322
4323
4324
# File 'lib/kaltura_types.rb', line 4322

def registration_info
  @registration_info
end

#role_idsObject

Returns the value of attribute role_ids.



4315
4316
4317
# File 'lib/kaltura_types.rb', line 4315

def role_ids
  @role_ids
end

#role_namesObject

Returns the value of attribute role_names.



4316
4317
4318
# File 'lib/kaltura_types.rb', line 4316

def role_names
  @role_names
end

#titleObject

Returns the value of attribute title.



4324
4325
4326
# File 'lib/kaltura_types.rb', line 4324

def title
  @title
end

#typeObject

Returns the value of attribute type.



4310
4311
4312
# File 'lib/kaltura_types.rb', line 4310

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/kaltura_types.rb', line 4357

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['isGuest'] != nil
		self.is_guest = xml_element.elements['isGuest'].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
	if xml_element.elements['encryptedSeed'] != nil
		self.encrypted_seed = xml_element.elements['encryptedSeed'].text
	end
	if xml_element.elements['isSsoExcluded'] != nil
		self.is_sso_excluded = xml_element.elements['isSsoExcluded'].text
	end
	if xml_element.elements['externalId'] != nil
		self.external_id = xml_element.elements['externalId'].text
	end
end