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

Public Member Functions

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

Public Attributes

 create_
 
 delete_
 
 view_
 
 edit_
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - create_
 - delete_
 - view_
 - edit_

Definition at line 5082 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDashboardPermissions.__init__ (   self,
  create_ = None,
  delete_ = None,
  view_ = None,
  edit_ = None 
)

Definition at line 5093 of file ttypes.py.

5094  def __init__(self, create_=None, delete_=None, view_=None, edit_=None,):
5095  self.create_ = create_
5096  self.delete_ = delete_
5097  self.view_ = view_
5098  self.edit_ = edit_

Member Function Documentation

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

Definition at line 5165 of file ttypes.py.

5166  def __eq__(self, other):
5167  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDashboardPermissions.__ne__ (   self,
  other 
)

Definition at line 5168 of file ttypes.py.

5169  def __ne__(self, other):
5170  return not (self == other)
5171 
def omnisci.thrift.ttypes.TDashboardPermissions.__repr__ (   self)

Definition at line 5160 of file ttypes.py.

5161  def __repr__(self):
5162  L = ['%s=%r' % (key, value)
5163  for key, value in self.__dict__.items()]
5164  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.TDashboardPermissions.read (   self,
  iprot 
)

Definition at line 5099 of file ttypes.py.

References omnisci.thrift.ttypes.TDatabasePermissions.create_, omnisci.thrift.ttypes.TTablePermissions.create_, omnisci.thrift.ttypes.TDashboardPermissions.create_, omnisci.thrift.ttypes.TDatabasePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.delete_, omnisci.thrift.ttypes.TDashboardPermissions.delete_, omnisci.thrift.ttypes.TDashboardPermissions.edit_, and omnisci.thrift.ttypes.TDashboardPermissions.view_.

5100  def read(self, iprot):
5101  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5102  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5103  return
5104  iprot.readStructBegin()
5105  while True:
5106  (fname, ftype, fid) = iprot.readFieldBegin()
5107  if ftype == TType.STOP:
5108  break
5109  if fid == 1:
5110  if ftype == TType.BOOL:
5111  self.create_ = iprot.readBool()
5112  else:
5113  iprot.skip(ftype)
5114  elif fid == 2:
5115  if ftype == TType.BOOL:
5116  self.delete_ = iprot.readBool()
5117  else:
5118  iprot.skip(ftype)
5119  elif fid == 3:
5120  if ftype == TType.BOOL:
5121  self.view_ = iprot.readBool()
5122  else:
5123  iprot.skip(ftype)
5124  elif fid == 4:
5125  if ftype == TType.BOOL:
5126  self.edit_ = iprot.readBool()
5127  else:
5128  iprot.skip(ftype)
5129  else:
5130  iprot.skip(ftype)
5131  iprot.readFieldEnd()
5132  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDashboardPermissions.validate (   self)

Definition at line 5157 of file ttypes.py.

5158  def validate(self):
5159  return
def omnisci.thrift.ttypes.TDashboardPermissions.write (   self,
  oprot 
)

Definition at line 5133 of file ttypes.py.

References omnisci.thrift.ttypes.TDatabasePermissions.create_, omnisci.thrift.ttypes.TTablePermissions.create_, omnisci.thrift.ttypes.TDashboardPermissions.create_, omnisci.thrift.ttypes.TDatabasePermissions.delete_, omnisci.thrift.ttypes.TTablePermissions.delete_, omnisci.thrift.ttypes.TDashboardPermissions.delete_, omnisci.thrift.ttypes.TDashboardPermissions.edit_, and omnisci.thrift.ttypes.TDashboardPermissions.view_.

5134  def write(self, oprot):
5135  if oprot._fast_encode is not None and self.thrift_spec is not None:
5136  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5137  return
5138  oprot.writeStructBegin('TDashboardPermissions')
5139  if self.create_ is not None:
5140  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5141  oprot.writeBool(self.create_)
5142  oprot.writeFieldEnd()
5143  if self.delete_ is not None:
5144  oprot.writeFieldBegin('delete_', TType.BOOL, 2)
5145  oprot.writeBool(self.delete_)
5146  oprot.writeFieldEnd()
5147  if self.view_ is not None:
5148  oprot.writeFieldBegin('view_', TType.BOOL, 3)
5149  oprot.writeBool(self.view_)
5150  oprot.writeFieldEnd()
5151  if self.edit_ is not None:
5152  oprot.writeFieldBegin('edit_', TType.BOOL, 4)
5153  oprot.writeBool(self.edit_)
5154  oprot.writeFieldEnd()
5155  oprot.writeFieldStop()
5156  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDashboardPermissions.__dict__
private

Definition at line 5166 of file ttypes.py.

omnisci.thrift.ttypes.TDashboardPermissions.create_

Definition at line 5094 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDashboardPermissions.read(), omnisci.thrift.ttypes.TViewPermissions.read(), omnisci.thrift.ttypes.TServerPermissions.read(), omnisci.thrift.ttypes.TDashboardPermissions.write(), omnisci.thrift.ttypes.TViewPermissions.write(), and omnisci.thrift.ttypes.TServerPermissions.write().

omnisci.thrift.ttypes.TDashboardPermissions.delete_

Definition at line 5095 of file ttypes.py.

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

omnisci.thrift.ttypes.TDashboardPermissions.edit_

Definition at line 5097 of file ttypes.py.

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

omnisci.thrift.ttypes.TDashboardPermissions.view_

Definition at line 5096 of file ttypes.py.

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


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