Class: Kaltura::KalturaFlavorAsset
- Inherits:
-
KalturaAsset
- Object
- KalturaObjectBase
- KalturaAsset
- Kaltura::KalturaFlavorAsset
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
The overall bitrate (in KBits) of the Flavor Asset.
-
#container_format ⇒ Object
The container format.
-
#flavor_params_id ⇒ Object
The Flavor Params used to create this Flavor Asset.
-
#frame_rate ⇒ Object
The frame rate (in FPS) of the Flavor Asset.
-
#height ⇒ Object
The height of the Flavor Asset.
-
#is_original ⇒ Object
True if this Flavor Asset is the original source.
-
#is_web ⇒ Object
True if this Flavor Asset is playable in KDP.
-
#status ⇒ Object
The status of the Flavor Asset.
-
#video_codec_id ⇒ Object
The video codec.
-
#width ⇒ Object
The width of the Flavor Asset.
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
Instance Attribute Details
#bitrate ⇒ Object
The overall bitrate (in KBits) of the Flavor Asset
2778 2779 2780 |
# File 'lib/kaltura_types.rb', line 2778 def bitrate @bitrate end |
#container_format ⇒ Object
The container format
2790 2791 2792 |
# File 'lib/kaltura_types.rb', line 2790 def container_format @container_format end |
#flavor_params_id ⇒ Object
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_rate ⇒ Object
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 |
#height ⇒ Object
The height of the Flavor Asset
2775 2776 2777 |
# File 'lib/kaltura_types.rb', line 2775 def height @height end |
#is_original ⇒ Object
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_web ⇒ Object
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 |
#status ⇒ Object
The status of the Flavor Asset
2796 2797 2798 |
# File 'lib/kaltura_types.rb', line 2796 def status @status end |
#video_codec_id ⇒ Object
The video codec
2793 2794 2795 |
# File 'lib/kaltura_types.rb', line 2793 def video_codec_id @video_codec_id end |
#width ⇒ Object
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 |