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, #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
4691 4692 4693 |
# File 'lib/kaltura_types.rb', line 4691 def bitrate @bitrate end |
#container_format ⇒ Object
The container format
4699 4700 4701 |
# File 'lib/kaltura_types.rb', line 4699 def container_format @container_format end |
#flavor_params_id ⇒ Object
The Flavor Params used to create this Flavor Asset
4685 4686 4687 |
# File 'lib/kaltura_types.rb', line 4685 def flavor_params_id @flavor_params_id end |
#frame_rate ⇒ Object
The frame rate (in FPS) of the Flavor Asset
4693 4694 4695 |
# File 'lib/kaltura_types.rb', line 4693 def frame_rate @frame_rate end |
#height ⇒ Object
The height of the Flavor Asset
4689 4690 4691 |
# File 'lib/kaltura_types.rb', line 4689 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)
4709 4710 4711 |
# File 'lib/kaltura_types.rb', line 4709 def is_default @is_default end |
#is_original ⇒ Object
True if this Flavor Asset is the original source
4695 4696 4697 |
# File 'lib/kaltura_types.rb', line 4695 def is_original @is_original end |
#is_web ⇒ Object
True if this Flavor Asset is playable in KDP
4697 4698 4699 |
# File 'lib/kaltura_types.rb', line 4697 def is_web @is_web end |
#label ⇒ Object
The label of the flavor asset
4707 4708 4709 |
# File 'lib/kaltura_types.rb', line 4707 def label @label end |
#language ⇒ Object
The language of the flavor asset
4705 4706 4707 |
# File 'lib/kaltura_types.rb', line 4705 def language @language end |
#status ⇒ Object
The status of the Flavor Asset
4703 4704 4705 |
# File 'lib/kaltura_types.rb', line 4703 def status @status end |
#video_codec_id ⇒ Object
The video codec
4701 4702 4703 |
# File 'lib/kaltura_types.rb', line 4701 def video_codec_id @video_codec_id end |
#width ⇒ Object
The width of the Flavor Asset
4687 4688 4689 |
# File 'lib/kaltura_types.rb', line 4687 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 |
# File 'lib/kaltura_types.rb', line 4739 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 |