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



685
686
687
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 685

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



683
684
685
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 683

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



681
682
683
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 681

def text_transcript_asset_id
  @text_transcript_asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



688
689
690
691
692
693
694
695
696
697
698
699
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 688

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