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
1178 1179 1180 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1178 def is_content_interruptible @is_content_interruptible end |
#live_features ⇒ Object
list of live features that apply to the event
1180 1181 1182 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1180 def live_features @live_features end |
#post_end_entry_id ⇒ Object
The entry id of the post end entry
1176 1177 1178 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1176 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
1172 1173 1174 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1172 def post_end_time @post_end_time end |
#pre_start_entry_id ⇒ Object
The entry id of the pre start entry
1174 1175 1176 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1174 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
1170 1171 1172 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1170 def pre_start_time @pre_start_time end |
#projected_audience ⇒ Object
Defines the expected audience.
1168 1169 1170 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1168 def projected_audience @projected_audience end |
#source_entry_id ⇒ Object
The entry ID of the source entry (for simulive)
1166 1167 1168 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1166 def source_entry_id @source_entry_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1195 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 |