Class: Kaltura::KalturaBulkUploadResult

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#actionObject

Returns the value of attribute action.



1227
1228
1229
# File 'lib/kaltura_types.rb', line 1227

def action
  @action
end

#bulk_upload_job_idObject

The id of the parent job



1221
1222
1223
# File 'lib/kaltura_types.rb', line 1221

def bulk_upload_job_id
  @bulk_upload_job_id
end

#bulk_upload_result_object_typeObject

Returns the value of attribute bulk_upload_result_object_type.



1230
1231
1232
# File 'lib/kaltura_types.rb', line 1230

def bulk_upload_result_object_type
  @bulk_upload_result_object_type
end

#error_codeObject

Returns the value of attribute error_code.



1238
1239
1240
# File 'lib/kaltura_types.rb', line 1238

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



1237
1238
1239
# File 'lib/kaltura_types.rb', line 1237

def error_description
  @error_description
end

#error_typeObject

Returns the value of attribute error_type.



1239
1240
1241
# File 'lib/kaltura_types.rb', line 1239

def error_type
  @error_type
end

#idObject

The id of the result



1218
1219
1220
# File 'lib/kaltura_types.rb', line 1218

def id
  @id
end

#line_indexObject

The index of the line in the CSV



1224
1225
1226
# File 'lib/kaltura_types.rb', line 1224

def line_index
  @line_index
end

#object_error_descriptionObject

Returns the value of attribute object_error_description.



1235
1236
1237
# File 'lib/kaltura_types.rb', line 1235

def object_error_description
  @object_error_description
end

#object_idObject

Returns the value of attribute object_id.



1228
1229
1230
# File 'lib/kaltura_types.rb', line 1228

def object_id
  @object_id
end

#object_statusObject

Returns the value of attribute object_status.



1229
1230
1231
# File 'lib/kaltura_types.rb', line 1229

def object_status
  @object_status
end

#partner_dataObject

Returns the value of attribute partner_data.



1234
1235
1236
# File 'lib/kaltura_types.rb', line 1234

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



1225
1226
1227
# File 'lib/kaltura_types.rb', line 1225

def partner_id
  @partner_id
end

#plugins_dataObject

Returns the value of attribute plugins_data.



1236
1237
1238
# File 'lib/kaltura_types.rb', line 1236

def plugins_data
  @plugins_data
end

#row_dataObject

The data as recieved in the csv



1233
1234
1235
# File 'lib/kaltura_types.rb', line 1233

def row_data
  @row_data
end

#statusObject

Returns the value of attribute status.



1226
1227
1228
# File 'lib/kaltura_types.rb', line 1226

def status
  @status
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
# File 'lib/kaltura_types.rb', line 1260

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.bulk_upload_job_id = xml_element.elements['bulkUploadJobId'].text
	self.line_index = xml_element.elements['lineIndex'].text
	self.partner_id = xml_element.elements['partnerId'].text
	self.status = xml_element.elements['status'].text
	self.action = xml_element.elements['action'].text
	self.object_id = xml_element.elements['objectId'].text
	self.object_status = xml_element.elements['objectStatus'].text
	self.bulk_upload_result_object_type = xml_element.elements['bulkUploadResultObjectType'].text
	self.row_data = xml_element.elements['rowData'].text
	self.partner_data = xml_element.elements['partnerData'].text
	self.object_error_description = xml_element.elements['objectErrorDescription'].text
	self.plugins_data = KalturaClientBase.object_from_xml(xml_element.elements['pluginsData'], 'KalturaBulkUploadPluginData')
	self.error_description = xml_element.elements['errorDescription'].text
	self.error_code = xml_element.elements['errorCode'].text
	self.error_type = xml_element.elements['errorType'].text
end