Class: Kaltura::KalturaLiveChannelSegment
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveChannelSegment
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#channel_id ⇒ Object
Live channel id.
-
#created_at ⇒ Object
Segment creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
Segment description.
-
#duration ⇒ Object
Segment play duration time, in mili-seconds.
-
#entry_id ⇒ Object
Entry id to be played.
-
#id ⇒ Object
Unique identifier.
-
#name ⇒ Object
Segment name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#start_time ⇒ Object
Segment play start time, in mili-seconds, according to trigger type.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tags ⇒ Object
Segment tags.
-
#trigger_segment_id ⇒ Object
Live channel segment that the trigger relates to.
-
#trigger_type ⇒ Object
Segment start time trigger type.
-
#type ⇒ Object
Segment could be associated with the main stream, as additional stream or as overlay.
-
#updated_at ⇒ Object
Segment update date as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#channel_id ⇒ Object
Live channel id
6509 6510 6511 |
# File 'lib/kaltura_types.rb', line 6509 def channel_id @channel_id end |
#created_at ⇒ Object
Segment creation date as Unix timestamp (In seconds)
6496 6497 6498 |
# File 'lib/kaltura_types.rb', line 6496 def created_at @created_at end |
#description ⇒ Object
Segment description
6502 6503 6504 |
# File 'lib/kaltura_types.rb', line 6502 def description @description end |
#duration ⇒ Object
Segment play duration time, in mili-seconds
6519 6520 6521 |
# File 'lib/kaltura_types.rb', line 6519 def duration @duration end |
#entry_id ⇒ Object
Entry id to be played
6511 6512 6513 |
# File 'lib/kaltura_types.rb', line 6511 def entry_id @entry_id end |
#id ⇒ Object
Unique identifier
6493 6494 6495 |
# File 'lib/kaltura_types.rb', line 6493 def id @id end |
#name ⇒ Object
Segment name
6500 6501 6502 |
# File 'lib/kaltura_types.rb', line 6500 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
6494 6495 6496 |
# File 'lib/kaltura_types.rb', line 6494 def partner_id @partner_id end |
#start_time ⇒ Object
Segment play start time, in mili-seconds, according to trigger type
6517 6518 6519 |
# File 'lib/kaltura_types.rb', line 6517 def start_time @start_time end |
#status ⇒ Object
Returns the value of attribute status.
6507 6508 6509 |
# File 'lib/kaltura_types.rb', line 6507 def status @status end |
#tags ⇒ Object
Segment tags
6504 6505 6506 |
# File 'lib/kaltura_types.rb', line 6504 def end |
#trigger_segment_id ⇒ Object
Live channel segment that the trigger relates to
6515 6516 6517 |
# File 'lib/kaltura_types.rb', line 6515 def trigger_segment_id @trigger_segment_id end |
#trigger_type ⇒ Object
Segment start time trigger type
6513 6514 6515 |
# File 'lib/kaltura_types.rb', line 6513 def trigger_type @trigger_type end |
#type ⇒ Object
Segment could be associated with the main stream, as additional stream or as overlay
6506 6507 6508 |
# File 'lib/kaltura_types.rb', line 6506 def type @type end |
#updated_at ⇒ Object
Segment update date as Unix timestamp (In seconds)
6498 6499 6500 |
# File 'lib/kaltura_types.rb', line 6498 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 |
# File 'lib/kaltura_types.rb', line 6543 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['tags'] != nil self. = xml_element.elements['tags'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['channelId'] != nil self.channel_id = xml_element.elements['channelId'].text end if xml_element.elements['entryId'] != nil self.entry_id = xml_element.elements['entryId'].text end if xml_element.elements['triggerType'] != nil self.trigger_type = xml_element.elements['triggerType'].text end if xml_element.elements['triggerSegmentId'] != nil self.trigger_segment_id = xml_element.elements['triggerSegmentId'].text end if xml_element.elements['startTime'] != nil self.start_time = xml_element.elements['startTime'].text end if xml_element.elements['duration'] != nil self.duration = xml_element.elements['duration'].text end end |