OmniSciDB  a7179b2938
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TDashboard Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TDashboard:
+ Collaboration diagram for omnisci.thrift.ttypes.TDashboard:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 dashboard_name
 
 dashboard_state
 
 image_hash
 
 update_time
 
 dashboard_metadata
 
 dashboard_id
 
 dashboard_owner
 
 is_dash_shared
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - dashboard_name
 - dashboard_state
 - image_hash
 - update_time
 - dashboard_metadata
 - dashboard_id
 - dashboard_owner
 - is_dash_shared

Definition at line 2238 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDashboard.__init__ (   self,
  dashboard_name = None,
  dashboard_state = None,
  image_hash = None,
  update_time = None,
  dashboard_metadata = None,
  dashboard_id = None,
  dashboard_owner = None,
  is_dash_shared = None 
)

Definition at line 2253 of file ttypes.py.

2254  def __init__(self, dashboard_name=None, dashboard_state=None, image_hash=None, update_time=None, dashboard_metadata=None, dashboard_id=None, dashboard_owner=None, is_dash_shared=None,):
2255  self.dashboard_name = dashboard_name
2256  self.dashboard_state = dashboard_state
2257  self.image_hash = image_hash
2258  self.update_time = update_time
2259  self.dashboard_metadata = dashboard_metadata
2260  self.dashboard_id = dashboard_id
2261  self.dashboard_owner = dashboard_owner
2262  self.is_dash_shared = is_dash_shared

Member Function Documentation

def omnisci.thrift.ttypes.TDashboard.__eq__ (   self,
  other 
)

Definition at line 2365 of file ttypes.py.

2366  def __eq__(self, other):
2367  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDashboard.__ne__ (   self,
  other 
)

Definition at line 2368 of file ttypes.py.

2369  def __ne__(self, other):
2370  return not (self == other)
2371 
def omnisci.thrift.ttypes.TDashboard.__repr__ (   self)

Definition at line 2360 of file ttypes.py.

2361  def __repr__(self):
2362  L = ['%s=%r' % (key, value)
2363  for key, value in self.__dict__.items()]
2364  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def omnisci.thrift.ttypes.TDashboard.read (   self,
  iprot 
)

Definition at line 2263 of file ttypes.py.

References omnisci.thrift.ttypes.TDashboard.dashboard_id, omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.delete_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.unshare_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.get_dashboard_grantees_args.dashboard_id, omnisci.thrift.ttypes.TDashboard.dashboard_metadata, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_metadata, omnisci.thrift.ttypes.TDashboard.dashboard_name, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_name, omnisci.thrift.ttypes.TDashboard.dashboard_owner, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_owner, omnisci.thrift.ttypes.TDashboard.dashboard_state, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_state, omnisci.thrift.ttypes.TFrontendView.image_hash, omnisci.thrift.ttypes.TDashboard.image_hash, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, omnisci.thrift.ttypes.TDashboard.is_dash_shared, omnisci.thrift.ttypes.TFrontendView.update_time, and omnisci.thrift.ttypes.TDashboard.update_time.

2264  def read(self, iprot):
2265  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2266  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2267  return
2268  iprot.readStructBegin()
2269  while True:
2270  (fname, ftype, fid) = iprot.readFieldBegin()
2271  if ftype == TType.STOP:
2272  break
2273  if fid == 1:
2274  if ftype == TType.STRING:
2275  self.dashboard_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2276  else:
2277  iprot.skip(ftype)
2278  elif fid == 2:
2279  if ftype == TType.STRING:
2280  self.dashboard_state = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2281  else:
2282  iprot.skip(ftype)
2283  elif fid == 3:
2284  if ftype == TType.STRING:
2285  self.image_hash = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2286  else:
2287  iprot.skip(ftype)
2288  elif fid == 4:
2289  if ftype == TType.STRING:
2290  self.update_time = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2291  else:
2292  iprot.skip(ftype)
2293  elif fid == 5:
2294  if ftype == TType.STRING:
2295  self.dashboard_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2296  else:
2297  iprot.skip(ftype)
2298  elif fid == 6:
2299  if ftype == TType.I32:
2300  self.dashboard_id = iprot.readI32()
2301  else:
2302  iprot.skip(ftype)
2303  elif fid == 7:
2304  if ftype == TType.STRING:
2305  self.dashboard_owner = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2306  else:
2307  iprot.skip(ftype)
2308  elif fid == 8:
2309  if ftype == TType.BOOL:
2310  self.is_dash_shared = iprot.readBool()
2311  else:
2312  iprot.skip(ftype)
2313  else:
2314  iprot.skip(ftype)
2315  iprot.readFieldEnd()
2316  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDashboard.validate (   self)

Definition at line 2357 of file ttypes.py.

2358  def validate(self):
2359  return
def omnisci.thrift.ttypes.TDashboard.write (   self,
  oprot 
)

Definition at line 2317 of file ttypes.py.

References omnisci.thrift.ttypes.TDashboard.dashboard_id, omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.delete_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.unshare_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.get_dashboard_grantees_args.dashboard_id, omnisci.thrift.ttypes.TDashboard.dashboard_metadata, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_metadata, omnisci.thrift.ttypes.TDashboard.dashboard_name, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_name, omnisci.thrift.ttypes.TDashboard.dashboard_owner, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_owner, omnisci.thrift.ttypes.TDashboard.dashboard_state, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_state, omnisci.thrift.ttypes.TFrontendView.image_hash, omnisci.thrift.ttypes.TDashboard.image_hash, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, omnisci.thrift.ttypes.TDashboard.is_dash_shared, omnisci.thrift.ttypes.TFrontendView.update_time, and omnisci.thrift.ttypes.TDashboard.update_time.

2318  def write(self, oprot):
2319  if oprot._fast_encode is not None and self.thrift_spec is not None:
2320  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2321  return
2322  oprot.writeStructBegin('TDashboard')
2323  if self.dashboard_name is not None:
2324  oprot.writeFieldBegin('dashboard_name', TType.STRING, 1)
2325  oprot.writeString(self.dashboard_name.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_name)
2326  oprot.writeFieldEnd()
2327  if self.dashboard_state is not None:
2328  oprot.writeFieldBegin('dashboard_state', TType.STRING, 2)
2329  oprot.writeString(self.dashboard_state.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_state)
2330  oprot.writeFieldEnd()
2331  if self.image_hash is not None:
2332  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
2333  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
2334  oprot.writeFieldEnd()
2335  if self.update_time is not None:
2336  oprot.writeFieldBegin('update_time', TType.STRING, 4)
2337  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
2338  oprot.writeFieldEnd()
2339  if self.dashboard_metadata is not None:
2340  oprot.writeFieldBegin('dashboard_metadata', TType.STRING, 5)
2341  oprot.writeString(self.dashboard_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_metadata)
2342  oprot.writeFieldEnd()
2343  if self.dashboard_id is not None:
2344  oprot.writeFieldBegin('dashboard_id', TType.I32, 6)
2345  oprot.writeI32(self.dashboard_id)
2346  oprot.writeFieldEnd()
2347  if self.dashboard_owner is not None:
2348  oprot.writeFieldBegin('dashboard_owner', TType.STRING, 7)
2349  oprot.writeString(self.dashboard_owner.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_owner)
2350  oprot.writeFieldEnd()
2351  if self.is_dash_shared is not None:
2352  oprot.writeFieldBegin('is_dash_shared', TType.BOOL, 8)
2353  oprot.writeBool(self.is_dash_shared)
2354  oprot.writeFieldEnd()
2355  oprot.writeFieldStop()
2356  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDashboard.__dict__
private

Definition at line 2366 of file ttypes.py.

omnisci.thrift.ttypes.TDashboard.dashboard_id

Definition at line 2259 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.dashboard_metadata

Definition at line 2258 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.dashboard_name

Definition at line 2254 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.dashboard_owner

Definition at line 2260 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.dashboard_state

Definition at line 2255 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.image_hash

Definition at line 2256 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.is_dash_shared

Definition at line 2261 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().

omnisci.thrift.ttypes.TDashboard.update_time

Definition at line 2257 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), and omnisci.thrift.ttypes.TDashboard.write().


The documentation for this class was generated from the following file: