Class: Kaltura::KalturaAlignmentVendorTaskData

Inherits:
KalturaVendorTaskData 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

#caption_asset_idObject

Optional - The id of the caption asset object the vendor should update once alignment task processing is done



713
714
715
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 713

def caption_asset_id
  @caption_asset_id
end

#json_transcript_asset_idObject

Optional - The id of the json transcript object the vendor should update once alignment task processing is done



711
712
713
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 711

def json_transcript_asset_id
  @json_transcript_asset_id
end

#text_transcript_asset_idObject

The id of the text transcript object the vendor should use while runing the alignment task



709
710
711
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 709

def text_transcript_asset_id
  @text_transcript_asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



716
717
718
719
720
721
722
723
724
725
726
727
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 716

def from_xml(xml_element)
  super
  if xml_element.elements['textTranscriptAssetId'] != nil
    self.text_transcript_asset_id = xml_element.elements['textTranscriptAssetId'].text
  end
  if xml_element.elements['jsonTranscriptAssetId'] != nil
    self.json_transcript_asset_id = xml_element.elements['jsonTranscriptAssetId'].text
  end
  if xml_element.elements['captionAssetId'] != nil
    self.caption_asset_id = xml_element.elements['captionAssetId'].text
  end
end