(self)
return None
Retrieves the Mainboard machine model.

    Returns:
      string of model number
Retrieves the Mainboard machine model.
Retrieves the Mainboard machine model .
def GetMBModelNumber(self):
    """Retrieves the Mainboard machine model.

    Returns:
      string of model number
    """
    sp_type = 'SPHardwareDataType'
    for data in self._GetSystemProfile(sp_type):
      if data.get('_dataType', None) == sp_type:
        for item in data['_items']:
          if 'machine_model' in item:
            logging.debug('machine_model: %s', item['machine_model'])
            return item['machine_model']
    return None
def GetMBModelNumber ( self ) : sp_type = 'SPHardwareDataType' for data in self . _GetSystemProfile ( sp_type ) : if data . get ( '_dataType' , None ) == sp_type : for item in data [ '_items' ] : if 'machine_model' in item : logging . debug ( 'machine_model: %s' , item [ 'machine_model' ] ) return item [ 'machine_model' ] return None