import com.resolve.api.ResolveClient;
import com.resolve.api.response.ItemResponse;
import com.resolve.api.response.ItemsResponse;
import com.resolve.api.response.ItemResponseItem;
import com.resolve.api.response.ItemsResponseItem;
// Init client
ResolveClient client = new ResolveClient("YOUR_API_KEY");
// Get resource
Objects objectsResource = client.getResource("objects");
// Get items
ItemsResponse itemsResponse = objectsResource.getMany();
List<ItemsResponseItem> items = itemsResponse.getItems();
// Get one item by ID
ItemResponse itemResponse = objectsResource.getOne(1);
ItemResponseItem item = itemResponse.getItem();