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



9098
9099
9100
# File 'lib/kaltura_types.rb', line 9098

def ks
  @ks
end

#languageObject

language



9100
9101
9102
# File 'lib/kaltura_types.rb', line 9100

def language
  @language
end

#partner_idObject

Impersonated partner id



9096
9097
9098
# File 'lib/kaltura_types.rb', line 9096

def partner_id
  @partner_id
end

#response_profileObject

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



9102
9103
9104
# File 'lib/kaltura_types.rb', line 9102

def response_profile
  @response_profile
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
# File 'lib/kaltura_types.rb', line 9108

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['language'] != nil
		self.language = xml_element.elements['language'].text
	end
	if xml_element.elements['responseProfile'] != nil
		self.response_profile = KalturaClientBase.object_from_xml(xml_element.elements['responseProfile'], 'KalturaBaseResponseProfile')
	end
end