class Kaltura::KalturaAssetParamsResourceContainer

Attributes

asset_params_id[RW]

The asset params to associate with the reaource

resource[RW]

The content resource to associate with asset params

Public Instance Methods

asset_params_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 804
def asset_params_id=(val)
        @asset_params_id = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaResource#from_xml
# File lib/kaltura_types.rb, line 808
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