summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/thriftgen/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload')
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/Pyload.py2
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/ttypes.py12
2 files changed, 7 insertions, 7 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload.py b/module/remote/thriftbackend/thriftgen/pyload/Pyload.py
index 828ff520d..eef9e38e5 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/Pyload.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload.py
@@ -5053,7 +5053,7 @@ class getEvents_result(TBase):
]
thrift_spec = (
- (0, TType.LIST, 'success', (TType.STRUCT,(Event, Event.thrift_spec)), None, ), # 0
+ (0, TType.LIST, 'success', (TType.STRUCT,(EventInfo, EventInfo.thrift_spec)), None, ), # 0
)
def __init__(self, success=None,):
diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
index 8b0428abd..78b2acc09 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
@@ -434,17 +434,17 @@ class CaptchaTask(TBase):
self.resultType = resultType
-class Event(TBase):
+class EventInfo(TBase):
"""
Attributes:
- - event
+ - eventname
- id
- type
- destination
"""
__slots__ = [
- 'event',
+ 'eventname',
'id',
'type',
'destination',
@@ -452,14 +452,14 @@ class Event(TBase):
thrift_spec = (
None, # 0
- (1, TType.STRING, 'event', None, None, ), # 1
+ (1, TType.STRING, 'eventname', None, None, ), # 1
(2, TType.I32, 'id', None, None, ), # 2
(3, TType.I32, 'type', None, None, ), # 3
(4, TType.I32, 'destination', None, None, ), # 4
)
- def __init__(self, event=None, id=None, type=None, destination=None,):
- self.event = event
+ def __init__(self, eventname=None, id=None, type=None, destination=None,):
+ self.eventname = eventname
self.id = id
self.type = type
self.destination = destination