code: def get_data(self) -> bytes:
          
          data = {
              "_class_name": self.__class__.__name__,
              "version": 1,
              "segments_bin": SegmentSequence([self.command_seg, self.tan_request]).render_bytes(),
              "resume_method": self.resume_method,
              "tan_request_structured": self.tan_request_structured,
          }
          return compress_datablob(DATA_BLOB_MAGIC_RETRY, 1, data)
docs: Return a compressed datablob representing this object.
          
          To restore the object, use :func:`fints.client.NeedRetryResponse.from_data`.