# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_cue_point_client_plugin.rb' module Kaltura class KalturaAdCuePointOrderBy CREATED_AT_ASC = "+createdAt" DURATION_ASC = "+duration" END_TIME_ASC = "+endTime" PARTNER_SORT_VALUE_ASC = "+partnerSortValue" START_TIME_ASC = "+startTime" UPDATED_AT_ASC = "+updatedAt" CREATED_AT_DESC = "-createdAt" DURATION_DESC = "-duration" END_TIME_DESC = "-endTime" PARTNER_SORT_VALUE_DESC = "-partnerSortValue" START_TIME_DESC = "-startTime" UPDATED_AT_DESC = "-updatedAt" end class KalturaAdProtocolType CUSTOM = "0" VAST = "1" VAST_2_0 = "2" VPAID = "3" end class KalturaAdType VIDEO = "1" OVERLAY = "2" end class KalturaAdCuePoint < KalturaCuePoint attr_accessor :protocol_type attr_accessor :source_url attr_accessor :ad_type attr_accessor :title attr_accessor :end_time # Duration in milliseconds # attr_accessor :duration def end_time=(val) @end_time = val.to_i end def duration=(val) @duration = val.to_i end end class KalturaAdCuePointBaseFilter < KalturaCuePointFilter attr_accessor :protocol_type_equal attr_accessor :protocol_type_in attr_accessor :title_like attr_accessor :title_multi_like_or attr_accessor :title_multi_like_and attr_accessor :end_time_greater_than_or_equal attr_accessor :end_time_less_than_or_equal attr_accessor :duration_greater_than_or_equal attr_accessor :duration_less_than_or_equal def end_time_greater_than_or_equal=(val) @end_time_greater_than_or_equal = val.to_i end def end_time_less_than_or_equal=(val) @end_time_less_than_or_equal = val.to_i end def duration_greater_than_or_equal=(val) @duration_greater_than_or_equal = val.to_i end def duration_less_than_or_equal=(val) @duration_less_than_or_equal = val.to_i end end class KalturaAdCuePointFilter < KalturaAdCuePointBaseFilter end end