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



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

def admin_tags
  @admin_tags
end

#allowed_partner_idsObject

Returns the value of attribute allowed_partner_ids.



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

def allowed_partner_ids
  @allowed_partner_ids
end

#allowed_partner_packagesObject

Returns the value of attribute allowed_partner_packages.



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

def allowed_partner_packages
  @allowed_partner_packages
end

#cityObject

Returns the value of attribute city.



1303
1304
1305
# File 'lib/kaltura_types.rb', line 1303

def city
  @city
end

#countryObject

Returns the value of attribute country.



1301
1302
1303
# File 'lib/kaltura_types.rb', line 1301

def country
  @country
end

#created_atObject

Creation date as Unix timestamp (In seconds)



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

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



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

def deleted_at
  @deleted_at
end

#descriptionObject

Returns the value of attribute description.



1306
1307
1308
# File 'lib/kaltura_types.rb', line 1306

def description
  @description
end

#emailObject

Returns the value of attribute email.



1300
1301
1302
# File 'lib/kaltura_types.rb', line 1300

def email
  @email
end

#full_nameObject

Returns the value of attribute full_name.



1299
1300
1301
# File 'lib/kaltura_types.rb', line 1299

def full_name
  @full_name
end

#idObject

Returns the value of attribute id.



1296
1297
1298
# File 'lib/kaltura_types.rb', line 1296

def id
  @id
end

#indexed_partner_data_intObject

Returns the value of attribute indexed_partner_data_int.



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

def indexed_partner_data_int
  @indexed_partner_data_int
end

#indexed_partner_data_stringObject

Returns the value of attribute indexed_partner_data_string.



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

def indexed_partner_data_string
  @indexed_partner_data_string
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#last_login_timeObject

Returns the value of attribute last_login_time.



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

def 
  
end

#partner_dataObject

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



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

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



1297
1298
1299
# File 'lib/kaltura_types.rb', line 1297

def partner_id
  @partner_id
end

#screen_nameObject

Returns the value of attribute screen_name.



1298
1299
1300
# File 'lib/kaltura_types.rb', line 1298

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



1302
1303
1304
# File 'lib/kaltura_types.rb', line 1302

def state
  @state
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#status_updated_atObject

Returns the value of attribute status_updated_at.



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

def status_updated_at
  @status_updated_at
end

#storage_sizeObject

Returns the value of attribute storage_size.



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

def storage_size
  @storage_size
end

#tagsObject

Returns the value of attribute tags.



1307
1308
1309
# File 'lib/kaltura_types.rb', line 1307

def tags
  @tags
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



1305
1306
1307
# File 'lib/kaltura_types.rb', line 1305

def thumbnail_url
  @thumbnail_url
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



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

def updated_at
  @updated_at
end

#user_modeObject

Returns the value of attribute user_mode.



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

def user_mode
  @user_mode
end

#zipObject

Returns the value of attribute zip.



1304
1305
1306
# File 'lib/kaltura_types.rb', line 1304

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
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
# File 'lib/kaltura_types.rb', line 1359

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