Class: Kaltura::KalturaThumbAsset

Inherits:
KalturaAsset show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaTimedThumbAsset

Instance Attribute Summary collapse

Attributes inherited from KalturaAsset

#actual_source_asset_params_ids, #created_at, #deleted_at, #description, #entry_id, #file_ext, #id, #partner_data, #partner_description, #partner_id, #size, #size_in_bytes, #tags, #updated_at, #version

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#heightObject

The height of the Flavor Asset



6137
6138
6139
# File 'lib/kaltura_types.rb', line 6137

def height
  @height
end

#statusObject

The status of the asset



6139
6140
6141
# File 'lib/kaltura_types.rb', line 6139

def status
  @status
end

#thumb_params_idObject

The Flavor Params used to create this Flavor Asset



6133
6134
6135
# File 'lib/kaltura_types.rb', line 6133

def thumb_params_id
  @thumb_params_id
end

#widthObject

The width of the Flavor Asset



6135
6136
6137
# File 'lib/kaltura_types.rb', line 6135

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
# File 'lib/kaltura_types.rb', line 6154

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