Class: Kaltura::KalturaAssetParamsResourceContainer
- Inherits:
-
KalturaResource
- Object
- KalturaObjectBase
- KalturaResource
- Kaltura::KalturaAssetParamsResourceContainer
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#asset_params_id ⇒ Object
The asset params to associate with the reaource.
-
#resource ⇒ Object
The content resource to associate with asset params.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#asset_params_id ⇒ Object
The asset params to associate with the reaource
794 795 796 |
# File 'lib/kaltura_types.rb', line 794 def asset_params_id @asset_params_id end |
#resource ⇒ Object
The content resource to associate with asset params
792 793 794 |
# File 'lib/kaltura_types.rb', line 792 def resource @resource end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
800 801 802 803 804 805 806 807 808 |
# File 'lib/kaltura_types.rb', line 800 def from_xml(xml_element) super if xml_element.elements['resource'] != nil self.resource = KalturaClientBase.object_from_xml(xml_element.elements['resource'], 'KalturaContentResource') end if xml_element.elements['assetParamsId'] != nil self.asset_params_id = xml_element.elements['assetParamsId'].text end end |