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



8720
8721
8722
# File 'lib/kaltura_types.rb', line 8720

def ks
  @ks
end

#partner_idObject

Impersonated partner id



8718
8719
8720
# File 'lib/kaltura_types.rb', line 8718

def partner_id
  @partner_id
end

#response_profileObject

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



8722
8723
8724
# File 'lib/kaltura_types.rb', line 8722

def response_profile
  @response_profile
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
# File 'lib/kaltura_types.rb', line 8728

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