code: protected Map<String, String> getElementAttributes() {
          // Preserve order of attributes
          Map<String, String> attrs = new HashMap<>();
  
          if (this.getSendDigits() != null) {
              attrs.put("sendDigits", this.getSendDigits());
          }
          if (this.getUrl() != null) {
              attrs.put("url", this.getUrl().toString());
          }
          if (this.getMethod() != null) {
              attrs.put("method", this.getMethod().toString());
          }
          if (this.getStatusCallbackEvents() != null) {
              attrs.put("statusCallbackEvent", this.getStatusCallbackEventsAsString());
          }
          if (this.getStatusCallback() != null) {
              attrs.put("statusCallback", this.getStatusCallback().toString());
          }
          if (this.getStatusCallbackMethod() != null) {
              attrs.put("statusCallbackMethod", this.getStatusCallbackMethod().toString());
          }
  
          return attrs;
      }
docs: Attributes to set on the generated XML element
  
  @return A Map of attribute keys to values