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.



11188
11189
11190
# File 'lib/kaltura_types.rb', line 11188

def city
  @city
end

#countryObject

Returns the value of attribute country.



11186
11187
11188
# File 'lib/kaltura_types.rb', line 11186

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11185
11186
11187
# File 'lib/kaltura_types.rb', line 11185

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11183
11184
11185
# File 'lib/kaltura_types.rb', line 11183

def description
  @description
end

#emailObject

Returns the value of attribute email.



11182
11183
11184
# File 'lib/kaltura_types.rb', line 11182

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11191
11192
11193
# File 'lib/kaltura_types.rb', line 11191

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11190
11191
11192
# File 'lib/kaltura_types.rb', line 11190

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11193
11194
11195
# File 'lib/kaltura_types.rb', line 11193

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11192
11193
11194
# File 'lib/kaltura_types.rb', line 11192

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11181
11182
11183
# File 'lib/kaltura_types.rb', line 11181

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11187
11188
11189
# File 'lib/kaltura_types.rb', line 11187

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11184
11185
11186
# File 'lib/kaltura_types.rb', line 11184

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11180
11181
11182
# File 'lib/kaltura_types.rb', line 11180

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11189
11190
11191
# File 'lib/kaltura_types.rb', line 11189

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
# File 'lib/kaltura_types.rb', line 11202

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