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.



4428
4429
4430
# File 'lib/kaltura_types.rb', line 4428

def channel_index
  @channel_index
end

#channel_layoutObject

Returns the value of attribute channel_layout.



4430
4431
4432
# File 'lib/kaltura_types.rb', line 4430

def channel_layout
  @channel_layout
end

#labelObject

Returns the value of attribute label.



4429
4430
4431
# File 'lib/kaltura_types.rb', line 4429

def label
  @label
end

#languageObject

Returns the value of attribute language.



4427
4428
4429
# File 'lib/kaltura_types.rb', line 4427

def language
  @language
end

#track_indexObject

Returns the value of attribute track_index.



4426
4427
4428
# File 'lib/kaltura_types.rb', line 4426

def track_index
  @track_index
end

#typeObject

Returns the value of attribute type.



4425
4426
4427
# File 'lib/kaltura_types.rb', line 4425

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
# File 'lib/kaltura_types.rb', line 4439

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