Class: Kaltura::KalturaRequestConfiguration

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

Overview

Define client request optional configurations

/

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

#ksObject

Kaltura API session



8947
8948
8949
# File 'lib/kaltura_types.rb', line 8947

def ks
  @ks
end

#partner_idObject

Impersonated partner id



8945
8946
8947
# File 'lib/kaltura_types.rb', line 8945

def partner_id
  @partner_id
end

#response_profileObject

Response profile - this attribute will be automatically unset after every API call.



8949
8950
8951
# File 'lib/kaltura_types.rb', line 8949

def response_profile
  @response_profile
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
# File 'lib/kaltura_types.rb', line 8955

def from_xml(xml_element)
	super
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['ks'] != nil
		self.ks = xml_element.elements['ks'].text
	end
	if xml_element.elements['responseProfile'] != nil
		self.response_profile = KalturaClientBase.object_from_xml(xml_element.elements['responseProfile'], 'KalturaBaseResponseProfile')
	end
end