public class RecordApi extends AbstractApi
apiHttpClient| 构造器和说明 |
|---|
RecordApi(ApiHttpClient apiHttpClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Record> |
addRecords(String datasheetId,
CreateRecordRequest record) |
void |
deleteAllRecords(String datasheetId) |
void |
deleteRecord(String datasheetId,
String recordId) |
void |
deleteRecords(String datasheetId,
List<String> recordIds) |
Pager<Record> |
getRecords(String datasheetId) |
Pager<Record> |
getRecords(String datasheetId,
ApiQueryParam queryParam) |
Pager<Record> |
getRecords(String datasheetId,
int itemsPerPage) |
List<Record> |
getRecords(String datasheetId,
int page,
int itemsPerPage) |
Stream<Record> |
getRecordsAsStream(String datasheetId) |
List<Record> |
updateRecords(String datasheetId,
UpdateRecordRequest record) |
getDefaultHttpClient, getDefaultPerPagepublic RecordApi(ApiHttpClient apiHttpClient)
public Stream<Record> getRecordsAsStream(String datasheetId) throws ApiException
ApiExceptionpublic List<Record> getRecords(String datasheetId, int page, int itemsPerPage) throws ApiException
ApiExceptionpublic Pager<Record> getRecords(String datasheetId) throws ApiException
ApiExceptionpublic Pager<Record> getRecords(String datasheetId, int itemsPerPage) throws ApiException
ApiExceptionpublic Pager<Record> getRecords(String datasheetId, ApiQueryParam queryParam) throws ApiException
ApiExceptionpublic List<Record> addRecords(String datasheetId, CreateRecordRequest record) throws ApiException
ApiExceptionpublic List<Record> updateRecords(String datasheetId, UpdateRecordRequest record) throws ApiException
ApiExceptionpublic void deleteRecord(String datasheetId, String recordId) throws ApiException
ApiExceptionpublic void deleteRecords(String datasheetId, List<String> recordIds) throws ApiException
ApiExceptionpublic void deleteAllRecords(String datasheetId) throws ApiException
ApiExceptionCopyright © 2022 Vikadata LTD. All rights reserved.