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
13640 13641 13642 |
# File 'lib/kaltura_types.rb', line 13640 def dest_category_full_ids @dest_category_full_ids end |
#dest_category_id ⇒ Object
Destination category id
13627 13628 13629 |
# File 'lib/kaltura_types.rb', line 13627 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
13636 13637 13638 |
# File 'lib/kaltura_types.rb', line 13636 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
13630 13631 13632 |
# File 'lib/kaltura_types.rb', line 13630 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
13633 13634 13635 |
# File 'lib/kaltura_types.rb', line 13633 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
13638 13639 13640 |
# File 'lib/kaltura_types.rb', line 13638 def move_from_children @move_from_children end |
#src_category_id ⇒ Object
Source category id
13625 13626 13627 |
# File 'lib/kaltura_types.rb', line 13625 def src_category_id @src_category_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 |
# File 'lib/kaltura_types.rb', line 13661 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 |