Class: Kaltura::KalturaStatsKmcEvent
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaStatsKmcEvent
- Defined in:
- lib/kaltura_types.rb
Overview
Will hold data from the Kaltura UI components to be passed on to the reports and analytics system
Instance Attribute Summary collapse
-
#client_ver ⇒ Object
Returns the value of attribute client_ver.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#event_timestamp ⇒ Object
the client’s timestamp of this event.
-
#kmc_event_action_path ⇒ Object
Returns the value of attribute kmc_event_action_path.
-
#kmc_event_type ⇒ Object
Returns the value of attribute kmc_event_type.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#session_id ⇒ Object
a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it.
-
#uiconf_id ⇒ Object
Returns the value of attribute uiconf_id.
-
#user_id ⇒ Object
the partner’s user id.
-
#user_ip ⇒ Object
will be retrieved from the request of the user.
-
#widget_id ⇒ Object
Returns the value of attribute widget_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#client_ver ⇒ Object
Returns the value of attribute client_ver.
9740 9741 9742 |
# File 'lib/kaltura_types.rb', line 9740 def client_ver @client_ver end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
9748 9749 9750 |
# File 'lib/kaltura_types.rb', line 9748 def entry_id @entry_id end |
#event_timestamp ⇒ Object
the client’s timestamp of this event
9744 9745 9746 |
# File 'lib/kaltura_types.rb', line 9744 def @event_timestamp end |
#kmc_event_action_path ⇒ Object
Returns the value of attribute kmc_event_action_path.
9741 9742 9743 |
# File 'lib/kaltura_types.rb', line 9741 def kmc_event_action_path @kmc_event_action_path end |
#kmc_event_type ⇒ Object
Returns the value of attribute kmc_event_type.
9742 9743 9744 |
# File 'lib/kaltura_types.rb', line 9742 def kmc_event_type @kmc_event_type end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9747 9748 9749 |
# File 'lib/kaltura_types.rb', line 9747 def partner_id @partner_id end |
#session_id ⇒ Object
a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it
9746 9747 9748 |
# File 'lib/kaltura_types.rb', line 9746 def session_id @session_id end |
#uiconf_id ⇒ Object
Returns the value of attribute uiconf_id.
9750 9751 9752 |
# File 'lib/kaltura_types.rb', line 9750 def uiconf_id @uiconf_id end |
#user_id ⇒ Object
the partner’s user id
9752 9753 9754 |
# File 'lib/kaltura_types.rb', line 9752 def user_id @user_id end |
#user_ip ⇒ Object
will be retrieved from the request of the user
9754 9755 9756 |
# File 'lib/kaltura_types.rb', line 9754 def user_ip @user_ip end |
#widget_id ⇒ Object
Returns the value of attribute widget_id.
9749 9750 9751 |
# File 'lib/kaltura_types.rb', line 9749 def @widget_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 |
# File 'lib/kaltura_types.rb', line 9769 def from_xml(xml_element) super if xml_element.elements['clientVer'] != nil self.client_ver = xml_element.elements['clientVer'].text end if xml_element.elements['kmcEventActionPath'] != nil self.kmc_event_action_path = xml_element.elements['kmcEventActionPath'].text end if xml_element.elements['kmcEventType'] != nil self.kmc_event_type = xml_element.elements['kmcEventType'].text end if xml_element.elements['eventTimestamp'] != nil self. = xml_element.elements['eventTimestamp'].text end if xml_element.elements['sessionId'] != nil self.session_id = xml_element.elements['sessionId'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['entryId'] != nil self.entry_id = xml_element.elements['entryId'].text end if xml_element.elements['widgetId'] != nil self. = xml_element.elements['widgetId'].text end if xml_element.elements['uiconfId'] != nil self.uiconf_id = xml_element.elements['uiconfId'].text end if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['userIp'] != nil self.user_ip = xml_element.elements['userIp'].text end end |