# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb' module Kaltura # Represents the Bulk service input for filter bulk upload # class KalturaBulkServiceFilterData < KalturaBulkServiceData # Filter for extracting the objects list to upload # attr_accessor :filter # Template object for new object creation # attr_accessor :template_object def from_xml(xml_element) super self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') self.template_object = KalturaClientBase.object_from_xml(xml_element.elements['templateObject'], 'KalturaObjectBase') end end # Represents the Bulk upload job data for filter bulk upload # class KalturaBulkUploadFilterJobData < KalturaBulkUploadJobData # Filter for extracting the objects list to upload # attr_accessor :filter # Template object for new object creation # attr_accessor :template_object def from_xml(xml_element) super self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') self.template_object = KalturaClientBase.object_from_xml(xml_element.elements['templateObject'], 'KalturaObjectBase') end end end