code: private void addPostParams(final Request request) {
          if (weight != null) {
              request.addPostParam("Weight", weight.toString());
          }
  
          if (priority != null) {
              request.addPostParam("Priority", priority.toString());
          }
  
          if (enabled != null) {
              request.addPostParam("Enabled", enabled.toString());
          }
  
          if (friendlyName != null) {
              request.addPostParam("FriendlyName", friendlyName);
          }
  
          if (sipUrl != null) {
              request.addPostParam("SipUrl", sipUrl.toString());
          }
      }
docs: Add the requested post parameters to the Request.
  
  @param request Request to add post params to