code: def getOid(self):
          
          if self._state & self.ST_CLEAN:
              return self._oid
  
          else:
              raise SmiError(
                  '%s object not fully initialized' % self.__class__.__name__)
docs: Returns OID identifying MIB variable.
  
          Returns
          -------
          : :py:class:`~pysnmp.proto.rfc1902.ObjectName`
              full OID identifying MIB variable including possible index part.
  
          Raises
          ------
          SmiError
             If MIB variable conversion has not been performed.
  
          Examples
          --------
          >>> objectIdentity = ObjectIdentity('SNMPv2-MIB', 'sysDescr', 0)
          >>> objectIdentity.resolveWithMib(mibViewController)
          >>> objectIdentity.getOid()
          ObjectName('1.3.6.1.2.1.1.1.0')
          >>>