text: from cloudshell.snmp.autoload.constants import snmpv_v2_constants
  
  
  class SnmpV2MibData(object):
      def __init__(self, snmp_handler, logger):
          self._snmp_handler = snmp_handler
          self._logger = logger
          self._sys_descr = ""
          self._sys_location = None
          self._sys_contact = None
          self._sys_object_id = None
          self._sys_name = None
  
      def get_system_name(self):
          if not self._sys_name:
              self._sys_name = self._snmp_handler.get_property(
                  snmpv_v2_constants.SYS_NAME
              )
          return self._sys_name
  
      def get_system_location(self):
          if not self._sys_location:
              self._sys_location = self._snmp_handler.get_property(
                  snmpv_v2_constants.SYS_LOCATION
              )
          return self._sys_location
  
      def get_system_contact(self):
          if not self._sys_contact:
              self._sys_contact = self._snmp_handler.get_property(
                  snmpv_v2_constants.SYS_CONTACT
              )
          return self._sys_contact
  
      def get_system_description(self):
          if not self._sys_descr:
              self._sys_descr = self._snmp_handler.get_property(
                  snmpv_v2_constants.SYS_DESCR
              ).safe_value
          return self._sys_descr
  
      def get_system_object_id(self):
          if not self._sys_object_id:
              self._sys_object_id = self._snmp_handler.get_property(
                  snmpv_v2_constants.SYS_DESCR
              )
          return self._sys_object_id
  