Class: Kaltura::KalturaAlignmentVendorTaskData

Inherits:
KalturaVendorTaskDataCaptionAsset show all
Defined in:
lib/kaltura_plugins/kaltura_reach_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaVendorTaskDataCaptionAsset

#caption_asset_id

Attributes inherited from KalturaVendorTaskData

#entry_duration

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#json_transcript_asset_idObject

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



1052
1053
1054
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1052

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



1050
1051
1052
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1050

def text_transcript_asset_id
  @text_transcript_asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1055
1056
1057
1058
1059
1060
1061
1062
1063
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1055

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
end