Class: Kaltura::KalturaOperationResource
- Inherits:
-
KalturaContentResource
- Object
- KalturaObjectBase
- KalturaResource
- KalturaContentResource
- Kaltura::KalturaOperationResource
- Defined in:
- lib/kaltura_types.rb
Overview
A resource that perform operation (transcoding, clipping, cropping) before the flavor is ready.
Instance Attribute Summary collapse
-
#asset_params_id ⇒ Object
ID of alternative asset params to be used instead of the system default flavor params.
-
#operation_attributes ⇒ Object
Returns the value of attribute operation_attributes.
-
#resource ⇒ Object
Only KalturaEntryResource and KalturaAssetResource are supported.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#asset_params_id ⇒ Object
ID of alternative asset params to be used instead of the system default flavor params
17320 17321 17322 |
# File 'lib/kaltura_types.rb', line 17320 def asset_params_id @asset_params_id end |
#operation_attributes ⇒ Object
Returns the value of attribute operation_attributes.
17318 17319 17320 |
# File 'lib/kaltura_types.rb', line 17318 def operation_attributes @operation_attributes end |
#resource ⇒ Object
Only KalturaEntryResource and KalturaAssetResource are supported
17317 17318 17319 |
# File 'lib/kaltura_types.rb', line 17317 def resource @resource end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 |
# File 'lib/kaltura_types.rb', line 17326 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 |