# Auto-generated, do not edit

from abc import ABC

class Message(ABC):
    pass


class Timestamp(Message):
    __id__ = 0

    def __init__(self, timestamp):
        self.timestamp = timestamp


class SessionStart(Message):
    __id__ = 1

    def __init__(self, timestamp, project_id, tracker_version, rev_id, user_uuid, user_agent, user_os, user_os_version, user_browser, user_browser_version, user_device, user_device_type, user_device_memory_size, user_device_heap_size, user_country, user_id):
        self.timestamp = timestamp
        self.project_id = project_id
        self.tracker_version = tracker_version
        self.rev_id = rev_id
        self.user_uuid = user_uuid
        self.user_agent = user_agent
        self.user_os = user_os
        self.user_os_version = user_os_version
        self.user_browser = user_browser
        self.user_browser_version = user_browser_version
        self.user_device = user_device
        self.user_device_type = user_device_type
        self.user_device_memory_size = user_device_memory_size
        self.user_device_heap_size = user_device_heap_size
        self.user_country = user_country
        self.user_id = user_id


class SetPageLocationDeprecated(Message):
    __id__ = 4

    def __init__(self, url, referrer, navigation_start):
        self.url = url
        self.referrer = referrer
        self.navigation_start = navigation_start


class SetViewportSize(Message):
    __id__ = 5

    def __init__(self, width, height):
        self.width = width
        self.height = height


class SetViewportScroll(Message):
    __id__ = 6

    def __init__(self, x, y):
        self.x = x
        self.y = y


class CreateDocument(Message):
    __id__ = 7

    def __init__(self, ):
        


class CreateElementNode(Message):
    __id__ = 8

    def __init__(self, id, parent_id, index, tag, svg):
        self.id = id
        self.parent_id = parent_id
        self.index = index
        self.tag = tag
        self.svg = svg


class CreateTextNode(Message):
    __id__ = 9

    def __init__(self, id, parent_id, index):
        self.id = id
        self.parent_id = parent_id
        self.index = index


class MoveNode(Message):
    __id__ = 10

    def __init__(self, id, parent_id, index):
        self.id = id
        self.parent_id = parent_id
        self.index = index


class RemoveNode(Message):
    __id__ = 11

    def __init__(self, id):
        self.id = id


class SetNodeAttribute(Message):
    __id__ = 12

    def __init__(self, id, name, value):
        self.id = id
        self.name = name
        self.value = value


class RemoveNodeAttribute(Message):
    __id__ = 13

    def __init__(self, id, name):
        self.id = id
        self.name = name


class SetNodeData(Message):
    __id__ = 14

    def __init__(self, id, data):
        self.id = id
        self.data = data


class SetCSSData(Message):
    __id__ = 15

    def __init__(self, id, data):
        self.id = id
        self.data = data


class SetNodeScroll(Message):
    __id__ = 16

    def __init__(self, id, x, y):
        self.id = id
        self.x = x
        self.y = y


class SetInputTarget(Message):
    __id__ = 17

    def __init__(self, id, label):
        self.id = id
        self.label = label


class SetInputValue(Message):
    __id__ = 18

    def __init__(self, id, value, mask):
        self.id = id
        self.value = value
        self.mask = mask


class SetInputChecked(Message):
    __id__ = 19

    def __init__(self, id, checked):
        self.id = id
        self.checked = checked


class MouseMove(Message):
    __id__ = 20

    def __init__(self, x, y):
        self.x = x
        self.y = y


class NetworkRequestDeprecated(Message):
    __id__ = 21

    def __init__(self, type, method, url, request, response, status, timestamp, duration):
        self.type = type
        self.method = method
        self.url = url
        self.request = request
        self.response = response
        self.status = status
        self.timestamp = timestamp
        self.duration = duration


class ConsoleLog(Message):
    __id__ = 22

    def __init__(self, level, value):
        self.level = level
        self.value = value


class PageLoadTiming(Message):
    __id__ = 23

    def __init__(self, request_start, response_start, response_end, dom_content_loaded_event_start, dom_content_loaded_event_end, load_event_start, load_event_end, first_paint, first_contentful_paint):
        self.request_start = request_start
        self.response_start = response_start
        self.response_end = response_end
        self.dom_content_loaded_event_start = dom_content_loaded_event_start
        self.dom_content_loaded_event_end = dom_content_loaded_event_end
        self.load_event_start = load_event_start
        self.load_event_end = load_event_end
        self.first_paint = first_paint
        self.first_contentful_paint = first_contentful_paint


class PageRenderTiming(Message):
    __id__ = 24

    def __init__(self, speed_index, visually_complete, time_to_interactive):
        self.speed_index = speed_index
        self.visually_complete = visually_complete
        self.time_to_interactive = time_to_interactive


class IntegrationEvent(Message):
    __id__ = 26

    def __init__(self, timestamp, source, name, message, payload):
        self.timestamp = timestamp
        self.source = source
        self.name = name
        self.message = message
        self.payload = payload


class CustomEvent(Message):
    __id__ = 27

    def __init__(self, name, payload):
        self.name = name
        self.payload = payload


class UserID(Message):
    __id__ = 28

    def __init__(self, id):
        self.id = id


class UserAnonymousID(Message):
    __id__ = 29

    def __init__(self, id):
        self.id = id


class Metadata(Message):
    __id__ = 30

    def __init__(self, key, value):
        self.key = key
        self.value = value


class PageEventDeprecated(Message):
    __id__ = 31

    def __init__(self, message_id, timestamp, url, referrer, loaded, request_start, response_start, response_end, dom_content_loaded_event_start, dom_content_loaded_event_end, load_event_start, load_event_end, first_paint, first_contentful_paint, speed_index, visually_complete, time_to_interactive):
        self.message_id = message_id
        self.timestamp = timestamp
        self.url = url
        self.referrer = referrer
        self.loaded = loaded
        self.request_start = request_start
        self.response_start = response_start
        self.response_end = response_end
        self.dom_content_loaded_event_start = dom_content_loaded_event_start
        self.dom_content_loaded_event_end = dom_content_loaded_event_end
        self.load_event_start = load_event_start
        self.load_event_end = load_event_end
        self.first_paint = first_paint
        self.first_contentful_paint = first_contentful_paint
        self.speed_index = speed_index
        self.visually_complete = visually_complete
        self.time_to_interactive = time_to_interactive


class InputEvent(Message):
    __id__ = 32

    def __init__(self, message_id, timestamp, value, value_masked, label):
        self.message_id = message_id
        self.timestamp = timestamp
        self.value = value
        self.value_masked = value_masked
        self.label = label


class PageEvent(Message):
    __id__ = 33

    def __init__(self, message_id, timestamp, url, referrer, loaded, request_start, response_start, response_end, dom_content_loaded_event_start, dom_content_loaded_event_end, load_event_start, load_event_end, first_paint, first_contentful_paint, speed_index, visually_complete, time_to_interactive, web_vitals):
        self.message_id = message_id
        self.timestamp = timestamp
        self.url = url
        self.referrer = referrer
        self.loaded = loaded
        self.request_start = request_start
        self.response_start = response_start
        self.response_end = response_end
        self.dom_content_loaded_event_start = dom_content_loaded_event_start
        self.dom_content_loaded_event_end = dom_content_loaded_event_end
        self.load_event_start = load_event_start
        self.load_event_end = load_event_end
        self.first_paint = first_paint
        self.first_contentful_paint = first_contentful_paint
        self.speed_index = speed_index
        self.visually_complete = visually_complete
        self.time_to_interactive = time_to_interactive
        self.web_vitals = web_vitals


class StringDictGlobal(Message):
    __id__ = 34

    def __init__(self, key, value):
        self.key = key
        self.value = value


class SetNodeAttributeDictGlobal(Message):
    __id__ = 35

    def __init__(self, id, name, value):
        self.id = id
        self.name = name
        self.value = value


class Profiler(Message):
    __id__ = 40

    def __init__(self, name, duration, args, result):
        self.name = name
        self.duration = duration
        self.args = args
        self.result = result


class OTable(Message):
    __id__ = 41

    def __init__(self, key, value):
        self.key = key
        self.value = value


class StateAction(Message):
    __id__ = 42

    def __init__(self, type):
        self.type = type


class ReduxDeprecated(Message):
    __id__ = 44

    def __init__(self, action, state, duration):
        self.action = action
        self.state = state
        self.duration = duration


class Vuex(Message):
    __id__ = 45

    def __init__(self, mutation, state):
        self.mutation = mutation
        self.state = state


class MobX(Message):
    __id__ = 46

    def __init__(self, type, payload):
        self.type = type
        self.payload = payload


class NgRx(Message):
    __id__ = 47

    def __init__(self, action, state, duration):
        self.action = action
        self.state = state
        self.duration = duration


class GraphQLDeprecated(Message):
    __id__ = 48

    def __init__(self, operation_kind, operation_name, variables, response, duration):
        self.operation_kind = operation_kind
        self.operation_name = operation_name
        self.variables = variables
        self.response = response
        self.duration = duration


class PerformanceTrack(Message):
    __id__ = 49

    def __init__(self, frames, ticks, total_js_heap_size, used_js_heap_size):
        self.frames = frames
        self.ticks = ticks
        self.total_js_heap_size = total_js_heap_size
        self.used_js_heap_size = used_js_heap_size


class StringDictDeprecated(Message):
    __id__ = 50

    def __init__(self, key, value):
        self.key = key
        self.value = value


class SetNodeAttributeDictDeprecated(Message):
    __id__ = 51

    def __init__(self, id, name_key, value_key):
        self.id = id
        self.name_key = name_key
        self.value_key = value_key


class StringDict(Message):
    __id__ = 43

    def __init__(self, key, value):
        self.key = key
        self.value = value


class SetNodeAttributeDict(Message):
    __id__ = 52

    def __init__(self, id, name, value):
        self.id = id
        self.name = name
        self.value = value


class ResourceTimingDeprecated(Message):
    __id__ = 53

    def __init__(self, timestamp, duration, ttfb, header_size, encoded_body_size, decoded_body_size, url, initiator):
        self.timestamp = timestamp
        self.duration = duration
        self.ttfb = ttfb
        self.header_size = header_size
        self.encoded_body_size = encoded_body_size
        self.decoded_body_size = decoded_body_size
        self.url = url
        self.initiator = initiator


class ConnectionInformation(Message):
    __id__ = 54

    def __init__(self, downlink, type):
        self.downlink = downlink
        self.type = type


class SetPageVisibility(Message):
    __id__ = 55

    def __init__(self, hidden):
        self.hidden = hidden


class PerformanceTrackAggr(Message):
    __id__ = 56

    def __init__(self, timestamp_start, timestamp_end, min_fps, avg_fps, max_fps, min_cpu, avg_cpu, max_cpu, min_total_js_heap_size, avg_total_js_heap_size, max_total_js_heap_size, min_used_js_heap_size, avg_used_js_heap_size, max_used_js_heap_size):
        self.timestamp_start = timestamp_start
        self.timestamp_end = timestamp_end
        self.min_fps = min_fps
        self.avg_fps = avg_fps
        self.max_fps = max_fps
        self.min_cpu = min_cpu
        self.avg_cpu = avg_cpu
        self.max_cpu = max_cpu
        self.min_total_js_heap_size = min_total_js_heap_size
        self.avg_total_js_heap_size = avg_total_js_heap_size
        self.max_total_js_heap_size = max_total_js_heap_size
        self.min_used_js_heap_size = min_used_js_heap_size
        self.avg_used_js_heap_size = avg_used_js_heap_size
        self.max_used_js_heap_size = max_used_js_heap_size


class LoadFontFace(Message):
    __id__ = 57

    def __init__(self, parent_id, family, source, descriptors):
        self.parent_id = parent_id
        self.family = family
        self.source = source
        self.descriptors = descriptors


class SetNodeFocus(Message):
    __id__ = 58

    def __init__(self, id):
        self.id = id


class SetNodeAttributeURLBased(Message):
    __id__ = 60

    def __init__(self, id, name, value, base_url):
        self.id = id
        self.name = name
        self.value = value
        self.base_url = base_url


class SetCSSDataURLBased(Message):
    __id__ = 61

    def __init__(self, id, data, base_url):
        self.id = id
        self.data = data
        self.base_url = base_url


class TechnicalInfo(Message):
    __id__ = 63

    def __init__(self, type, value):
        self.type = type
        self.value = value


class CustomIssue(Message):
    __id__ = 64

    def __init__(self, name, payload):
        self.name = name
        self.payload = payload


class AssetCache(Message):
    __id__ = 66

    def __init__(self, url):
        self.url = url


class MouseClick(Message):
    __id__ = 68

    def __init__(self, id, hesitation_time, label, selector, normalized_x, normalized_y):
        self.id = id
        self.hesitation_time = hesitation_time
        self.label = label
        self.selector = selector
        self.normalized_x = normalized_x
        self.normalized_y = normalized_y


class MouseClickDeprecated(Message):
    __id__ = 69

    def __init__(self, id, hesitation_time, label, selector):
        self.id = id
        self.hesitation_time = hesitation_time
        self.label = label
        self.selector = selector


class CreateIFrameDocument(Message):
    __id__ = 70

    def __init__(self, frame_id, id):
        self.frame_id = frame_id
        self.id = id


class AdoptedSSReplaceURLBased(Message):
    __id__ = 71

    def __init__(self, sheet_id, text, base_url):
        self.sheet_id = sheet_id
        self.text = text
        self.base_url = base_url


class AdoptedSSReplace(Message):
    __id__ = 72

    def __init__(self, sheet_id, text):
        self.sheet_id = sheet_id
        self.text = text


class AdoptedSSInsertRuleURLBased(Message):
    __id__ = 73

    def __init__(self, sheet_id, rule, index, base_url):
        self.sheet_id = sheet_id
        self.rule = rule
        self.index = index
        self.base_url = base_url


class AdoptedSSInsertRule(Message):
    __id__ = 74

    def __init__(self, sheet_id, rule, index):
        self.sheet_id = sheet_id
        self.rule = rule
        self.index = index


class AdoptedSSDeleteRule(Message):
    __id__ = 75

    def __init__(self, sheet_id, index):
        self.sheet_id = sheet_id
        self.index = index


class AdoptedSSAddOwner(Message):
    __id__ = 76

    def __init__(self, sheet_id, id):
        self.sheet_id = sheet_id
        self.id = id


class AdoptedSSRemoveOwner(Message):
    __id__ = 77

    def __init__(self, sheet_id, id):
        self.sheet_id = sheet_id
        self.id = id


class JSException(Message):
    __id__ = 78

    def __init__(self, name, message, payload, metadata):
        self.name = name
        self.message = message
        self.payload = payload
        self.metadata = metadata


class Zustand(Message):
    __id__ = 79

    def __init__(self, mutation, state):
        self.mutation = mutation
        self.state = state


class BatchMetadata(Message):
    __id__ = 81

    def __init__(self, version, page_no, first_index, timestamp, location):
        self.version = version
        self.page_no = page_no
        self.first_index = first_index
        self.timestamp = timestamp
        self.location = location


class PartitionedMessage(Message):
    __id__ = 82

    def __init__(self, part_no, part_total):
        self.part_no = part_no
        self.part_total = part_total


class NetworkRequest(Message):
    __id__ = 83

    def __init__(self, type, method, url, request, response, status, timestamp, duration, transferred_body_size):
        self.type = type
        self.method = method
        self.url = url
        self.request = request
        self.response = response
        self.status = status
        self.timestamp = timestamp
        self.duration = duration
        self.transferred_body_size = transferred_body_size


class WSChannel(Message):
    __id__ = 84

    def __init__(self, ch_type, channel_name, data, timestamp, dir, message_type):
        self.ch_type = ch_type
        self.channel_name = channel_name
        self.data = data
        self.timestamp = timestamp
        self.dir = dir
        self.message_type = message_type


class InputChange(Message):
    __id__ = 112

    def __init__(self, id, value, value_masked, label, hesitation_time, input_duration):
        self.id = id
        self.value = value
        self.value_masked = value_masked
        self.label = label
        self.hesitation_time = hesitation_time
        self.input_duration = input_duration


class SelectionChange(Message):
    __id__ = 113

    def __init__(self, selection_start, selection_end, selection):
        self.selection_start = selection_start
        self.selection_end = selection_end
        self.selection = selection


class MouseThrashing(Message):
    __id__ = 114

    def __init__(self, timestamp):
        self.timestamp = timestamp


class UnbindNodes(Message):
    __id__ = 115

    def __init__(self, total_removed_percent):
        self.total_removed_percent = total_removed_percent


class ResourceTiming(Message):
    __id__ = 116

    def __init__(self, timestamp, duration, ttfb, header_size, encoded_body_size, decoded_body_size, url, initiator, transferred_size, cached):
        self.timestamp = timestamp
        self.duration = duration
        self.ttfb = ttfb
        self.header_size = header_size
        self.encoded_body_size = encoded_body_size
        self.decoded_body_size = decoded_body_size
        self.url = url
        self.initiator = initiator
        self.transferred_size = transferred_size
        self.cached = cached


class TabChange(Message):
    __id__ = 117

    def __init__(self, tab_id):
        self.tab_id = tab_id


class TabData(Message):
    __id__ = 118

    def __init__(self, tab_id):
        self.tab_id = tab_id


class CanvasNode(Message):
    __id__ = 119

    def __init__(self, node_id, timestamp):
        self.node_id = node_id
        self.timestamp = timestamp


class TagTrigger(Message):
    __id__ = 120

    def __init__(self, tag_id):
        self.tag_id = tag_id


class Redux(Message):
    __id__ = 121

    def __init__(self, action, state, duration, action_time):
        self.action = action
        self.state = state
        self.duration = duration
        self.action_time = action_time


class SetPageLocation(Message):
    __id__ = 122

    def __init__(self, url, referrer, navigation_start, document_title):
        self.url = url
        self.referrer = referrer
        self.navigation_start = navigation_start
        self.document_title = document_title


class GraphQL(Message):
    __id__ = 123

    def __init__(self, operation_kind, operation_name, variables, response, duration):
        self.operation_kind = operation_kind
        self.operation_name = operation_name
        self.variables = variables
        self.response = response
        self.duration = duration


class WebVitals(Message):
    __id__ = 124

    def __init__(self, name, value):
        self.name = name
        self.value = value


class IssueEvent(Message):
    __id__ = 125

    def __init__(self, message_id, timestamp, type, context_string, context, payload, url):
        self.message_id = message_id
        self.timestamp = timestamp
        self.type = type
        self.context_string = context_string
        self.context = context
        self.payload = payload
        self.url = url


class SessionEnd(Message):
    __id__ = 126

    def __init__(self, timestamp, encryption_key):
        self.timestamp = timestamp
        self.encryption_key = encryption_key


class SessionSearch(Message):
    __id__ = 127

    def __init__(self, timestamp, partition):
        self.timestamp = timestamp
        self.partition = partition


class MobileSessionStart(Message):
    __id__ = 90

    def __init__(self, timestamp, project_id, tracker_version, rev_id, user_uuid, user_os, user_os_version, user_device, user_device_type, user_country):
        self.timestamp = timestamp
        self.project_id = project_id
        self.tracker_version = tracker_version
        self.rev_id = rev_id
        self.user_uuid = user_uuid
        self.user_os = user_os
        self.user_os_version = user_os_version
        self.user_device = user_device
        self.user_device_type = user_device_type
        self.user_country = user_country


class MobileSessionEnd(Message):
    __id__ = 91

    def __init__(self, timestamp):
        self.timestamp = timestamp


class MobileMetadata(Message):
    __id__ = 92

    def __init__(self, timestamp, length, key, value):
        self.timestamp = timestamp
        self.length = length
        self.key = key
        self.value = value


class MobileEvent(Message):
    __id__ = 93

    def __init__(self, timestamp, length, name, payload):
        self.timestamp = timestamp
        self.length = length
        self.name = name
        self.payload = payload


class MobileUserID(Message):
    __id__ = 94

    def __init__(self, timestamp, length, id):
        self.timestamp = timestamp
        self.length = length
        self.id = id


class MobileUserAnonymousID(Message):
    __id__ = 95

    def __init__(self, timestamp, length, id):
        self.timestamp = timestamp
        self.length = length
        self.id = id


class MobileScreenChanges(Message):
    __id__ = 96

    def __init__(self, timestamp, length, x, y, width, height):
        self.timestamp = timestamp
        self.length = length
        self.x = x
        self.y = y
        self.width = width
        self.height = height


class MobileCrash(Message):
    __id__ = 97

    def __init__(self, timestamp, length, name, reason, stacktrace):
        self.timestamp = timestamp
        self.length = length
        self.name = name
        self.reason = reason
        self.stacktrace = stacktrace


class MobileViewComponentEvent(Message):
    __id__ = 98

    def __init__(self, timestamp, length, screen_name, view_name, visible):
        self.timestamp = timestamp
        self.length = length
        self.screen_name = screen_name
        self.view_name = view_name
        self.visible = visible


class MobileClickEvent(Message):
    __id__ = 100

    def __init__(self, timestamp, length, label, x, y):
        self.timestamp = timestamp
        self.length = length
        self.label = label
        self.x = x
        self.y = y


class MobileInputEvent(Message):
    __id__ = 101

    def __init__(self, timestamp, length, value, value_masked, label):
        self.timestamp = timestamp
        self.length = length
        self.value = value
        self.value_masked = value_masked
        self.label = label


class MobilePerformanceEvent(Message):
    __id__ = 102

    def __init__(self, timestamp, length, name, value):
        self.timestamp = timestamp
        self.length = length
        self.name = name
        self.value = value


class MobileLog(Message):
    __id__ = 103

    def __init__(self, timestamp, length, severity, content):
        self.timestamp = timestamp
        self.length = length
        self.severity = severity
        self.content = content


class MobileInternalError(Message):
    __id__ = 104

    def __init__(self, timestamp, length, content):
        self.timestamp = timestamp
        self.length = length
        self.content = content


class MobileNetworkCall(Message):
    __id__ = 105

    def __init__(self, timestamp, length, type, method, url, request, response, status, duration):
        self.timestamp = timestamp
        self.length = length
        self.type = type
        self.method = method
        self.url = url
        self.request = request
        self.response = response
        self.status = status
        self.duration = duration


class MobileSwipeEvent(Message):
    __id__ = 106

    def __init__(self, timestamp, length, label, x, y, direction):
        self.timestamp = timestamp
        self.length = length
        self.label = label
        self.x = x
        self.y = y
        self.direction = direction


class MobileBatchMeta(Message):
    __id__ = 107

    def __init__(self, timestamp, length, first_index):
        self.timestamp = timestamp
        self.length = length
        self.first_index = first_index


class MobilePerformanceAggregated(Message):
    __id__ = 110

    def __init__(self, timestamp_start, timestamp_end, min_fps, avg_fps, max_fps, min_cpu, avg_cpu, max_cpu, min_memory, avg_memory, max_memory, min_battery, avg_battery, max_battery):
        self.timestamp_start = timestamp_start
        self.timestamp_end = timestamp_end
        self.min_fps = min_fps
        self.avg_fps = avg_fps
        self.max_fps = max_fps
        self.min_cpu = min_cpu
        self.avg_cpu = avg_cpu
        self.max_cpu = max_cpu
        self.min_memory = min_memory
        self.avg_memory = avg_memory
        self.max_memory = max_memory
        self.min_battery = min_battery
        self.avg_battery = avg_battery
        self.max_battery = max_battery


class MobileIssueEvent(Message):
    __id__ = 111

    def __init__(self, timestamp, type, context_string, context, payload):
        self.timestamp = timestamp
        self.type = type
        self.context_string = context_string
        self.context = context
        self.payload = payload


