Class: Kaltura::KalturaLiveStreamBitrate

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

#bitrateObject

Returns the value of attribute bitrate.



6755
6756
6757
# File 'lib/kaltura_types.rb', line 6755

def bitrate
  @bitrate
end

#heightObject

Returns the value of attribute height.



6757
6758
6759
# File 'lib/kaltura_types.rb', line 6757

def height
  @height
end

#tagsObject

Returns the value of attribute tags.



6758
6759
6760
# File 'lib/kaltura_types.rb', line 6758

def tags
  @tags
end

#widthObject

Returns the value of attribute width.



6756
6757
6758
# File 'lib/kaltura_types.rb', line 6756

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
# File 'lib/kaltura_types.rb', line 6770

def from_xml(xml_element)
  super
  if xml_element.elements['bitrate'] != nil
    self.bitrate = xml_element.elements['bitrate'].text
  end
  if xml_element.elements['width'] != nil
    self.width = xml_element.elements['width'].text
  end
  if xml_element.elements['height'] != nil
    self.height = xml_element.elements['height'].text
  end
  if xml_element.elements['tags'] != nil
    self.tags = xml_element.elements['tags'].text
  end
end