com.youcruit.billogram.client.EventClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of billogram-v2-api-java-lib Show documentation
Show all versions of billogram-v2-api-java-lib Show documentation
Library for connecting to the Billogram v2 API
package com.youcruit.billogram.client;
import java.io.IOException;
import com.youcruit.billogram.client.http.HttpClient;
import com.youcruit.billogram.objects.request.Search;
import com.youcruit.billogram.objects.request.event.EventFilterField;
import com.youcruit.billogram.objects.request.event.EventOrderField;
import com.youcruit.billogram.objects.response.common.Response;
import com.youcruit.billogram.objects.response.event.Event;
import com.youcruit.billogram.objects.response.event.EventSearchResponse;
public class EventClient extends AbstractRestClient {
public EventClient(HttpClient httpClient) {
super(httpClient, "billogram_event", EventSearchResponse.class, Response.class);
}
@Override
public void searchAsync(Search search, BillogramCallback callback) {
super.searchAsync(search, callback);
}
@Override
public EventSearchResponse search(Search search) throws IOException {
return super.search(search);
}
@Override
protected String getId(Event fullEvent) {
return null;
}
}