Class: Kaltura::KalturaStreamContainer
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaStreamContainer
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#channel_index ⇒ Object
Returns the value of attribute channel_index.
-
#channel_layout ⇒ Object
Returns the value of attribute channel_layout.
-
#id ⇒ Object
Returns the value of attribute id.
-
#label ⇒ Object
Returns the value of attribute label.
-
#language ⇒ Object
Returns the value of attribute language.
-
#track_index ⇒ Object
Returns the value of attribute track_index.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#channel_index ⇒ Object
Returns the value of attribute channel_index.
4758 4759 4760 |
# File 'lib/kaltura_types.rb', line 4758 def channel_index @channel_index end |
#channel_layout ⇒ Object
Returns the value of attribute channel_layout.
4760 4761 4762 |
# File 'lib/kaltura_types.rb', line 4760 def channel_layout @channel_layout end |
#id ⇒ Object
Returns the value of attribute id.
4754 4755 4756 |
# File 'lib/kaltura_types.rb', line 4754 def id @id end |
#label ⇒ Object
Returns the value of attribute label.
4759 4760 4761 |
# File 'lib/kaltura_types.rb', line 4759 def label @label end |
#language ⇒ Object
Returns the value of attribute language.
4757 4758 4759 |
# File 'lib/kaltura_types.rb', line 4757 def language @language end |
#track_index ⇒ Object
Returns the value of attribute track_index.
4756 4757 4758 |
# File 'lib/kaltura_types.rb', line 4756 def track_index @track_index end |
#type ⇒ Object
Returns the value of attribute type.
4755 4756 4757 |
# File 'lib/kaltura_types.rb', line 4755 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 |
# File 'lib/kaltura_types.rb', line 4769 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['trackIndex'] != nil self.track_index = xml_element.elements['trackIndex'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['channelIndex'] != nil self.channel_index = xml_element.elements['channelIndex'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end if xml_element.elements['channelLayout'] != nil self.channel_layout = xml_element.elements['channelLayout'].text end end |