Class: Kaltura::KalturaStreamContainer

Inherits:
KalturaObjectBase 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

#channel_indexObject

Returns the value of attribute channel_index.



4693
4694
4695
# File 'lib/kaltura_types.rb', line 4693

def channel_index
  @channel_index
end

#channel_layoutObject

Returns the value of attribute channel_layout.



4695
4696
4697
# File 'lib/kaltura_types.rb', line 4695

def channel_layout
  @channel_layout
end

#idObject

Returns the value of attribute id.



4689
4690
4691
# File 'lib/kaltura_types.rb', line 4689

def id
  @id
end

#labelObject

Returns the value of attribute label.



4694
4695
4696
# File 'lib/kaltura_types.rb', line 4694

def label
  @label
end

#languageObject

Returns the value of attribute language.



4692
4693
4694
# File 'lib/kaltura_types.rb', line 4692

def language
  @language
end

#track_indexObject

Returns the value of attribute track_index.



4691
4692
4693
# File 'lib/kaltura_types.rb', line 4691

def track_index
  @track_index
end

#typeObject

Returns the value of attribute type.



4690
4691
4692
# File 'lib/kaltura_types.rb', line 4690

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
# File 'lib/kaltura_types.rb', line 4704

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