class Kaltura::KalturaOperationResource

A resource that perform operation (transcoding, clipping, cropping) before the flavor is ready.

Attributes

asset_params_id[RW]

ID of alternative asset params to be used instead of the system default flavor params

operation_attributes[RW]
resource[RW]

Public Instance Methods

asset_params_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 17729
def asset_params_id=(val)
        @asset_params_id = val.to_i
end
from_xml(xml_element) click to toggle source
# File lib/kaltura_types.rb, line 17733
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['operationAttributes'] != nil
                self.operation_attributes = KalturaClientBase.object_from_xml(xml_element.elements['operationAttributes'], 'KalturaOperationAttributes')
        end
        if xml_element.elements['assetParamsId'] != nil
                self.asset_params_id = xml_element.elements['assetParamsId'].text
        end
end