Class: Kaltura::KalturaEntryVendorTask

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_reach_client_plugin.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

#access_keyObject

Access key generated by Kaltura to allow vendors to ingest the end result to the destination



309
310
311
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 309

def access_key
  @access_key
end

#accuracyObject

Task result accuracy percentage



318
319
320
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 318

def accuracy
  @accuracy
end

#catalog_item_idObject

The catalog item Id containing the task description



299
300
301
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 299

def catalog_item_id
  @catalog_item_id
end

#contextObject

Task context



316
317
318
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 316

def context
  @context
end

#created_atObject

Returns the value of attribute created_at.



290
291
292
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 290

def created_at
  @created_at
end

#creation_modeObject

Task creation mode



324
325
326
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 324

def creation_mode
  @creation_mode
end

#dictionaryObject

Returns the value of attribute dictionary.



314
315
316
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 314

def dictionary
  @dictionary
end

#entry_idObject

Returns the value of attribute entry_id.



294
295
296
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 294

def entry_id
  @entry_id
end

#err_descriptionObject

Err description provided by provider in case job execution has failed



307
308
309
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 307

def err_description
  @err_description
end

#expected_finish_timeObject

Returns the value of attribute expected_finish_time.



326
327
328
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 326

def expected_finish_time
  @expected_finish_time
end

#external_task_idObject

The vendor’s task internal Id



331
332
333
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 331

def external_task_id
  @external_task_id
end

#finish_timeObject

Returns the value of attribute finish_time.



293
294
295
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 293

def finish_time
  @finish_time
end

#idObject

Returns the value of attribute id.



287
288
289
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 287

def id
  @id
end

#moderating_userObject

The user ID that approved this task for execution (in case moderation is requested)



305
306
307
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 305

def moderating_user
  @moderating_user
end

#notesObject

User generated notes that should be taken into account by the vendor while executing the task



313
314
315
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 313

def notes
  @notes
end

#output_object_idObject

Task main object generated by executing the task



320
321
322
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 320

def output_object_id
  @output_object_id
end

#partner_dataObject

Json object containing extra task data required by the requester



322
323
324
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 322

def partner_data
  @partner_data
end

#partner_idObject

Returns the value of attribute partner_id.



288
289
290
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 288

def partner_id
  @partner_id
end

#priceObject

The charged price to execute this task



301
302
303
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 301

def price
  @price
end

#queue_timeObject

Returns the value of attribute queue_time.



292
293
294
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 292

def queue_time
  @queue_time
end

#reach_profile_idObject

The profile id from which this task base config is taken from



297
298
299
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 297

def reach_profile_id
  @reach_profile_id
end

#service_featureObject

Returns the value of attribute service_feature.



328
329
330
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 328

def service_feature
  @service_feature
end

#service_typeObject

Returns the value of attribute service_type.



327
328
329
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 327

def service_type
  @service_type
end

#statusObject

Returns the value of attribute status.



295
296
297
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 295

def status
  @status
end

#task_job_dataObject

Returns the value of attribute task_job_data.



325
326
327
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 325

def task_job_data
  @task_job_data
end

#turn_around_timeObject

Returns the value of attribute turn_around_time.



329
330
331
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 329

def turn_around_time
  @turn_around_time
end

#updated_atObject

Returns the value of attribute updated_at.



291
292
293
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 291

def updated_at
  @updated_at
end

#user_idObject

The ID of the user who created this task



303
304
305
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 303

def user_id
  @user_id
end

#vendor_partner_idObject

Returns the value of attribute vendor_partner_id.



289
290
291
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 289

def vendor_partner_id
  @vendor_partner_id
end

#versionObject

Vendor generated by Kaltura representing the entry vendor task version correlated to the entry version



311
312
313
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 311

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 385

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['vendorPartnerId'] != nil
		self.vendor_partner_id = xml_element.elements['vendorPartnerId'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['queueTime'] != nil
		self.queue_time = xml_element.elements['queueTime'].text
	end
	if xml_element.elements['finishTime'] != nil
		self.finish_time = xml_element.elements['finishTime'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['reachProfileId'] != nil
		self.reach_profile_id = xml_element.elements['reachProfileId'].text
	end
	if xml_element.elements['catalogItemId'] != nil
		self.catalog_item_id = xml_element.elements['catalogItemId'].text
	end
	if xml_element.elements['price'] != nil
		self.price = xml_element.elements['price'].text
	end
	if xml_element.elements['userId'] != nil
		self.user_id = xml_element.elements['userId'].text
	end
	if xml_element.elements['moderatingUser'] != nil
		self.moderating_user = xml_element.elements['moderatingUser'].text
	end
	if xml_element.elements['errDescription'] != nil
		self.err_description = xml_element.elements['errDescription'].text
	end
	if xml_element.elements['accessKey'] != nil
		self.access_key = xml_element.elements['accessKey'].text
	end
	if xml_element.elements['version'] != nil
		self.version = xml_element.elements['version'].text
	end
	if xml_element.elements['notes'] != nil
		self.notes = xml_element.elements['notes'].text
	end
	if xml_element.elements['dictionary'] != nil
		self.dictionary = xml_element.elements['dictionary'].text
	end
	if xml_element.elements['context'] != nil
		self.context = xml_element.elements['context'].text
	end
	if xml_element.elements['accuracy'] != nil
		self.accuracy = xml_element.elements['accuracy'].text
	end
	if xml_element.elements['outputObjectId'] != nil
		self.output_object_id = xml_element.elements['outputObjectId'].text
	end
	if xml_element.elements['partnerData'] != nil
		self.partner_data = xml_element.elements['partnerData'].text
	end
	if xml_element.elements['creationMode'] != nil
		self.creation_mode = xml_element.elements['creationMode'].text
	end
	if xml_element.elements['taskJobData'] != nil
		self.task_job_data = KalturaClientBase.object_from_xml(xml_element.elements['taskJobData'], 'KalturaVendorTaskData')
	end
	if xml_element.elements['expectedFinishTime'] != nil
		self.expected_finish_time = xml_element.elements['expectedFinishTime'].text
	end
	if xml_element.elements['serviceType'] != nil
		self.service_type = xml_element.elements['serviceType'].text
	end
	if xml_element.elements['serviceFeature'] != nil
		self.service_feature = xml_element.elements['serviceFeature'].text
	end
	if xml_element.elements['turnAroundTime'] != nil
		self.turn_around_time = xml_element.elements['turnAroundTime'].text
	end
	if xml_element.elements['externalTaskId'] != nil
		self.external_task_id = xml_element.elements['externalTaskId'].text
	end
end