Class: Kaltura::KalturaSessionInfo

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

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

#expiryObject

Returns the value of attribute expiry.



9504
9505
9506
# File 'lib/kaltura_types.rb', line 9504

def expiry
  @expiry
end

#ksObject

Returns the value of attribute ks.



9500
9501
9502
# File 'lib/kaltura_types.rb', line 9500

def ks
  @ks
end

#partner_idObject

Returns the value of attribute partner_id.



9502
9503
9504
# File 'lib/kaltura_types.rb', line 9502

def partner_id
  @partner_id
end

#privilegesObject

Returns the value of attribute privileges.



9505
9506
9507
# File 'lib/kaltura_types.rb', line 9505

def privileges
  @privileges
end

#session_typeObject

Returns the value of attribute session_type.



9501
9502
9503
# File 'lib/kaltura_types.rb', line 9501

def session_type
  @session_type
end

#user_idObject

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