perceptic-core-client 0.40.999__py3-none-any.whl → 0.42.0__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.

@@ -317,740 +317,6 @@ class TagResourceApi:
317
317
 
318
318
  @validate_call
319
319
  def get_files_for_tag(
320
- self,
321
- _request_timeout: Union[
322
- None,
323
- Annotated[StrictFloat, Field(gt=0)],
324
- Tuple[
325
- Annotated[StrictFloat, Field(gt=0)],
326
- Annotated[StrictFloat, Field(gt=0)]
327
- ]
328
- ] = None,
329
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
330
- _content_type: Optional[StrictStr] = None,
331
- _headers: Optional[Dict[StrictStr, Any]] = None,
332
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
333
- ) -> None:
334
- """Get Files For Tag Empty
335
-
336
-
337
- :param _request_timeout: timeout setting for this request. If one
338
- number provided, it will be total request
339
- timeout. It can also be a pair (tuple) of
340
- (connection, read) timeouts.
341
- :type _request_timeout: int, tuple(int, int), optional
342
- :param _request_auth: set to override the auth_settings for an a single
343
- request; this effectively ignores the
344
- authentication in the spec for a single request.
345
- :type _request_auth: dict, optional
346
- :param _content_type: force content-type for the request.
347
- :type _content_type: str, Optional
348
- :param _headers: set to override the headers for a single
349
- request; this effectively ignores the headers
350
- in the spec for a single request.
351
- :type _headers: dict, optional
352
- :param _host_index: set to override the host_index for a single
353
- request; this effectively ignores the host_index
354
- in the spec for a single request.
355
- :type _host_index: int, optional
356
- :return: Returns the result object.
357
- """ # noqa: E501
358
-
359
- _param = self._get_files_for_tag_serialize(
360
- _request_auth=_request_auth,
361
- _content_type=_content_type,
362
- _headers=_headers,
363
- _host_index=_host_index
364
- )
365
-
366
- _response_types_map: Dict[str, Optional[str]] = {
367
- '204': None,
368
- }
369
- response_data = self.api_client.call_api(
370
- *_param,
371
- _request_timeout=_request_timeout
372
- )
373
- response_data.read()
374
- return self.api_client.response_deserialize(
375
- response_data=response_data,
376
- response_types_map=_response_types_map,
377
- ).data
378
-
379
-
380
- @validate_call
381
- def get_files_for_tag_with_http_info(
382
- self,
383
- _request_timeout: Union[
384
- None,
385
- Annotated[StrictFloat, Field(gt=0)],
386
- Tuple[
387
- Annotated[StrictFloat, Field(gt=0)],
388
- Annotated[StrictFloat, Field(gt=0)]
389
- ]
390
- ] = None,
391
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
392
- _content_type: Optional[StrictStr] = None,
393
- _headers: Optional[Dict[StrictStr, Any]] = None,
394
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
395
- ) -> ApiResponse[None]:
396
- """Get Files For Tag Empty
397
-
398
-
399
- :param _request_timeout: timeout setting for this request. If one
400
- number provided, it will be total request
401
- timeout. It can also be a pair (tuple) of
402
- (connection, read) timeouts.
403
- :type _request_timeout: int, tuple(int, int), optional
404
- :param _request_auth: set to override the auth_settings for an a single
405
- request; this effectively ignores the
406
- authentication in the spec for a single request.
407
- :type _request_auth: dict, optional
408
- :param _content_type: force content-type for the request.
409
- :type _content_type: str, Optional
410
- :param _headers: set to override the headers for a single
411
- request; this effectively ignores the headers
412
- in the spec for a single request.
413
- :type _headers: dict, optional
414
- :param _host_index: set to override the host_index for a single
415
- request; this effectively ignores the host_index
416
- in the spec for a single request.
417
- :type _host_index: int, optional
418
- :return: Returns the result object.
419
- """ # noqa: E501
420
-
421
- _param = self._get_files_for_tag_serialize(
422
- _request_auth=_request_auth,
423
- _content_type=_content_type,
424
- _headers=_headers,
425
- _host_index=_host_index
426
- )
427
-
428
- _response_types_map: Dict[str, Optional[str]] = {
429
- '204': None,
430
- }
431
- response_data = self.api_client.call_api(
432
- *_param,
433
- _request_timeout=_request_timeout
434
- )
435
- response_data.read()
436
- return self.api_client.response_deserialize(
437
- response_data=response_data,
438
- response_types_map=_response_types_map,
439
- )
440
-
441
-
442
- @validate_call
443
- def get_files_for_tag_without_preload_content(
444
- self,
445
- _request_timeout: Union[
446
- None,
447
- Annotated[StrictFloat, Field(gt=0)],
448
- Tuple[
449
- Annotated[StrictFloat, Field(gt=0)],
450
- Annotated[StrictFloat, Field(gt=0)]
451
- ]
452
- ] = None,
453
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
454
- _content_type: Optional[StrictStr] = None,
455
- _headers: Optional[Dict[StrictStr, Any]] = None,
456
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
457
- ) -> RESTResponseType:
458
- """Get Files For Tag Empty
459
-
460
-
461
- :param _request_timeout: timeout setting for this request. If one
462
- number provided, it will be total request
463
- timeout. It can also be a pair (tuple) of
464
- (connection, read) timeouts.
465
- :type _request_timeout: int, tuple(int, int), optional
466
- :param _request_auth: set to override the auth_settings for an a single
467
- request; this effectively ignores the
468
- authentication in the spec for a single request.
469
- :type _request_auth: dict, optional
470
- :param _content_type: force content-type for the request.
471
- :type _content_type: str, Optional
472
- :param _headers: set to override the headers for a single
473
- request; this effectively ignores the headers
474
- in the spec for a single request.
475
- :type _headers: dict, optional
476
- :param _host_index: set to override the host_index for a single
477
- request; this effectively ignores the host_index
478
- in the spec for a single request.
479
- :type _host_index: int, optional
480
- :return: Returns the result object.
481
- """ # noqa: E501
482
-
483
- _param = self._get_files_for_tag_serialize(
484
- _request_auth=_request_auth,
485
- _content_type=_content_type,
486
- _headers=_headers,
487
- _host_index=_host_index
488
- )
489
-
490
- _response_types_map: Dict[str, Optional[str]] = {
491
- '204': None,
492
- }
493
- response_data = self.api_client.call_api(
494
- *_param,
495
- _request_timeout=_request_timeout
496
- )
497
- return response_data.response
498
-
499
-
500
- def _get_files_for_tag_serialize(
501
- self,
502
- _request_auth,
503
- _content_type,
504
- _headers,
505
- _host_index,
506
- ) -> RequestSerialized:
507
-
508
- _host = None
509
-
510
- _collection_formats: Dict[str, str] = {
511
- }
512
-
513
- _path_params: Dict[str, str] = {}
514
- _query_params: List[Tuple[str, str]] = []
515
- _header_params: Dict[str, Optional[str]] = _headers or {}
516
- _form_params: List[Tuple[str, str]] = []
517
- _files: Dict[
518
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
519
- ] = {}
520
- _body_params: Optional[bytes] = None
521
-
522
- # process the path parameters
523
- # process the query parameters
524
- # process the header parameters
525
- # process the form parameters
526
- # process the body parameter
527
-
528
-
529
-
530
-
531
- # authentication setting
532
- _auth_settings: List[str] = [
533
- ]
534
-
535
- return self.api_client.param_serialize(
536
- method='GET',
537
- resource_path='/api/v1/tags/files',
538
- path_params=_path_params,
539
- query_params=_query_params,
540
- header_params=_header_params,
541
- body=_body_params,
542
- post_params=_form_params,
543
- files=_files,
544
- auth_settings=_auth_settings,
545
- collection_formats=_collection_formats,
546
- _host=_host,
547
- _request_auth=_request_auth
548
- )
549
-
550
-
551
-
552
-
553
- @validate_call
554
- def get_files_for_tag_0(
555
- self,
556
- tag_rid: StrictStr,
557
- _request_timeout: Union[
558
- None,
559
- Annotated[StrictFloat, Field(gt=0)],
560
- Tuple[
561
- Annotated[StrictFloat, Field(gt=0)],
562
- Annotated[StrictFloat, Field(gt=0)]
563
- ]
564
- ] = None,
565
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
566
- _content_type: Optional[StrictStr] = None,
567
- _headers: Optional[Dict[StrictStr, Any]] = None,
568
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
569
- ) -> List[str]:
570
- """Get Files For Tag
571
-
572
-
573
- :param tag_rid: (required)
574
- :type tag_rid: str
575
- :param _request_timeout: timeout setting for this request. If one
576
- number provided, it will be total request
577
- timeout. It can also be a pair (tuple) of
578
- (connection, read) timeouts.
579
- :type _request_timeout: int, tuple(int, int), optional
580
- :param _request_auth: set to override the auth_settings for an a single
581
- request; this effectively ignores the
582
- authentication in the spec for a single request.
583
- :type _request_auth: dict, optional
584
- :param _content_type: force content-type for the request.
585
- :type _content_type: str, Optional
586
- :param _headers: set to override the headers for a single
587
- request; this effectively ignores the headers
588
- in the spec for a single request.
589
- :type _headers: dict, optional
590
- :param _host_index: set to override the host_index for a single
591
- request; this effectively ignores the host_index
592
- in the spec for a single request.
593
- :type _host_index: int, optional
594
- :return: Returns the result object.
595
- """ # noqa: E501
596
-
597
- _param = self._get_files_for_tag_0_serialize(
598
- tag_rid=tag_rid,
599
- _request_auth=_request_auth,
600
- _content_type=_content_type,
601
- _headers=_headers,
602
- _host_index=_host_index
603
- )
604
-
605
- _response_types_map: Dict[str, Optional[str]] = {
606
- '200': "List[str]",
607
- }
608
- response_data = self.api_client.call_api(
609
- *_param,
610
- _request_timeout=_request_timeout
611
- )
612
- response_data.read()
613
- return self.api_client.response_deserialize(
614
- response_data=response_data,
615
- response_types_map=_response_types_map,
616
- ).data
617
-
618
-
619
- @validate_call
620
- def get_files_for_tag_0_with_http_info(
621
- self,
622
- tag_rid: StrictStr,
623
- _request_timeout: Union[
624
- None,
625
- Annotated[StrictFloat, Field(gt=0)],
626
- Tuple[
627
- Annotated[StrictFloat, Field(gt=0)],
628
- Annotated[StrictFloat, Field(gt=0)]
629
- ]
630
- ] = None,
631
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
632
- _content_type: Optional[StrictStr] = None,
633
- _headers: Optional[Dict[StrictStr, Any]] = None,
634
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
635
- ) -> ApiResponse[List[str]]:
636
- """Get Files For Tag
637
-
638
-
639
- :param tag_rid: (required)
640
- :type tag_rid: str
641
- :param _request_timeout: timeout setting for this request. If one
642
- number provided, it will be total request
643
- timeout. It can also be a pair (tuple) of
644
- (connection, read) timeouts.
645
- :type _request_timeout: int, tuple(int, int), optional
646
- :param _request_auth: set to override the auth_settings for an a single
647
- request; this effectively ignores the
648
- authentication in the spec for a single request.
649
- :type _request_auth: dict, optional
650
- :param _content_type: force content-type for the request.
651
- :type _content_type: str, Optional
652
- :param _headers: set to override the headers for a single
653
- request; this effectively ignores the headers
654
- in the spec for a single request.
655
- :type _headers: dict, optional
656
- :param _host_index: set to override the host_index for a single
657
- request; this effectively ignores the host_index
658
- in the spec for a single request.
659
- :type _host_index: int, optional
660
- :return: Returns the result object.
661
- """ # noqa: E501
662
-
663
- _param = self._get_files_for_tag_0_serialize(
664
- tag_rid=tag_rid,
665
- _request_auth=_request_auth,
666
- _content_type=_content_type,
667
- _headers=_headers,
668
- _host_index=_host_index
669
- )
670
-
671
- _response_types_map: Dict[str, Optional[str]] = {
672
- '200': "List[str]",
673
- }
674
- response_data = self.api_client.call_api(
675
- *_param,
676
- _request_timeout=_request_timeout
677
- )
678
- response_data.read()
679
- return self.api_client.response_deserialize(
680
- response_data=response_data,
681
- response_types_map=_response_types_map,
682
- )
683
-
684
-
685
- @validate_call
686
- def get_files_for_tag_0_without_preload_content(
687
- self,
688
- tag_rid: StrictStr,
689
- _request_timeout: Union[
690
- None,
691
- Annotated[StrictFloat, Field(gt=0)],
692
- Tuple[
693
- Annotated[StrictFloat, Field(gt=0)],
694
- Annotated[StrictFloat, Field(gt=0)]
695
- ]
696
- ] = None,
697
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
698
- _content_type: Optional[StrictStr] = None,
699
- _headers: Optional[Dict[StrictStr, Any]] = None,
700
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
701
- ) -> RESTResponseType:
702
- """Get Files For Tag
703
-
704
-
705
- :param tag_rid: (required)
706
- :type tag_rid: str
707
- :param _request_timeout: timeout setting for this request. If one
708
- number provided, it will be total request
709
- timeout. It can also be a pair (tuple) of
710
- (connection, read) timeouts.
711
- :type _request_timeout: int, tuple(int, int), optional
712
- :param _request_auth: set to override the auth_settings for an a single
713
- request; this effectively ignores the
714
- authentication in the spec for a single request.
715
- :type _request_auth: dict, optional
716
- :param _content_type: force content-type for the request.
717
- :type _content_type: str, Optional
718
- :param _headers: set to override the headers for a single
719
- request; this effectively ignores the headers
720
- in the spec for a single request.
721
- :type _headers: dict, optional
722
- :param _host_index: set to override the host_index for a single
723
- request; this effectively ignores the host_index
724
- in the spec for a single request.
725
- :type _host_index: int, optional
726
- :return: Returns the result object.
727
- """ # noqa: E501
728
-
729
- _param = self._get_files_for_tag_0_serialize(
730
- tag_rid=tag_rid,
731
- _request_auth=_request_auth,
732
- _content_type=_content_type,
733
- _headers=_headers,
734
- _host_index=_host_index
735
- )
736
-
737
- _response_types_map: Dict[str, Optional[str]] = {
738
- '200': "List[str]",
739
- }
740
- response_data = self.api_client.call_api(
741
- *_param,
742
- _request_timeout=_request_timeout
743
- )
744
- return response_data.response
745
-
746
-
747
- def _get_files_for_tag_0_serialize(
748
- self,
749
- tag_rid,
750
- _request_auth,
751
- _content_type,
752
- _headers,
753
- _host_index,
754
- ) -> RequestSerialized:
755
-
756
- _host = None
757
-
758
- _collection_formats: Dict[str, str] = {
759
- }
760
-
761
- _path_params: Dict[str, str] = {}
762
- _query_params: List[Tuple[str, str]] = []
763
- _header_params: Dict[str, Optional[str]] = _headers or {}
764
- _form_params: List[Tuple[str, str]] = []
765
- _files: Dict[
766
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
767
- ] = {}
768
- _body_params: Optional[bytes] = None
769
-
770
- # process the path parameters
771
- if tag_rid is not None:
772
- _path_params['tagRid'] = tag_rid
773
- # process the query parameters
774
- # process the header parameters
775
- # process the form parameters
776
- # process the body parameter
777
-
778
-
779
- # set the HTTP header `Accept`
780
- if 'Accept' not in _header_params:
781
- _header_params['Accept'] = self.api_client.select_header_accept(
782
- [
783
- 'application/json'
784
- ]
785
- )
786
-
787
-
788
- # authentication setting
789
- _auth_settings: List[str] = [
790
- ]
791
-
792
- return self.api_client.param_serialize(
793
- method='GET',
794
- resource_path='/api/v1/tags/{tagRid}/files',
795
- path_params=_path_params,
796
- query_params=_query_params,
797
- header_params=_header_params,
798
- body=_body_params,
799
- post_params=_form_params,
800
- files=_files,
801
- auth_settings=_auth_settings,
802
- collection_formats=_collection_formats,
803
- _host=_host,
804
- _request_auth=_request_auth
805
- )
806
-
807
-
808
-
809
-
810
- @validate_call
811
- def list_tags(
812
- self,
813
- _request_timeout: Union[
814
- None,
815
- Annotated[StrictFloat, Field(gt=0)],
816
- Tuple[
817
- Annotated[StrictFloat, Field(gt=0)],
818
- Annotated[StrictFloat, Field(gt=0)]
819
- ]
820
- ] = None,
821
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
822
- _content_type: Optional[StrictStr] = None,
823
- _headers: Optional[Dict[StrictStr, Any]] = None,
824
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
825
- ) -> ListTagsResponse:
826
- """List Tags
827
-
828
-
829
- :param _request_timeout: timeout setting for this request. If one
830
- number provided, it will be total request
831
- timeout. It can also be a pair (tuple) of
832
- (connection, read) timeouts.
833
- :type _request_timeout: int, tuple(int, int), optional
834
- :param _request_auth: set to override the auth_settings for an a single
835
- request; this effectively ignores the
836
- authentication in the spec for a single request.
837
- :type _request_auth: dict, optional
838
- :param _content_type: force content-type for the request.
839
- :type _content_type: str, Optional
840
- :param _headers: set to override the headers for a single
841
- request; this effectively ignores the headers
842
- in the spec for a single request.
843
- :type _headers: dict, optional
844
- :param _host_index: set to override the host_index for a single
845
- request; this effectively ignores the host_index
846
- in the spec for a single request.
847
- :type _host_index: int, optional
848
- :return: Returns the result object.
849
- """ # noqa: E501
850
-
851
- _param = self._list_tags_serialize(
852
- _request_auth=_request_auth,
853
- _content_type=_content_type,
854
- _headers=_headers,
855
- _host_index=_host_index
856
- )
857
-
858
- _response_types_map: Dict[str, Optional[str]] = {
859
- '200': "ListTagsResponse",
860
- }
861
- response_data = self.api_client.call_api(
862
- *_param,
863
- _request_timeout=_request_timeout
864
- )
865
- response_data.read()
866
- return self.api_client.response_deserialize(
867
- response_data=response_data,
868
- response_types_map=_response_types_map,
869
- ).data
870
-
871
-
872
- @validate_call
873
- def list_tags_with_http_info(
874
- self,
875
- _request_timeout: Union[
876
- None,
877
- Annotated[StrictFloat, Field(gt=0)],
878
- Tuple[
879
- Annotated[StrictFloat, Field(gt=0)],
880
- Annotated[StrictFloat, Field(gt=0)]
881
- ]
882
- ] = None,
883
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
884
- _content_type: Optional[StrictStr] = None,
885
- _headers: Optional[Dict[StrictStr, Any]] = None,
886
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
887
- ) -> ApiResponse[ListTagsResponse]:
888
- """List Tags
889
-
890
-
891
- :param _request_timeout: timeout setting for this request. If one
892
- number provided, it will be total request
893
- timeout. It can also be a pair (tuple) of
894
- (connection, read) timeouts.
895
- :type _request_timeout: int, tuple(int, int), optional
896
- :param _request_auth: set to override the auth_settings for an a single
897
- request; this effectively ignores the
898
- authentication in the spec for a single request.
899
- :type _request_auth: dict, optional
900
- :param _content_type: force content-type for the request.
901
- :type _content_type: str, Optional
902
- :param _headers: set to override the headers for a single
903
- request; this effectively ignores the headers
904
- in the spec for a single request.
905
- :type _headers: dict, optional
906
- :param _host_index: set to override the host_index for a single
907
- request; this effectively ignores the host_index
908
- in the spec for a single request.
909
- :type _host_index: int, optional
910
- :return: Returns the result object.
911
- """ # noqa: E501
912
-
913
- _param = self._list_tags_serialize(
914
- _request_auth=_request_auth,
915
- _content_type=_content_type,
916
- _headers=_headers,
917
- _host_index=_host_index
918
- )
919
-
920
- _response_types_map: Dict[str, Optional[str]] = {
921
- '200': "ListTagsResponse",
922
- }
923
- response_data = self.api_client.call_api(
924
- *_param,
925
- _request_timeout=_request_timeout
926
- )
927
- response_data.read()
928
- return self.api_client.response_deserialize(
929
- response_data=response_data,
930
- response_types_map=_response_types_map,
931
- )
932
-
933
-
934
- @validate_call
935
- def list_tags_without_preload_content(
936
- self,
937
- _request_timeout: Union[
938
- None,
939
- Annotated[StrictFloat, Field(gt=0)],
940
- Tuple[
941
- Annotated[StrictFloat, Field(gt=0)],
942
- Annotated[StrictFloat, Field(gt=0)]
943
- ]
944
- ] = None,
945
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
946
- _content_type: Optional[StrictStr] = None,
947
- _headers: Optional[Dict[StrictStr, Any]] = None,
948
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
949
- ) -> RESTResponseType:
950
- """List Tags
951
-
952
-
953
- :param _request_timeout: timeout setting for this request. If one
954
- number provided, it will be total request
955
- timeout. It can also be a pair (tuple) of
956
- (connection, read) timeouts.
957
- :type _request_timeout: int, tuple(int, int), optional
958
- :param _request_auth: set to override the auth_settings for an a single
959
- request; this effectively ignores the
960
- authentication in the spec for a single request.
961
- :type _request_auth: dict, optional
962
- :param _content_type: force content-type for the request.
963
- :type _content_type: str, Optional
964
- :param _headers: set to override the headers for a single
965
- request; this effectively ignores the headers
966
- in the spec for a single request.
967
- :type _headers: dict, optional
968
- :param _host_index: set to override the host_index for a single
969
- request; this effectively ignores the host_index
970
- in the spec for a single request.
971
- :type _host_index: int, optional
972
- :return: Returns the result object.
973
- """ # noqa: E501
974
-
975
- _param = self._list_tags_serialize(
976
- _request_auth=_request_auth,
977
- _content_type=_content_type,
978
- _headers=_headers,
979
- _host_index=_host_index
980
- )
981
-
982
- _response_types_map: Dict[str, Optional[str]] = {
983
- '200': "ListTagsResponse",
984
- }
985
- response_data = self.api_client.call_api(
986
- *_param,
987
- _request_timeout=_request_timeout
988
- )
989
- return response_data.response
990
-
991
-
992
- def _list_tags_serialize(
993
- self,
994
- _request_auth,
995
- _content_type,
996
- _headers,
997
- _host_index,
998
- ) -> RequestSerialized:
999
-
1000
- _host = None
1001
-
1002
- _collection_formats: Dict[str, str] = {
1003
- }
1004
-
1005
- _path_params: Dict[str, str] = {}
1006
- _query_params: List[Tuple[str, str]] = []
1007
- _header_params: Dict[str, Optional[str]] = _headers or {}
1008
- _form_params: List[Tuple[str, str]] = []
1009
- _files: Dict[
1010
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1011
- ] = {}
1012
- _body_params: Optional[bytes] = None
1013
-
1014
- # process the path parameters
1015
- # process the query parameters
1016
- # process the header parameters
1017
- # process the form parameters
1018
- # process the body parameter
1019
-
1020
-
1021
- # set the HTTP header `Accept`
1022
- if 'Accept' not in _header_params:
1023
- _header_params['Accept'] = self.api_client.select_header_accept(
1024
- [
1025
- 'application/json'
1026
- ]
1027
- )
1028
-
1029
-
1030
- # authentication setting
1031
- _auth_settings: List[str] = [
1032
- ]
1033
-
1034
- return self.api_client.param_serialize(
1035
- method='GET',
1036
- resource_path='/api/v1/tags',
1037
- path_params=_path_params,
1038
- query_params=_query_params,
1039
- header_params=_header_params,
1040
- body=_body_params,
1041
- post_params=_form_params,
1042
- files=_files,
1043
- auth_settings=_auth_settings,
1044
- collection_formats=_collection_formats,
1045
- _host=_host,
1046
- _request_auth=_request_auth
1047
- )
1048
-
1049
-
1050
-
1051
-
1052
- @validate_call
1053
- def remove_tag(
1054
320
  self,
1055
321
  tag_rid: StrictStr,
1056
322
  _request_timeout: Union[
@@ -1065,8 +331,8 @@ class TagResourceApi:
1065
331
  _content_type: Optional[StrictStr] = None,
1066
332
  _headers: Optional[Dict[StrictStr, Any]] = None,
1067
333
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1068
- ) -> None:
1069
- """Remove Tag
334
+ ) -> List[str]:
335
+ """Get Files For Tag
1070
336
 
1071
337
 
1072
338
  :param tag_rid: (required)
@@ -1093,7 +359,7 @@ class TagResourceApi:
1093
359
  :return: Returns the result object.
1094
360
  """ # noqa: E501
1095
361
 
1096
- _param = self._remove_tag_serialize(
362
+ _param = self._get_files_for_tag_serialize(
1097
363
  tag_rid=tag_rid,
1098
364
  _request_auth=_request_auth,
1099
365
  _content_type=_content_type,
@@ -1102,7 +368,7 @@ class TagResourceApi:
1102
368
  )
1103
369
 
1104
370
  _response_types_map: Dict[str, Optional[str]] = {
1105
- '204': None,
371
+ '200': "List[str]",
1106
372
  }
1107
373
  response_data = self.api_client.call_api(
1108
374
  *_param,
@@ -1116,7 +382,7 @@ class TagResourceApi:
1116
382
 
1117
383
 
1118
384
  @validate_call
1119
- def remove_tag_with_http_info(
385
+ def get_files_for_tag_with_http_info(
1120
386
  self,
1121
387
  tag_rid: StrictStr,
1122
388
  _request_timeout: Union[
@@ -1131,8 +397,8 @@ class TagResourceApi:
1131
397
  _content_type: Optional[StrictStr] = None,
1132
398
  _headers: Optional[Dict[StrictStr, Any]] = None,
1133
399
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1134
- ) -> ApiResponse[None]:
1135
- """Remove Tag
400
+ ) -> ApiResponse[List[str]]:
401
+ """Get Files For Tag
1136
402
 
1137
403
 
1138
404
  :param tag_rid: (required)
@@ -1159,7 +425,7 @@ class TagResourceApi:
1159
425
  :return: Returns the result object.
1160
426
  """ # noqa: E501
1161
427
 
1162
- _param = self._remove_tag_serialize(
428
+ _param = self._get_files_for_tag_serialize(
1163
429
  tag_rid=tag_rid,
1164
430
  _request_auth=_request_auth,
1165
431
  _content_type=_content_type,
@@ -1168,7 +434,7 @@ class TagResourceApi:
1168
434
  )
1169
435
 
1170
436
  _response_types_map: Dict[str, Optional[str]] = {
1171
- '204': None,
437
+ '200': "List[str]",
1172
438
  }
1173
439
  response_data = self.api_client.call_api(
1174
440
  *_param,
@@ -1182,7 +448,7 @@ class TagResourceApi:
1182
448
 
1183
449
 
1184
450
  @validate_call
1185
- def remove_tag_without_preload_content(
451
+ def get_files_for_tag_without_preload_content(
1186
452
  self,
1187
453
  tag_rid: StrictStr,
1188
454
  _request_timeout: Union[
@@ -1198,7 +464,7 @@ class TagResourceApi:
1198
464
  _headers: Optional[Dict[StrictStr, Any]] = None,
1199
465
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1200
466
  ) -> RESTResponseType:
1201
- """Remove Tag
467
+ """Get Files For Tag
1202
468
 
1203
469
 
1204
470
  :param tag_rid: (required)
@@ -1225,7 +491,7 @@ class TagResourceApi:
1225
491
  :return: Returns the result object.
1226
492
  """ # noqa: E501
1227
493
 
1228
- _param = self._remove_tag_serialize(
494
+ _param = self._get_files_for_tag_serialize(
1229
495
  tag_rid=tag_rid,
1230
496
  _request_auth=_request_auth,
1231
497
  _content_type=_content_type,
@@ -1234,7 +500,7 @@ class TagResourceApi:
1234
500
  )
1235
501
 
1236
502
  _response_types_map: Dict[str, Optional[str]] = {
1237
- '204': None,
503
+ '200': "List[str]",
1238
504
  }
1239
505
  response_data = self.api_client.call_api(
1240
506
  *_param,
@@ -1243,7 +509,7 @@ class TagResourceApi:
1243
509
  return response_data.response
1244
510
 
1245
511
 
1246
- def _remove_tag_serialize(
512
+ def _get_files_for_tag_serialize(
1247
513
  self,
1248
514
  tag_rid,
1249
515
  _request_auth,
@@ -1275,6 +541,13 @@ class TagResourceApi:
1275
541
  # process the body parameter
1276
542
 
1277
543
 
544
+ # set the HTTP header `Accept`
545
+ if 'Accept' not in _header_params:
546
+ _header_params['Accept'] = self.api_client.select_header_accept(
547
+ [
548
+ 'application/json'
549
+ ]
550
+ )
1278
551
 
1279
552
 
1280
553
  # authentication setting
@@ -1282,8 +555,8 @@ class TagResourceApi:
1282
555
  ]
1283
556
 
1284
557
  return self.api_client.param_serialize(
1285
- method='DELETE',
1286
- resource_path='/api/v1/tags/{tagRid}',
558
+ method='GET',
559
+ resource_path='/api/v1/tags/{tagRid}/files',
1287
560
  path_params=_path_params,
1288
561
  query_params=_query_params,
1289
562
  header_params=_header_params,
@@ -1300,7 +573,7 @@ class TagResourceApi:
1300
573
 
1301
574
 
1302
575
  @validate_call
1303
- def remove_tag_empty(
576
+ def list_tags(
1304
577
  self,
1305
578
  _request_timeout: Union[
1306
579
  None,
@@ -1314,8 +587,8 @@ class TagResourceApi:
1314
587
  _content_type: Optional[StrictStr] = None,
1315
588
  _headers: Optional[Dict[StrictStr, Any]] = None,
1316
589
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1317
- ) -> None:
1318
- """Remove Tag Empty
590
+ ) -> ListTagsResponse:
591
+ """List Tags
1319
592
 
1320
593
 
1321
594
  :param _request_timeout: timeout setting for this request. If one
@@ -1340,7 +613,7 @@ class TagResourceApi:
1340
613
  :return: Returns the result object.
1341
614
  """ # noqa: E501
1342
615
 
1343
- _param = self._remove_tag_empty_serialize(
616
+ _param = self._list_tags_serialize(
1344
617
  _request_auth=_request_auth,
1345
618
  _content_type=_content_type,
1346
619
  _headers=_headers,
@@ -1348,7 +621,7 @@ class TagResourceApi:
1348
621
  )
1349
622
 
1350
623
  _response_types_map: Dict[str, Optional[str]] = {
1351
- '204': None,
624
+ '200': "ListTagsResponse",
1352
625
  }
1353
626
  response_data = self.api_client.call_api(
1354
627
  *_param,
@@ -1362,7 +635,7 @@ class TagResourceApi:
1362
635
 
1363
636
 
1364
637
  @validate_call
1365
- def remove_tag_empty_with_http_info(
638
+ def list_tags_with_http_info(
1366
639
  self,
1367
640
  _request_timeout: Union[
1368
641
  None,
@@ -1376,8 +649,8 @@ class TagResourceApi:
1376
649
  _content_type: Optional[StrictStr] = None,
1377
650
  _headers: Optional[Dict[StrictStr, Any]] = None,
1378
651
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1379
- ) -> ApiResponse[None]:
1380
- """Remove Tag Empty
652
+ ) -> ApiResponse[ListTagsResponse]:
653
+ """List Tags
1381
654
 
1382
655
 
1383
656
  :param _request_timeout: timeout setting for this request. If one
@@ -1402,7 +675,7 @@ class TagResourceApi:
1402
675
  :return: Returns the result object.
1403
676
  """ # noqa: E501
1404
677
 
1405
- _param = self._remove_tag_empty_serialize(
678
+ _param = self._list_tags_serialize(
1406
679
  _request_auth=_request_auth,
1407
680
  _content_type=_content_type,
1408
681
  _headers=_headers,
@@ -1410,7 +683,7 @@ class TagResourceApi:
1410
683
  )
1411
684
 
1412
685
  _response_types_map: Dict[str, Optional[str]] = {
1413
- '204': None,
686
+ '200': "ListTagsResponse",
1414
687
  }
1415
688
  response_data = self.api_client.call_api(
1416
689
  *_param,
@@ -1424,7 +697,7 @@ class TagResourceApi:
1424
697
 
1425
698
 
1426
699
  @validate_call
1427
- def remove_tag_empty_without_preload_content(
700
+ def list_tags_without_preload_content(
1428
701
  self,
1429
702
  _request_timeout: Union[
1430
703
  None,
@@ -1439,7 +712,7 @@ class TagResourceApi:
1439
712
  _headers: Optional[Dict[StrictStr, Any]] = None,
1440
713
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1441
714
  ) -> RESTResponseType:
1442
- """Remove Tag Empty
715
+ """List Tags
1443
716
 
1444
717
 
1445
718
  :param _request_timeout: timeout setting for this request. If one
@@ -1464,7 +737,7 @@ class TagResourceApi:
1464
737
  :return: Returns the result object.
1465
738
  """ # noqa: E501
1466
739
 
1467
- _param = self._remove_tag_empty_serialize(
740
+ _param = self._list_tags_serialize(
1468
741
  _request_auth=_request_auth,
1469
742
  _content_type=_content_type,
1470
743
  _headers=_headers,
@@ -1472,7 +745,7 @@ class TagResourceApi:
1472
745
  )
1473
746
 
1474
747
  _response_types_map: Dict[str, Optional[str]] = {
1475
- '204': None,
748
+ '200': "ListTagsResponse",
1476
749
  }
1477
750
  response_data = self.api_client.call_api(
1478
751
  *_param,
@@ -1481,7 +754,7 @@ class TagResourceApi:
1481
754
  return response_data.response
1482
755
 
1483
756
 
1484
- def _remove_tag_empty_serialize(
757
+ def _list_tags_serialize(
1485
758
  self,
1486
759
  _request_auth,
1487
760
  _content_type,
@@ -1510,6 +783,13 @@ class TagResourceApi:
1510
783
  # process the body parameter
1511
784
 
1512
785
 
786
+ # set the HTTP header `Accept`
787
+ if 'Accept' not in _header_params:
788
+ _header_params['Accept'] = self.api_client.select_header_accept(
789
+ [
790
+ 'application/json'
791
+ ]
792
+ )
1513
793
 
1514
794
 
1515
795
  # authentication setting
@@ -1517,7 +797,7 @@ class TagResourceApi:
1517
797
  ]
1518
798
 
1519
799
  return self.api_client.param_serialize(
1520
- method='DELETE',
800
+ method='GET',
1521
801
  resource_path='/api/v1/tags',
1522
802
  path_params=_path_params,
1523
803
  query_params=_query_params,
@@ -1535,10 +815,9 @@ class TagResourceApi:
1535
815
 
1536
816
 
1537
817
  @validate_call
1538
- def update_tag(
818
+ def remove_tag(
1539
819
  self,
1540
820
  tag_rid: StrictStr,
1541
- update_tag_request: UpdateTagRequest,
1542
821
  _request_timeout: Union[
1543
822
  None,
1544
823
  Annotated[StrictFloat, Field(gt=0)],
@@ -1551,14 +830,12 @@ class TagResourceApi:
1551
830
  _content_type: Optional[StrictStr] = None,
1552
831
  _headers: Optional[Dict[StrictStr, Any]] = None,
1553
832
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1554
- ) -> UpdateTagResponse:
1555
- """Update Tag
833
+ ) -> None:
834
+ """Remove Tag
1556
835
 
1557
836
 
1558
837
  :param tag_rid: (required)
1559
838
  :type tag_rid: str
1560
- :param update_tag_request: (required)
1561
- :type update_tag_request: UpdateTagRequest
1562
839
  :param _request_timeout: timeout setting for this request. If one
1563
840
  number provided, it will be total request
1564
841
  timeout. It can also be a pair (tuple) of
@@ -1581,9 +858,8 @@ class TagResourceApi:
1581
858
  :return: Returns the result object.
1582
859
  """ # noqa: E501
1583
860
 
1584
- _param = self._update_tag_serialize(
861
+ _param = self._remove_tag_serialize(
1585
862
  tag_rid=tag_rid,
1586
- update_tag_request=update_tag_request,
1587
863
  _request_auth=_request_auth,
1588
864
  _content_type=_content_type,
1589
865
  _headers=_headers,
@@ -1591,8 +867,7 @@ class TagResourceApi:
1591
867
  )
1592
868
 
1593
869
  _response_types_map: Dict[str, Optional[str]] = {
1594
- '200': "UpdateTagResponse",
1595
- '400': None,
870
+ '204': None,
1596
871
  }
1597
872
  response_data = self.api_client.call_api(
1598
873
  *_param,
@@ -1606,10 +881,9 @@ class TagResourceApi:
1606
881
 
1607
882
 
1608
883
  @validate_call
1609
- def update_tag_with_http_info(
884
+ def remove_tag_with_http_info(
1610
885
  self,
1611
886
  tag_rid: StrictStr,
1612
- update_tag_request: UpdateTagRequest,
1613
887
  _request_timeout: Union[
1614
888
  None,
1615
889
  Annotated[StrictFloat, Field(gt=0)],
@@ -1622,14 +896,12 @@ class TagResourceApi:
1622
896
  _content_type: Optional[StrictStr] = None,
1623
897
  _headers: Optional[Dict[StrictStr, Any]] = None,
1624
898
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1625
- ) -> ApiResponse[UpdateTagResponse]:
1626
- """Update Tag
899
+ ) -> ApiResponse[None]:
900
+ """Remove Tag
1627
901
 
1628
902
 
1629
903
  :param tag_rid: (required)
1630
904
  :type tag_rid: str
1631
- :param update_tag_request: (required)
1632
- :type update_tag_request: UpdateTagRequest
1633
905
  :param _request_timeout: timeout setting for this request. If one
1634
906
  number provided, it will be total request
1635
907
  timeout. It can also be a pair (tuple) of
@@ -1652,9 +924,8 @@ class TagResourceApi:
1652
924
  :return: Returns the result object.
1653
925
  """ # noqa: E501
1654
926
 
1655
- _param = self._update_tag_serialize(
927
+ _param = self._remove_tag_serialize(
1656
928
  tag_rid=tag_rid,
1657
- update_tag_request=update_tag_request,
1658
929
  _request_auth=_request_auth,
1659
930
  _content_type=_content_type,
1660
931
  _headers=_headers,
@@ -1662,8 +933,7 @@ class TagResourceApi:
1662
933
  )
1663
934
 
1664
935
  _response_types_map: Dict[str, Optional[str]] = {
1665
- '200': "UpdateTagResponse",
1666
- '400': None,
936
+ '204': None,
1667
937
  }
1668
938
  response_data = self.api_client.call_api(
1669
939
  *_param,
@@ -1677,10 +947,9 @@ class TagResourceApi:
1677
947
 
1678
948
 
1679
949
  @validate_call
1680
- def update_tag_without_preload_content(
950
+ def remove_tag_without_preload_content(
1681
951
  self,
1682
952
  tag_rid: StrictStr,
1683
- update_tag_request: UpdateTagRequest,
1684
953
  _request_timeout: Union[
1685
954
  None,
1686
955
  Annotated[StrictFloat, Field(gt=0)],
@@ -1694,13 +963,11 @@ class TagResourceApi:
1694
963
  _headers: Optional[Dict[StrictStr, Any]] = None,
1695
964
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1696
965
  ) -> RESTResponseType:
1697
- """Update Tag
966
+ """Remove Tag
1698
967
 
1699
968
 
1700
969
  :param tag_rid: (required)
1701
970
  :type tag_rid: str
1702
- :param update_tag_request: (required)
1703
- :type update_tag_request: UpdateTagRequest
1704
971
  :param _request_timeout: timeout setting for this request. If one
1705
972
  number provided, it will be total request
1706
973
  timeout. It can also be a pair (tuple) of
@@ -1723,9 +990,8 @@ class TagResourceApi:
1723
990
  :return: Returns the result object.
1724
991
  """ # noqa: E501
1725
992
 
1726
- _param = self._update_tag_serialize(
993
+ _param = self._remove_tag_serialize(
1727
994
  tag_rid=tag_rid,
1728
- update_tag_request=update_tag_request,
1729
995
  _request_auth=_request_auth,
1730
996
  _content_type=_content_type,
1731
997
  _headers=_headers,
@@ -1733,8 +999,7 @@ class TagResourceApi:
1733
999
  )
1734
1000
 
1735
1001
  _response_types_map: Dict[str, Optional[str]] = {
1736
- '200': "UpdateTagResponse",
1737
- '400': None,
1002
+ '204': None,
1738
1003
  }
1739
1004
  response_data = self.api_client.call_api(
1740
1005
  *_param,
@@ -1743,10 +1008,9 @@ class TagResourceApi:
1743
1008
  return response_data.response
1744
1009
 
1745
1010
 
1746
- def _update_tag_serialize(
1011
+ def _remove_tag_serialize(
1747
1012
  self,
1748
1013
  tag_rid,
1749
- update_tag_request,
1750
1014
  _request_auth,
1751
1015
  _content_type,
1752
1016
  _headers,
@@ -1774,38 +1038,16 @@ class TagResourceApi:
1774
1038
  # process the header parameters
1775
1039
  # process the form parameters
1776
1040
  # process the body parameter
1777
- if update_tag_request is not None:
1778
- _body_params = update_tag_request
1779
1041
 
1780
1042
 
1781
- # set the HTTP header `Accept`
1782
- if 'Accept' not in _header_params:
1783
- _header_params['Accept'] = self.api_client.select_header_accept(
1784
- [
1785
- 'application/json'
1786
- ]
1787
- )
1788
1043
 
1789
- # set the HTTP header `Content-Type`
1790
- if _content_type:
1791
- _header_params['Content-Type'] = _content_type
1792
- else:
1793
- _default_content_type = (
1794
- self.api_client.select_header_content_type(
1795
- [
1796
- 'application/json'
1797
- ]
1798
- )
1799
- )
1800
- if _default_content_type is not None:
1801
- _header_params['Content-Type'] = _default_content_type
1802
1044
 
1803
1045
  # authentication setting
1804
1046
  _auth_settings: List[str] = [
1805
1047
  ]
1806
1048
 
1807
1049
  return self.api_client.param_serialize(
1808
- method='PUT',
1050
+ method='DELETE',
1809
1051
  resource_path='/api/v1/tags/{tagRid}',
1810
1052
  path_params=_path_params,
1811
1053
  query_params=_query_params,
@@ -1823,8 +1065,9 @@ class TagResourceApi:
1823
1065
 
1824
1066
 
1825
1067
  @validate_call
1826
- def update_tag_empty(
1068
+ def update_tag(
1827
1069
  self,
1070
+ tag_rid: StrictStr,
1828
1071
  update_tag_request: UpdateTagRequest,
1829
1072
  _request_timeout: Union[
1830
1073
  None,
@@ -1838,10 +1081,12 @@ class TagResourceApi:
1838
1081
  _content_type: Optional[StrictStr] = None,
1839
1082
  _headers: Optional[Dict[StrictStr, Any]] = None,
1840
1083
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1841
- ) -> None:
1842
- """Update Tag Empty
1084
+ ) -> UpdateTagResponse:
1085
+ """Update Tag
1843
1086
 
1844
1087
 
1088
+ :param tag_rid: (required)
1089
+ :type tag_rid: str
1845
1090
  :param update_tag_request: (required)
1846
1091
  :type update_tag_request: UpdateTagRequest
1847
1092
  :param _request_timeout: timeout setting for this request. If one
@@ -1866,7 +1111,8 @@ class TagResourceApi:
1866
1111
  :return: Returns the result object.
1867
1112
  """ # noqa: E501
1868
1113
 
1869
- _param = self._update_tag_empty_serialize(
1114
+ _param = self._update_tag_serialize(
1115
+ tag_rid=tag_rid,
1870
1116
  update_tag_request=update_tag_request,
1871
1117
  _request_auth=_request_auth,
1872
1118
  _content_type=_content_type,
@@ -1875,7 +1121,7 @@ class TagResourceApi:
1875
1121
  )
1876
1122
 
1877
1123
  _response_types_map: Dict[str, Optional[str]] = {
1878
- '204': None,
1124
+ '200': "UpdateTagResponse",
1879
1125
  '400': None,
1880
1126
  }
1881
1127
  response_data = self.api_client.call_api(
@@ -1890,8 +1136,9 @@ class TagResourceApi:
1890
1136
 
1891
1137
 
1892
1138
  @validate_call
1893
- def update_tag_empty_with_http_info(
1139
+ def update_tag_with_http_info(
1894
1140
  self,
1141
+ tag_rid: StrictStr,
1895
1142
  update_tag_request: UpdateTagRequest,
1896
1143
  _request_timeout: Union[
1897
1144
  None,
@@ -1905,10 +1152,12 @@ class TagResourceApi:
1905
1152
  _content_type: Optional[StrictStr] = None,
1906
1153
  _headers: Optional[Dict[StrictStr, Any]] = None,
1907
1154
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1908
- ) -> ApiResponse[None]:
1909
- """Update Tag Empty
1155
+ ) -> ApiResponse[UpdateTagResponse]:
1156
+ """Update Tag
1910
1157
 
1911
1158
 
1159
+ :param tag_rid: (required)
1160
+ :type tag_rid: str
1912
1161
  :param update_tag_request: (required)
1913
1162
  :type update_tag_request: UpdateTagRequest
1914
1163
  :param _request_timeout: timeout setting for this request. If one
@@ -1933,7 +1182,8 @@ class TagResourceApi:
1933
1182
  :return: Returns the result object.
1934
1183
  """ # noqa: E501
1935
1184
 
1936
- _param = self._update_tag_empty_serialize(
1185
+ _param = self._update_tag_serialize(
1186
+ tag_rid=tag_rid,
1937
1187
  update_tag_request=update_tag_request,
1938
1188
  _request_auth=_request_auth,
1939
1189
  _content_type=_content_type,
@@ -1942,7 +1192,7 @@ class TagResourceApi:
1942
1192
  )
1943
1193
 
1944
1194
  _response_types_map: Dict[str, Optional[str]] = {
1945
- '204': None,
1195
+ '200': "UpdateTagResponse",
1946
1196
  '400': None,
1947
1197
  }
1948
1198
  response_data = self.api_client.call_api(
@@ -1957,8 +1207,9 @@ class TagResourceApi:
1957
1207
 
1958
1208
 
1959
1209
  @validate_call
1960
- def update_tag_empty_without_preload_content(
1210
+ def update_tag_without_preload_content(
1961
1211
  self,
1212
+ tag_rid: StrictStr,
1962
1213
  update_tag_request: UpdateTagRequest,
1963
1214
  _request_timeout: Union[
1964
1215
  None,
@@ -1973,9 +1224,11 @@ class TagResourceApi:
1973
1224
  _headers: Optional[Dict[StrictStr, Any]] = None,
1974
1225
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1975
1226
  ) -> RESTResponseType:
1976
- """Update Tag Empty
1227
+ """Update Tag
1977
1228
 
1978
1229
 
1230
+ :param tag_rid: (required)
1231
+ :type tag_rid: str
1979
1232
  :param update_tag_request: (required)
1980
1233
  :type update_tag_request: UpdateTagRequest
1981
1234
  :param _request_timeout: timeout setting for this request. If one
@@ -2000,7 +1253,8 @@ class TagResourceApi:
2000
1253
  :return: Returns the result object.
2001
1254
  """ # noqa: E501
2002
1255
 
2003
- _param = self._update_tag_empty_serialize(
1256
+ _param = self._update_tag_serialize(
1257
+ tag_rid=tag_rid,
2004
1258
  update_tag_request=update_tag_request,
2005
1259
  _request_auth=_request_auth,
2006
1260
  _content_type=_content_type,
@@ -2009,7 +1263,7 @@ class TagResourceApi:
2009
1263
  )
2010
1264
 
2011
1265
  _response_types_map: Dict[str, Optional[str]] = {
2012
- '204': None,
1266
+ '200': "UpdateTagResponse",
2013
1267
  '400': None,
2014
1268
  }
2015
1269
  response_data = self.api_client.call_api(
@@ -2019,8 +1273,9 @@ class TagResourceApi:
2019
1273
  return response_data.response
2020
1274
 
2021
1275
 
2022
- def _update_tag_empty_serialize(
1276
+ def _update_tag_serialize(
2023
1277
  self,
1278
+ tag_rid,
2024
1279
  update_tag_request,
2025
1280
  _request_auth,
2026
1281
  _content_type,
@@ -2043,6 +1298,8 @@ class TagResourceApi:
2043
1298
  _body_params: Optional[bytes] = None
2044
1299
 
2045
1300
  # process the path parameters
1301
+ if tag_rid is not None:
1302
+ _path_params['tagRid'] = tag_rid
2046
1303
  # process the query parameters
2047
1304
  # process the header parameters
2048
1305
  # process the form parameters
@@ -2051,6 +1308,13 @@ class TagResourceApi:
2051
1308
  _body_params = update_tag_request
2052
1309
 
2053
1310
 
1311
+ # set the HTTP header `Accept`
1312
+ if 'Accept' not in _header_params:
1313
+ _header_params['Accept'] = self.api_client.select_header_accept(
1314
+ [
1315
+ 'application/json'
1316
+ ]
1317
+ )
2054
1318
 
2055
1319
  # set the HTTP header `Content-Type`
2056
1320
  if _content_type:
@@ -2072,7 +1336,7 @@ class TagResourceApi:
2072
1336
 
2073
1337
  return self.api_client.param_serialize(
2074
1338
  method='PUT',
2075
- resource_path='/api/v1/tags',
1339
+ resource_path='/api/v1/tags/{tagRid}',
2076
1340
  path_params=_path_params,
2077
1341
  query_params=_query_params,
2078
1342
  header_params=_header_params,