code: public ApiSuccessResponse getSnapshot(GetSnapshotData getSnapshotData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = getSnapshotWithHttpInfo(getSnapshotData);
          return resp.getData();
      }
docs: Create a snapshot based on the attribute condition
  Create a snapshot based on the attribute condition and returns elements specified by startIndex and size.
  @param getSnapshotData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body