OmniSciDB  340b00dbf6
 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 5202 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 5213 of file ttypes.py.

5214  def __init__(self, create_=None, delete_=None, view_=None, edit_=None,):
5215  self.create_ = create_
5216  self.delete_ = delete_
5217  self.view_ = view_
5218  self.edit_ = edit_

Member Function Documentation

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

Definition at line 5285 of file ttypes.py.

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

Definition at line 5288 of file ttypes.py.

5289  def __ne__(self, other):
5290  return not (self == other)
5291 
def omnisci.thrift.ttypes.TDashboardPermissions.__repr__ (   self)

Definition at line 5280 of file ttypes.py.

5281  def __repr__(self):
5282  L = ['%s=%r' % (key, value)
5283  for key, value in self.__dict__.items()]
5284  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 5219 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_.

5220  def read(self, iprot):
5221  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5222  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5223  return
5224  iprot.readStructBegin()
5225  while True:
5226  (fname, ftype, fid) = iprot.readFieldBegin()
5227  if ftype == TType.STOP:
5228  break
5229  if fid == 1:
5230  if ftype == TType.BOOL:
5231  self.create_ = iprot.readBool()
5232  else:
5233  iprot.skip(ftype)
5234  elif fid == 2:
5235  if ftype == TType.BOOL:
5236  self.delete_ = iprot.readBool()
5237  else:
5238  iprot.skip(ftype)
5239  elif fid == 3:
5240  if ftype == TType.BOOL:
5241  self.view_ = iprot.readBool()
5242  else:
5243  iprot.skip(ftype)
5244  elif fid == 4:
5245  if ftype == TType.BOOL:
5246  self.edit_ = iprot.readBool()
5247  else:
5248  iprot.skip(ftype)
5249  else:
5250  iprot.skip(ftype)
5251  iprot.readFieldEnd()
5252  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDashboardPermissions.validate (   self)

Definition at line 5277 of file ttypes.py.

5278  def validate(self):
5279  return
def omnisci.thrift.ttypes.TDashboardPermissions.write (   self,
  oprot 
)

Definition at line 5253 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_.

5254  def write(self, oprot):
5255  if oprot._fast_encode is not None and self.thrift_spec is not None:
5256  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5257  return
5258  oprot.writeStructBegin('TDashboardPermissions')
5259  if self.create_ is not None:
5260  oprot.writeFieldBegin('create_', TType.BOOL, 1)
5261  oprot.writeBool(self.create_)
5262  oprot.writeFieldEnd()
5263  if self.delete_ is not None:
5264  oprot.writeFieldBegin('delete_', TType.BOOL, 2)
5265  oprot.writeBool(self.delete_)
5266  oprot.writeFieldEnd()
5267  if self.view_ is not None:
5268  oprot.writeFieldBegin('view_', TType.BOOL, 3)
5269  oprot.writeBool(self.view_)
5270  oprot.writeFieldEnd()
5271  if self.edit_ is not None:
5272  oprot.writeFieldBegin('edit_', TType.BOOL, 4)
5273  oprot.writeBool(self.edit_)
5274  oprot.writeFieldEnd()
5275  oprot.writeFieldStop()
5276  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDashboardPermissions.__dict__
private

Definition at line 5286 of file ttypes.py.

omnisci.thrift.ttypes.TDashboardPermissions.create_

Definition at line 5214 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.delete_

Definition at line 5215 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 5217 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 5216 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: