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

Public Member Functions

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

Public Attributes

 database_permissions_
 
 table_permissions_
 
 dashboard_permissions_
 
 view_permissions_
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - database_permissions_
 - table_permissions_
 - dashboard_permissions_
 - view_permissions_

Definition at line 5404 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDBObjectPermissions.__init__ (   self,
  database_permissions_ = None,
  table_permissions_ = None,
  dashboard_permissions_ = None,
  view_permissions_ = None 
)

Definition at line 5415 of file ttypes.py.

5416  def __init__(self, database_permissions_=None, table_permissions_=None, dashboard_permissions_=None, view_permissions_=None,):
5417  self.database_permissions_ = database_permissions_
5418  self.table_permissions_ = table_permissions_
5419  self.dashboard_permissions_ = dashboard_permissions_
5420  self.view_permissions_ = view_permissions_

Member Function Documentation

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

Definition at line 5491 of file ttypes.py.

5492  def __eq__(self, other):
5493  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDBObjectPermissions.__ne__ (   self,
  other 
)

Definition at line 5494 of file ttypes.py.

5495  def __ne__(self, other):
5496  return not (self == other)
5497 
def omnisci.thrift.ttypes.TDBObjectPermissions.__repr__ (   self)

Definition at line 5486 of file ttypes.py.

5487  def __repr__(self):
5488  L = ['%s=%r' % (key, value)
5489  for key, value in self.__dict__.items()]
5490  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.TDBObjectPermissions.read (   self,
  iprot 
)

Definition at line 5421 of file ttypes.py.

References omnisci.thrift.ttypes.TDBObjectPermissions.dashboard_permissions_, omnisci.thrift.ttypes.TDBObjectPermissions.database_permissions_, omnisci.thrift.ttypes.TDBObjectPermissions.table_permissions_, and omnisci.thrift.ttypes.TDBObjectPermissions.view_permissions_.

5422  def read(self, iprot):
5423  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5424  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5425  return
5426  iprot.readStructBegin()
5427  while True:
5428  (fname, ftype, fid) = iprot.readFieldBegin()
5429  if ftype == TType.STOP:
5430  break
5431  if fid == 1:
5432  if ftype == TType.STRUCT:
5434  self.database_permissions_.read(iprot)
5435  else:
5436  iprot.skip(ftype)
5437  elif fid == 2:
5438  if ftype == TType.STRUCT:
5440  self.table_permissions_.read(iprot)
5441  else:
5442  iprot.skip(ftype)
5443  elif fid == 3:
5444  if ftype == TType.STRUCT:
5446  self.dashboard_permissions_.read(iprot)
5447  else:
5448  iprot.skip(ftype)
5449  elif fid == 4:
5450  if ftype == TType.STRUCT:
5452  self.view_permissions_.read(iprot)
5453  else:
5454  iprot.skip(ftype)
5455  else:
5456  iprot.skip(ftype)
5457  iprot.readFieldEnd()
5458  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDBObjectPermissions.validate (   self)

Definition at line 5483 of file ttypes.py.

5484  def validate(self):
5485  return
def omnisci.thrift.ttypes.TDBObjectPermissions.write (   self,
  oprot 
)

Definition at line 5459 of file ttypes.py.

References omnisci.thrift.ttypes.TDBObjectPermissions.dashboard_permissions_, omnisci.thrift.ttypes.TDBObjectPermissions.database_permissions_, omnisci.thrift.ttypes.TDBObjectPermissions.table_permissions_, and omnisci.thrift.ttypes.TDBObjectPermissions.view_permissions_.

5460  def write(self, oprot):
5461  if oprot._fast_encode is not None and self.thrift_spec is not None:
5462  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5463  return
5464  oprot.writeStructBegin('TDBObjectPermissions')
5465  if self.database_permissions_ is not None:
5466  oprot.writeFieldBegin('database_permissions_', TType.STRUCT, 1)
5467  self.database_permissions_.write(oprot)
5468  oprot.writeFieldEnd()
5469  if self.table_permissions_ is not None:
5470  oprot.writeFieldBegin('table_permissions_', TType.STRUCT, 2)
5471  self.table_permissions_.write(oprot)
5472  oprot.writeFieldEnd()
5473  if self.dashboard_permissions_ is not None:
5474  oprot.writeFieldBegin('dashboard_permissions_', TType.STRUCT, 3)
5475  self.dashboard_permissions_.write(oprot)
5476  oprot.writeFieldEnd()
5477  if self.view_permissions_ is not None:
5478  oprot.writeFieldBegin('view_permissions_', TType.STRUCT, 4)
5479  self.view_permissions_.write(oprot)
5480  oprot.writeFieldEnd()
5481  oprot.writeFieldStop()
5482  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDBObjectPermissions.__dict__
private

Definition at line 5492 of file ttypes.py.

omnisci.thrift.ttypes.TDBObjectPermissions.dashboard_permissions_

Definition at line 5418 of file ttypes.py.

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

omnisci.thrift.ttypes.TDBObjectPermissions.database_permissions_

Definition at line 5416 of file ttypes.py.

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

omnisci.thrift.ttypes.TDBObjectPermissions.table_permissions_

Definition at line 5417 of file ttypes.py.

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

omnisci.thrift.ttypes.TDBObjectPermissions.view_permissions_

Definition at line 5419 of file ttypes.py.

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


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