# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_scheduled_task_client_plugin.rb' require File.dirname(__FILE__) + '/kaltura_metadata_client_plugin.rb' module Kaltura class KalturaExecuteMetadataXsltObjectTask < KalturaObjectTask # Metadata profile id to lookup the metadata object # attr_accessor :metadata_profile_id # Metadata object type to lookup the metadata object # attr_accessor :metadata_object_type # The XSLT to execute # attr_accessor :xslt def metadata_profile_id=(val) @metadata_profile_id = val.to_i end def from_xml(xml_element) super self.metadata_profile_id = xml_element.elements['metadataProfileId'].text self.metadata_object_type = xml_element.elements['metadataObjectType'].text self.xslt = xml_element.elements['xslt'].text end end end