class Kaltura::KalturaThumbAsset

Attributes

height[RW]

The height of the Flavor Asset

status[RW]

The status of the asset

thumb_params_id[RW]

The Flavor Params used to create this Flavor Asset

width[RW]

The width of the Flavor Asset

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaAsset#from_xml
# File lib/kaltura_types.rb, line 6076
def from_xml(xml_element)
        super
        if xml_element.elements['thumbParamsId'] != nil
                self.thumb_params_id = xml_element.elements['thumbParamsId'].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['status'] != nil
                self.status = xml_element.elements['status'].text
        end
end
height=(val) click to toggle source
# File lib/kaltura_types.rb, line 6069
def height=(val)
        @height = val.to_i
end
status=(val) click to toggle source
# File lib/kaltura_types.rb, line 6072
def status=(val)
        @status = val.to_i
end
thumb_params_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 6063
def thumb_params_id=(val)
        @thumb_params_id = val.to_i
end
width=(val) click to toggle source
# File lib/kaltura_types.rb, line 6066
def width=(val)
        @width = val.to_i
end