private static String getResourceIdByName(String resourceName) {
   String url = PropertiesReader.getRoomManagerApi() + "resources";
   String propertyName = "name";
   String resourceId =
       ApiManager.getObjectPropertyByGivenPropertyValue("_id", propertyName, resourceName, url);
   return resourceId;
 }
 public static JSONObject getResourceByName(String resourceName) {
   String url = PropertiesReader.getRoomManagerApi() + "resources";
   String propertyName = "name";
   String resourceId =
       ApiManager.getObjectPropertyByGivenPropertyValue("_id", propertyName, resourceName, url);
   url = url + "/" + resourceId;
   JSONObject resource = (JSONObject) ApiManager.jsonRequest(ApiManager.getHttpMethod(url));
   return resource;
 }