code: protected Map<String, String> getElementAttributes() {
          // Preserve order of attributes
          Map<String, String> attrs = new HashMap<>();
  
          if (this.getAction() != null) {
              attrs.put("action", this.getAction().toString());
          }
          if (this.getMethod() != null) {
              attrs.put("method", this.getMethod().toString());
          }
          if (this.getTimeout() != null) {
              attrs.put("timeout", this.getTimeout().toString());
          }
          if (this.isHangupOnStar() != null) {
              attrs.put("hangupOnStar", this.isHangupOnStar().toString());
          }
          if (this.getTimeLimit() != null) {
              attrs.put("timeLimit", this.getTimeLimit().toString());
          }
          if (this.getCallerId() != null) {
              attrs.put("callerId", this.getCallerId());
          }
          if (this.getRecord() != null) {
              attrs.put("record", this.getRecord().toString());
          }
          if (this.getTrim() != null) {
              attrs.put("trim", this.getTrim().toString());
          }
          if (this.getRecordingStatusCallback() != null) {
              attrs.put("recordingStatusCallback", this.getRecordingStatusCallback().toString());
          }
          if (this.getRecordingStatusCallbackMethod() != null) {
              attrs.put("recordingStatusCallbackMethod", this.getRecordingStatusCallbackMethod().toString());
          }
          if (this.getRecordingStatusCallbackEvents() != null) {
              attrs.put("recordingStatusCallbackEvent", this.getRecordingStatusCallbackEventsAsString());
          }
          if (this.isAnswerOnBridge() != null) {
              attrs.put("answerOnBridge", this.isAnswerOnBridge().toString());
          }
          if (this.getRingTone() != null) {
              attrs.put("ringTone", this.getRingTone().toString());
          }
  
          return attrs;
      }
docs: Attributes to set on the generated XML element
  
  @return A Map of attribute keys to values