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



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

def admin_tags
  @admin_tags
end

#allowed_partner_idsObject

Returns the value of attribute allowed_partner_ids.



1347
1348
1349
# File 'lib/kaltura_types.rb', line 1347

def allowed_partner_ids
  @allowed_partner_ids
end

#allowed_partner_packagesObject

Returns the value of attribute allowed_partner_packages.



1348
1349
1350
# File 'lib/kaltura_types.rb', line 1348

def allowed_partner_packages
  @allowed_partner_packages
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#created_atObject

Creation date as Unix timestamp (In seconds)



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

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



1346
1347
1348
# File 'lib/kaltura_types.rb', line 1346

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#full_nameObject

Returns the value of attribute full_name.



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

def full_name
  @full_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#indexed_partner_data_intObject

Returns the value of attribute indexed_partner_data_int.



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

def indexed_partner_data_int
  @indexed_partner_data_int
end

#indexed_partner_data_stringObject

Returns the value of attribute indexed_partner_data_string.



1341
1342
1343
# File 'lib/kaltura_types.rb', line 1341

def indexed_partner_data_string
  @indexed_partner_data_string
end

#languageObject

Returns the value of attribute language.



1343
1344
1345
# File 'lib/kaltura_types.rb', line 1343

def language
  @language
end

#last_login_timeObject

Returns the value of attribute last_login_time.



1344
1345
1346
# File 'lib/kaltura_types.rb', line 1344

def 
  
end

#partner_dataObject

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



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

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



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

def partner_id
  @partner_id
end

#screen_nameObject

Returns the value of attribute screen_name.



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

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#status_updated_atObject

Returns the value of attribute status_updated_at.



1345
1346
1347
# File 'lib/kaltura_types.rb', line 1345

def status_updated_at
  @status_updated_at
end

#storage_sizeObject

Returns the value of attribute storage_size.



1342
1343
1344
# File 'lib/kaltura_types.rb', line 1342

def storage_size
  @storage_size
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



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

def thumbnail_url
  @thumbnail_url
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



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

def updated_at
  @updated_at
end

#user_modeObject

Returns the value of attribute user_mode.



1349
1350
1351
# File 'lib/kaltura_types.rb', line 1349

def user_mode
  @user_mode
end

#zipObject

Returns the value of attribute zip.



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

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
# File 'lib/kaltura_types.rb', line 1382

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