# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_cue_point_client_plugin.rb' module Kaltura class KalturaThumbCuePointOrderBy CREATED_AT_ASC = "+createdAt" PARTNER_SORT_VALUE_ASC = "+partnerSortValue" START_TIME_ASC = "+startTime" TRIGGERED_AT_ASC = "+triggeredAt" UPDATED_AT_ASC = "+updatedAt" CREATED_AT_DESC = "-createdAt" PARTNER_SORT_VALUE_DESC = "-partnerSortValue" START_TIME_DESC = "-startTime" TRIGGERED_AT_DESC = "-triggeredAt" UPDATED_AT_DESC = "-updatedAt" end class KalturaTimedThumbAssetOrderBy CREATED_AT_ASC = "+createdAt" DELETED_AT_ASC = "+deletedAt" SIZE_ASC = "+size" UPDATED_AT_ASC = "+updatedAt" CREATED_AT_DESC = "-createdAt" DELETED_AT_DESC = "-deletedAt" SIZE_DESC = "-size" UPDATED_AT_DESC = "-updatedAt" end class KalturaThumbCuePoint < KalturaCuePoint attr_accessor :asset_id attr_accessor :description attr_accessor :title # The sub type of the ThumbCuePoint # attr_accessor :sub_type def sub_type=(val) @sub_type = val.to_i end def from_xml(xml_element) super self.asset_id = xml_element.elements['assetId'].text self.description = xml_element.elements['description'].text self.title = xml_element.elements['title'].text self.sub_type = xml_element.elements['subType'].text end end class KalturaTimedThumbAsset < KalturaThumbAsset # Associated thumb cue point ID # attr_accessor :cue_point_id def from_xml(xml_element) super self.cue_point_id = xml_element.elements['cuePointId'].text end end class KalturaThumbCuePointBaseFilter < KalturaCuePointFilter attr_accessor :description_like attr_accessor :description_multi_like_or attr_accessor :description_multi_like_and attr_accessor :title_like attr_accessor :title_multi_like_or attr_accessor :title_multi_like_and attr_accessor :sub_type_equal attr_accessor :sub_type_in def sub_type_equal=(val) @sub_type_equal = val.to_i end def from_xml(xml_element) super self.description_like = xml_element.elements['descriptionLike'].text self.description_multi_like_or = xml_element.elements['descriptionMultiLikeOr'].text self.description_multi_like_and = xml_element.elements['descriptionMultiLikeAnd'].text self.title_like = xml_element.elements['titleLike'].text self.title_multi_like_or = xml_element.elements['titleMultiLikeOr'].text self.title_multi_like_and = xml_element.elements['titleMultiLikeAnd'].text self.sub_type_equal = xml_element.elements['subTypeEqual'].text self.sub_type_in = xml_element.elements['subTypeIn'].text end end class KalturaThumbCuePointFilter < KalturaThumbCuePointBaseFilter def from_xml(xml_element) super end end class KalturaTimedThumbAssetBaseFilter < KalturaThumbAssetFilter def from_xml(xml_element) super end end class KalturaTimedThumbAssetFilter < KalturaTimedThumbAssetBaseFilter def from_xml(xml_element) super end end end