code: public ApiResponse<Object> saveEntityPostWithHttpInfo(SaveEntityRequest request) throws ApiException {
          com.squareup.okhttp.Call call = saveEntityPostValidateBeforeCall(request, null, null);
          Type localVarReturnType = new TypeToken<Object>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Save Managed Entity
  The Save Entity endpoint is used to persist an entity and cascade entity relationships.
  @param request Managed Entity Request Object (required)
  @return ApiResponse&lt;Object&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body