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



1174
1175
1176
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1174

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



1172
1173
1174
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1172

def text_transcript_asset_id
  @text_transcript_asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1177
1178
1179
1180
1181
1182
1183
1184
1185
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 1177

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