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.



11400
11401
11402
# File 'lib/kaltura_types.rb', line 11400

def city
  @city
end

#countryObject

Returns the value of attribute country.



11398
11399
11400
# File 'lib/kaltura_types.rb', line 11398

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11397
11398
11399
# File 'lib/kaltura_types.rb', line 11397

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11395
11396
11397
# File 'lib/kaltura_types.rb', line 11395

def description
  @description
end

#emailObject

Returns the value of attribute email.



11394
11395
11396
# File 'lib/kaltura_types.rb', line 11394

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11403
11404
11405
# File 'lib/kaltura_types.rb', line 11403

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11402
11403
11404
# File 'lib/kaltura_types.rb', line 11402

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11405
11406
11407
# File 'lib/kaltura_types.rb', line 11405

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11404
11405
11406
# File 'lib/kaltura_types.rb', line 11404

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11393
11394
11395
# File 'lib/kaltura_types.rb', line 11393

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11399
11400
11401
# File 'lib/kaltura_types.rb', line 11399

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11396
11397
11398
# File 'lib/kaltura_types.rb', line 11396

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11392
11393
11394
# File 'lib/kaltura_types.rb', line 11392

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11401
11402
11403
# File 'lib/kaltura_types.rb', line 11401

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
# File 'lib/kaltura_types.rb', line 11414

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