code: def record(self, action=None, method=None, timeout=None, finish_on_key=None,
                 max_length=None, play_beep=None, trim=None,
                 recording_status_callback=None,
                 recording_status_callback_method=None,
                 recording_status_callback_event=None, transcribe=None,
                 transcribe_callback=None, **kwargs):
          
          return self.nest(Record(
              action=action,
              method=method,
              timeout=timeout,
              finish_on_key=finish_on_key,
              max_length=max_length,
              play_beep=play_beep,
              trim=trim,
              recording_status_callback=recording_status_callback,
              recording_status_callback_method=recording_status_callback_method,
              recording_status_callback_event=recording_status_callback_event,
              transcribe=transcribe,
              transcribe_callback=transcribe_callback,
              **kwargs
          ))
docs: Create a <Record> element
  
          :param action: Action URL
          :param method: Action URL method
          :param timeout: Timeout to begin recording
          :param finish_on_key: Finish recording on key
          :param max_length: Max time to record in seconds
          :param play_beep: Play beep
          :param trim: Trim the recording
          :param recording_status_callback: Status callback URL
          :param recording_status_callback_method: Status callback URL method
          :param recording_status_callback_event: Recording status callback events
          :param transcribe: Transcribe the recording
          :param transcribe_callback: Transcribe callback URL
          :param kwargs: additional attributes
  
          :returns: <Record> element