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



1322
1323
1324
# File 'lib/kaltura_types.rb', line 1322

def admin_tags
  @admin_tags
end

#allowed_partner_idsObject

Returns the value of attribute allowed_partner_ids.



1337
1338
1339
# File 'lib/kaltura_types.rb', line 1337

def allowed_partner_ids
  @allowed_partner_ids
end

#allowed_partner_packagesObject

Returns the value of attribute allowed_partner_packages.



1338
1339
1340
# File 'lib/kaltura_types.rb', line 1338

def allowed_partner_packages
  @allowed_partner_packages
end

#cityObject

Returns the value of attribute city.



1316
1317
1318
# File 'lib/kaltura_types.rb', line 1316

def city
  @city
end

#countryObject

Returns the value of attribute country.



1314
1315
1316
# File 'lib/kaltura_types.rb', line 1314

def country
  @country
end

#created_atObject

Creation date as Unix timestamp (In seconds)



1325
1326
1327
# File 'lib/kaltura_types.rb', line 1325

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



1336
1337
1338
# File 'lib/kaltura_types.rb', line 1336

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



1319
1320
1321
# File 'lib/kaltura_types.rb', line 1319

def description
  @description
end

#emailObject

Returns the value of attribute email.



1313
1314
1315
# File 'lib/kaltura_types.rb', line 1313

def email
  @email
end

#full_nameObject

Returns the value of attribute full_name.



1312
1313
1314
# File 'lib/kaltura_types.rb', line 1312

def full_name
  @full_name
end

#idObject

Returns the value of attribute id.



1309
1310
1311
# File 'lib/kaltura_types.rb', line 1309

def id
  @id
end

#indexed_partner_data_intObject

Returns the value of attribute indexed_partner_data_int.



1330
1331
1332
# File 'lib/kaltura_types.rb', line 1330

def indexed_partner_data_int
  @indexed_partner_data_int
end

#indexed_partner_data_stringObject

Returns the value of attribute indexed_partner_data_string.



1331
1332
1333
# File 'lib/kaltura_types.rb', line 1331

def indexed_partner_data_string
  @indexed_partner_data_string
end

#languageObject

Returns the value of attribute language.



1333
1334
1335
# File 'lib/kaltura_types.rb', line 1333

def language
  @language
end

#last_login_timeObject

Returns the value of attribute last_login_time.



1334
1335
1336
# File 'lib/kaltura_types.rb', line 1334

def 
  @last_login_time
end

#partner_dataObject

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



1329
1330
1331
# File 'lib/kaltura_types.rb', line 1329

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



1310
1311
1312
# File 'lib/kaltura_types.rb', line 1310

def partner_id
  @partner_id
end

#screen_nameObject

Returns the value of attribute screen_name.



1311
1312
1313
# File 'lib/kaltura_types.rb', line 1311

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



1315
1316
1317
# File 'lib/kaltura_types.rb', line 1315

def state
  @state
end

#statusObject

Returns the value of attribute status.



1323
1324
1325
# File 'lib/kaltura_types.rb', line 1323

def status
  @status
end

#status_updated_atObject

Returns the value of attribute status_updated_at.



1335
1336
1337
# File 'lib/kaltura_types.rb', line 1335

def status_updated_at
  @status_updated_at
end

#storage_sizeObject

Returns the value of attribute storage_size.



1332
1333
1334
# File 'lib/kaltura_types.rb', line 1332

def storage_size
  @storage_size
end

#tagsObject

Returns the value of attribute tags.



1320
1321
1322
# File 'lib/kaltura_types.rb', line 1320

def tags
  @tags
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



1318
1319
1320
# File 'lib/kaltura_types.rb', line 1318

def thumbnail_url
  @thumbnail_url
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



1327
1328
1329
# File 'lib/kaltura_types.rb', line 1327

def updated_at
  @updated_at
end

#user_modeObject

Returns the value of attribute user_mode.



1339
1340
1341
# File 'lib/kaltura_types.rb', line 1339

def user_mode
  @user_mode
end

#zipObject

Returns the value of attribute zip.



1317
1318
1319
# File 'lib/kaltura_types.rb', line 1317

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
# File 'lib/kaltura_types.rb', line 1372

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