docs: public InvalidRequestException withRequiredParameters(String... requiredParameters) {
          if (this.requiredParameters == null) {
              setRequiredParameters(new java.util.ArrayList<String>(requiredParameters.length));
          }
          for (String ele : requiredParameters) {
              this.requiredParameters.add(ele);
          }
          return this;
      }