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.
-
#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.
4467 4468 4469 |
# File 'lib/kaltura_types.rb', line 4467 def channel_index @channel_index end |
#channel_layout ⇒ Object
Returns the value of attribute channel_layout.
4469 4470 4471 |
# File 'lib/kaltura_types.rb', line 4469 def channel_layout @channel_layout end |
#label ⇒ Object
Returns the value of attribute label.
4468 4469 4470 |
# File 'lib/kaltura_types.rb', line 4468 def label @label end |
#language ⇒ Object
Returns the value of attribute language.
4466 4467 4468 |
# File 'lib/kaltura_types.rb', line 4466 def language @language end |
#track_index ⇒ Object
Returns the value of attribute track_index.
4465 4466 4467 |
# File 'lib/kaltura_types.rb', line 4465 def track_index @track_index end |
#type ⇒ Object
Returns the value of attribute type.
4464 4465 4466 |
# File 'lib/kaltura_types.rb', line 4464 def type @type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 |
# File 'lib/kaltura_types.rb', line 4478 def from_xml(xml_element) super 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 |