Class: Kaltura::KalturaSessionInfo
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaSessionInfo
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#ks ⇒ Object
Returns the value of attribute ks.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#privileges ⇒ Object
Returns the value of attribute privileges.
-
#session_type ⇒ Object
Returns the value of attribute session_type.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#expiry ⇒ Object
Returns the value of attribute expiry.
9504 9505 9506 |
# File 'lib/kaltura_types.rb', line 9504 def expiry @expiry end |
#ks ⇒ Object
Returns the value of attribute ks.
9500 9501 9502 |
# File 'lib/kaltura_types.rb', line 9500 def ks @ks end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9502 9503 9504 |
# File 'lib/kaltura_types.rb', line 9502 def partner_id @partner_id end |
#privileges ⇒ Object
Returns the value of attribute privileges.
9505 9506 9507 |
# File 'lib/kaltura_types.rb', line 9505 def privileges @privileges end |
#session_type ⇒ Object
Returns the value of attribute session_type.
9501 9502 9503 |
# File 'lib/kaltura_types.rb', line 9501 def session_type @session_type end |
#user_id ⇒ Object
Returns the value of attribute user_id.
9503 9504 9505 |
# File 'lib/kaltura_types.rb', line 9503 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/kaltura_types.rb', line 9517 def from_xml(xml_element) super if xml_element.elements['ks'] != nil self.ks = xml_element.elements['ks'].text end if xml_element.elements['sessionType'] != nil self.session_type = xml_element.elements['sessionType'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['expiry'] != nil self.expiry = xml_element.elements['expiry'].text end if xml_element.elements['privileges'] != nil self.privileges = xml_element.elements['privileges'].text end end |