API with Java SDK - Sheet Summary

Options

I am trying to create a sheet summary field using the API in Java. I followed the example as they show on the API documents with java, but when I do the following:

smartsheet.sheetResources().summaryResources().updateSheetSummaryFields();

it tells me that The method summaryResources() is undefined for the type SheetResources. I'm probably just missing something simple here, but I am just following their example. Any help is appreciated!

Answers