/**
   * [Preview API 3.1-preview.1] Delete a given chat room
   *
   * @param roomId Id of the room
   */
  public void deleteChatRoom(final int roomId) {

    final UUID locationId = UUID.fromString("3d0e7ee0-a6c9-497e-9a2c-23b687e860e2"); // $NON-NLS-1$
    final ApiResourceVersion apiVersion = new ApiResourceVersion("3.1-preview.1"); // $NON-NLS-1$

    final Map<String, Object> routeValues = new HashMap<String, Object>();
    routeValues.put("roomId", roomId); // $NON-NLS-1$

    final VssRestRequest httpRequest =
        super.createRequest(
            HttpMethod.DELETE,
            locationId,
            routeValues,
            apiVersion,
            VssMediaTypes.APPLICATION_JSON_TYPE);

    super.sendRequest(httpRequest);
  }
  /**
   * [Preview API 3.1-preview.1] Delete a given chat message
   *
   * @param roomId Id of the room
   * @param messageId Id of the message to delete
   */
  public void deleteMessage(final int roomId, final int messageId) {

    final UUID locationId = UUID.fromString("7d11c820-4bdc-4bca-8957-9d74e32cdd20"); // $NON-NLS-1$
    final ApiResourceVersion apiVersion = new ApiResourceVersion("3.1-preview.1"); // $NON-NLS-1$

    final Map<String, Object> routeValues = new HashMap<String, Object>();
    routeValues.put("roomId", roomId); // $NON-NLS-1$
    routeValues.put("messageId", messageId); // $NON-NLS-1$

    final VssRestRequest httpRequest =
        super.createRequest(
            HttpMethod.DELETE,
            locationId,
            routeValues,
            apiVersion,
            VssMediaTypes.APPLICATION_JSON_TYPE);

    super.sendRequest(httpRequest);
  }
  /**
   * [Preview API 3.1-preview.1] Leaves a user from a given room
   *
   * @param roomId Id of the room
   * @param userId TfId of the user
   */
  public void leaveRoom(final int roomId, final UUID userId) {

    final UUID locationId = UUID.fromString("01408881-1a9a-4cc9-981d-9333e354e9d9"); // $NON-NLS-1$
    final ApiResourceVersion apiVersion = new ApiResourceVersion("3.1-preview.1"); // $NON-NLS-1$

    final Map<String, Object> routeValues = new HashMap<String, Object>();
    routeValues.put("roomId", roomId); // $NON-NLS-1$
    routeValues.put("userId", userId); // $NON-NLS-1$

    final VssRestRequest httpRequest =
        super.createRequest(
            HttpMethod.DELETE,
            locationId,
            routeValues,
            apiVersion,
            VssMediaTypes.APPLICATION_JSON_TYPE);

    super.sendRequest(httpRequest);
  }