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
14466 14467 14468 |
# File 'lib/kaltura_types.rb', line 14466 def dest_category_full_ids @dest_category_full_ids end |
#dest_category_id ⇒ Object
Destination category id
14453 14454 14455 |
# File 'lib/kaltura_types.rb', line 14453 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
14462 14463 14464 |
# File 'lib/kaltura_types.rb', line 14462 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
14456 14457 14458 |
# File 'lib/kaltura_types.rb', line 14456 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
14459 14460 14461 |
# File 'lib/kaltura_types.rb', line 14459 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
14464 14465 14466 |
# File 'lib/kaltura_types.rb', line 14464 def move_from_children @move_from_children end |
#src_category_id ⇒ Object
Source category id
14451 14452 14453 |
# File 'lib/kaltura_types.rb', line 14451 def src_category_id @src_category_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 |
# File 'lib/kaltura_types.rb', line 14487 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 |