Class: Kaltura::KalturaBaseUser

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

Direct Known Subclasses

KalturaGroup, KalturaUser

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#admin_tagsObject

Admin tags can be updated only by using an admin session



1383
1384
1385
# File 'lib/kaltura_types.rb', line 1383

def admin_tags
  @admin_tags
end

#allowed_partner_idsObject

Returns the value of attribute allowed_partner_ids.



1398
1399
1400
# File 'lib/kaltura_types.rb', line 1398

def allowed_partner_ids
  @allowed_partner_ids
end

#allowed_partner_packagesObject

Returns the value of attribute allowed_partner_packages.



1399
1400
1401
# File 'lib/kaltura_types.rb', line 1399

def allowed_partner_packages
  @allowed_partner_packages
end

#cityObject

Returns the value of attribute city.



1377
1378
1379
# File 'lib/kaltura_types.rb', line 1377

def city
  @city
end

#countryObject

Returns the value of attribute country.



1375
1376
1377
# File 'lib/kaltura_types.rb', line 1375

def country
  @country
end

#created_atObject

Creation date as Unix timestamp (In seconds)



1386
1387
1388
# File 'lib/kaltura_types.rb', line 1386

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



1397
1398
1399
# File 'lib/kaltura_types.rb', line 1397

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



1380
1381
1382
# File 'lib/kaltura_types.rb', line 1380

def description
  @description
end

#emailObject

Returns the value of attribute email.



1374
1375
1376
# File 'lib/kaltura_types.rb', line 1374

def email
  @email
end

#full_nameObject

Returns the value of attribute full_name.



1373
1374
1375
# File 'lib/kaltura_types.rb', line 1373

def full_name
  @full_name
end

#idObject

Returns the value of attribute id.



1370
1371
1372
# File 'lib/kaltura_types.rb', line 1370

def id
  @id
end

#indexed_partner_data_intObject

Returns the value of attribute indexed_partner_data_int.



1391
1392
1393
# File 'lib/kaltura_types.rb', line 1391

def indexed_partner_data_int
  @indexed_partner_data_int
end

#indexed_partner_data_stringObject

Returns the value of attribute indexed_partner_data_string.



1392
1393
1394
# File 'lib/kaltura_types.rb', line 1392

def indexed_partner_data_string
  @indexed_partner_data_string
end

#languageObject

Returns the value of attribute language.



1394
1395
1396
# File 'lib/kaltura_types.rb', line 1394

def language
  @language
end

#last_login_timeObject

Returns the value of attribute last_login_time.



1395
1396
1397
# File 'lib/kaltura_types.rb', line 1395

def 
  @last_login_time
end

#partner_dataObject

Can be used to store various partner related data as a string



1390
1391
1392
# File 'lib/kaltura_types.rb', line 1390

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



1371
1372
1373
# File 'lib/kaltura_types.rb', line 1371

def partner_id
  @partner_id
end

#screen_nameObject

Returns the value of attribute screen_name.



1372
1373
1374
# File 'lib/kaltura_types.rb', line 1372

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



1376
1377
1378
# File 'lib/kaltura_types.rb', line 1376

def state
  @state
end

#statusObject

Returns the value of attribute status.



1384
1385
1386
# File 'lib/kaltura_types.rb', line 1384

def status
  @status
end

#status_updated_atObject

Returns the value of attribute status_updated_at.



1396
1397
1398
# File 'lib/kaltura_types.rb', line 1396

def status_updated_at
  @status_updated_at
end

#storage_sizeObject

Returns the value of attribute storage_size.



1393
1394
1395
# File 'lib/kaltura_types.rb', line 1393

def storage_size
  @storage_size
end

#tagsObject

Returns the value of attribute tags.



1381
1382
1383
# File 'lib/kaltura_types.rb', line 1381

def tags
  @tags
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



1379
1380
1381
# File 'lib/kaltura_types.rb', line 1379

def thumbnail_url
  @thumbnail_url
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



1388
1389
1390
# File 'lib/kaltura_types.rb', line 1388

def updated_at
  @updated_at
end

#user_modeObject

Returns the value of attribute user_mode.



1400
1401
1402
# File 'lib/kaltura_types.rb', line 1400

def user_mode
  @user_mode
end

#zipObject

Returns the value of attribute zip.



1378
1379
1380
# File 'lib/kaltura_types.rb', line 1378

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
# File 'lib/kaltura_types.rb', line 1433

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['screenName'] != nil
		self.screen_name = xml_element.elements['screenName'].text
	end
	if xml_element.elements['fullName'] != nil
		self.full_name = xml_element.elements['fullName'].text
	end
	if xml_element.elements['email'] != nil
		self.email = xml_element.elements['email'].text
	end
	if xml_element.elements['country'] != nil
		self.country = xml_element.elements['country'].text
	end
	if xml_element.elements['state'] != nil
		self.state = xml_element.elements['state'].text
	end
	if xml_element.elements['city'] != nil
		self.city = xml_element.elements['city'].text
	end
	if xml_element.elements['zip'] != nil
		self.zip = xml_element.elements['zip'].text
	end
	if xml_element.elements['thumbnailUrl'] != nil
		self.thumbnail_url = xml_element.elements['thumbnailUrl'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['adminTags'] != nil
		self.admin_tags = xml_element.elements['adminTags'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['partnerData'] != nil
		self.partner_data = xml_element.elements['partnerData'].text
	end
	if xml_element.elements['indexedPartnerDataInt'] != nil
		self.indexed_partner_data_int = xml_element.elements['indexedPartnerDataInt'].text
	end
	if xml_element.elements['indexedPartnerDataString'] != nil
		self.indexed_partner_data_string = xml_element.elements['indexedPartnerDataString'].text
	end
	if xml_element.elements['storageSize'] != nil
		self.storage_size = xml_element.elements['storageSize'].text
	end
	if xml_element.elements['language'] != nil
		self.language = xml_element.elements['language'].text
	end
	if xml_element.elements['lastLoginTime'] != nil
		self. = xml_element.elements['lastLoginTime'].text
	end
	if xml_element.elements['statusUpdatedAt'] != nil
		self.status_updated_at = xml_element.elements['statusUpdatedAt'].text
	end
	if xml_element.elements['deletedAt'] != nil
		self.deleted_at = xml_element.elements['deletedAt'].text
	end
	if xml_element.elements['allowedPartnerIds'] != nil
		self.allowed_partner_ids = xml_element.elements['allowedPartnerIds'].text
	end
	if xml_element.elements['allowedPartnerPackages'] != nil
		self.allowed_partner_packages = xml_element.elements['allowedPartnerPackages'].text
	end
	if xml_element.elements['userMode'] != nil
		self.user_mode = xml_element.elements['userMode'].text
	end
end