Class: Kaltura::KalturaFlavorAsset

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

Direct Known Subclasses

KalturaLiveAsset

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, #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

#bitrateObject

The overall bitrate (in KBits) of the Flavor Asset



2778
2779
2780
# File 'lib/kaltura_types.rb', line 2778

def bitrate
  @bitrate
end

#container_formatObject

The container format



2790
2791
2792
# File 'lib/kaltura_types.rb', line 2790

def container_format
  @container_format
end

#flavor_params_idObject

The Flavor Params used to create this Flavor Asset



2769
2770
2771
# File 'lib/kaltura_types.rb', line 2769

def flavor_params_id
  @flavor_params_id
end

#frame_rateObject

The frame rate (in FPS) of the Flavor Asset



2781
2782
2783
# File 'lib/kaltura_types.rb', line 2781

def frame_rate
  @frame_rate
end

#heightObject

The height of the Flavor Asset



2775
2776
2777
# File 'lib/kaltura_types.rb', line 2775

def height
  @height
end

#is_originalObject

True if this Flavor Asset is the original source



2784
2785
2786
# File 'lib/kaltura_types.rb', line 2784

def is_original
  @is_original
end

#is_webObject

True if this Flavor Asset is playable in KDP



2787
2788
2789
# File 'lib/kaltura_types.rb', line 2787

def is_web
  @is_web
end

#statusObject

The status of the Flavor Asset



2796
2797
2798
# File 'lib/kaltura_types.rb', line 2796

def status
  @status
end

#video_codec_idObject

The video codec



2793
2794
2795
# File 'lib/kaltura_types.rb', line 2793

def video_codec_id
  @video_codec_id
end

#widthObject

The width of the Flavor Asset



2772
2773
2774
# File 'lib/kaltura_types.rb', line 2772

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
# File 'lib/kaltura_types.rb', line 2823

def from_xml(xml_element)
	super
	self.flavor_params_id = xml_element.elements['flavorParamsId'].text
	self.width = xml_element.elements['width'].text
	self.height = xml_element.elements['height'].text
	self.bitrate = xml_element.elements['bitrate'].text
	self.frame_rate = xml_element.elements['frameRate'].text
	self.is_original = xml_element.elements['isOriginal'].text
	self.is_web = xml_element.elements['isWeb'].text
	self.container_format = xml_element.elements['containerFormat'].text
	self.video_codec_id = xml_element.elements['videoCodecId'].text
	self.status = xml_element.elements['status'].text
end