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



8666
8667
8668
# File 'lib/kaltura_types.rb', line 8666

def ks
  @ks
end

#partner_idObject

Impersonated partner id



8664
8665
8666
# File 'lib/kaltura_types.rb', line 8664

def partner_id
  @partner_id
end

#response_profileObject

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



8668
8669
8670
# File 'lib/kaltura_types.rb', line 8668

def response_profile
  @response_profile
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
# File 'lib/kaltura_types.rb', line 8674

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