OmniSciDB  a575cb28ea
 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
 
 dashboard_permissions
 

Private Attributes

 __dict__
 

Detailed Description

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

Definition at line 5658 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,
  dashboard_permissions = None 
)

Definition at line 5674 of file ttypes.py.

5675  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, dashboard_permissions=None,):
5676  self.dashboard_name = dashboard_name
5677  self.dashboard_state = dashboard_state
5678  self.image_hash = image_hash
5679  self.update_time = update_time
5680  self.dashboard_metadata = dashboard_metadata
5681  self.dashboard_id = dashboard_id
5682  self.dashboard_owner = dashboard_owner
5683  self.is_dash_shared = is_dash_shared
5684  self.dashboard_permissions = dashboard_permissions

Member Function Documentation

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

Definition at line 5797 of file ttypes.py.

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

Definition at line 5800 of file ttypes.py.

5801  def __ne__(self, other):
5802  return not (self == other)
5803 
def omnisci.thrift.ttypes.TDashboard.__repr__ (   self)

Definition at line 5792 of file ttypes.py.

5793  def __repr__(self):
5794  L = ['%s=%r' % (key, value)
5795  for key, value in self.__dict__.items()]
5796  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 5685 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_permissions, 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.

5686  def read(self, iprot):
5687  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5688  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5689  return
5690  iprot.readStructBegin()
5691  while True:
5692  (fname, ftype, fid) = iprot.readFieldBegin()
5693  if ftype == TType.STOP:
5694  break
5695  if fid == 1:
5696  if ftype == TType.STRING:
5697  self.dashboard_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5698  else:
5699  iprot.skip(ftype)
5700  elif fid == 2:
5701  if ftype == TType.STRING:
5702  self.dashboard_state = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5703  else:
5704  iprot.skip(ftype)
5705  elif fid == 3:
5706  if ftype == TType.STRING:
5707  self.image_hash = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5708  else:
5709  iprot.skip(ftype)
5710  elif fid == 4:
5711  if ftype == TType.STRING:
5712  self.update_time = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5713  else:
5714  iprot.skip(ftype)
5715  elif fid == 5:
5716  if ftype == TType.STRING:
5717  self.dashboard_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5718  else:
5719  iprot.skip(ftype)
5720  elif fid == 6:
5721  if ftype == TType.I32:
5722  self.dashboard_id = iprot.readI32()
5723  else:
5724  iprot.skip(ftype)
5725  elif fid == 7:
5726  if ftype == TType.STRING:
5727  self.dashboard_owner = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5728  else:
5729  iprot.skip(ftype)
5730  elif fid == 8:
5731  if ftype == TType.BOOL:
5732  self.is_dash_shared = iprot.readBool()
5733  else:
5734  iprot.skip(ftype)
5735  elif fid == 9:
5736  if ftype == TType.STRUCT:
5738  self.dashboard_permissions.read(iprot)
5739  else:
5740  iprot.skip(ftype)
5741  else:
5742  iprot.skip(ftype)
5743  iprot.readFieldEnd()
5744  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDashboard.validate (   self)

Definition at line 5789 of file ttypes.py.

5790  def validate(self):
5791  return
def omnisci.thrift.ttypes.TDashboard.write (   self,
  oprot 
)

Definition at line 5745 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_permissions, 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.

5746  def write(self, oprot):
5747  if oprot._fast_encode is not None and self.thrift_spec is not None:
5748  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5749  return
5750  oprot.writeStructBegin('TDashboard')
5751  if self.dashboard_name is not None:
5752  oprot.writeFieldBegin('dashboard_name', TType.STRING, 1)
5753  oprot.writeString(self.dashboard_name.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_name)
5754  oprot.writeFieldEnd()
5755  if self.dashboard_state is not None:
5756  oprot.writeFieldBegin('dashboard_state', TType.STRING, 2)
5757  oprot.writeString(self.dashboard_state.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_state)
5758  oprot.writeFieldEnd()
5759  if self.image_hash is not None:
5760  oprot.writeFieldBegin('image_hash', TType.STRING, 3)
5761  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
5762  oprot.writeFieldEnd()
5763  if self.update_time is not None:
5764  oprot.writeFieldBegin('update_time', TType.STRING, 4)
5765  oprot.writeString(self.update_time.encode('utf-8') if sys.version_info[0] == 2 else self.update_time)
5766  oprot.writeFieldEnd()
5767  if self.dashboard_metadata is not None:
5768  oprot.writeFieldBegin('dashboard_metadata', TType.STRING, 5)
5769  oprot.writeString(self.dashboard_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_metadata)
5770  oprot.writeFieldEnd()
5771  if self.dashboard_id is not None:
5772  oprot.writeFieldBegin('dashboard_id', TType.I32, 6)
5773  oprot.writeI32(self.dashboard_id)
5774  oprot.writeFieldEnd()
5775  if self.dashboard_owner is not None:
5776  oprot.writeFieldBegin('dashboard_owner', TType.STRING, 7)
5777  oprot.writeString(self.dashboard_owner.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_owner)
5778  oprot.writeFieldEnd()
5779  if self.is_dash_shared is not None:
5780  oprot.writeFieldBegin('is_dash_shared', TType.BOOL, 8)
5781  oprot.writeBool(self.is_dash_shared)
5782  oprot.writeFieldEnd()
5783  if self.dashboard_permissions is not None:
5784  oprot.writeFieldBegin('dashboard_permissions', TType.STRUCT, 9)
5785  self.dashboard_permissions.write(oprot)
5786  oprot.writeFieldEnd()
5787  oprot.writeFieldStop()
5788  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDashboard.__dict__
private

Definition at line 5798 of file ttypes.py.

omnisci.thrift.ttypes.TDashboard.dashboard_id

Definition at line 5680 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 5679 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 5675 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 5681 of file ttypes.py.

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

omnisci.thrift.ttypes.TDashboard.dashboard_permissions

Definition at line 5683 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 5676 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 5677 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 5682 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 5678 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: