class Kaltura::KalturaSyncCategoryPrivacyContextJobData

Attributes

category_id[RW]

category id

last_updated_category_created_at[RW]

Saves the last sub category creation date that was updated

In case of crash the batch will restart from that point
last_updated_category_entry_created_at[RW]

Saves the last category entry creation date that was updated

In case of crash the batch will restart from that point

Public Instance Methods

category_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 15328
def category_id=(val)
        @category_id = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaJobData#from_xml
# File lib/kaltura_types.rb, line 15338
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
last_updated_category_created_at=(val) click to toggle source
# File lib/kaltura_types.rb, line 15334
def last_updated_category_created_at=(val)
        @last_updated_category_created_at = val.to_i
end
last_updated_category_entry_created_at=(val) click to toggle source
# File lib/kaltura_types.rb, line 15331
def last_updated_category_entry_created_at=(val)
        @last_updated_category_entry_created_at = val.to_i
end