Class: Kaltura::KalturaMoveCategoryEntriesJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#dest_category_full_idsObject

Destination categories fallback ids



13980
13981
13982
# File 'lib/kaltura_types.rb', line 13980

def dest_category_full_ids
  @dest_category_full_ids
end

#dest_category_idObject

Destination category id



13967
13968
13969
# File 'lib/kaltura_types.rb', line 13967

def dest_category_id
  @dest_category_id
end

#last_moved_category_entry_page_indexObject

Saves the last page index of the category entries filter pager

In case of crash the batch will restart from that point


13976
13977
13978
# File 'lib/kaltura_types.rb', line 13976

def last_moved_category_entry_page_index
  @last_moved_category_entry_page_index
end

#last_moved_category_idObject

Saves the last category id that its entries moved completely

In case of crash the batch will restart from that point


13970
13971
13972
# File 'lib/kaltura_types.rb', line 13970

def last_moved_category_id
  @last_moved_category_id
end

#last_moved_category_page_indexObject

Saves the last page index of the child categories filter pager

In case of crash the batch will restart from that point


13973
13974
13975
# File 'lib/kaltura_types.rb', line 13973

def last_moved_category_page_index
  @last_moved_category_page_index
end

#move_from_childrenObject

All entries from all child categories will be moved as well



13978
13979
13980
# File 'lib/kaltura_types.rb', line 13978

def move_from_children
  @move_from_children
end

#src_category_idObject

Source category id



13965
13966
13967
# File 'lib/kaltura_types.rb', line 13965

def src_category_id
  @src_category_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
# File 'lib/kaltura_types.rb', line 14001

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