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.



9130
9131
9132
# File 'lib/kaltura_types.rb', line 9130

def client_ver
  @client_ver
end

#entry_idObject

Returns the value of attribute entry_id.



9138
9139
9140
# File 'lib/kaltura_types.rb', line 9138

def entry_id
  @entry_id
end

#event_timestampObject

the client’s timestamp of this event



9134
9135
9136
# File 'lib/kaltura_types.rb', line 9134

def event_timestamp
  @event_timestamp
end

#kmc_event_action_pathObject

Returns the value of attribute kmc_event_action_path.



9131
9132
9133
# File 'lib/kaltura_types.rb', line 9131

def kmc_event_action_path
  @kmc_event_action_path
end

#kmc_event_typeObject

Returns the value of attribute kmc_event_type.



9132
9133
9134
# File 'lib/kaltura_types.rb', line 9132

def kmc_event_type
  @kmc_event_type
end

#partner_idObject

Returns the value of attribute partner_id.



9137
9138
9139
# File 'lib/kaltura_types.rb', line 9137

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



9136
9137
9138
# File 'lib/kaltura_types.rb', line 9136

def session_id
  @session_id
end

#uiconf_idObject

Returns the value of attribute uiconf_id.



9140
9141
9142
# File 'lib/kaltura_types.rb', line 9140

def uiconf_id
  @uiconf_id
end

#user_idObject

the partner’s user id



9142
9143
9144
# File 'lib/kaltura_types.rb', line 9142

def user_id
  @user_id
end

#user_ipObject

will be retrieved from the request of the user



9144
9145
9146
# File 'lib/kaltura_types.rb', line 9144

def user_ip
  @user_ip
end

#widget_idObject

Returns the value of attribute widget_id.



9139
9140
9141
# File 'lib/kaltura_types.rb', line 9139

def widget_id
  @widget_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
# File 'lib/kaltura_types.rb', line 9159

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