NebulaGraph Python Client
release-3.8
AuthResult.py
1
# --coding:utf-8--
2
#
3
# Copyright (c) 2021 vesoft inc. All rights reserved.
4
#
5
# This source code is licensed under Apache 2.0 License.
6
7
8
class
AuthResult
(object):
9
def
__init__(self, session_id, timezone_offset, timezone_name):
10
self.
_session_id
_session_id = session_id
11
self.
_timezone_offset
_timezone_offset = timezone_offset
12
self.
_timezone_name
_timezone_name = timezone_name
13
14
def
get_session_id(self):
15
return
self.
_session_id
_session_id
16
17
def
get_timezone_offset(self):
18
return
self.
_timezone_offset
_timezone_offset
19
20
def
get_timezone_name(self):
21
return
self.
_timezone_name
_timezone_name
nebula3.gclient.net.AuthResult.AuthResult
Definition:
AuthResult.py:8
nebula3.gclient.net.AuthResult.AuthResult._timezone_offset
_timezone_offset
Definition:
AuthResult.py:11
nebula3.gclient.net.AuthResult.AuthResult._session_id
_session_id
Definition:
AuthResult.py:10
nebula3.gclient.net.AuthResult.AuthResult._timezone_name
_timezone_name
Definition:
AuthResult.py:12
nebula3
gclient
net
AuthResult.py
Generated by
1.9.1