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_default ⇒ Object
Is default flavor asset of the entry (This field will be taken into account selectign which audio flavor will be selected as default).
-
#is_original ⇒ Object
True if this Flavor Asset is the original source.
-
#is_web ⇒ Object
True if this Flavor Asset is playable in KDP.
-
#label ⇒ Object
The label of the flavor asset.
-
#language ⇒ Object
The language of the flavor asset.
-
#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, #size_in_bytes, #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
4927 4928 4929 |
# File 'lib/kaltura_types.rb', line 4927 def bitrate @bitrate end |
#container_format ⇒ Object
The container format
4935 4936 4937 |
# File 'lib/kaltura_types.rb', line 4935 def container_format @container_format end |
#flavor_params_id ⇒ Object
The Flavor Params used to create this Flavor Asset
4921 4922 4923 |
# File 'lib/kaltura_types.rb', line 4921 def flavor_params_id @flavor_params_id end |
#frame_rate ⇒ Object
The frame rate (in FPS) of the Flavor Asset
4929 4930 4931 |
# File 'lib/kaltura_types.rb', line 4929 def frame_rate @frame_rate end |
#height ⇒ Object
The height of the Flavor Asset
4925 4926 4927 |
# File 'lib/kaltura_types.rb', line 4925 def height @height end |
#is_default ⇒ Object
Is default flavor asset of the entry (This field will be taken into account selectign which audio flavor will be selected as default)
4945 4946 4947 |
# File 'lib/kaltura_types.rb', line 4945 def is_default @is_default end |
#is_original ⇒ Object
True if this Flavor Asset is the original source
4931 4932 4933 |
# File 'lib/kaltura_types.rb', line 4931 def is_original @is_original end |
#is_web ⇒ Object
True if this Flavor Asset is playable in KDP
4933 4934 4935 |
# File 'lib/kaltura_types.rb', line 4933 def is_web @is_web end |
#label ⇒ Object
The label of the flavor asset
4943 4944 4945 |
# File 'lib/kaltura_types.rb', line 4943 def label @label end |
#language ⇒ Object
The language of the flavor asset
4941 4942 4943 |
# File 'lib/kaltura_types.rb', line 4941 def language @language end |
#status ⇒ Object
The status of the Flavor Asset
4939 4940 4941 |
# File 'lib/kaltura_types.rb', line 4939 def status @status end |
#video_codec_id ⇒ Object
The video codec
4937 4938 4939 |
# File 'lib/kaltura_types.rb', line 4937 def video_codec_id @video_codec_id end |
#width ⇒ Object
The width of the Flavor Asset
4923 4924 4925 |
# File 'lib/kaltura_types.rb', line 4923 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 |
# File 'lib/kaltura_types.rb', line 4975 def from_xml(xml_element) super if xml_element.elements['flavorParamsId'] != nil self.flavor_params_id = xml_element.elements['flavorParamsId'].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['bitrate'] != nil self.bitrate = xml_element.elements['bitrate'].text end if xml_element.elements['frameRate'] != nil self.frame_rate = xml_element.elements['frameRate'].text end if xml_element.elements['isOriginal'] != nil self.is_original = xml_element.elements['isOriginal'].text end if xml_element.elements['isWeb'] != nil self.is_web = xml_element.elements['isWeb'].text end if xml_element.elements['containerFormat'] != nil self.container_format = xml_element.elements['containerFormat'].text end if xml_element.elements['videoCodecId'] != nil self.video_codec_id = xml_element.elements['videoCodecId'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end if xml_element.elements['isDefault'] != nil self.is_default = xml_element.elements['isDefault'].text end end |