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.



11212
11213
11214
# File 'lib/kaltura_types.rb', line 11212

def city
  @city
end

#countryObject

Returns the value of attribute country.



11210
11211
11212
# File 'lib/kaltura_types.rb', line 11210

def country
  @country
end

#date_of_birthObject

Returns the value of attribute date_of_birth.



11209
11210
11211
# File 'lib/kaltura_types.rb', line 11209

def date_of_birth
  @date_of_birth
end

#descriptionObject

Returns the value of attribute description.



11207
11208
11209
# File 'lib/kaltura_types.rb', line 11207

def description
  @description
end

#emailObject

Returns the value of attribute email.



11206
11207
11208
# File 'lib/kaltura_types.rb', line 11206

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



11215
11216
11217
# File 'lib/kaltura_types.rb', line 11215

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



11214
11215
11216
# File 'lib/kaltura_types.rb', line 11214

def gender
  @gender
end

#groupObject

Returns the value of attribute group.



11217
11218
11219
# File 'lib/kaltura_types.rb', line 11217

def group
  @group
end

#last_nameObject

Returns the value of attribute last_name.



11216
11217
11218
# File 'lib/kaltura_types.rb', line 11216

def last_name
  @last_name
end

#screen_nameObject

Returns the value of attribute screen_name.



11205
11206
11207
# File 'lib/kaltura_types.rb', line 11205

def screen_name
  @screen_name
end

#stateObject

Returns the value of attribute state.



11211
11212
11213
# File 'lib/kaltura_types.rb', line 11211

def state
  @state
end

#tagsObject

Returns the value of attribute tags.



11208
11209
11210
# File 'lib/kaltura_types.rb', line 11208

def tags
  @tags
end

#user_idObject

Returns the value of attribute user_id.



11204
11205
11206
# File 'lib/kaltura_types.rb', line 11204

def user_id
  @user_id
end

#zipObject

Returns the value of attribute zip.



11213
11214
11215
# File 'lib/kaltura_types.rb', line 11213

def zip
  @zip
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
# File 'lib/kaltura_types.rb', line 11226

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