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



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

def admin_tags
  @admin_tags
end

#allowed_partner_idsObject

Returns the value of attribute allowed_partner_ids.



1355
1356
1357
# File 'lib/kaltura_types.rb', line 1355

def allowed_partner_ids
  @allowed_partner_ids
end

#allowed_partner_packagesObject

Returns the value of attribute allowed_partner_packages.



1356
1357
1358
# File 'lib/kaltura_types.rb', line 1356

def allowed_partner_packages
  @allowed_partner_packages
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#created_atObject

Creation date as Unix timestamp (In seconds)



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

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



1354
1355
1356
# File 'lib/kaltura_types.rb', line 1354

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#full_nameObject

Returns the value of attribute full_name.



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

def full_name
  @full_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#indexed_partner_data_intObject

Returns the value of attribute indexed_partner_data_int.



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

def indexed_partner_data_int
  @indexed_partner_data_int
end

#indexed_partner_data_stringObject

Returns the value of attribute indexed_partner_data_string.



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

def indexed_partner_data_string
  @indexed_partner_data_string
end

#languageObject

Returns the value of attribute language.



1351
1352
1353
# File 'lib/kaltura_types.rb', line 1351

def language
  @language
end

#last_login_timeObject

Returns the value of attribute last_login_time.



1352
1353
1354
# File 'lib/kaltura_types.rb', line 1352

def 
  
end

#partner_dataObject

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



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

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



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

def partner_id
  @partner_id
end

#screen_nameObject

Returns the value of attribute screen_name.



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

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#status_updated_atObject

Returns the value of attribute status_updated_at.



1353
1354
1355
# File 'lib/kaltura_types.rb', line 1353

def status_updated_at
  @status_updated_at
end

#storage_sizeObject

Returns the value of attribute storage_size.



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

def storage_size
  @storage_size
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



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

def thumbnail_url
  @thumbnail_url
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



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

def updated_at
  @updated_at
end

#user_modeObject

Returns the value of attribute user_mode.



1357
1358
1359
# File 'lib/kaltura_types.rb', line 1357

def user_mode
  @user_mode
end

#zipObject

Returns the value of attribute zip.



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

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
1466
1467
1468
1469
1470
1471
1472
1473
# File 'lib/kaltura_types.rb', line 1390

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