class Kaltura::KalturaMoveCategoryEntriesJobData

Attributes

dest_category_full_ids[RW]

Destination categories fallback ids

dest_category_id[RW]

Destination category id

last_moved_category_entry_page_index[RW]

Saves the last page index of the category entries filter pager

In case of crash the batch will restart from that point
last_moved_category_id[RW]

Saves the last category id that its entries moved completely

In case of crash the batch will restart from that point
last_moved_category_page_index[RW]

Saves the last page index of the child categories filter pager

In case of crash the batch will restart from that point
move_from_children[RW]

All entries from all child categories will be moved as well

src_category_id[RW]

Source category id

Public Instance Methods

dest_category_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 14294
def dest_category_id=(val)
        @dest_category_id = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaJobData#from_xml
# File lib/kaltura_types.rb, line 14310
def from_xml(xml_element)
        super
        if xml_element.elements['srcCategoryId'] != nil
                self.src_category_id = xml_element.elements['srcCategoryId'].text
        end
        if xml_element.elements['destCategoryId'] != nil
                self.dest_category_id = xml_element.elements['destCategoryId'].text
        end
        if xml_element.elements['lastMovedCategoryId'] != nil
                self.last_moved_category_id = xml_element.elements['lastMovedCategoryId'].text
        end
        if xml_element.elements['lastMovedCategoryPageIndex'] != nil
                self.last_moved_category_page_index = xml_element.elements['lastMovedCategoryPageIndex'].text
        end
        if xml_element.elements['lastMovedCategoryEntryPageIndex'] != nil
                self.last_moved_category_entry_page_index = xml_element.elements['lastMovedCategoryEntryPageIndex'].text
        end
        if xml_element.elements['moveFromChildren'] != nil
                self.move_from_children = xml_element.elements['moveFromChildren'].text
        end
        if xml_element.elements['destCategoryFullIds'] != nil
                self.dest_category_full_ids = xml_element.elements['destCategoryFullIds'].text
        end
end
last_moved_category_entry_page_index=(val) click to toggle source
# File lib/kaltura_types.rb, line 14303
def last_moved_category_entry_page_index=(val)
        @last_moved_category_entry_page_index = val.to_i
end
last_moved_category_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 14297
def last_moved_category_id=(val)
        @last_moved_category_id = val.to_i
end
last_moved_category_page_index=(val) click to toggle source
# File lib/kaltura_types.rb, line 14300
def last_moved_category_page_index=(val)
        @last_moved_category_page_index = val.to_i
end
move_from_children=(val) click to toggle source
# File lib/kaltura_types.rb, line 14306
def move_from_children=(val)
        @move_from_children = to_b(val)
end
src_category_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 14291
def src_category_id=(val)
        @src_category_id = val.to_i
end