Class: Kaltura::KalturaSyncCategoryPrivacyContextJobData

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

#category_idObject

category id



14719
14720
14721
# File 'lib/kaltura_types.rb', line 14719

def category_id
  @category_id
end

#last_updated_category_created_atObject

Saves the last sub category creation date that was updated

In case of crash the batch will restart from that point


14725
14726
14727
# File 'lib/kaltura_types.rb', line 14725

def last_updated_category_created_at
  @last_updated_category_created_at
end

#last_updated_category_entry_created_atObject

Saves the last category entry creation date that was updated

In case of crash the batch will restart from that point


14722
14723
14724
# File 'lib/kaltura_types.rb', line 14722

def last_updated_category_entry_created_at
  @last_updated_category_entry_created_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
# File 'lib/kaltura_types.rb', line 14737

def from_xml(xml_element)
	super
	if xml_element.elements['categoryId'] != nil
		self.category_id = xml_element.elements['categoryId'].text
	end
	if xml_element.elements['lastUpdatedCategoryEntryCreatedAt'] != nil
		self.last_updated_category_entry_created_at = xml_element.elements['lastUpdatedCategoryEntryCreatedAt'].text
	end
	if xml_element.elements['lastUpdatedCategoryCreatedAt'] != nil
		self.last_updated_category_created_at = xml_element.elements['lastUpdatedCategoryCreatedAt'].text
	end
end