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.



11743
11744
11745
# File 'lib/kaltura_types.rb', line 11743

def city
  @city
end

#countryObject

Returns the value of attribute country.



11741
11742
11743
# File 'lib/kaltura_types.rb', line 11741

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11740
11741
11742
# File 'lib/kaltura_types.rb', line 11740

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11738
11739
11740
# File 'lib/kaltura_types.rb', line 11738

def description
  @description
end

#emailObject

Returns the value of attribute email.



11737
11738
11739
# File 'lib/kaltura_types.rb', line 11737

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11746
11747
11748
# File 'lib/kaltura_types.rb', line 11746

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11745
11746
11747
# File 'lib/kaltura_types.rb', line 11745

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11748
11749
11750
# File 'lib/kaltura_types.rb', line 11748

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11747
11748
11749
# File 'lib/kaltura_types.rb', line 11747

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11736
11737
11738
# File 'lib/kaltura_types.rb', line 11736

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11742
11743
11744
# File 'lib/kaltura_types.rb', line 11742

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11739
11740
11741
# File 'lib/kaltura_types.rb', line 11739

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11735
11736
11737
# File 'lib/kaltura_types.rb', line 11735

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11744
11745
11746
# File 'lib/kaltura_types.rb', line 11744

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
# File 'lib/kaltura_types.rb', line 11757

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