code: protected static <T extends MPBase> T fillResourceWithResponseData(T resource, MPApiResponse response) throws MPException {
          if (response.getJsonElementResponse() != null &&
                  response.getJsonElementResponse().isJsonObject()) {
              JsonObject jsonObject = (JsonObject) response.getJsonElementResponse();
              T resourceObject = MPCoreUtils.getResourceFromJson(resource.getClass(), jsonObject);
              resource = fillResource(resourceObject, resource);
              resource._lastKnownJson = MPCoreUtils.getJsonFromResource(resource);
          }
          return resource;
      }
docs: It fills all the attributes members of the Resource obj.
  Used when a Get or a Put request is called
  
  @param response              Response of the request
  @throws MPException