Class: Kaltura::KalturaLiveToVodJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#amf_arrayObject

amf Array File Path



13416
13417
13418
# File 'lib/kaltura_types.rb', line 13416

def amf_array
  @amf_array
end

#last_cue_point_sync_timeObject

last live to vod sync time



13418
13419
13420
# File 'lib/kaltura_types.rb', line 13418

def last_cue_point_sync_time
  @last_cue_point_sync_time
end

#last_segment_driftObject

last segment drift



13420
13421
13422
# File 'lib/kaltura_types.rb', line 13420

def last_segment_drift
  @last_segment_drift
end

#last_segment_durationObject

last Segment Duration



13414
13415
13416
# File 'lib/kaltura_types.rb', line 13414

def last_segment_duration
  @last_segment_duration
end

#live_entry_idObject

live Entry Id



13410
13411
13412
# File 'lib/kaltura_types.rb', line 13410

def live_entry_id
  @live_entry_id
end

#total_vod_durationObject

total VOD Duration



13412
13413
13414
# File 'lib/kaltura_types.rb', line 13412

def total_vod_duration
  @total_vod_duration
end

#vod_entry_idObject

$vod Entry Id



13408
13409
13410
# File 'lib/kaltura_types.rb', line 13408

def vod_entry_id
  @vod_entry_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
# File 'lib/kaltura_types.rb', line 13435

def from_xml(xml_element)
  super
  if xml_element.elements['vodEntryId'] != nil
    self.vod_entry_id = xml_element.elements['vodEntryId'].text
  end
  if xml_element.elements['liveEntryId'] != nil
    self.live_entry_id = xml_element.elements['liveEntryId'].text
  end
  if xml_element.elements['totalVodDuration'] != nil
    self.total_vod_duration = xml_element.elements['totalVodDuration'].text
  end
  if xml_element.elements['lastSegmentDuration'] != nil
    self.last_segment_duration = xml_element.elements['lastSegmentDuration'].text
  end
  if xml_element.elements['amfArray'] != nil
    self.amf_array = xml_element.elements['amfArray'].text
  end
  if xml_element.elements['lastCuePointSyncTime'] != nil
    self.last_cue_point_sync_time = xml_element.elements['lastCuePointSyncTime'].text
  end
  if xml_element.elements['lastSegmentDrift'] != nil
    self.last_segment_drift = xml_element.elements['lastSegmentDrift'].text
  end
end