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



794
795
796
# File 'lib/kaltura_types.rb', line 794

def asset_params_id
  @asset_params_id
end

#resourceObject

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