code: public static BoxTermsOfService.Info create(BoxAPIConnection api,
                                                  BoxTermsOfService.TermsOfServiceStatus termsOfServiceStatus,
                                                  BoxTermsOfService.TermsOfServiceType termsOfServiceType, String text) {
          URL url = ALL_TERMS_OF_SERVICES_URL_TEMPLATE.build(api.getBaseURL());
          BoxJSONRequest request = new BoxJSONRequest(api, url, "POST");
          JsonObject requestJSON = new JsonObject()
                  .add("status", termsOfServiceStatus.toString())
                  .add("tos_type", termsOfServiceType.toString())
                  .add("text", text);
  
          request.setBody(requestJSON.toString());
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
          BoxTermsOfService createdTermsOfServices = new BoxTermsOfService(api, responseJSON.get("id").asString());
  
          return createdTermsOfServices.new Info(responseJSON);
      }
docs: Creates a new Terms of Services.
  @param   api                     the API connection to be used by the resource.
  @param   termsOfServiceStatus    the current status of the terms of services. Set to "enabled" or "disabled".
  @param   termsOfServiceType      the scope of terms of service. Set to "external" or "managed".
  @param   text                    the text field of terms of service containing terms of service agreement info.
  @return                          information about the Terms of Service created.