# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb' require File.dirname(__FILE__) + '/kaltura_bulk_upload_xml_client_plugin.rb' module Kaltura # Represents the Bulk service input for filter bulk upload class KalturaBulkServiceFilterDataBase < KalturaBulkServiceData # Filter for extracting the objects list to upload attr_accessor :filter def from_xml(xml_element) super if xml_element.elements['filter'] != nil self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') end end end class KalturaBulkUploadResultJob < KalturaBulkUploadResult # ID of object being processed by the job attr_accessor :job_object_id def job_object_id=(val) @job_object_id = val.to_i end def from_xml(xml_element) super if xml_element.elements['jobObjectId'] != nil self.job_object_id = xml_element.elements['jobObjectId'].text end end end # Represents the Bulk service input for filter bulk upload class KalturaBulkServiceFilterData < KalturaBulkServiceFilterDataBase # Template object for new object creation attr_accessor :template_object def from_xml(xml_element) super if xml_element.elements['templateObject'] != nil self.template_object = KalturaClientBase.object_from_xml(xml_element.elements['templateObject'], 'KalturaObjectBase') end 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 if xml_element.elements['filter'] != nil self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaFilter') end if xml_element.elements['templateObject'] != nil self.template_object = KalturaClientBase.object_from_xml(xml_element.elements['templateObject'], 'KalturaObjectBase') end end end end