Class: Kaltura::KalturaBulkUploadResultUser

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

Instance Attribute Summary collapse

Attributes inherited from KalturaBulkUploadResult

#action, #bulk_upload_job_id, #bulk_upload_result_object_type, #error_code, #error_description, #error_type, #id, #line_index, #object_error_description, #object_id, #object_status, #partner_data, #partner_id, #plugins_data, #row_data, #status

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#cityObject

Returns the value of attribute city.



11467
11468
11469
# File 'lib/kaltura_types.rb', line 11467

def city
  @city
end

#countryObject

Returns the value of attribute country.



11465
11466
11467
# File 'lib/kaltura_types.rb', line 11465

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11464
11465
11466
# File 'lib/kaltura_types.rb', line 11464

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11462
11463
11464
# File 'lib/kaltura_types.rb', line 11462

def description
  @description
end

#emailObject

Returns the value of attribute email.



11461
11462
11463
# File 'lib/kaltura_types.rb', line 11461

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11470
11471
11472
# File 'lib/kaltura_types.rb', line 11470

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11469
11470
11471
# File 'lib/kaltura_types.rb', line 11469

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11472
11473
11474
# File 'lib/kaltura_types.rb', line 11472

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11471
11472
11473
# File 'lib/kaltura_types.rb', line 11471

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11460
11461
11462
# File 'lib/kaltura_types.rb', line 11460

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11466
11467
11468
# File 'lib/kaltura_types.rb', line 11466

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11463
11464
11465
# File 'lib/kaltura_types.rb', line 11463

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11459
11460
11461
# File 'lib/kaltura_types.rb', line 11459

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11468
11469
11470
# File 'lib/kaltura_types.rb', line 11468

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
# File 'lib/kaltura_types.rb', line 11481

def from_xml(xml_element)
  super
  if xml_element.elements['userId'] != nil
    self.user_id = xml_element.elements['userId'].text
  end
  if xml_element.elements['screenName'] != nil
    self.screen_name = xml_element.elements['screenName'].text
  end
  if xml_element.elements['email'] != nil
    self.email = xml_element.elements['email'].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['dateOfBirth'] != nil
    self.date_of_birth = xml_element.elements['dateOfBirth'].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['gender'] != nil
    self.gender = xml_element.elements['gender'].text
  end
  if xml_element.elements['firstName'] != nil
    self.first_name = xml_element.elements['firstName'].text
  end
  if xml_element.elements['lastName'] != nil
    self.last_name = xml_element.elements['lastName'].text
  end
  if xml_element.elements['group'] != nil
    self.group = xml_element.elements['group'].text
  end
end