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.



11629
11630
11631
# File 'lib/kaltura_types.rb', line 11629

def city
  @city
end

#countryObject

Returns the value of attribute country.



11627
11628
11629
# File 'lib/kaltura_types.rb', line 11627

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11626
11627
11628
# File 'lib/kaltura_types.rb', line 11626

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11624
11625
11626
# File 'lib/kaltura_types.rb', line 11624

def description
  @description
end

#emailObject

Returns the value of attribute email.



11623
11624
11625
# File 'lib/kaltura_types.rb', line 11623

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11632
11633
11634
# File 'lib/kaltura_types.rb', line 11632

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11631
11632
11633
# File 'lib/kaltura_types.rb', line 11631

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11634
11635
11636
# File 'lib/kaltura_types.rb', line 11634

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11633
11634
11635
# File 'lib/kaltura_types.rb', line 11633

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11622
11623
11624
# File 'lib/kaltura_types.rb', line 11622

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11628
11629
11630
# File 'lib/kaltura_types.rb', line 11628

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11625
11626
11627
# File 'lib/kaltura_types.rb', line 11625

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11621
11622
11623
# File 'lib/kaltura_types.rb', line 11621

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11630
11631
11632
# File 'lib/kaltura_types.rb', line 11630

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
# File 'lib/kaltura_types.rb', line 11643

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