code: def new(self, platform_id):
          # type: (int) -> None
          '''
          A method to create a new El Torito Validation Entry.
  
          Parameters:
           platform_id - The platform ID to set for this validation entry.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('El Torito Validation Entry already initialized')
  
          self.platform_id = platform_id
          self.id_string = b'\x00' * 24  # FIXME: let the user set this
          self.checksum = 0
          self.checksum = utils.swab_16bit(self._checksum(self._record()) - 1)
          self._initialized = Truf new(self, platform_id):
          # type: (int) -> None
          '''
          A method to create a new El Torito Validation Entry.
  
          Parameters:
           platform_id - The platform ID to set for this validation entry.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('El Torito Validation Entry already initialized')
  
          self.platform_id = platform_id
          self.id_string = b'\x00' * 24  # FIXME: let the user set this
          self.checksum = 0
          self.checksum = utils.swab_16bit(self._checksum(self._record()) - 1)
          self._initialized = True
docs: A method to create a new El Torito Validation Entry.
  
          Parameters:
           platform_id - The platform ID to set for this validation entry.
          Returns:
           Nothing.