Class: Kaltura::KalturaStatsKmcEvent

Inherits:
KalturaObjectBase show all
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

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#client_verObject

Returns the value of attribute client_ver.



5848
5849
5850
# File 'lib/kaltura_types.rb', line 5848

def client_ver
  @client_ver
end

#entry_idObject

Returns the value of attribute entry_id.



5858
5859
5860
# File 'lib/kaltura_types.rb', line 5858

def entry_id
  @entry_id
end

#event_timestampObject

the client’s timestamp of this event



5853
5854
5855
# File 'lib/kaltura_types.rb', line 5853

def event_timestamp
  @event_timestamp
end

#kmc_event_action_pathObject

Returns the value of attribute kmc_event_action_path.



5849
5850
5851
# File 'lib/kaltura_types.rb', line 5849

def kmc_event_action_path
  @kmc_event_action_path
end

#kmc_event_typeObject

Returns the value of attribute kmc_event_type.



5850
5851
5852
# File 'lib/kaltura_types.rb', line 5850

def kmc_event_type
  @kmc_event_type
end

#partner_idObject

Returns the value of attribute partner_id.



5857
5858
5859
# File 'lib/kaltura_types.rb', line 5857

def partner_id
  @partner_id
end

#session_idObject

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



5856
5857
5858
# File 'lib/kaltura_types.rb', line 5856

def session_id
  @session_id
end

#uiconf_idObject

Returns the value of attribute uiconf_id.



5860
5861
5862
# File 'lib/kaltura_types.rb', line 5860

def uiconf_id
  @uiconf_id
end

#user_idObject

the partner’s user id



5863
5864
5865
# File 'lib/kaltura_types.rb', line 5863

def user_id
  @user_id
end

#user_ipObject

will be retrieved from the request of the user



5866
5867
5868
# File 'lib/kaltura_types.rb', line 5866

def user_ip
  @user_ip
end

#widget_idObject

Returns the value of attribute widget_id.



5859
5860
5861
# File 'lib/kaltura_types.rb', line 5859

def widget_id
  @widget_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
# File 'lib/kaltura_types.rb', line 5881

def from_xml(xml_element)
  super
  self.client_ver = xml_element.elements['clientVer'].text
  self.kmc_event_action_path = xml_element.elements['kmcEventActionPath'].text
  self.kmc_event_type = xml_element.elements['kmcEventType'].text
  self.event_timestamp = xml_element.elements['eventTimestamp'].text
  self.session_id = xml_element.elements['sessionId'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.entry_id = xml_element.elements['entryId'].text
  self.widget_id = xml_element.elements['widgetId'].text
  self.uiconf_id = xml_element.elements['uiconfId'].text
  self.user_id = xml_element.elements['userId'].text
  self.user_ip = xml_element.elements['userIp'].text
end