Class: Kaltura::KalturaLiveStreamScheduleEvent
- Inherits:
-
KalturaBaseLiveScheduleEvent
- Object
- KalturaObjectBase
- KalturaScheduleEvent
- KalturaEntryScheduleEvent
- KalturaBaseLiveScheduleEvent
- Kaltura::KalturaLiveStreamScheduleEvent
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Instance Attribute Summary collapse
-
#is_content_interruptible ⇒ Object
Detect whether “real” live can interrupt to the “main” content.
-
#live_features ⇒ Object
list of live features that apply to the event.
-
#post_end_entry_id ⇒ Object
The entry id of the post end entry.
-
#post_end_time ⇒ Object
The time relative time before the endTime considered as postEnd time.
-
#pre_start_entry_id ⇒ Object
The entry id of the pre start entry.
-
#pre_start_time ⇒ Object
The time relative time before the startTime considered as preStart time.
-
#projected_audience ⇒ Object
Defines the expected audience.
-
#source_entry_id ⇒ Object
The entry ID of the source entry (for simulive).
Attributes inherited from KalturaEntryScheduleEvent
#blackout_conflicts, #category_ids, #entry_ids, #template_entry_id
Attributes inherited from KalturaScheduleEvent
#classification_type, #comment, #contact, #created_at, #description, #duration, #end_date, #geo_latitude, #geo_longitude, #id, #linked_by, #linked_to, #location, #organizer, #owner_id, #parent_id, #partner_id, #priority, #recurrence, #recurrence_type, #reference_id, #sequence, #start_date, #status, #summary, #tags, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#is_content_interruptible ⇒ Object
Detect whether “real” live can interrupt to the “main” content
1199 1200 1201 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1199 def is_content_interruptible @is_content_interruptible end |
#live_features ⇒ Object
list of live features that apply to the event
1201 1202 1203 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1201 def live_features @live_features end |
#post_end_entry_id ⇒ Object
The entry id of the post end entry
1197 1198 1199 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1197 def post_end_entry_id @post_end_entry_id end |
#post_end_time ⇒ Object
The time relative time before the endTime considered as postEnd time
1193 1194 1195 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1193 def post_end_time @post_end_time end |
#pre_start_entry_id ⇒ Object
The entry id of the pre start entry
1195 1196 1197 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1195 def pre_start_entry_id @pre_start_entry_id end |
#pre_start_time ⇒ Object
The time relative time before the startTime considered as preStart time
1191 1192 1193 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1191 def pre_start_time @pre_start_time end |
#projected_audience ⇒ Object
Defines the expected audience.
1189 1190 1191 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1189 def projected_audience @projected_audience end |
#source_entry_id ⇒ Object
The entry ID of the source entry (for simulive)
1187 1188 1189 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1187 def source_entry_id @source_entry_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1216 def from_xml(xml_element) super if xml_element.elements['sourceEntryId'] != nil self.source_entry_id = xml_element.elements['sourceEntryId'].text end if xml_element.elements['projectedAudience'] != nil self.projected_audience = xml_element.elements['projectedAudience'].text end if xml_element.elements['preStartTime'] != nil self.pre_start_time = xml_element.elements['preStartTime'].text end if xml_element.elements['postEndTime'] != nil self.post_end_time = xml_element.elements['postEndTime'].text end if xml_element.elements['preStartEntryId'] != nil self.pre_start_entry_id = xml_element.elements['preStartEntryId'].text end if xml_element.elements['postEndEntryId'] != nil self.post_end_entry_id = xml_element.elements['postEndEntryId'].text end if xml_element.elements['isContentInterruptible'] != nil self.is_content_interruptible = xml_element.elements['isContentInterruptible'].text end if xml_element.elements['liveFeatures'] != nil self.live_features = KalturaClientBase.object_from_xml(xml_element.elements['liveFeatures'], 'KalturaLiveFeature') end end |