Class: Kaltura::KalturaRequestConfiguration
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaRequestConfiguration
- Defined in:
- lib/kaltura_types.rb
Overview
Define client request optional configurations
/
Instance Attribute Summary collapse
-
#ks ⇒ Object
Kaltura API session.
-
#partner_id ⇒ Object
Impersonated partner id.
-
#response_profile ⇒ Object
Response profile - this attribute will be automatically unset after every API call.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#ks ⇒ Object
Kaltura API session
8462 8463 8464 |
# File 'lib/kaltura_types.rb', line 8462 def ks @ks end |
#partner_id ⇒ Object
Impersonated partner id
8460 8461 8462 |
# File 'lib/kaltura_types.rb', line 8460 def partner_id @partner_id end |
#response_profile ⇒ Object
Response profile - this attribute will be automatically unset after every API call.
8464 8465 8466 |
# File 'lib/kaltura_types.rb', line 8464 def response_profile @response_profile end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 |
# File 'lib/kaltura_types.rb', line 8470 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 |