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.



9584
9585
9586
# File 'lib/kaltura_types.rb', line 9584

def client_ver
  @client_ver
end

#entry_idObject

Returns the value of attribute entry_id.



9592
9593
9594
# File 'lib/kaltura_types.rb', line 9592

def entry_id
  @entry_id
end

#event_timestampObject

the client’s timestamp of this event



9588
9589
9590
# File 'lib/kaltura_types.rb', line 9588

def event_timestamp
  @event_timestamp
end

#kmc_event_action_pathObject

Returns the value of attribute kmc_event_action_path.



9585
9586
9587
# File 'lib/kaltura_types.rb', line 9585

def kmc_event_action_path
  @kmc_event_action_path
end

#kmc_event_typeObject

Returns the value of attribute kmc_event_type.



9586
9587
9588
# File 'lib/kaltura_types.rb', line 9586

def kmc_event_type
  @kmc_event_type
end

#partner_idObject

Returns the value of attribute partner_id.



9591
9592
9593
# File 'lib/kaltura_types.rb', line 9591

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



9590
9591
9592
# File 'lib/kaltura_types.rb', line 9590

def session_id
  @session_id
end

#uiconf_idObject

Returns the value of attribute uiconf_id.



9594
9595
9596
# File 'lib/kaltura_types.rb', line 9594

def uiconf_id
  @uiconf_id
end

#user_idObject

the partner’s user id



9596
9597
9598
# File 'lib/kaltura_types.rb', line 9596

def user_id
  @user_id
end

#user_ipObject

will be retrieved from the request of the user



9598
9599
9600
# File 'lib/kaltura_types.rb', line 9598

def user_ip
  @user_ip
end

#widget_idObject

Returns the value of attribute widget_id.



9593
9594
9595
# File 'lib/kaltura_types.rb', line 9593

def widget_id
  @widget_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
# File 'lib/kaltura_types.rb', line 9613

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.event_timestamp = 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.widget_id = 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