code: public PropertiesEnvelope updateUserProperties(String userId, AppProperties properties, String aid) throws ApiException {
          ApiResponse<PropertiesEnvelope> resp = updateUserPropertiesWithHttpInfo(userId, properties, aid);
          return resp.getData();
      }
docs: Update User Application Properties
  Updates application properties of a user
  @param userId User Id (required)
  @param properties Properties to be updated (required)
  @param aid Application ID (optional)
  @return PropertiesEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body