docs: def build(self, builder):
          """
          Build XML by appending to builder
          """
          params = {}
  
          if self.value is not None:
              params['Value'] = str(self.value)
  
          if self.query_repeat_key is not None:
              params['QueryRepeatKey'] = str(self.query_repeat_key)
  
          if self.recipient is not None:
              params['Recipient'] = str(self.recipient)
  
          if self.status is not None:
              params['Status'] = self.status.value
  
          if self.requires_response is not None:
              params['RequiresResponse'] = bool_to_yes_no(self.requires_response)
  
          # When closing a query
          if self.response is not None:
              params['Response'] = str(self.response)
  
          builder.start("mdsol:Query", params)
          builder.end("mdsol:Query")