You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*Push values which are not of key-value structure.
278
+
Example-> Handle an invalid input->.query(123) and let the Graph API respond with the error in the URL*/this.urlComponents.otherURLQueryOptions.push(queryDictionaryOrString);
279
+
}
280
+
281
+
returnthis;
282
+
}
283
+
284
+
/**
285
+
* @private
286
+
* Parses the query parameter of string type to set the urlComponents property of the GraphRequest object
287
+
* @param {string} queryParameter - the query parameters
* To add query string for filter OData Query param
544
+
* To add query string for filter OData Query param. The request URL accepts only one $filter Odata Query option and its value is set to the most recently passed filter query string.
454
545
* @param {string} filterStr - The filter query string
455
-
* @returns The same GraphRequest instance that is being called with
546
+
* @returns The same GraphRequest instance that is being called with, after adding the $filter query
* To add criterion for search OData Query param. The request URL accepts only one $search Odata Query option and its value is set to the most recently passed search criterion string.
465
556
* @param {string} searchStr - The search criterion string
466
-
* @returns The same GraphRequest instance that is being called with
557
+
* @returns The same GraphRequest instance that is being called with, after adding the $search query criteria
* To add number for top OData Query param. The request URL accepts only one $top Odata Query option and its value is set to the most recently passed number value.
476
567
* @param {number} n - The number value
477
-
* @returns The same GraphRequest instance that is being called with
568
+
* @returns The same GraphRequest instance that is being called with, after adding the number for $top query
478
569
*/
479
570
publictop(n: number): GraphRequest{
480
571
this.urlComponents.oDataQueryParams.$top=n;
@@ -483,9 +574,9 @@ export class GraphRequest {
483
574
484
575
/**
485
576
* @public
486
-
* To add number for skip OData Query param
577
+
* To add number for skip OData Query param. The request URL accepts only one $skip Odata Query option and its value is set to the most recently passed number value.
487
578
* @param {number} n - The number value
488
-
* @returns The same GraphRequest instance that is being called with
579
+
* @returns The same GraphRequest instance that is being called with, after adding the number for the $skip query
489
580
*/
490
581
publicskip(n: number): GraphRequest{
491
582
this.urlComponents.oDataQueryParams.$skip=n;
@@ -494,9 +585,9 @@ export class GraphRequest {
494
585
495
586
/**
496
587
* @public
497
-
* To add token string for skipToken OData Query param
588
+
* To add token string for skipToken OData Query param. The request URL accepts only one $skipToken Odata Query option and its value is set to the most recently passed token value.
498
589
* @param {string} token - The token value
499
-
* @returns The same GraphRequest instance that is being called with
590
+
* @returns The same GraphRequest instance that is being called with, after adding the token string for $skipToken query option
* To add boolean for count OData Query param. The URL accepts only one $count Odata Query option and its value is set to the most recently passed boolean value.
509
600
* @param {boolean} isCount - The count boolean
510
-
* @returns The same GraphRequest instance that is being called with
601
+
* @returns The same GraphRequest instance that is being called with, after adding the boolean value for the $count query option
0 commit comments