Class: Kaltura::KalturaEntryVendorTask
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEntryVendorTask
- Defined in:
- lib/kaltura_plugins/kaltura_reach_client_plugin.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Access key generated by Kaltura to allow vendors to ingest the end result to the destination.
-
#accuracy ⇒ Object
Task result accuracy percentage.
-
#catalog_item_id ⇒ Object
The catalog item Id containing the task description.
-
#context ⇒ Object
Task context.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#creation_mode ⇒ Object
Task creation mode.
-
#dictionary ⇒ Object
Returns the value of attribute dictionary.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#err_description ⇒ Object
Err description provided by provider in case job execution has failed.
-
#expected_finish_time ⇒ Object
Returns the value of attribute expected_finish_time.
-
#finish_time ⇒ Object
Returns the value of attribute finish_time.
-
#id ⇒ Object
Returns the value of attribute id.
-
#moderating_user ⇒ Object
The user ID that approved this task for execution (in case moderation is requested).
-
#notes ⇒ Object
User generated notes that should be taken into account by the vendor while executing the task.
-
#output_object_id ⇒ Object
Task main object generated by executing the task.
-
#partner_data ⇒ Object
Json object containing extra task data required by the requester.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#price ⇒ Object
The charged price to execute this task.
-
#queue_time ⇒ Object
Returns the value of attribute queue_time.
-
#reach_profile_id ⇒ Object
The profile id from which this task base config is taken from.
-
#service_feature ⇒ Object
Returns the value of attribute service_feature.
-
#service_type ⇒ Object
Returns the value of attribute service_type.
-
#status ⇒ Object
Returns the value of attribute status.
-
#task_job_data ⇒ Object
Returns the value of attribute task_job_data.
-
#turn_around_time ⇒ Object
Returns the value of attribute turn_around_time.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#user_id ⇒ Object
The ID of the user who created this task.
-
#vendor_partner_id ⇒ Object
Returns the value of attribute vendor_partner_id.
-
#version ⇒ Object
Vendor generated by Kaltura representing the entry vendor task version correlated to the entry version.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#access_key ⇒ Object
Access key generated by Kaltura to allow vendors to ingest the end result to the destination
287 288 289 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 287 def access_key @access_key end |
#accuracy ⇒ Object
Task result accuracy percentage
296 297 298 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 296 def accuracy @accuracy end |
#catalog_item_id ⇒ Object
The catalog item Id containing the task description
277 278 279 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 277 def catalog_item_id @catalog_item_id end |
#context ⇒ Object
Task context
294 295 296 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 294 def context @context end |
#created_at ⇒ Object
Returns the value of attribute created_at.
268 269 270 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 268 def created_at @created_at end |
#creation_mode ⇒ Object
Task creation mode
302 303 304 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 302 def creation_mode @creation_mode end |
#dictionary ⇒ Object
Returns the value of attribute dictionary.
292 293 294 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 292 def dictionary @dictionary end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
272 273 274 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 272 def entry_id @entry_id end |
#err_description ⇒ Object
Err description provided by provider in case job execution has failed
285 286 287 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 285 def err_description @err_description end |
#expected_finish_time ⇒ Object
Returns the value of attribute expected_finish_time.
304 305 306 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 304 def expected_finish_time @expected_finish_time end |
#finish_time ⇒ Object
Returns the value of attribute finish_time.
271 272 273 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 271 def finish_time @finish_time end |
#id ⇒ Object
Returns the value of attribute id.
265 266 267 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 265 def id @id end |
#moderating_user ⇒ Object
The user ID that approved this task for execution (in case moderation is requested)
283 284 285 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 283 def @moderating_user end |
#notes ⇒ Object
User generated notes that should be taken into account by the vendor while executing the task
291 292 293 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 291 def notes @notes end |
#output_object_id ⇒ Object
Task main object generated by executing the task
298 299 300 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 298 def output_object_id @output_object_id end |
#partner_data ⇒ Object
Json object containing extra task data required by the requester
300 301 302 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 300 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
266 267 268 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 266 def partner_id @partner_id end |
#price ⇒ Object
The charged price to execute this task
279 280 281 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 279 def price @price end |
#queue_time ⇒ Object
Returns the value of attribute queue_time.
270 271 272 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 270 def queue_time @queue_time end |
#reach_profile_id ⇒ Object
The profile id from which this task base config is taken from
275 276 277 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 275 def reach_profile_id @reach_profile_id end |
#service_feature ⇒ Object
Returns the value of attribute service_feature.
306 307 308 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 306 def service_feature @service_feature end |
#service_type ⇒ Object
Returns the value of attribute service_type.
305 306 307 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 305 def service_type @service_type end |
#status ⇒ Object
Returns the value of attribute status.
273 274 275 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 273 def status @status end |
#task_job_data ⇒ Object
Returns the value of attribute task_job_data.
303 304 305 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 303 def task_job_data @task_job_data end |
#turn_around_time ⇒ Object
Returns the value of attribute turn_around_time.
307 308 309 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 307 def turn_around_time @turn_around_time end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
269 270 271 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 269 def updated_at @updated_at end |
#user_id ⇒ Object
The ID of the user who created this task
281 282 283 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 281 def user_id @user_id end |
#vendor_partner_id ⇒ Object
Returns the value of attribute vendor_partner_id.
267 268 269 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 267 def vendor_partner_id @vendor_partner_id end |
#version ⇒ Object
Vendor generated by Kaltura representing the entry vendor task version correlated to the entry version
289 290 291 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 289 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 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 |
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 361 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. = 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 end |