Class: Kaltura::KalturaAssetParamsResourceContainer

Inherits:
KalturaResource show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#asset_params_idObject

The asset params to associate with the reaource



802
803
804
# File 'lib/kaltura_types.rb', line 802

def asset_params_id
  @asset_params_id
end

#resourceObject

The content resource to associate with asset params



800
801
802
# File 'lib/kaltura_types.rb', line 800

def resource
  @resource
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



808
809
810
811
812
813
814
815
816
# 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