Class: Kaltura::KalturaLiveStreamScheduleEvent

Inherits:
KalturaBaseLiveScheduleEvent show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#is_content_interruptibleObject

Detect whether “real” live can interrupt to the “main” content



1206
1207
1208
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1206

def is_content_interruptible
  @is_content_interruptible
end

#live_featuresObject

list of live features that apply to the event



1208
1209
1210
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1208

def live_features
  @live_features
end

#post_end_entry_idObject

The entry id of the post end entry



1204
1205
1206
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1204

def post_end_entry_id
  @post_end_entry_id
end

#post_end_timeObject

The time relative time before the endTime considered as postEnd time



1200
1201
1202
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1200

def post_end_time
  @post_end_time
end

#pre_start_entry_idObject

The entry id of the pre start entry



1202
1203
1204
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1202

def pre_start_entry_id
  @pre_start_entry_id
end

#pre_start_timeObject

The time relative time before the startTime considered as preStart time



1198
1199
1200
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1198

def pre_start_time
  @pre_start_time
end

#projected_audienceObject

Defines the expected audience.



1196
1197
1198
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1196

def projected_audience
  @projected_audience
end

#source_entry_idObject

The entry ID of the source entry (for simulive)



1194
1195
1196
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1194

def source_entry_id
  @source_entry_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 1223

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