}
@Override
public <R extends HttpRequest> R bindToRequest(R request, Object input) {
checkArgument(input instanceof LibraryDrive, "this binder is only valid for LibraryDrive!");
LibraryDrive create = LibraryDrive.class.cast(input);
JsonObject profileInfoJsonObject = createDriveJsonObjectFunction.apply(create);
request.setPayload(profileInfoJsonObject.toString());
request.getPayload().getContentMetadata().setContentType(MediaType.APPLICATION_JSON);
return request;
}