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.



2243
2244
2245
# File 'lib/kaltura_types.rb', line 2243

def action
  @action
end

#bulk_upload_job_idObject

The id of the parent job



2238
2239
2240
# File 'lib/kaltura_types.rb', line 2238

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.



2246
2247
2248
# File 'lib/kaltura_types.rb', line 2246

def bulk_upload_result_object_type
  @bulk_upload_result_object_type
end

#error_codeObject

Returns the value of attribute error_code.



2253
2254
2255
# File 'lib/kaltura_types.rb', line 2253

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



2252
2253
2254
# File 'lib/kaltura_types.rb', line 2252

def error_description
  @error_description
end

#error_typeObject

Returns the value of attribute error_type.



2254
2255
2256
# File 'lib/kaltura_types.rb', line 2254

def error_type
  @error_type
end

#idObject

The id of the result



2236
2237
2238
# File 'lib/kaltura_types.rb', line 2236

def id
  @id
end

#line_indexObject

The index of the line in the CSV



2240
2241
2242
# File 'lib/kaltura_types.rb', line 2240

def line_index
  @line_index
end

#object_error_descriptionObject

Returns the value of attribute object_error_description.



2250
2251
2252
# File 'lib/kaltura_types.rb', line 2250

def object_error_description
  @object_error_description
end

#object_idObject

Returns the value of attribute object_id.



2244
2245
2246
# File 'lib/kaltura_types.rb', line 2244

def object_id
  @object_id
end

#object_statusObject

Returns the value of attribute object_status.



2245
2246
2247
# File 'lib/kaltura_types.rb', line 2245

def object_status
  @object_status
end

#partner_dataObject

Returns the value of attribute partner_data.



2249
2250
2251
# File 'lib/kaltura_types.rb', line 2249

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



2241
2242
2243
# File 'lib/kaltura_types.rb', line 2241

def partner_id
  @partner_id
end

#plugins_dataObject

Returns the value of attribute plugins_data.



2251
2252
2253
# File 'lib/kaltura_types.rb', line 2251

def plugins_data
  @plugins_data
end

#row_dataObject

The data as recieved in the csv



2248
2249
2250
# File 'lib/kaltura_types.rb', line 2248

def row_data
  @row_data
end

#statusObject

Returns the value of attribute status.



2242
2243
2244
# File 'lib/kaltura_types.rb', line 2242

def status
  @status
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
# File 'lib/kaltura_types.rb', line 2275

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