code: def parameters(self):
          
          parameters = {}
          for name in self.PARAMETERS:
              try:
                  parameters[name] = self.get_parameter(name)
              except AttributeError:
                  pass
          return parameters
docs: Get dict with all set parameters.