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.
279
+
Example-> Handle an invalid input->.query(123) and let the Graph API respond with the error in the URL*/this.urlComponents.otherURLQueryOptions.push(queryDictionaryOrString);
280
+
}
281
+
282
+
returnthis;
283
+
}
284
+
285
+
/**
286
+
* @private
287
+
* Parses the query parameter of string type to set the urlComponents property of the GraphRequest object
288
+
* @param {string} queryParameter - the query parameters
* To add query string for filter OData Query param
524
+
* 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.
434
525
* @param {string} filterStr - The filter query string
435
-
* @returns The same GraphRequest instance that is being called with
526
+
* @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.
445
536
* @param {string} searchStr - The search criterion string
446
-
* @returns The same GraphRequest instance that is being called with
537
+
* @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.
456
547
* @param {number} n - The number value
457
-
* @returns The same GraphRequest instance that is being called with
548
+
* @returns The same GraphRequest instance that is being called with, after adding the number for $top query
458
549
*/
459
550
publictop(n: number): GraphRequest{
460
551
this.urlComponents.oDataQueryParams.$top=n;
@@ -463,9 +554,9 @@ export class GraphRequest {
463
554
464
555
/**
465
556
* @public
466
-
* To add number for skip OData Query param
557
+
* 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.
467
558
* @param {number} n - The number value
468
-
* @returns The same GraphRequest instance that is being called with
559
+
* @returns The same GraphRequest instance that is being called with, after adding the number for the $skip query
469
560
*/
470
561
publicskip(n: number): GraphRequest{
471
562
this.urlComponents.oDataQueryParams.$skip=n;
@@ -474,9 +565,9 @@ export class GraphRequest {
474
565
475
566
/**
476
567
* @public
477
-
* To add token string for skipToken OData Query param
568
+
* 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.
478
569
* @param {string} token - The token value
479
-
* @returns The same GraphRequest instance that is being called with
570
+
* @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.
489
580
* @param {boolean} isCount - The count boolean
490
-
* @returns The same GraphRequest instance that is being called with
581
+
* @returns The same GraphRequest instance that is being called with, after adding the boolean value for the $count query option
0 commit comments