perceptic-core-client 0.7.1__py3-none-any.whl → 0.7.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of perceptic-core-client might be problematic. Click here for more details.

@@ -44,7 +44,7 @@ class IndexingTaskResourceApi:
44
44
 
45
45
 
46
46
  @validate_call
47
- def api_v1_indexing_tasks_post(
47
+ def create_indexing_task(
48
48
  self,
49
49
  create_indexing_task_request: CreateIndexingTaskRequest,
50
50
  dry_run: Optional[StrictBool] = None,
@@ -93,7 +93,7 @@ class IndexingTaskResourceApi:
93
93
  :return: Returns the result object.
94
94
  """ # noqa: E501
95
95
 
96
- _param = self._api_v1_indexing_tasks_post_serialize(
96
+ _param = self._create_indexing_task_serialize(
97
97
  create_indexing_task_request=create_indexing_task_request,
98
98
  dry_run=dry_run,
99
99
  freshness_minutes=freshness_minutes,
@@ -119,7 +119,7 @@ class IndexingTaskResourceApi:
119
119
 
120
120
 
121
121
  @validate_call
122
- def api_v1_indexing_tasks_post_with_http_info(
122
+ def create_indexing_task_with_http_info(
123
123
  self,
124
124
  create_indexing_task_request: CreateIndexingTaskRequest,
125
125
  dry_run: Optional[StrictBool] = None,
@@ -168,7 +168,7 @@ class IndexingTaskResourceApi:
168
168
  :return: Returns the result object.
169
169
  """ # noqa: E501
170
170
 
171
- _param = self._api_v1_indexing_tasks_post_serialize(
171
+ _param = self._create_indexing_task_serialize(
172
172
  create_indexing_task_request=create_indexing_task_request,
173
173
  dry_run=dry_run,
174
174
  freshness_minutes=freshness_minutes,
@@ -194,7 +194,7 @@ class IndexingTaskResourceApi:
194
194
 
195
195
 
196
196
  @validate_call
197
- def api_v1_indexing_tasks_post_without_preload_content(
197
+ def create_indexing_task_without_preload_content(
198
198
  self,
199
199
  create_indexing_task_request: CreateIndexingTaskRequest,
200
200
  dry_run: Optional[StrictBool] = None,
@@ -243,7 +243,7 @@ class IndexingTaskResourceApi:
243
243
  :return: Returns the result object.
244
244
  """ # noqa: E501
245
245
 
246
- _param = self._api_v1_indexing_tasks_post_serialize(
246
+ _param = self._create_indexing_task_serialize(
247
247
  create_indexing_task_request=create_indexing_task_request,
248
248
  dry_run=dry_run,
249
249
  freshness_minutes=freshness_minutes,
@@ -264,7 +264,7 @@ class IndexingTaskResourceApi:
264
264
  return response_data.response
265
265
 
266
266
 
267
- def _api_v1_indexing_tasks_post_serialize(
267
+ def _create_indexing_task_serialize(
268
268
  self,
269
269
  create_indexing_task_request,
270
270
  dry_run,
@@ -351,12 +351,9 @@ class IndexingTaskResourceApi:
351
351
 
352
352
 
353
353
  @validate_call
354
- def api_v1_indexing_tasks_task_rid_actions_get(
354
+ def get_indexing_task(
355
355
  self,
356
356
  task_rid: StrictStr,
357
- limit: Optional[StrictInt] = None,
358
- offset: Optional[StrictInt] = None,
359
- status: Optional[List[IndexingActionStatus]] = None,
360
357
  _request_timeout: Union[
361
358
  None,
362
359
  Annotated[StrictFloat, Field(gt=0)],
@@ -369,18 +366,12 @@ class IndexingTaskResourceApi:
369
366
  _content_type: Optional[StrictStr] = None,
370
367
  _headers: Optional[Dict[StrictStr, Any]] = None,
371
368
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
372
- ) -> ListIndexingActionsResponse:
373
- """List Indexing Actions
369
+ ) -> GetIndexingTaskResponse:
370
+ """Get Indexing Task
374
371
 
375
372
 
376
373
  :param task_rid: (required)
377
374
  :type task_rid: str
378
- :param limit:
379
- :type limit: int
380
- :param offset:
381
- :type offset: int
382
- :param status:
383
- :type status: List[IndexingActionStatus]
384
375
  :param _request_timeout: timeout setting for this request. If one
385
376
  number provided, it will be total request
386
377
  timeout. It can also be a pair (tuple) of
@@ -403,11 +394,8 @@ class IndexingTaskResourceApi:
403
394
  :return: Returns the result object.
404
395
  """ # noqa: E501
405
396
 
406
- _param = self._api_v1_indexing_tasks_task_rid_actions_get_serialize(
397
+ _param = self._get_indexing_task_serialize(
407
398
  task_rid=task_rid,
408
- limit=limit,
409
- offset=offset,
410
- status=status,
411
399
  _request_auth=_request_auth,
412
400
  _content_type=_content_type,
413
401
  _headers=_headers,
@@ -415,7 +403,7 @@ class IndexingTaskResourceApi:
415
403
  )
416
404
 
417
405
  _response_types_map: Dict[str, Optional[str]] = {
418
- '200': "ListIndexingActionsResponse",
406
+ '200': "GetIndexingTaskResponse",
419
407
  }
420
408
  response_data = self.api_client.call_api(
421
409
  *_param,
@@ -429,12 +417,9 @@ class IndexingTaskResourceApi:
429
417
 
430
418
 
431
419
  @validate_call
432
- def api_v1_indexing_tasks_task_rid_actions_get_with_http_info(
420
+ def get_indexing_task_with_http_info(
433
421
  self,
434
422
  task_rid: StrictStr,
435
- limit: Optional[StrictInt] = None,
436
- offset: Optional[StrictInt] = None,
437
- status: Optional[List[IndexingActionStatus]] = None,
438
423
  _request_timeout: Union[
439
424
  None,
440
425
  Annotated[StrictFloat, Field(gt=0)],
@@ -447,18 +432,12 @@ class IndexingTaskResourceApi:
447
432
  _content_type: Optional[StrictStr] = None,
448
433
  _headers: Optional[Dict[StrictStr, Any]] = None,
449
434
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
450
- ) -> ApiResponse[ListIndexingActionsResponse]:
451
- """List Indexing Actions
435
+ ) -> ApiResponse[GetIndexingTaskResponse]:
436
+ """Get Indexing Task
452
437
 
453
438
 
454
439
  :param task_rid: (required)
455
440
  :type task_rid: str
456
- :param limit:
457
- :type limit: int
458
- :param offset:
459
- :type offset: int
460
- :param status:
461
- :type status: List[IndexingActionStatus]
462
441
  :param _request_timeout: timeout setting for this request. If one
463
442
  number provided, it will be total request
464
443
  timeout. It can also be a pair (tuple) of
@@ -481,11 +460,8 @@ class IndexingTaskResourceApi:
481
460
  :return: Returns the result object.
482
461
  """ # noqa: E501
483
462
 
484
- _param = self._api_v1_indexing_tasks_task_rid_actions_get_serialize(
463
+ _param = self._get_indexing_task_serialize(
485
464
  task_rid=task_rid,
486
- limit=limit,
487
- offset=offset,
488
- status=status,
489
465
  _request_auth=_request_auth,
490
466
  _content_type=_content_type,
491
467
  _headers=_headers,
@@ -493,7 +469,7 @@ class IndexingTaskResourceApi:
493
469
  )
494
470
 
495
471
  _response_types_map: Dict[str, Optional[str]] = {
496
- '200': "ListIndexingActionsResponse",
472
+ '200': "GetIndexingTaskResponse",
497
473
  }
498
474
  response_data = self.api_client.call_api(
499
475
  *_param,
@@ -507,12 +483,9 @@ class IndexingTaskResourceApi:
507
483
 
508
484
 
509
485
  @validate_call
510
- def api_v1_indexing_tasks_task_rid_actions_get_without_preload_content(
486
+ def get_indexing_task_without_preload_content(
511
487
  self,
512
488
  task_rid: StrictStr,
513
- limit: Optional[StrictInt] = None,
514
- offset: Optional[StrictInt] = None,
515
- status: Optional[List[IndexingActionStatus]] = None,
516
489
  _request_timeout: Union[
517
490
  None,
518
491
  Annotated[StrictFloat, Field(gt=0)],
@@ -526,17 +499,11 @@ class IndexingTaskResourceApi:
526
499
  _headers: Optional[Dict[StrictStr, Any]] = None,
527
500
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
528
501
  ) -> RESTResponseType:
529
- """List Indexing Actions
502
+ """Get Indexing Task
530
503
 
531
504
 
532
505
  :param task_rid: (required)
533
506
  :type task_rid: str
534
- :param limit:
535
- :type limit: int
536
- :param offset:
537
- :type offset: int
538
- :param status:
539
- :type status: List[IndexingActionStatus]
540
507
  :param _request_timeout: timeout setting for this request. If one
541
508
  number provided, it will be total request
542
509
  timeout. It can also be a pair (tuple) of
@@ -559,11 +526,8 @@ class IndexingTaskResourceApi:
559
526
  :return: Returns the result object.
560
527
  """ # noqa: E501
561
528
 
562
- _param = self._api_v1_indexing_tasks_task_rid_actions_get_serialize(
529
+ _param = self._get_indexing_task_serialize(
563
530
  task_rid=task_rid,
564
- limit=limit,
565
- offset=offset,
566
- status=status,
567
531
  _request_auth=_request_auth,
568
532
  _content_type=_content_type,
569
533
  _headers=_headers,
@@ -571,7 +535,7 @@ class IndexingTaskResourceApi:
571
535
  )
572
536
 
573
537
  _response_types_map: Dict[str, Optional[str]] = {
574
- '200': "ListIndexingActionsResponse",
538
+ '200': "GetIndexingTaskResponse",
575
539
  }
576
540
  response_data = self.api_client.call_api(
577
541
  *_param,
@@ -580,12 +544,9 @@ class IndexingTaskResourceApi:
580
544
  return response_data.response
581
545
 
582
546
 
583
- def _api_v1_indexing_tasks_task_rid_actions_get_serialize(
547
+ def _get_indexing_task_serialize(
584
548
  self,
585
549
  task_rid,
586
- limit,
587
- offset,
588
- status,
589
550
  _request_auth,
590
551
  _content_type,
591
552
  _headers,
@@ -595,7 +556,6 @@ class IndexingTaskResourceApi:
595
556
  _host = None
596
557
 
597
558
  _collection_formats: Dict[str, str] = {
598
- 'status': 'multi',
599
559
  }
600
560
 
601
561
  _path_params: Dict[str, str] = {}
@@ -611,18 +571,6 @@ class IndexingTaskResourceApi:
611
571
  if task_rid is not None:
612
572
  _path_params['taskRid'] = task_rid
613
573
  # process the query parameters
614
- if limit is not None:
615
-
616
- _query_params.append(('limit', limit))
617
-
618
- if offset is not None:
619
-
620
- _query_params.append(('offset', offset))
621
-
622
- if status is not None:
623
-
624
- _query_params.append(('status', status))
625
-
626
574
  # process the header parameters
627
575
  # process the form parameters
628
576
  # process the body parameter
@@ -643,7 +591,7 @@ class IndexingTaskResourceApi:
643
591
 
644
592
  return self.api_client.param_serialize(
645
593
  method='GET',
646
- resource_path='/api/v1/indexing/tasks/{taskRid}/actions',
594
+ resource_path='/api/v1/indexing/tasks/{taskRid}',
647
595
  path_params=_path_params,
648
596
  query_params=_query_params,
649
597
  header_params=_header_params,
@@ -660,9 +608,12 @@ class IndexingTaskResourceApi:
660
608
 
661
609
 
662
610
  @validate_call
663
- def api_v1_indexing_tasks_task_rid_execute_post(
611
+ def list_indexing_actions(
664
612
  self,
665
613
  task_rid: StrictStr,
614
+ limit: Optional[StrictInt] = None,
615
+ offset: Optional[StrictInt] = None,
616
+ status: Optional[List[IndexingActionStatus]] = None,
666
617
  _request_timeout: Union[
667
618
  None,
668
619
  Annotated[StrictFloat, Field(gt=0)],
@@ -675,12 +626,18 @@ class IndexingTaskResourceApi:
675
626
  _content_type: Optional[StrictStr] = None,
676
627
  _headers: Optional[Dict[StrictStr, Any]] = None,
677
628
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
678
- ) -> StartExecutionResponse:
679
- """Start Execution
629
+ ) -> ListIndexingActionsResponse:
630
+ """List Indexing Actions
680
631
 
681
632
 
682
633
  :param task_rid: (required)
683
634
  :type task_rid: str
635
+ :param limit:
636
+ :type limit: int
637
+ :param offset:
638
+ :type offset: int
639
+ :param status:
640
+ :type status: List[IndexingActionStatus]
684
641
  :param _request_timeout: timeout setting for this request. If one
685
642
  number provided, it will be total request
686
643
  timeout. It can also be a pair (tuple) of
@@ -703,8 +660,11 @@ class IndexingTaskResourceApi:
703
660
  :return: Returns the result object.
704
661
  """ # noqa: E501
705
662
 
706
- _param = self._api_v1_indexing_tasks_task_rid_execute_post_serialize(
663
+ _param = self._list_indexing_actions_serialize(
707
664
  task_rid=task_rid,
665
+ limit=limit,
666
+ offset=offset,
667
+ status=status,
708
668
  _request_auth=_request_auth,
709
669
  _content_type=_content_type,
710
670
  _headers=_headers,
@@ -712,7 +672,7 @@ class IndexingTaskResourceApi:
712
672
  )
713
673
 
714
674
  _response_types_map: Dict[str, Optional[str]] = {
715
- '200': "StartExecutionResponse",
675
+ '200': "ListIndexingActionsResponse",
716
676
  }
717
677
  response_data = self.api_client.call_api(
718
678
  *_param,
@@ -726,9 +686,12 @@ class IndexingTaskResourceApi:
726
686
 
727
687
 
728
688
  @validate_call
729
- def api_v1_indexing_tasks_task_rid_execute_post_with_http_info(
689
+ def list_indexing_actions_with_http_info(
730
690
  self,
731
691
  task_rid: StrictStr,
692
+ limit: Optional[StrictInt] = None,
693
+ offset: Optional[StrictInt] = None,
694
+ status: Optional[List[IndexingActionStatus]] = None,
732
695
  _request_timeout: Union[
733
696
  None,
734
697
  Annotated[StrictFloat, Field(gt=0)],
@@ -741,12 +704,18 @@ class IndexingTaskResourceApi:
741
704
  _content_type: Optional[StrictStr] = None,
742
705
  _headers: Optional[Dict[StrictStr, Any]] = None,
743
706
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
744
- ) -> ApiResponse[StartExecutionResponse]:
745
- """Start Execution
707
+ ) -> ApiResponse[ListIndexingActionsResponse]:
708
+ """List Indexing Actions
746
709
 
747
710
 
748
711
  :param task_rid: (required)
749
712
  :type task_rid: str
713
+ :param limit:
714
+ :type limit: int
715
+ :param offset:
716
+ :type offset: int
717
+ :param status:
718
+ :type status: List[IndexingActionStatus]
750
719
  :param _request_timeout: timeout setting for this request. If one
751
720
  number provided, it will be total request
752
721
  timeout. It can also be a pair (tuple) of
@@ -769,8 +738,11 @@ class IndexingTaskResourceApi:
769
738
  :return: Returns the result object.
770
739
  """ # noqa: E501
771
740
 
772
- _param = self._api_v1_indexing_tasks_task_rid_execute_post_serialize(
741
+ _param = self._list_indexing_actions_serialize(
773
742
  task_rid=task_rid,
743
+ limit=limit,
744
+ offset=offset,
745
+ status=status,
774
746
  _request_auth=_request_auth,
775
747
  _content_type=_content_type,
776
748
  _headers=_headers,
@@ -778,7 +750,7 @@ class IndexingTaskResourceApi:
778
750
  )
779
751
 
780
752
  _response_types_map: Dict[str, Optional[str]] = {
781
- '200': "StartExecutionResponse",
753
+ '200': "ListIndexingActionsResponse",
782
754
  }
783
755
  response_data = self.api_client.call_api(
784
756
  *_param,
@@ -792,9 +764,12 @@ class IndexingTaskResourceApi:
792
764
 
793
765
 
794
766
  @validate_call
795
- def api_v1_indexing_tasks_task_rid_execute_post_without_preload_content(
767
+ def list_indexing_actions_without_preload_content(
796
768
  self,
797
769
  task_rid: StrictStr,
770
+ limit: Optional[StrictInt] = None,
771
+ offset: Optional[StrictInt] = None,
772
+ status: Optional[List[IndexingActionStatus]] = None,
798
773
  _request_timeout: Union[
799
774
  None,
800
775
  Annotated[StrictFloat, Field(gt=0)],
@@ -808,11 +783,17 @@ class IndexingTaskResourceApi:
808
783
  _headers: Optional[Dict[StrictStr, Any]] = None,
809
784
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
810
785
  ) -> RESTResponseType:
811
- """Start Execution
786
+ """List Indexing Actions
812
787
 
813
788
 
814
789
  :param task_rid: (required)
815
790
  :type task_rid: str
791
+ :param limit:
792
+ :type limit: int
793
+ :param offset:
794
+ :type offset: int
795
+ :param status:
796
+ :type status: List[IndexingActionStatus]
816
797
  :param _request_timeout: timeout setting for this request. If one
817
798
  number provided, it will be total request
818
799
  timeout. It can also be a pair (tuple) of
@@ -835,8 +816,11 @@ class IndexingTaskResourceApi:
835
816
  :return: Returns the result object.
836
817
  """ # noqa: E501
837
818
 
838
- _param = self._api_v1_indexing_tasks_task_rid_execute_post_serialize(
819
+ _param = self._list_indexing_actions_serialize(
839
820
  task_rid=task_rid,
821
+ limit=limit,
822
+ offset=offset,
823
+ status=status,
840
824
  _request_auth=_request_auth,
841
825
  _content_type=_content_type,
842
826
  _headers=_headers,
@@ -844,7 +828,7 @@ class IndexingTaskResourceApi:
844
828
  )
845
829
 
846
830
  _response_types_map: Dict[str, Optional[str]] = {
847
- '200': "StartExecutionResponse",
831
+ '200': "ListIndexingActionsResponse",
848
832
  }
849
833
  response_data = self.api_client.call_api(
850
834
  *_param,
@@ -853,9 +837,12 @@ class IndexingTaskResourceApi:
853
837
  return response_data.response
854
838
 
855
839
 
856
- def _api_v1_indexing_tasks_task_rid_execute_post_serialize(
840
+ def _list_indexing_actions_serialize(
857
841
  self,
858
842
  task_rid,
843
+ limit,
844
+ offset,
845
+ status,
859
846
  _request_auth,
860
847
  _content_type,
861
848
  _headers,
@@ -865,6 +852,7 @@ class IndexingTaskResourceApi:
865
852
  _host = None
866
853
 
867
854
  _collection_formats: Dict[str, str] = {
855
+ 'status': 'multi',
868
856
  }
869
857
 
870
858
  _path_params: Dict[str, str] = {}
@@ -880,6 +868,18 @@ class IndexingTaskResourceApi:
880
868
  if task_rid is not None:
881
869
  _path_params['taskRid'] = task_rid
882
870
  # process the query parameters
871
+ if limit is not None:
872
+
873
+ _query_params.append(('limit', limit))
874
+
875
+ if offset is not None:
876
+
877
+ _query_params.append(('offset', offset))
878
+
879
+ if status is not None:
880
+
881
+ _query_params.append(('status', status))
882
+
883
883
  # process the header parameters
884
884
  # process the form parameters
885
885
  # process the body parameter
@@ -899,8 +899,8 @@ class IndexingTaskResourceApi:
899
899
  ]
900
900
 
901
901
  return self.api_client.param_serialize(
902
- method='POST',
903
- resource_path='/api/v1/indexing/tasks/{taskRid}/execute',
902
+ method='GET',
903
+ resource_path='/api/v1/indexing/tasks/{taskRid}/actions',
904
904
  path_params=_path_params,
905
905
  query_params=_query_params,
906
906
  header_params=_header_params,
@@ -917,7 +917,7 @@ class IndexingTaskResourceApi:
917
917
 
918
918
 
919
919
  @validate_call
920
- def api_v1_indexing_tasks_task_rid_get(
920
+ def start_execution(
921
921
  self,
922
922
  task_rid: StrictStr,
923
923
  _request_timeout: Union[
@@ -932,8 +932,8 @@ class IndexingTaskResourceApi:
932
932
  _content_type: Optional[StrictStr] = None,
933
933
  _headers: Optional[Dict[StrictStr, Any]] = None,
934
934
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
935
- ) -> GetIndexingTaskResponse:
936
- """Get Indexing Task
935
+ ) -> StartExecutionResponse:
936
+ """Start Execution
937
937
 
938
938
 
939
939
  :param task_rid: (required)
@@ -960,7 +960,7 @@ class IndexingTaskResourceApi:
960
960
  :return: Returns the result object.
961
961
  """ # noqa: E501
962
962
 
963
- _param = self._api_v1_indexing_tasks_task_rid_get_serialize(
963
+ _param = self._start_execution_serialize(
964
964
  task_rid=task_rid,
965
965
  _request_auth=_request_auth,
966
966
  _content_type=_content_type,
@@ -969,7 +969,7 @@ class IndexingTaskResourceApi:
969
969
  )
970
970
 
971
971
  _response_types_map: Dict[str, Optional[str]] = {
972
- '200': "GetIndexingTaskResponse",
972
+ '200': "StartExecutionResponse",
973
973
  }
974
974
  response_data = self.api_client.call_api(
975
975
  *_param,
@@ -983,7 +983,7 @@ class IndexingTaskResourceApi:
983
983
 
984
984
 
985
985
  @validate_call
986
- def api_v1_indexing_tasks_task_rid_get_with_http_info(
986
+ def start_execution_with_http_info(
987
987
  self,
988
988
  task_rid: StrictStr,
989
989
  _request_timeout: Union[
@@ -998,8 +998,8 @@ class IndexingTaskResourceApi:
998
998
  _content_type: Optional[StrictStr] = None,
999
999
  _headers: Optional[Dict[StrictStr, Any]] = None,
1000
1000
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1001
- ) -> ApiResponse[GetIndexingTaskResponse]:
1002
- """Get Indexing Task
1001
+ ) -> ApiResponse[StartExecutionResponse]:
1002
+ """Start Execution
1003
1003
 
1004
1004
 
1005
1005
  :param task_rid: (required)
@@ -1026,7 +1026,7 @@ class IndexingTaskResourceApi:
1026
1026
  :return: Returns the result object.
1027
1027
  """ # noqa: E501
1028
1028
 
1029
- _param = self._api_v1_indexing_tasks_task_rid_get_serialize(
1029
+ _param = self._start_execution_serialize(
1030
1030
  task_rid=task_rid,
1031
1031
  _request_auth=_request_auth,
1032
1032
  _content_type=_content_type,
@@ -1035,7 +1035,7 @@ class IndexingTaskResourceApi:
1035
1035
  )
1036
1036
 
1037
1037
  _response_types_map: Dict[str, Optional[str]] = {
1038
- '200': "GetIndexingTaskResponse",
1038
+ '200': "StartExecutionResponse",
1039
1039
  }
1040
1040
  response_data = self.api_client.call_api(
1041
1041
  *_param,
@@ -1049,7 +1049,7 @@ class IndexingTaskResourceApi:
1049
1049
 
1050
1050
 
1051
1051
  @validate_call
1052
- def api_v1_indexing_tasks_task_rid_get_without_preload_content(
1052
+ def start_execution_without_preload_content(
1053
1053
  self,
1054
1054
  task_rid: StrictStr,
1055
1055
  _request_timeout: Union[
@@ -1065,7 +1065,7 @@ class IndexingTaskResourceApi:
1065
1065
  _headers: Optional[Dict[StrictStr, Any]] = None,
1066
1066
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1067
1067
  ) -> RESTResponseType:
1068
- """Get Indexing Task
1068
+ """Start Execution
1069
1069
 
1070
1070
 
1071
1071
  :param task_rid: (required)
@@ -1092,7 +1092,7 @@ class IndexingTaskResourceApi:
1092
1092
  :return: Returns the result object.
1093
1093
  """ # noqa: E501
1094
1094
 
1095
- _param = self._api_v1_indexing_tasks_task_rid_get_serialize(
1095
+ _param = self._start_execution_serialize(
1096
1096
  task_rid=task_rid,
1097
1097
  _request_auth=_request_auth,
1098
1098
  _content_type=_content_type,
@@ -1101,7 +1101,7 @@ class IndexingTaskResourceApi:
1101
1101
  )
1102
1102
 
1103
1103
  _response_types_map: Dict[str, Optional[str]] = {
1104
- '200': "GetIndexingTaskResponse",
1104
+ '200': "StartExecutionResponse",
1105
1105
  }
1106
1106
  response_data = self.api_client.call_api(
1107
1107
  *_param,
@@ -1110,7 +1110,7 @@ class IndexingTaskResourceApi:
1110
1110
  return response_data.response
1111
1111
 
1112
1112
 
1113
- def _api_v1_indexing_tasks_task_rid_get_serialize(
1113
+ def _start_execution_serialize(
1114
1114
  self,
1115
1115
  task_rid,
1116
1116
  _request_auth,
@@ -1156,8 +1156,8 @@ class IndexingTaskResourceApi:
1156
1156
  ]
1157
1157
 
1158
1158
  return self.api_client.param_serialize(
1159
- method='GET',
1160
- resource_path='/api/v1/indexing/tasks/{taskRid}',
1159
+ method='POST',
1160
+ resource_path='/api/v1/indexing/tasks/{taskRid}/execute',
1161
1161
  path_params=_path_params,
1162
1162
  query_params=_query_params,
1163
1163
  header_params=_header_params,
@@ -26,17 +26,17 @@ class TestConnectionResourceApi(unittest.TestCase):
26
26
  def tearDown(self) -> None:
27
27
  pass
28
28
 
29
- def test_api_v1_connections_connection_rid_get(self) -> None:
30
- """Test case for api_v1_connections_connection_rid_get
29
+ def test_create_connection(self) -> None:
30
+ """Test case for create_connection
31
31
 
32
- Get Connection
32
+ Create Connection
33
33
  """
34
34
  pass
35
35
 
36
- def test_api_v1_connections_post(self) -> None:
37
- """Test case for api_v1_connections_post
36
+ def test_get_connection(self) -> None:
37
+ """Test case for get_connection
38
38
 
39
- Create Connection
39
+ Get Connection
40
40
  """
41
41
  pass
42
42