Class: Kaltura::KalturaMoveCategoryEntriesJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaMoveCategoryEntriesJobData
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#dest_category_full_ids ⇒ Object
Destination categories fallback ids.
-
#dest_category_id ⇒ Object
Destination category id.
-
#last_moved_category_entry_page_index ⇒ Object
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 ⇒ Object
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 ⇒ Object
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 ⇒ Object
All entries from all child categories will be moved as well.
-
#src_category_id ⇒ Object
Source category id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#dest_category_full_ids ⇒ Object
Destination categories fallback ids
13703 13704 13705 |
# File 'lib/kaltura_types.rb', line 13703 def dest_category_full_ids @dest_category_full_ids end |
#dest_category_id ⇒ Object
Destination category id
13690 13691 13692 |
# File 'lib/kaltura_types.rb', line 13690 def dest_category_id @dest_category_id end |
#last_moved_category_entry_page_index ⇒ Object
Saves the last page index of the category entries filter pager
In case of crash the batch will restart from that point
13699 13700 13701 |
# File 'lib/kaltura_types.rb', line 13699 def last_moved_category_entry_page_index @last_moved_category_entry_page_index end |
#last_moved_category_id ⇒ Object
Saves the last category id that its entries moved completely
In case of crash the batch will restart from that point
13693 13694 13695 |
# File 'lib/kaltura_types.rb', line 13693 def last_moved_category_id @last_moved_category_id end |
#last_moved_category_page_index ⇒ Object
Saves the last page index of the child categories filter pager
In case of crash the batch will restart from that point
13696 13697 13698 |
# File 'lib/kaltura_types.rb', line 13696 def last_moved_category_page_index @last_moved_category_page_index end |
#move_from_children ⇒ Object
All entries from all child categories will be moved as well
13701 13702 13703 |
# File 'lib/kaltura_types.rb', line 13701 def move_from_children @move_from_children end |
#src_category_id ⇒ Object
Source category id
13688 13689 13690 |
# File 'lib/kaltura_types.rb', line 13688 def src_category_id @src_category_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 |
# File 'lib/kaltura_types.rb', line 13724 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 |