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.



2330
2331
2332
# File 'lib/kaltura_types.rb', line 2330

def action
  @action
end

#bulk_upload_job_idObject

The id of the parent job



2325
2326
2327
# File 'lib/kaltura_types.rb', line 2325

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.



2333
2334
2335
# File 'lib/kaltura_types.rb', line 2333

def bulk_upload_result_object_type
  @bulk_upload_result_object_type
end

#error_codeObject

Returns the value of attribute error_code.



2340
2341
2342
# File 'lib/kaltura_types.rb', line 2340

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



2339
2340
2341
# File 'lib/kaltura_types.rb', line 2339

def error_description
  @error_description
end

#error_typeObject

Returns the value of attribute error_type.



2341
2342
2343
# File 'lib/kaltura_types.rb', line 2341

def error_type
  @error_type
end

#idObject

The id of the result



2323
2324
2325
# File 'lib/kaltura_types.rb', line 2323

def id
  @id
end

#line_indexObject

The index of the line in the CSV



2327
2328
2329
# File 'lib/kaltura_types.rb', line 2327

def line_index
  @line_index
end

#object_error_descriptionObject

Returns the value of attribute object_error_description.



2337
2338
2339
# File 'lib/kaltura_types.rb', line 2337

def object_error_description
  @object_error_description
end

#object_idObject

Returns the value of attribute object_id.



2331
2332
2333
# File 'lib/kaltura_types.rb', line 2331

def object_id
  @object_id
end

#object_statusObject

Returns the value of attribute object_status.



2332
2333
2334
# File 'lib/kaltura_types.rb', line 2332

def object_status
  @object_status
end

#partner_dataObject

Returns the value of attribute partner_data.



2336
2337
2338
# File 'lib/kaltura_types.rb', line 2336

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



2328
2329
2330
# File 'lib/kaltura_types.rb', line 2328

def partner_id
  @partner_id
end

#plugins_dataObject

Returns the value of attribute plugins_data.



2338
2339
2340
# File 'lib/kaltura_types.rb', line 2338

def plugins_data
  @plugins_data
end

#row_dataObject

The data as recieved in the csv



2335
2336
2337
# File 'lib/kaltura_types.rb', line 2335

def row_data
  @row_data
end

#statusObject

Returns the value of attribute status.



2329
2330
2331
# File 'lib/kaltura_types.rb', line 2329

def status
  @status
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
# File 'lib/kaltura_types.rb', line 2362

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