@@ -3045,6 +3045,8 @@ public okhttp3.Call getDocumentUrlAsync(@javax.annotation.Nonnull String documen
30453045 * @param tz UTC offset to apply to date parameter (IE: -0600) (optional)
30463046 * @param next Next page of results token (optional)
30473047 * @param previous Previous page of results token (optional)
3048+ * @param projection Specify a restricted document projection. Use 'DOCUMENT_ID_ONLY' to
3049+ * return only the documentId attribute. (optional)
30483050 * @param limit Limit Results (optional, default to 10)
30493051 * @param _callback Callback for upload/download progress
30503052 * @return Call to execute
@@ -3071,8 +3073,8 @@ public okhttp3.Call getDocumentsCall(@javax.annotation.Nullable String siteId,
30713073 @ javax .annotation .Nullable String actionStatus , @ javax .annotation .Nullable String syncStatus ,
30723074 @ javax .annotation .Nullable Boolean deleted , @ javax .annotation .Nullable String date ,
30733075 @ javax .annotation .Nullable String tz , @ javax .annotation .Nullable String next ,
3074- @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String limit ,
3075- final ApiCallback _callback ) throws ApiException {
3076+ @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String projection ,
3077+ @ javax . annotation . Nullable String limit , final ApiCallback _callback ) throws ApiException {
30763078 String basePath = null ;
30773079 // Operation Servers
30783080 String [] localBasePaths = new String [] {};
@@ -3129,6 +3131,10 @@ public okhttp3.Call getDocumentsCall(@javax.annotation.Nullable String siteId,
31293131 localVarQueryParams .addAll (localVarApiClient .parameterToPair ("previous" , previous ));
31303132 }
31313133
3134+ if (projection != null ) {
3135+ localVarQueryParams .addAll (localVarApiClient .parameterToPair ("projection" , projection ));
3136+ }
3137+
31323138 if (limit != null ) {
31333139 localVarQueryParams .addAll (localVarApiClient .parameterToPair ("limit" , limit ));
31343140 }
@@ -3157,10 +3163,10 @@ private okhttp3.Call getDocumentsValidateBeforeCall(@javax.annotation.Nullable S
31573163 @ javax .annotation .Nullable String actionStatus , @ javax .annotation .Nullable String syncStatus ,
31583164 @ javax .annotation .Nullable Boolean deleted , @ javax .annotation .Nullable String date ,
31593165 @ javax .annotation .Nullable String tz , @ javax .annotation .Nullable String next ,
3160- @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String limit ,
3161- final ApiCallback _callback ) throws ApiException {
3166+ @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String projection ,
3167+ @ javax . annotation . Nullable String limit , final ApiCallback _callback ) throws ApiException {
31623168 return getDocumentsCall (siteId , actionStatus , syncStatus , deleted , date , tz , next , previous ,
3163- limit , _callback );
3169+ projection , limit , _callback );
31643170
31653171 }
31663172
@@ -3176,6 +3182,8 @@ private okhttp3.Call getDocumentsValidateBeforeCall(@javax.annotation.Nullable S
31763182 * @param tz UTC offset to apply to date parameter (IE: -0600) (optional)
31773183 * @param next Next page of results token (optional)
31783184 * @param previous Previous page of results token (optional)
3185+ * @param projection Specify a restricted document projection. Use 'DOCUMENT_ID_ONLY' to
3186+ * return only the documentId attribute. (optional)
31793187 * @param limit Limit Results (optional, default to 10)
31803188 * @return GetDocumentsResponse
31813189 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
@@ -3202,10 +3210,10 @@ public GetDocumentsResponse getDocuments(@javax.annotation.Nullable String siteI
32023210 @ javax .annotation .Nullable String actionStatus , @ javax .annotation .Nullable String syncStatus ,
32033211 @ javax .annotation .Nullable Boolean deleted , @ javax .annotation .Nullable String date ,
32043212 @ javax .annotation .Nullable String tz , @ javax .annotation .Nullable String next ,
3205- @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String limit )
3206- throws ApiException {
3213+ @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String projection ,
3214+ @ javax . annotation . Nullable String limit ) throws ApiException {
32073215 ApiResponse <GetDocumentsResponse > localVarResp = getDocumentsWithHttpInfo (siteId , actionStatus ,
3208- syncStatus , deleted , date , tz , next , previous , limit );
3216+ syncStatus , deleted , date , tz , next , previous , projection , limit );
32093217 return localVarResp .getData ();
32103218 }
32113219
@@ -3221,6 +3229,8 @@ public GetDocumentsResponse getDocuments(@javax.annotation.Nullable String siteI
32213229 * @param tz UTC offset to apply to date parameter (IE: -0600) (optional)
32223230 * @param next Next page of results token (optional)
32233231 * @param previous Previous page of results token (optional)
3232+ * @param projection Specify a restricted document projection. Use 'DOCUMENT_ID_ONLY' to
3233+ * return only the documentId attribute. (optional)
32243234 * @param limit Limit Results (optional, default to 10)
32253235 * @return ApiResponse<GetDocumentsResponse>
32263236 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
@@ -3248,9 +3258,10 @@ public ApiResponse<GetDocumentsResponse> getDocumentsWithHttpInfo(
32483258 @ javax .annotation .Nullable String syncStatus , @ javax .annotation .Nullable Boolean deleted ,
32493259 @ javax .annotation .Nullable String date , @ javax .annotation .Nullable String tz ,
32503260 @ javax .annotation .Nullable String next , @ javax .annotation .Nullable String previous ,
3251- @ javax .annotation .Nullable String limit ) throws ApiException {
3261+ @ javax .annotation .Nullable String projection , @ javax .annotation .Nullable String limit )
3262+ throws ApiException {
32523263 okhttp3 .Call localVarCall = getDocumentsValidateBeforeCall (siteId , actionStatus , syncStatus ,
3253- deleted , date , tz , next , previous , limit , null );
3264+ deleted , date , tz , next , previous , projection , limit , null );
32543265 Type localVarReturnType = new TypeToken <GetDocumentsResponse >() {}.getType ();
32553266 return localVarApiClient .execute (localVarCall , localVarReturnType );
32563267 }
@@ -3267,6 +3278,8 @@ public ApiResponse<GetDocumentsResponse> getDocumentsWithHttpInfo(
32673278 * @param tz UTC offset to apply to date parameter (IE: -0600) (optional)
32683279 * @param next Next page of results token (optional)
32693280 * @param previous Previous page of results token (optional)
3281+ * @param projection Specify a restricted document projection. Use 'DOCUMENT_ID_ONLY' to
3282+ * return only the documentId attribute. (optional)
32703283 * @param limit Limit Results (optional, default to 10)
32713284 * @param _callback The callback to be executed when the API call finishes
32723285 * @return The request call
@@ -3293,11 +3306,12 @@ public okhttp3.Call getDocumentsAsync(@javax.annotation.Nullable String siteId,
32933306 @ javax .annotation .Nullable String actionStatus , @ javax .annotation .Nullable String syncStatus ,
32943307 @ javax .annotation .Nullable Boolean deleted , @ javax .annotation .Nullable String date ,
32953308 @ javax .annotation .Nullable String tz , @ javax .annotation .Nullable String next ,
3296- @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String limit ,
3297- final ApiCallback <GetDocumentsResponse > _callback ) throws ApiException {
3309+ @ javax .annotation .Nullable String previous , @ javax .annotation .Nullable String projection ,
3310+ @ javax .annotation .Nullable String limit , final ApiCallback <GetDocumentsResponse > _callback )
3311+ throws ApiException {
32983312
32993313 okhttp3 .Call localVarCall = getDocumentsValidateBeforeCall (siteId , actionStatus , syncStatus ,
3300- deleted , date , tz , next , previous , limit , _callback );
3314+ deleted , date , tz , next , previous , projection , limit , _callback );
33013315 Type localVarReturnType = new TypeToken <GetDocumentsResponse >() {}.getType ();
33023316 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
33033317 return localVarCall ;
0 commit comments