Class: Kaltura::KalturaMoveCategoryEntriesJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaMoveCategoryEntriesJobData
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#copy_only ⇒ Object
Entries won’t be deleted from the source entry.
-
#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
#copy_only ⇒ Object
Entries won’t be deleted from the source entry
9367 9368 9369 |
# File 'lib/kaltura_types.rb', line 9367 def copy_only @copy_only end |
#dest_category_full_ids ⇒ Object
Destination categories fallback ids
9370 9371 9372 |
# File 'lib/kaltura_types.rb', line 9370 def dest_category_full_ids @dest_category_full_ids end |
#dest_category_id ⇒ Object
Destination category id
9349 9350 9351 |
# File 'lib/kaltura_types.rb', line 9349 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
9361 9362 9363 |
# File 'lib/kaltura_types.rb', line 9361 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
9353 9354 9355 |
# File 'lib/kaltura_types.rb', line 9353 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
9357 9358 9359 |
# File 'lib/kaltura_types.rb', line 9357 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
9364 9365 9366 |
# File 'lib/kaltura_types.rb', line 9364 def move_from_children @move_from_children end |
#src_category_id ⇒ Object
Source category id
9346 9347 9348 |
# File 'lib/kaltura_types.rb', line 9346 def src_category_id @src_category_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 |
# File 'lib/kaltura_types.rb', line 9394 def from_xml(xml_element) super self.src_category_id = xml_element.elements['srcCategoryId'].text self.dest_category_id = xml_element.elements['destCategoryId'].text self.last_moved_category_id = xml_element.elements['lastMovedCategoryId'].text self.last_moved_category_page_index = xml_element.elements['lastMovedCategoryPageIndex'].text self.last_moved_category_entry_page_index = xml_element.elements['lastMovedCategoryEntryPageIndex'].text self.move_from_children = xml_element.elements['moveFromChildren'].text self.copy_only = xml_element.elements['copyOnly'].text self.dest_category_full_ids = xml_element.elements['destCategoryFullIds'].text end |