OpenSource » SampleCode » NexPortWebApiClient
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

Update new API client:
- Add AuthenticateUser api

- Add internal email property to GetUserResponse
- Additional code cleanup
- Update some Nuget packages

Changeset 423fa5da98c6

Parent 2bbc3f68499f

by Profile picture of Thai NguyenThai Nguyen

Changes to 9 files · Browse files at 423fa5da98c6 Showing diff from parent 2bbc3f68499f Diff from another changeset...

Show Entire File NexportApi/​Api/​AdminApiApi.cs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
 
10
11
12
13
14
15
16
 
459
460
461
462
 
463
464
465
 
474
475
476
477
 
478
479
480
 
511
512
513
514
 
515
516
517
 
610
611
612
613
 
614
615
616
 
626
627
628
629
 
630
631
632
 
664
665
666
667
 
668
669
670
 
759
760
761
762
 
763
764
765
 
774
775
776
777
 
778
779
780
 
811
812
813
814
 
815
816
817
 
918
919
920
921
 
922
923
924
 
936
937
938
939
 
940
941
942
 
976
977
978
979
 
980
981
982
 
1082
1083
1084
1085
 
1086
1087
1088
 
1099
1100
1101
1102
 
1103
1104
1105
 
1141
1142
1143
1144
 
1145
1146
1147
 
1249
1250
1251
1252
 
1253
1254
1255
 
1268
1269
1270
1271
 
1272
1273
1274
 
1306
1307
1308
1309
 
1310
1311
1312
 
10
11
12
 
13
14
15
 
458
459
460
 
461
462
463
464
 
473
474
475
 
476
477
478
479
 
510
511
512
 
513
514
515
516
 
609
610
611
 
612
613
614
615
 
625
626
627
 
628
629
630
631
 
663
664
665
 
666
667
668
669
 
758
759
760
 
761
762
763
764
 
773
774
775
 
776
777
778
779
 
810
811
812
 
813
814
815
816
 
917
918
919
 
920
921
922
923
 
935
936
937
 
938
939
940
941
 
975
976
977
 
978
979
980
981
 
1081
1082
1083
 
1084
1085
1086
1087
 
1098
1099
1100
 
1101
1102
1103
1104
 
1140
1141
1142
 
1143
1144
1145
1146
 
1248
1249
1250
 
1251
1252
1253
1254
 
1267
1268
1269
 
1270
1271
1272
1273
 
1305
1306
1307
 
1308
1309
1310
1311
@@ -10,7 +10,6 @@
   using System;  using System.Collections.Generic; -using System.Collections.ObjectModel;  using System.Linq;  using System.Threading.Tasks;  using RestSharp; @@ -459,7 +458,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="enrollmentId">Optional id of a section enrollment for permissions checks (optional)</param>   /// <returns>Task of QuestionResponse</returns> - public async System.Threading.Tasks.Task<QuestionResponse> AssessmentApiGetQuestionAsync (string questionId, string accessToken, string enrollmentId = null) + public async Task<QuestionResponse> AssessmentApiGetQuestionAsync (string questionId, string accessToken, string enrollmentId = null)   {   var localVarResponse = await AssessmentApiGetQuestionAsyncWithHttpInfo(questionId, accessToken, enrollmentId);   return localVarResponse.Data; @@ -474,7 +473,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="enrollmentId">Optional id of a section enrollment for permissions checks (optional)</param>   /// <returns>Task of ApiResponse (QuestionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<QuestionResponse>> AssessmentApiGetQuestionAsyncWithHttpInfo(string questionId, string accessToken, string enrollmentId = null) + public async Task<ApiResponse<QuestionResponse>> AssessmentApiGetQuestionAsyncWithHttpInfo(string questionId, string accessToken, string enrollmentId = null)   {   // verify the required parameter 'questionId' is set   if (questionId == null) @@ -511,7 +510,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -610,7 +609,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of QuestionIdsResponse</returns> - public async System.Threading.Tasks.Task<QuestionIdsResponse> AssessmentApiGetQuestionIdsAsync (string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<QuestionIdsResponse> AssessmentApiGetQuestionIdsAsync (string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await AssessmentApiGetQuestionIdsAsyncWithHttpInfo(assignmentId, accessToken, page, perPage);   return localVarResponse.Data; @@ -626,7 +625,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (QuestionIdsResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<QuestionIdsResponse>> AssessmentApiGetQuestionIdsAsyncWithHttpInfo(string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<QuestionIdsResponse>> AssessmentApiGetQuestionIdsAsyncWithHttpInfo(string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'assignmentId' is set   if (assignmentId == null) @@ -664,7 +663,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -759,7 +758,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="enrollmentId">Optional id of a section enrollment for permissions checks (optional)</param>   /// <returns>Task of QuestionOptionResponse</returns> - public async System.Threading.Tasks.Task<QuestionOptionResponse> AssessmentApiGetQuestionOptionAsync (string questionOptionId, string accessToken, string enrollmentId = null) + public async Task<QuestionOptionResponse> AssessmentApiGetQuestionOptionAsync (string questionOptionId, string accessToken, string enrollmentId = null)   {   var localVarResponse = await AssessmentApiGetQuestionOptionAsyncWithHttpInfo(questionOptionId, accessToken, enrollmentId);   return localVarResponse.Data; @@ -774,7 +773,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="enrollmentId">Optional id of a section enrollment for permissions checks (optional)</param>   /// <returns>Task of ApiResponse (QuestionOptionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<QuestionOptionResponse>> AssessmentApiGetQuestionOptionAsyncWithHttpInfo(string questionOptionId, string accessToken, string enrollmentId = null) + public async Task<ApiResponse<QuestionOptionResponse>> AssessmentApiGetQuestionOptionAsyncWithHttpInfo(string questionOptionId, string accessToken, string enrollmentId = null)   {   // verify the required parameter 'questionOptionId' is set   if (questionOptionId == null) @@ -811,7 +810,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -918,7 +917,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of StudentResponses</returns> - public async System.Threading.Tasks.Task<StudentResponses> AssessmentApiGetStudentResponsesAsync (string questionId, string accessToken, DateTime? utcStartDate = null, DateTime? utcFinishDate = null, int? page = null, int? perPage = null) + public async Task<StudentResponses> AssessmentApiGetStudentResponsesAsync (string questionId, string accessToken, DateTime? utcStartDate = null, DateTime? utcFinishDate = null, int? page = null, int? perPage = null)   {   var localVarResponse = await AssessmentApiGetStudentResponsesAsyncWithHttpInfo(questionId, accessToken, utcStartDate, utcFinishDate, page, perPage);   return localVarResponse.Data; @@ -936,7 +935,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (StudentResponses)</returns> - public async System.Threading.Tasks.Task<ApiResponse<StudentResponses>> AssessmentApiGetStudentResponsesAsyncWithHttpInfo(string questionId, string accessToken, DateTime? utcStartDate = null, DateTime? utcFinishDate = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<StudentResponses>> AssessmentApiGetStudentResponsesAsyncWithHttpInfo(string questionId, string accessToken, DateTime? utcStartDate = null, DateTime? utcFinishDate = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'questionId' is set   if (questionId == null) @@ -976,7 +975,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1082,7 +1081,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;TestAttemptResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<TestAttemptResponseItem>> AssessmentApiGetTestAttemptsAsync (string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<TestAttemptResponseItem>> AssessmentApiGetTestAttemptsAsync (string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await AssessmentApiGetTestAttemptsAsyncWithHttpInfo(enrollmentId, assignmentId, accessToken, page, perPage);   return localVarResponse.Data; @@ -1099,7 +1098,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;TestAttemptResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<TestAttemptResponseItem>>> AssessmentApiGetTestAttemptsAsyncWithHttpInfo(string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<TestAttemptResponseItem>>> AssessmentApiGetTestAttemptsAsyncWithHttpInfo(string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'enrollmentId' is set   if (enrollmentId == null) @@ -1141,7 +1140,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1249,7 +1248,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of TestSurveyResultsResponse</returns> - public async System.Threading.Tasks.Task<TestSurveyResultsResponse> AssessmentApiGetTestSurveyResultsAsync (string accessToken, string testAttemptId = null, string assignmentStatusId = null, string assignmentId = null, string enrollmentId = null, int? page = null, int? perPage = null) + public async Task<TestSurveyResultsResponse> AssessmentApiGetTestSurveyResultsAsync (string accessToken, string testAttemptId = null, string assignmentStatusId = null, string assignmentId = null, string enrollmentId = null, int? page = null, int? perPage = null)   {   var localVarResponse = await AssessmentApiGetTestSurveyResultsAsyncWithHttpInfo(accessToken, testAttemptId, assignmentStatusId, assignmentId, enrollmentId, page, perPage);   return localVarResponse.Data; @@ -1268,7 +1267,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (TestSurveyResultsResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<TestSurveyResultsResponse>> AssessmentApiGetTestSurveyResultsAsyncWithHttpInfo(string accessToken, string testAttemptId = null, string assignmentStatusId = null, string assignmentId = null, string enrollmentId = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<TestSurveyResultsResponse>> AssessmentApiGetTestSurveyResultsAsyncWithHttpInfo(string accessToken, string testAttemptId = null, string assignmentStatusId = null, string assignmentId = null, string enrollmentId = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -1306,7 +1305,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);  
 
1346
1347
1348
1349
 
1350
1351
1352
 
1360
1361
1362
1363
 
1364
1365
1366
 
1396
1397
1398
1399
 
1400
1401
1402
 
1487
1488
1489
1490
 
1491
1492
1493
 
1501
1502
1503
1504
 
1505
1506
1507
 
1537
1538
1539
1540
 
1541
1542
1543
 
1628
1629
1630
1631
 
1632
1633
1634
 
1642
1643
1644
1645
 
1646
1647
1648
 
1678
1679
1680
1681
 
1682
1683
1684
 
1769
1770
1771
1772
 
1773
1774
1775
 
1783
1784
1785
1786
 
1787
1788
1789
 
1819
1820
1821
1822
 
1823
1824
1825
 
1927
1928
1929
1930
 
1931
1932
1933
 
1946
1947
1948
1949
 
1950
1951
1952
 
1984
1985
1986
1987
 
1988
1989
1990
 
2083
2084
2085
2086
 
2087
2088
2089
 
2099
2100
2101
2102
 
2103
2104
2105
 
2137
2138
2139
2140
 
2141
2142
2143
 
2228
2229
2230
2231
 
2232
2233
2234
 
2242
2243
2244
2245
 
2246
2247
2248
 
2278
2279
2280
2281
 
2282
2283
2284
 
2369
2370
2371
2372
 
2373
2374
2375
 
2383
2384
2385
2386
 
2387
2388
2389
 
2419
2420
2421
2422
 
2423
2424
2425
 
2510
2511
2512
2513
 
2514
2515
2516
 
2524
2525
2526
2527
 
2528
2529
2530
 
2560
2561
2562
2563
 
2564
2565
2566
 
2659
2660
2661
2662
 
2663
2664
2665
 
2675
2676
2677
2678
 
2679
2680
2681
 
2713
2714
2715
2716
 
2717
2718
2719
 
2821
2822
2823
2824
 
2825
2826
2827
 
2837
2838
2839
2840
 
2841
2842
2843
 
2884
2885
2886
2887
 
2888
2889
2890
 
2983
2984
2985
2986
 
2987
2988
2989
 
2999
3000
3001
3002
 
3003
3004
3005
 
3037
3038
3039
3040
 
3041
3042
3043
 
3136
3137
3138
3139
 
3140
3141
3142
 
3152
3153
3154
3155
 
3156
3157
3158
 
3190
3191
3192
3193
 
3194
3195
3196
 
3281
3282
3283
3284
 
3285
3286
3287
 
3295
3296
3297
3298
 
3299
3300
3301
 
3331
3332
3333
3334
 
3335
3336
3337
 
3439
3440
3441
3442
 
3443
3444
3445
 
3455
3456
3457
3458
 
3459
3460
3461
 
3502
3503
3504
3505
 
3506
3507
3508
 
3602
3603
3604
3605
 
3606
3607
3608
 
3619
3620
3621
3622
 
3623
3624
3625
 
3655
3656
3657
3658
 
3659
3660
3661
 
3750
3751
3752
3753
 
3754
3755
3756
 
3765
3766
3767
3768
 
3769
3770
3771
 
3802
3803
3804
3805
 
3806
3807
3808
 
3904
3905
3906
3907
 
3908
3909
3910
 
3920
3921
3922
3923
 
3924
3925
3926
 
3961
3962
3963
3964
 
3965
3966
3967
 
4061
4062
4063
4064
 
4065
4066
4067
 
4078
4079
4080
4081
 
4082
4083
4084
 
4114
4115
4116
4117
 
4118
4119
4120
 
4205
4206
4207
4208
 
4209
4210
4211
 
4219
4220
4221
4222
 
4223
4224
4225
 
4255
4256
4257
4258
 
4259
4260
4261
 
4346
4347
4348
4349
 
4350
4351
4352
 
4360
4361
4362
4363
 
4364
4365
4366
 
4396
4397
4398
4399
 
4400
4401
4402
 
4508
4509
4510
4511
 
4512
4513
4514
 
4528
4529
4530
4531
 
4532
4533
4534
 
4567
4568
4569
4570
 
4571
4572
4573
 
4658
4659
4660
4661
 
4662
4663
4664
 
4672
4673
4674
4675
 
4676
4677
4678
 
4708
4709
4710
4711
 
4712
4713
4714
 
4814
4815
4816
4817
 
4818
4819
4820
 
4831
4832
4833
4834
 
4835
4836
4837
 
4873
4874
4875
4876
 
4877
4878
4879
 
4964
4965
4966
4967
 
4968
4969
4970
 
4978
4979
4980
4981
 
4982
4983
4984
 
5014
5015
5016
5017
 
5018
5019
5020
 
5105
5106
5107
5108
 
5109
5110
5111
 
5119
5120
5121
5122
 
5123
5124
5125
 
5155
5156
5157
5158
 
5159
5160
5161
 
5267
5268
5269
5270
 
5271
5272
5273
 
5287
5288
5289
5290
 
5291
5292
5293
 
5326
5327
5328
5329
 
5330
5331
5332
 
5426
5427
5428
5429
 
5430
5431
5432
 
5440
5441
5442
5443
 
5444
5445
5446
 
5485
5486
5487
5488
 
5489
5490
5491
 
1346
1347
1348
 
1349
1350
1351
1352
 
1360
1361
1362
 
1363
1364
1365
1366
 
1396
1397
1398
 
1399
1400
1401
1402
 
1487
1488
1489
 
1490
1491
1492
1493
 
1501
1502
1503
 
1504
1505
1506
1507
 
1537
1538
1539
 
1540
1541
1542
1543
 
1628
1629
1630
 
1631
1632
1633
1634
 
1642
1643
1644
 
1645
1646
1647
1648
 
1678
1679
1680
 
1681
1682
1683
1684
 
1769
1770
1771
 
1772
1773
1774
1775
 
1783
1784
1785
 
1786
1787
1788
1789
 
1819
1820
1821
 
1822
1823
1824
1825
 
1927
1928
1929
 
1930
1931
1932
1933
 
1946
1947
1948
 
1949
1950
1951
1952
 
1984
1985
1986
 
1987
1988
1989
1990
 
2083
2084
2085
 
2086
2087
2088
2089
 
2099
2100
2101
 
2102
2103
2104
2105
 
2137
2138
2139
 
2140
2141
2142
2143
 
2228
2229
2230
 
2231
2232
2233
2234
 
2242
2243
2244
 
2245
2246
2247
2248
 
2278
2279
2280
 
2281
2282
2283
2284
 
2369
2370
2371
 
2372
2373
2374
2375
 
2383
2384
2385
 
2386
2387
2388
2389
 
2419
2420
2421
 
2422
2423
2424
2425
 
2510
2511
2512
 
2513
2514
2515
2516
 
2524
2525
2526
 
2527
2528
2529
2530
 
2560
2561
2562
 
2563
2564
2565
2566
 
2659
2660
2661
 
2662
2663
2664
2665
 
2675
2676
2677
 
2678
2679
2680
2681
 
2713
2714
2715
 
2716
2717
2718
2719
 
2821
2822
2823
 
2824
2825
2826
2827
 
2837
2838
2839
 
2840
2841
2842
2843
 
2884
2885
2886
 
2887
2888
2889
2890
 
2983
2984
2985
 
2986
2987
2988
2989
 
2999
3000
3001
 
3002
3003
3004
3005
 
3037
3038
3039
 
3040
3041
3042
3043
 
3136
3137
3138
 
3139
3140
3141
3142
 
3152
3153
3154
 
3155
3156
3157
3158
 
3190
3191
3192
 
3193
3194
3195
3196
 
3281
3282
3283
 
3284
3285
3286
3287
 
3295
3296
3297
 
3298
3299
3300
3301
 
3331
3332
3333
 
3334
3335
3336
3337
 
3439
3440
3441
 
3442
3443
3444
3445
 
3455
3456
3457
 
3458
3459
3460
3461
 
3502
3503
3504
 
3505
3506
3507
3508
 
3602
3603
3604
 
3605
3606
3607
3608
 
3619
3620
3621
 
3622
3623
3624
3625
 
3655
3656
3657
 
3658
3659
3660
3661
 
3750
3751
3752
 
3753
3754
3755
3756
 
3765
3766
3767
 
3768
3769
3770
3771
 
3802
3803
3804
 
3805
3806
3807
3808
 
3904
3905
3906
 
3907
3908
3909
3910
 
3920
3921
3922
 
3923
3924
3925
3926
 
3961
3962
3963
 
3964
3965
3966
3967
 
4061
4062
4063
 
4064
4065
4066
4067
 
4078
4079
4080
 
4081
4082
4083
4084
 
4114
4115
4116
 
4117
4118
4119
4120
 
4205
4206
4207
 
4208
4209
4210
4211
 
4219
4220
4221
 
4222
4223
4224
4225
 
4255
4256
4257
 
4258
4259
4260
4261
 
4346
4347
4348
 
4349
4350
4351
4352
 
4360
4361
4362
 
4363
4364
4365
4366
 
4396
4397
4398
 
4399
4400
4401
4402
 
4508
4509
4510
 
4511
4512
4513
4514
 
4528
4529
4530
 
4531
4532
4533
4534
 
4567
4568
4569
 
4570
4571
4572
4573
 
4658
4659
4660
 
4661
4662
4663
4664
 
4672
4673
4674
 
4675
4676
4677
4678
 
4708
4709
4710
 
4711
4712
4713
4714
 
4814
4815
4816
 
4817
4818
4819
4820
 
4831
4832
4833
 
4834
4835
4836
4837
 
4873
4874
4875
 
4876
4877
4878
4879
 
4964
4965
4966
 
4967
4968
4969
4970
 
4978
4979
4980
 
4981
4982
4983
4984
 
5014
5015
5016
 
5017
5018
5019
5020
 
5105
5106
5107
 
5108
5109
5110
5111
 
5119
5120
5121
 
5122
5123
5124
5125
 
5155
5156
5157
 
5158
5159
5160
5161
 
5267
5268
5269
 
5270
5271
5272
5273
 
5287
5288
5289
 
5290
5291
5292
5293
 
5326
5327
5328
 
5329
5330
5331
5332
 
5426
5427
5428
 
5429
5430
5431
5432
 
5440
5441
5442
 
5443
5444
5445
5446
 
5485
5486
5487
 
5488
5489
5490
5491
@@ -1346,7 +1346,7 @@
  /// <param name="enrollmentId">Id of the enrollment to delete</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of DropDeleteEnrollmentResponse</returns> - public async System.Threading.Tasks.Task<DropDeleteEnrollmentResponse> LearningApiDeleteEnrollmentAsync (string enrollmentId, string accessToken) + public async Task<DropDeleteEnrollmentResponse> LearningApiDeleteEnrollmentAsync (string enrollmentId, string accessToken)   {   var localVarResponse = await LearningApiDeleteEnrollmentAsyncWithHttpInfo(enrollmentId, accessToken);   return localVarResponse.Data; @@ -1360,7 +1360,7 @@
  /// <param name="enrollmentId">Id of the enrollment to delete</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (DropDeleteEnrollmentResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<DropDeleteEnrollmentResponse>> LearningApiDeleteEnrollmentAsyncWithHttpInfo(string enrollmentId, string accessToken) + public async Task<ApiResponse<DropDeleteEnrollmentResponse>> LearningApiDeleteEnrollmentAsyncWithHttpInfo(string enrollmentId, string accessToken)   {   // verify the required parameter 'enrollmentId' is set   if (enrollmentId == null) @@ -1396,7 +1396,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1487,7 +1487,7 @@
  /// <param name="enrollmentId">Id of the enrollment to drop</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of DropDeleteEnrollmentResponse</returns> - public async System.Threading.Tasks.Task<DropDeleteEnrollmentResponse> LearningApiDropEnrollmentAsync (string enrollmentId, string accessToken) + public async Task<DropDeleteEnrollmentResponse> LearningApiDropEnrollmentAsync (string enrollmentId, string accessToken)   {   var localVarResponse = await LearningApiDropEnrollmentAsyncWithHttpInfo(enrollmentId, accessToken);   return localVarResponse.Data; @@ -1501,7 +1501,7 @@
  /// <param name="enrollmentId">Id of the enrollment to drop</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (DropDeleteEnrollmentResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<DropDeleteEnrollmentResponse>> LearningApiDropEnrollmentAsyncWithHttpInfo(string enrollmentId, string accessToken) + public async Task<ApiResponse<DropDeleteEnrollmentResponse>> LearningApiDropEnrollmentAsyncWithHttpInfo(string enrollmentId, string accessToken)   {   // verify the required parameter 'enrollmentId' is set   if (enrollmentId == null) @@ -1537,7 +1537,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1628,7 +1628,7 @@
  /// <param name="assignmentId">Id of the assignment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of AssignmentResponse</returns> - public async System.Threading.Tasks.Task<AssignmentResponse> LearningApiGetAssignmentAsync (string assignmentId, string accessToken) + public async Task<AssignmentResponse> LearningApiGetAssignmentAsync (string assignmentId, string accessToken)   {   var localVarResponse = await LearningApiGetAssignmentAsyncWithHttpInfo(assignmentId, accessToken);   return localVarResponse.Data; @@ -1642,7 +1642,7 @@
  /// <param name="assignmentId">Id of the assignment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (AssignmentResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<AssignmentResponse>> LearningApiGetAssignmentAsyncWithHttpInfo(string assignmentId, string accessToken) + public async Task<ApiResponse<AssignmentResponse>> LearningApiGetAssignmentAsyncWithHttpInfo(string assignmentId, string accessToken)   {   // verify the required parameter 'assignmentId' is set   if (assignmentId == null) @@ -1678,7 +1678,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1769,7 +1769,7 @@
  /// <param name="assignmentId">Id of the assignment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetAssignmentInstructionsResponse</returns> - public async System.Threading.Tasks.Task<GetAssignmentInstructionsResponse> LearningApiGetAssignmentInstructionsAsync (string assignmentId, string accessToken) + public async Task<GetAssignmentInstructionsResponse> LearningApiGetAssignmentInstructionsAsync (string assignmentId, string accessToken)   {   var localVarResponse = await LearningApiGetAssignmentInstructionsAsyncWithHttpInfo(assignmentId, accessToken);   return localVarResponse.Data; @@ -1783,7 +1783,7 @@
  /// <param name="assignmentId">Id of the assignment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetAssignmentInstructionsResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetAssignmentInstructionsResponse>> LearningApiGetAssignmentInstructionsAsyncWithHttpInfo(string assignmentId, string accessToken) + public async Task<ApiResponse<GetAssignmentInstructionsResponse>> LearningApiGetAssignmentInstructionsAsyncWithHttpInfo(string assignmentId, string accessToken)   {   // verify the required parameter 'assignmentId' is set   if (assignmentId == null) @@ -1819,7 +1819,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -1927,7 +1927,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;AssignmentStatusResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<AssignmentStatusResponseItem>> LearningApiGetAssignmentStatusesAsync (string accessToken, string enrollmentId = null, string subscriptionId = null, string sectionId = null, string assignmentId = null, int? page = null, int? perPage = null) + public async Task<List<AssignmentStatusResponseItem>> LearningApiGetAssignmentStatusesAsync (string accessToken, string enrollmentId = null, string subscriptionId = null, string sectionId = null, string assignmentId = null, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetAssignmentStatusesAsyncWithHttpInfo(accessToken, enrollmentId, subscriptionId, sectionId, assignmentId, page, perPage);   return localVarResponse.Data; @@ -1946,7 +1946,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;AssignmentStatusResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<AssignmentStatusResponseItem>>> LearningApiGetAssignmentStatusesAsyncWithHttpInfo(string accessToken, string enrollmentId = null, string subscriptionId = null, string sectionId = null, string assignmentId = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<AssignmentStatusResponseItem>>> LearningApiGetAssignmentStatusesAsyncWithHttpInfo(string accessToken, string enrollmentId = null, string subscriptionId = null, string sectionId = null, string assignmentId = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -1984,7 +1984,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2083,7 +2083,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;AssignmentResponse&gt;</returns> - public async System.Threading.Tasks.Task<List<AssignmentResponse>> LearningApiGetAssignmentsAsync (string sectionId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<AssignmentResponse>> LearningApiGetAssignmentsAsync (string sectionId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetAssignmentsAsyncWithHttpInfo(sectionId, accessToken, page, perPage);   return localVarResponse.Data; @@ -2099,7 +2099,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;AssignmentResponse&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<AssignmentResponse>>> LearningApiGetAssignmentsAsyncWithHttpInfo(string sectionId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<AssignmentResponse>>> LearningApiGetAssignmentsAsyncWithHttpInfo(string sectionId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'sectionId' is set   if (sectionId == null) @@ -2137,7 +2137,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2228,7 +2228,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of CatalogResponseItem</returns> - public async System.Threading.Tasks.Task<CatalogResponseItem> LearningApiGetCatalogAsync (string catalogId, string accessToken) + public async Task<CatalogResponseItem> LearningApiGetCatalogAsync (string catalogId, string accessToken)   {   var localVarResponse = await LearningApiGetCatalogAsyncWithHttpInfo(catalogId, accessToken);   return localVarResponse.Data; @@ -2242,7 +2242,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (CatalogResponseItem)</returns> - public async System.Threading.Tasks.Task<ApiResponse<CatalogResponseItem>> LearningApiGetCatalogAsyncWithHttpInfo(string catalogId, string accessToken) + public async Task<ApiResponse<CatalogResponseItem>> LearningApiGetCatalogAsyncWithHttpInfo(string catalogId, string accessToken)   {   // verify the required parameter 'catalogId' is set   if (catalogId == null) @@ -2278,7 +2278,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2369,7 +2369,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetCatalogCreditHoursResponse</returns> - public async System.Threading.Tasks.Task<GetCatalogCreditHoursResponse> LearningApiGetCatalogCreditHoursAsync (string catalogId, string accessToken) + public async Task<GetCatalogCreditHoursResponse> LearningApiGetCatalogCreditHoursAsync (string catalogId, string accessToken)   {   var localVarResponse = await LearningApiGetCatalogCreditHoursAsyncWithHttpInfo(catalogId, accessToken);   return localVarResponse.Data; @@ -2383,7 +2383,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetCatalogCreditHoursResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetCatalogCreditHoursResponse>> LearningApiGetCatalogCreditHoursAsyncWithHttpInfo(string catalogId, string accessToken) + public async Task<ApiResponse<GetCatalogCreditHoursResponse>> LearningApiGetCatalogCreditHoursAsyncWithHttpInfo(string catalogId, string accessToken)   {   // verify the required parameter 'catalogId' is set   if (catalogId == null) @@ -2419,7 +2419,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2510,7 +2510,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetDescriptionResponse</returns> - public async System.Threading.Tasks.Task<GetDescriptionResponse> LearningApiGetCatalogDescriptionAsync (string catalogId, string accessToken) + public async Task<GetDescriptionResponse> LearningApiGetCatalogDescriptionAsync (string catalogId, string accessToken)   {   var localVarResponse = await LearningApiGetCatalogDescriptionAsyncWithHttpInfo(catalogId, accessToken);   return localVarResponse.Data; @@ -2524,7 +2524,7 @@
  /// <param name="catalogId">Id of the catalog</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetDescriptionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetDescriptionResponse>> LearningApiGetCatalogDescriptionAsyncWithHttpInfo(string catalogId, string accessToken) + public async Task<ApiResponse<GetDescriptionResponse>> LearningApiGetCatalogDescriptionAsyncWithHttpInfo(string catalogId, string accessToken)   {   // verify the required parameter 'catalogId' is set   if (catalogId == null) @@ -2560,7 +2560,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2659,7 +2659,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;GetSyllabiResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<GetSyllabiResponseItem>> LearningApiGetCatalogSyllabiAsync (string catalogId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<GetSyllabiResponseItem>> LearningApiGetCatalogSyllabiAsync (string catalogId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetCatalogSyllabiAsyncWithHttpInfo(catalogId, accessToken, page, perPage);   return localVarResponse.Data; @@ -2675,7 +2675,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;GetSyllabiResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<GetSyllabiResponseItem>>> LearningApiGetCatalogSyllabiAsyncWithHttpInfo(string catalogId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<GetSyllabiResponseItem>>> LearningApiGetCatalogSyllabiAsyncWithHttpInfo(string catalogId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'catalogId' is set   if (catalogId == null) @@ -2713,7 +2713,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2821,7 +2821,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of CatalogResponse</returns> - public async System.Threading.Tasks.Task<CatalogResponse> LearningApiGetCatalogsAsync (CatalogRequest request, string accessToken, int? page = null, int? perPage = null) + public async Task<CatalogResponse> LearningApiGetCatalogsAsync (CatalogRequest request, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetCatalogsAsyncWithHttpInfo(request, accessToken, page, perPage);   return localVarResponse.Data; @@ -2837,7 +2837,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (CatalogResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<CatalogResponse>> LearningApiGetCatalogsAsyncWithHttpInfo(CatalogRequest request, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<CatalogResponse>> LearningApiGetCatalogsAsyncWithHttpInfo(CatalogRequest request, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'request' is set   if (request == null) @@ -2884,7 +2884,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -2983,7 +2983,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;CategoryResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<CategoryResponseItem>> LearningApiGetCategoriesAsync (string catalogId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<CategoryResponseItem>> LearningApiGetCategoriesAsync (string catalogId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetCategoriesAsyncWithHttpInfo(catalogId, accessToken, page, perPage);   return localVarResponse.Data; @@ -2999,7 +2999,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;CategoryResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<CategoryResponseItem>>> LearningApiGetCategoriesAsyncWithHttpInfo(string catalogId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<CategoryResponseItem>>> LearningApiGetCategoriesAsyncWithHttpInfo(string catalogId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'catalogId' is set   if (catalogId == null) @@ -3037,7 +3037,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3136,7 +3136,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;GetSyllabiResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<GetSyllabiResponseItem>> LearningApiGetCategorySyllabiAsync (string categoryId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<GetSyllabiResponseItem>> LearningApiGetCategorySyllabiAsync (string categoryId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetCategorySyllabiAsyncWithHttpInfo(categoryId, accessToken, page, perPage);   return localVarResponse.Data; @@ -3152,7 +3152,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;GetSyllabiResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<GetSyllabiResponseItem>>> LearningApiGetCategorySyllabiAsyncWithHttpInfo(string categoryId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<GetSyllabiResponseItem>>> LearningApiGetCategorySyllabiAsyncWithHttpInfo(string categoryId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'categoryId' is set   if (categoryId == null) @@ -3190,7 +3190,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3281,7 +3281,7 @@
  /// <param name="enrollmentId">Id of the enrollment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of CertificateUrlResponse</returns> - public async System.Threading.Tasks.Task<CertificateUrlResponse> LearningApiGetCertificateUrlAsync (string enrollmentId, string accessToken) + public async Task<CertificateUrlResponse> LearningApiGetCertificateUrlAsync (string enrollmentId, string accessToken)   {   var localVarResponse = await LearningApiGetCertificateUrlAsyncWithHttpInfo(enrollmentId, accessToken);   return localVarResponse.Data; @@ -3295,7 +3295,7 @@
  /// <param name="enrollmentId">Id of the enrollment</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (CertificateUrlResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<CertificateUrlResponse>> LearningApiGetCertificateUrlAsyncWithHttpInfo(string enrollmentId, string accessToken) + public async Task<ApiResponse<CertificateUrlResponse>> LearningApiGetCertificateUrlAsyncWithHttpInfo(string enrollmentId, string accessToken)   {   // verify the required parameter 'enrollmentId' is set   if (enrollmentId == null) @@ -3331,7 +3331,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3439,7 +3439,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;GetCmiDataResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<GetCmiDataResponseItem>> LearningApiGetCmiDataAsync (GetCmiDataRequest request, string accessToken, int? page = null, int? perPage = null) + public async Task<List<GetCmiDataResponseItem>> LearningApiGetCmiDataAsync (GetCmiDataRequest request, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetCmiDataAsyncWithHttpInfo(request, accessToken, page, perPage);   return localVarResponse.Data; @@ -3455,7 +3455,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;GetCmiDataResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<GetCmiDataResponseItem>>> LearningApiGetCmiDataAsyncWithHttpInfo(GetCmiDataRequest request, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<GetCmiDataResponseItem>>> LearningApiGetCmiDataAsyncWithHttpInfo(GetCmiDataRequest request, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'request' is set   if (request == null) @@ -3502,7 +3502,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3602,7 +3602,7 @@
  /// <param name="syllabusId">Id of the section or training plan to get the custom enrollment field values for (optional)</param>   /// <param name="key">Key of the custom enrollment field to get the value for (optional)</param>   /// <returns>Task of List&lt;GetCustomEnrollmentFieldValuesResponse&gt;</returns> - public async System.Threading.Tasks.Task<List<GetCustomEnrollmentFieldValuesResponse>> LearningApiGetCustomEnrollmentFieldValuesAsync (string accessToken, string enrollmentId = null, string subscriberId = null, string syllabusId = null, string key = null) + public async Task<List<GetCustomEnrollmentFieldValuesResponse>> LearningApiGetCustomEnrollmentFieldValuesAsync (string accessToken, string enrollmentId = null, string subscriberId = null, string syllabusId = null, string key = null)   {   var localVarResponse = await LearningApiGetCustomEnrollmentFieldValuesAsyncWithHttpInfo(accessToken, enrollmentId, subscriberId, syllabusId, key);   return localVarResponse.Data; @@ -3619,7 +3619,7 @@
  /// <param name="syllabusId">Id of the section or training plan to get the custom enrollment field values for (optional)</param>   /// <param name="key">Key of the custom enrollment field to get the value for (optional)</param>   /// <returns>Task of ApiResponse (List&lt;GetCustomEnrollmentFieldValuesResponse&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<GetCustomEnrollmentFieldValuesResponse>>> LearningApiGetCustomEnrollmentFieldValuesAsyncWithHttpInfo(string accessToken, string enrollmentId = null, string subscriberId = null, string syllabusId = null, string key = null) + public async Task<ApiResponse<List<GetCustomEnrollmentFieldValuesResponse>>> LearningApiGetCustomEnrollmentFieldValuesAsyncWithHttpInfo(string accessToken, string enrollmentId = null, string subscriberId = null, string syllabusId = null, string key = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -3655,7 +3655,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3750,7 +3750,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="fieldId">Optional field id to filter by (optional)</param>   /// <returns>Task of List&lt;GetCustomEnrollmentFieldsResponse&gt;</returns> - public async System.Threading.Tasks.Task<List<GetCustomEnrollmentFieldsResponse>> LearningApiGetCustomEnrollmentFieldsAsync (string orgId, string accessToken, string fieldId = null) + public async Task<List<GetCustomEnrollmentFieldsResponse>> LearningApiGetCustomEnrollmentFieldsAsync (string orgId, string accessToken, string fieldId = null)   {   var localVarResponse = await LearningApiGetCustomEnrollmentFieldsAsyncWithHttpInfo(orgId, accessToken, fieldId);   return localVarResponse.Data; @@ -3765,7 +3765,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="fieldId">Optional field id to filter by (optional)</param>   /// <returns>Task of ApiResponse (List&lt;GetCustomEnrollmentFieldsResponse&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<GetCustomEnrollmentFieldsResponse>>> LearningApiGetCustomEnrollmentFieldsAsyncWithHttpInfo(string orgId, string accessToken, string fieldId = null) + public async Task<ApiResponse<List<GetCustomEnrollmentFieldsResponse>>> LearningApiGetCustomEnrollmentFieldsAsyncWithHttpInfo(string orgId, string accessToken, string fieldId = null)   {   // verify the required parameter 'orgId' is set   if (orgId == null) @@ -3802,7 +3802,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -3904,7 +3904,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="syllabusId">Optional id of the syllabus to get the default field setting for (optional)</param>   /// <returns>Task of GetDefaultCustomEnrollmentFieldSettingResponse</returns> - public async System.Threading.Tasks.Task<GetDefaultCustomEnrollmentFieldSettingResponse> LearningApiGetDefaultCustomEnrollmentFieldSettingAsync (string orgId, string fieldId, string accessToken, string syllabusId = null) + public async Task<GetDefaultCustomEnrollmentFieldSettingResponse> LearningApiGetDefaultCustomEnrollmentFieldSettingAsync (string orgId, string fieldId, string accessToken, string syllabusId = null)   {   var localVarResponse = await LearningApiGetDefaultCustomEnrollmentFieldSettingAsyncWithHttpInfo(orgId, fieldId, accessToken, syllabusId);   return localVarResponse.Data; @@ -3920,7 +3920,7 @@
  /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <param name="syllabusId">Optional id of the syllabus to get the default field setting for (optional)</param>   /// <returns>Task of ApiResponse (GetDefaultCustomEnrollmentFieldSettingResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetDefaultCustomEnrollmentFieldSettingResponse>> LearningApiGetDefaultCustomEnrollmentFieldSettingAsyncWithHttpInfo(string orgId, string fieldId, string accessToken, string syllabusId = null) + public async Task<ApiResponse<GetDefaultCustomEnrollmentFieldSettingResponse>> LearningApiGetDefaultCustomEnrollmentFieldSettingAsyncWithHttpInfo(string orgId, string fieldId, string accessToken, string syllabusId = null)   {   // verify the required parameter 'orgId' is set   if (orgId == null) @@ -3961,7 +3961,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4061,7 +4061,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;OrganizationResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<OrganizationResponseItem>> LearningApiGetOrganizationsAsync (string accessToken, string orgId = null, string orgShortName = null, int? page = null, int? perPage = null) + public async Task<List<OrganizationResponseItem>> LearningApiGetOrganizationsAsync (string accessToken, string orgId = null, string orgShortName = null, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetOrganizationsAsyncWithHttpInfo(accessToken, orgId, orgShortName, page, perPage);   return localVarResponse.Data; @@ -4078,7 +4078,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;OrganizationResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<OrganizationResponseItem>>> LearningApiGetOrganizationsAsyncWithHttpInfo(string accessToken, string orgId = null, string orgShortName = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<OrganizationResponseItem>>> LearningApiGetOrganizationsAsyncWithHttpInfo(string accessToken, string orgId = null, string orgShortName = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -4114,7 +4114,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4205,7 +4205,7 @@
  /// <param name="syllabusId">Id of the syllabus</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of SectionResponse</returns> - public async System.Threading.Tasks.Task<SectionResponse> LearningApiGetSectionAsync (string syllabusId, string accessToken) + public async Task<SectionResponse> LearningApiGetSectionAsync (string syllabusId, string accessToken)   {   var localVarResponse = await LearningApiGetSectionAsyncWithHttpInfo(syllabusId, accessToken);   return localVarResponse.Data; @@ -4219,7 +4219,7 @@
  /// <param name="syllabusId">Id of the syllabus</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (SectionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<SectionResponse>> LearningApiGetSectionAsyncWithHttpInfo(string syllabusId, string accessToken) + public async Task<ApiResponse<SectionResponse>> LearningApiGetSectionAsyncWithHttpInfo(string syllabusId, string accessToken)   {   // verify the required parameter 'syllabusId' is set   if (syllabusId == null) @@ -4255,7 +4255,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4346,7 +4346,7 @@
  /// <param name="sectionId">Id of the section</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetDescriptionResponse</returns> - public async System.Threading.Tasks.Task<GetDescriptionResponse> LearningApiGetSectionDescriptionAsync (string sectionId, string accessToken) + public async Task<GetDescriptionResponse> LearningApiGetSectionDescriptionAsync (string sectionId, string accessToken)   {   var localVarResponse = await LearningApiGetSectionDescriptionAsyncWithHttpInfo(sectionId, accessToken);   return localVarResponse.Data; @@ -4360,7 +4360,7 @@
  /// <param name="sectionId">Id of the section</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetDescriptionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetDescriptionResponse>> LearningApiGetSectionDescriptionAsyncWithHttpInfo(string sectionId, string accessToken) + public async Task<ApiResponse<GetDescriptionResponse>> LearningApiGetSectionDescriptionAsyncWithHttpInfo(string sectionId, string accessToken)   {   // verify the required parameter 'sectionId' is set   if (sectionId == null) @@ -4396,7 +4396,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4508,7 +4508,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;SectionEnrollmentsResponse&gt;</returns> - public async System.Threading.Tasks.Task<List<SectionEnrollmentsResponse>> LearningApiGetSectionEnrollmentsAsync (string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null) + public async Task<List<SectionEnrollmentsResponse>> LearningApiGetSectionEnrollmentsAsync (string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetSectionEnrollmentsAsyncWithHttpInfo(accessToken, orgId, subscriberId, syllabusId, enrollmentId, syllabusUniqueName, page, perPage);   return localVarResponse.Data; @@ -4528,7 +4528,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;SectionEnrollmentsResponse&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<SectionEnrollmentsResponse>>> LearningApiGetSectionEnrollmentsAsyncWithHttpInfo(string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<SectionEnrollmentsResponse>>> LearningApiGetSectionEnrollmentsAsyncWithHttpInfo(string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -4567,7 +4567,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4658,7 +4658,7 @@
  /// <param name="sectionId">Id of the section</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetObjectivesResponse</returns> - public async System.Threading.Tasks.Task<GetObjectivesResponse> LearningApiGetSectionObjectivesAsync (string sectionId, string accessToken) + public async Task<GetObjectivesResponse> LearningApiGetSectionObjectivesAsync (string sectionId, string accessToken)   {   var localVarResponse = await LearningApiGetSectionObjectivesAsyncWithHttpInfo(sectionId, accessToken);   return localVarResponse.Data; @@ -4672,7 +4672,7 @@
  /// <param name="sectionId">Id of the section</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetObjectivesResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetObjectivesResponse>> LearningApiGetSectionObjectivesAsyncWithHttpInfo(string sectionId, string accessToken) + public async Task<ApiResponse<GetObjectivesResponse>> LearningApiGetSectionObjectivesAsyncWithHttpInfo(string sectionId, string accessToken)   {   // verify the required parameter 'sectionId' is set   if (sectionId == null) @@ -4708,7 +4708,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4814,7 +4814,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;TestAttemptResponseItem&gt;</returns> - public async System.Threading.Tasks.Task<List<TestAttemptResponseItem>> LearningApiGetTestAttemptsAsync (string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<List<TestAttemptResponseItem>> LearningApiGetTestAttemptsAsync (string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetTestAttemptsAsyncWithHttpInfo(enrollmentId, assignmentId, accessToken, page, perPage);   return localVarResponse.Data; @@ -4831,7 +4831,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;TestAttemptResponseItem&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<TestAttemptResponseItem>>> LearningApiGetTestAttemptsAsyncWithHttpInfo(string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<TestAttemptResponseItem>>> LearningApiGetTestAttemptsAsyncWithHttpInfo(string enrollmentId, string assignmentId, string accessToken, int? page = null, int? perPage = null)   {   // verify the required parameter 'enrollmentId' is set   if (enrollmentId == null) @@ -4873,7 +4873,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -4964,7 +4964,7 @@
  /// <param name="trainingPlanId">Id of the training plan</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of TrainingPlanResponse</returns> - public async System.Threading.Tasks.Task<TrainingPlanResponse> LearningApiGetTrainingPlanAsync (string trainingPlanId, string accessToken) + public async Task<TrainingPlanResponse> LearningApiGetTrainingPlanAsync (string trainingPlanId, string accessToken)   {   var localVarResponse = await LearningApiGetTrainingPlanAsyncWithHttpInfo(trainingPlanId, accessToken);   return localVarResponse.Data; @@ -4978,7 +4978,7 @@
  /// <param name="trainingPlanId">Id of the training plan</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (TrainingPlanResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<TrainingPlanResponse>> LearningApiGetTrainingPlanAsyncWithHttpInfo(string trainingPlanId, string accessToken) + public async Task<ApiResponse<TrainingPlanResponse>> LearningApiGetTrainingPlanAsyncWithHttpInfo(string trainingPlanId, string accessToken)   {   // verify the required parameter 'trainingPlanId' is set   if (trainingPlanId == null) @@ -5014,7 +5014,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -5105,7 +5105,7 @@
  /// <param name="trainingPlanId">Id of the training plan</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of GetDescriptionResponse</returns> - public async System.Threading.Tasks.Task<GetDescriptionResponse> LearningApiGetTrainingPlanDescriptionAsync (string trainingPlanId, string accessToken) + public async Task<GetDescriptionResponse> LearningApiGetTrainingPlanDescriptionAsync (string trainingPlanId, string accessToken)   {   var localVarResponse = await LearningApiGetTrainingPlanDescriptionAsyncWithHttpInfo(trainingPlanId, accessToken);   return localVarResponse.Data; @@ -5119,7 +5119,7 @@
  /// <param name="trainingPlanId">Id of the training plan</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (GetDescriptionResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<GetDescriptionResponse>> LearningApiGetTrainingPlanDescriptionAsyncWithHttpInfo(string trainingPlanId, string accessToken) + public async Task<ApiResponse<GetDescriptionResponse>> LearningApiGetTrainingPlanDescriptionAsyncWithHttpInfo(string trainingPlanId, string accessToken)   {   // verify the required parameter 'trainingPlanId' is set   if (trainingPlanId == null) @@ -5155,7 +5155,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -5267,7 +5267,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of List&lt;TrainingPlanEnrollmentsResponse&gt;</returns> - public async System.Threading.Tasks.Task<List<TrainingPlanEnrollmentsResponse>> LearningApiGetTrainingPlanEnrollmentsAsync (string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null) + public async Task<List<TrainingPlanEnrollmentsResponse>> LearningApiGetTrainingPlanEnrollmentsAsync (string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null)   {   var localVarResponse = await LearningApiGetTrainingPlanEnrollmentsAsyncWithHttpInfo(accessToken, orgId, subscriberId, syllabusId, enrollmentId, syllabusUniqueName, page, perPage);   return localVarResponse.Data; @@ -5287,7 +5287,7 @@
  /// <param name="page">Which page of results to start on (optional)</param>   /// <param name="perPage">How many results to show per page (optional)</param>   /// <returns>Task of ApiResponse (List&lt;TrainingPlanEnrollmentsResponse&gt;)</returns> - public async System.Threading.Tasks.Task<ApiResponse<List<TrainingPlanEnrollmentsResponse>>> LearningApiGetTrainingPlanEnrollmentsAsyncWithHttpInfo(string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null) + public async Task<ApiResponse<List<TrainingPlanEnrollmentsResponse>>> LearningApiGetTrainingPlanEnrollmentsAsyncWithHttpInfo(string accessToken, string orgId = null, string subscriberId = null, string syllabusId = null, string enrollmentId = null, string syllabusUniqueName = null, int? page = null, int? perPage = null)   {   // verify the required parameter 'accessToken' is set   if (accessToken == null) @@ -5326,7 +5326,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);   @@ -5426,7 +5426,7 @@
  /// <param name="request">Contains enrollment id and dictionary of key/value pairs</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of SetCustomEnrollmentFieldValuesResponse</returns> - public async System.Threading.Tasks.Task<SetCustomEnrollmentFieldValuesResponse> LearningApiSetCustomEnrollmentFieldValuesAsync (SetCustomEnrollmentFieldValuesRequest request, string accessToken) + public async Task<SetCustomEnrollmentFieldValuesResponse> LearningApiSetCustomEnrollmentFieldValuesAsync (SetCustomEnrollmentFieldValuesRequest request, string accessToken)   {   var localVarResponse = await LearningApiSetCustomEnrollmentFieldValuesAsyncWithHttpInfo(request, accessToken);   return localVarResponse.Data; @@ -5440,7 +5440,7 @@
  /// <param name="request">Contains enrollment id and dictionary of key/value pairs</param>   /// <param name="accessToken">Use the AdminApi Authenticate method to get the access_token</param>   /// <returns>Task of ApiResponse (SetCustomEnrollmentFieldValuesResponse)</returns> - public async System.Threading.Tasks.Task<ApiResponse<SetCustomEnrollmentFieldValuesResponse>> LearningApiSetCustomEnrollmentFieldValuesAsyncWithHttpInfo(SetCustomEnrollmentFieldValuesRequest request, string accessToken) + public async Task<ApiResponse<SetCustomEnrollmentFieldValuesResponse>> LearningApiSetCustomEnrollmentFieldValuesAsyncWithHttpInfo(SetCustomEnrollmentFieldValuesRequest request, string accessToken)   {   // verify the required parameter 'request' is set   if (request == null) @@ -5485,7 +5485,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);  
This file's diff was not loaded because this changeset is very large. Load changes
 
10
11
12
13
14
15
16
 
201
202
203
204
 
205
206
207
 
213
214
215
216
 
217
218
219
 
241
242
243
244
 
245
246
247
 
10
11
12
 
13
14
15
 
200
201
202
 
203
204
205
206
 
212
213
214
 
215
216
217
218
 
240
241
242
 
243
244
245
246
@@ -10,7 +10,6 @@
   using System;  using System.Collections.Generic; -using System.Collections.ObjectModel;  using System.Linq;  using System.Threading.Tasks;  using RestSharp; @@ -201,7 +200,7 @@
  /// </summary>   /// <exception cref="ApiException">Thrown when fails to make API call</exception>   /// <returns>Task of PostmanCollectionGet</returns> - public async System.Threading.Tasks.Task<PostmanCollectionGet> PostmanApiGetPostmanCollectionAsync () + public async Task<PostmanCollectionGet> PostmanApiGetPostmanCollectionAsync ()   {   var localVarResponse = await PostmanApiGetPostmanCollectionAsyncWithHttpInfo();   return localVarResponse.Data; @@ -213,7 +212,7 @@
  /// </summary>   /// <exception cref="ApiException">Thrown when fails to make API call</exception>   /// <returns>Task of ApiResponse (PostmanCollectionGet)</returns> - public async System.Threading.Tasks.Task<ApiResponse<PostmanCollectionGet>> PostmanApiGetPostmanCollectionAsyncWithHttpInfo() + public async Task<ApiResponse<PostmanCollectionGet>> PostmanApiGetPostmanCollectionAsyncWithHttpInfo()   {     var localVarPath = "/api/v1/PostmanApi/GetPostmanCollection"; @@ -241,7 +240,7 @@
      // make the HTTP request - IRestResponse localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath, + var localVarResponse = (IRestResponse) await Configuration.ApiClient.CallApiAsync(localVarPath,   Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,   localVarPathParams, localVarHttpContentType);  
Show Entire File NexportApi/​Api/​ScormApiApi.cs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
Show Entire File NexportApi/​Api/​SsoApiApi.cs Stacked
This file's diff was not loaded because this changeset is very large. Load changes
 
40
41
42
 
43
44
45
46
 
47
48
49
 
57
58
59
 
60
61
62
 
111
112
113
 
 
 
 
 
 
 
114
115
116
 
146
147
148
 
149
150
151
 
219
220
221
 
 
 
 
 
222
223
224
 
258
259
260
 
 
261
262
263
 
40
41
42
43
44
45
46
 
47
48
49
50
 
58
59
60
61
62
63
64
 
113
114
115
116
117
118
119
120
121
122
123
124
125
 
155
156
157
158
159
160
161
 
229
230
231
232
233
234
235
236
237
238
239
 
273
274
275
276
277
278
279
280
@@ -40,10 +40,11 @@
  /// <param name="middleName">Middle name of the user.</param>   /// <param name="firstName">First name of the user (required).</param>   /// <param name="email">Email address of the user.</param> + /// <param name="internalEmail">Email address used for internal communications within NexPort Campus.</param>   /// <param name="title">User's title prefix.</param>   /// <param name="nickname">User's nickname.</param>   /// <param name="apiErrorEntity">Error information (required).</param> - public GetUserResponse(string userId = default(string), string ownerOrgId = default(string), string ownerOrgShortName = default(string), string lastName = default(string), string middleName = default(string), string firstName = default(string), string email = default(string), string title = default(string), string nickname = default(string), ApiErrorEntity apiErrorEntity = default(ApiErrorEntity)) + public GetUserResponse(string userId = default(string), string ownerOrgId = default(string), string ownerOrgShortName = default(string), string lastName = default(string), string middleName = default(string), string firstName = default(string), string email = default(string), string internalEmail = default(string), string title = default(string), string nickname = default(string), ApiErrorEntity apiErrorEntity = default(ApiErrorEntity))   {   // to ensure "userId" is required (not null)   UserId = userId ?? throw new InvalidDataException("userId is a required property for GetUserResponse and cannot be null");; @@ -57,6 +58,7 @@
  OwnerOrgShortName = ownerOrgShortName;   MiddleName = middleName;   Email = email; + InternalEmail = internalEmail;   Title = title;   Nickname = nickname;   } @@ -111,6 +113,13 @@
  public string Email { get; set; }     /// <summary> + /// Email address used for internal communications within NexPort Campus + /// </summary> + /// <value>Email address used for internal communications within NexPort Campus</value> + [DataMember(Name="internal-email", EmitDefaultValue=false)] + public string InternalEmail { get; set; } + + /// <summary>   /// User's title prefix   /// </summary>   /// <value>User's title prefix</value> @@ -146,6 +155,7 @@
  sb.Append(" MiddleName: ").Append(MiddleName).Append("\n");   sb.Append(" FirstName: ").Append(FirstName).Append("\n");   sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" InternalEmail: ").Append(InternalEmail).Append("\n");   sb.Append(" Title: ").Append(Title).Append("\n");   sb.Append(" Nickname: ").Append(Nickname).Append("\n");   sb.Append(" ApiErrorEntity: ").Append(ApiErrorEntity).Append("\n"); @@ -219,6 +229,11 @@
  Email.Equals(input.Email))   ) &&   ( + InternalEmail == input.InternalEmail || + (InternalEmail != null && + InternalEmail.Equals(input.InternalEmail)) + ) && + (   Title == input.Title ||   (Title != null &&   Title.Equals(input.Title)) @@ -258,6 +273,8 @@
  hashCode = hashCode * 59 + FirstName.GetHashCode();   if (Email != null)   hashCode = hashCode * 59 + Email.GetHashCode(); + if (InternalEmail != null) + hashCode = hashCode * 59 + InternalEmail.GetHashCode();   if (Title != null)   hashCode = hashCode * 59 + Title.GetHashCode();   if (Nickname != null)
 
5
6
7
8
9
10
 
 
 
11
12
13
14
15
16
 
 
17
18
19
 
5
6
7
 
 
 
8
9
10
11
12
13
14
 
 
15
16
17
18
19
@@ -5,15 +5,15 @@
  <Authors>Nexport Solutions</Authors>   <Company>Darwin Global, LLC</Company>   <GeneratePackageOnBuild>true</GeneratePackageOnBuild> - <AssemblyVersion>1.0.17.0030</AssemblyVersion> - <FileVersion>1.0.17.0030</FileVersion> - <Version>1.0.17</Version> + <AssemblyVersion>1.0.18.0030</AssemblyVersion> + <FileVersion>1.0.18.0030</FileVersion> + <Version>1.0.18</Version>   </PropertyGroup>     <ItemGroup>   <PackageReference Include="Microsoft.CSharp" Version="4.5.0" /> - <PackageReference Include="Newtonsoft.Json" Version="12.0.1" /> - <PackageReference Include="RestSharp" Version="106.6.9" /> + <PackageReference Include="Newtonsoft.Json" Version="12.0.2" /> + <PackageReference Include="RestSharp" Version="106.6.10" />   <PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />   </ItemGroup>