scc-firewall-manager-sdk 1.15.232__py3-none-any.whl → 1.15.234__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 scc-firewall-manager-sdk might be problematic. Click here for more details.

@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.15.232"
18
+ __version__ = "1.15.234"
19
19
 
20
20
  # import apis into sdk package
21
21
  from scc_firewall_manager_sdk.api.ai_assistant_api import AIAssistantApi
@@ -634,6 +634,7 @@ class ObjectManagementApi:
634
634
  def delete_object(
635
635
  self,
636
636
  uid: Annotated[StrictStr, Field(description="The unique identifier of the object being deleted.")],
637
+ forced_delete: Annotated[Optional[StrictBool], Field(description="Force mode is required to delete an object that hasn't targets but is in use by another object.")] = None,
637
638
  _request_timeout: Union[
638
639
  None,
639
640
  Annotated[StrictFloat, Field(gt=0)],
@@ -653,6 +654,8 @@ class ObjectManagementApi:
653
654
 
654
655
  :param uid: The unique identifier of the object being deleted. (required)
655
656
  :type uid: str
657
+ :param forced_delete: Force mode is required to delete an object that hasn't targets but is in use by another object.
658
+ :type forced_delete: bool
656
659
  :param _request_timeout: timeout setting for this request. If one
657
660
  number provided, it will be total request
658
661
  timeout. It can also be a pair (tuple) of
@@ -677,6 +680,7 @@ class ObjectManagementApi:
677
680
 
678
681
  _param = self._delete_object_serialize(
679
682
  uid=uid,
683
+ forced_delete=forced_delete,
680
684
  _request_auth=_request_auth,
681
685
  _content_type=_content_type,
682
686
  _headers=_headers,
@@ -705,6 +709,7 @@ class ObjectManagementApi:
705
709
  def delete_object_with_http_info(
706
710
  self,
707
711
  uid: Annotated[StrictStr, Field(description="The unique identifier of the object being deleted.")],
712
+ forced_delete: Annotated[Optional[StrictBool], Field(description="Force mode is required to delete an object that hasn't targets but is in use by another object.")] = None,
708
713
  _request_timeout: Union[
709
714
  None,
710
715
  Annotated[StrictFloat, Field(gt=0)],
@@ -724,6 +729,8 @@ class ObjectManagementApi:
724
729
 
725
730
  :param uid: The unique identifier of the object being deleted. (required)
726
731
  :type uid: str
732
+ :param forced_delete: Force mode is required to delete an object that hasn't targets but is in use by another object.
733
+ :type forced_delete: bool
727
734
  :param _request_timeout: timeout setting for this request. If one
728
735
  number provided, it will be total request
729
736
  timeout. It can also be a pair (tuple) of
@@ -748,6 +755,7 @@ class ObjectManagementApi:
748
755
 
749
756
  _param = self._delete_object_serialize(
750
757
  uid=uid,
758
+ forced_delete=forced_delete,
751
759
  _request_auth=_request_auth,
752
760
  _content_type=_content_type,
753
761
  _headers=_headers,
@@ -776,6 +784,7 @@ class ObjectManagementApi:
776
784
  def delete_object_without_preload_content(
777
785
  self,
778
786
  uid: Annotated[StrictStr, Field(description="The unique identifier of the object being deleted.")],
787
+ forced_delete: Annotated[Optional[StrictBool], Field(description="Force mode is required to delete an object that hasn't targets but is in use by another object.")] = None,
779
788
  _request_timeout: Union[
780
789
  None,
781
790
  Annotated[StrictFloat, Field(gt=0)],
@@ -795,6 +804,8 @@ class ObjectManagementApi:
795
804
 
796
805
  :param uid: The unique identifier of the object being deleted. (required)
797
806
  :type uid: str
807
+ :param forced_delete: Force mode is required to delete an object that hasn't targets but is in use by another object.
808
+ :type forced_delete: bool
798
809
  :param _request_timeout: timeout setting for this request. If one
799
810
  number provided, it will be total request
800
811
  timeout. It can also be a pair (tuple) of
@@ -819,6 +830,7 @@ class ObjectManagementApi:
819
830
 
820
831
  _param = self._delete_object_serialize(
821
832
  uid=uid,
833
+ forced_delete=forced_delete,
822
834
  _request_auth=_request_auth,
823
835
  _content_type=_content_type,
824
836
  _headers=_headers,
@@ -842,6 +854,7 @@ class ObjectManagementApi:
842
854
  def _delete_object_serialize(
843
855
  self,
844
856
  uid,
857
+ forced_delete,
845
858
  _request_auth,
846
859
  _content_type,
847
860
  _headers,
@@ -864,6 +877,10 @@ class ObjectManagementApi:
864
877
  if uid is not None:
865
878
  _path_params['uid'] = uid
866
879
  # process the query parameters
880
+ if forced_delete is not None:
881
+
882
+ _query_params.append(('forcedDelete', forced_delete))
883
+
867
884
  # process the header parameters
868
885
  # process the form parameters
869
886
  # process the body parameter
@@ -88,7 +88,7 @@ class ApiClient:
88
88
  self.default_headers[header_name] = header_value
89
89
  self.cookie = cookie
90
90
  # Set default User-Agent.
91
- self.user_agent = 'OpenAPI-Generator/1.15.232/python'
91
+ self.user_agent = 'OpenAPI-Generator/1.15.234/python'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -380,7 +380,7 @@ class Configuration:
380
380
  "OS: {env}\n"\
381
381
  "Python Version: {pyversion}\n"\
382
382
  "Version of the API: 1.15.0\n"\
383
- "SDK Package Version: 1.15.232".\
383
+ "SDK Package Version: 1.15.234".\
384
384
  format(env=sys.platform, pyversion=sys.version)
385
385
 
386
386
  def get_host_settings(self):
@@ -43,8 +43,8 @@ class UpgradeRunDto(BaseModel):
43
43
  if value is None:
44
44
  return value
45
45
 
46
- if value not in set(['UPLOADING_IMAGE', 'PERFORMING_READINESS_CHECK', 'UPGRADE_STAGED', 'UPGRADE_STAGING_FAILED', 'PERFORMING_UPGRADE', 'UPGRADE_COMPLETED', 'UPGRADE_FAILED']):
47
- raise ValueError("must be one of enum values ('UPLOADING_IMAGE', 'PERFORMING_READINESS_CHECK', 'UPGRADE_STAGED', 'UPGRADE_STAGING_FAILED', 'PERFORMING_UPGRADE', 'UPGRADE_COMPLETED', 'UPGRADE_FAILED')")
46
+ if value not in set(['UPLOADING_IMAGE', 'PERFORMING_READINESS_CHECK', 'UPGRADE_STAGED', 'UPGRADE_STAGING_FAILED', 'UGPRADE_STAGING_FAILED', 'PERFORMING_UPGRADE', 'UPGRADE_COMPLETED', 'UPGRADE_FAILED']):
47
+ raise ValueError("must be one of enum values ('UPLOADING_IMAGE', 'PERFORMING_READINESS_CHECK', 'UPGRADE_STAGED', 'UPGRADE_STAGING_FAILED', 'UGPRADE_STAGING_FAILED', 'PERFORMING_UPGRADE', 'UPGRADE_COMPLETED', 'UPGRADE_FAILED')")
48
48
  return value
49
49
 
50
50
  @field_validator('upgrade_run_type')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scc-firewall-manager-sdk
3
- Version: 1.15.232
3
+ Version: 1.15.234
4
4
  Summary: Cisco Security Cloud Control Firewall Manager API
5
5
  Home-page:
6
6
  Author: Cisco Security Cloud Control TAC
@@ -1,7 +1,7 @@
1
- scc_firewall_manager_sdk/__init__.py,sha256=2xhW7OOyb85BJmRJrXImF0uZGhgdFLeOjT4xqII5c0c,23367
2
- scc_firewall_manager_sdk/api_client.py,sha256=XRnaCW_xNwBBdHcXCrUroWLQ2mQl3bvKLOFZH-jXLL4,25921
1
+ scc_firewall_manager_sdk/__init__.py,sha256=7IzMKE6TfCn2CwlAcaCXenq9qkRGpXN6Ft8pDBg-s1M,23367
2
+ scc_firewall_manager_sdk/api_client.py,sha256=tJtbnxJT9foCAWsNnQwswOIMLnplZhwLOz3P1TxYYhQ,25921
3
3
  scc_firewall_manager_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- scc_firewall_manager_sdk/configuration.py,sha256=xb5kLUw72qelZTnJgrwQQH2iSq1DA4_ZsuRaBhLg1Mg,15993
4
+ scc_firewall_manager_sdk/configuration.py,sha256=RYME96_-5qcmodlSAnOESrhksAVYPTxeYg9AIhDPP6g,15993
5
5
  scc_firewall_manager_sdk/exceptions.py,sha256=u5-7l5MRjP-aS2pNudBzqSw9OI4xVsIvUjw4WCA8LEk,6039
6
6
  scc_firewall_manager_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  scc_firewall_manager_sdk/rest.py,sha256=cSeilvAB5y-V_10IdXcZ0kOyv5dYW8jeWVhrD6kUDa0,9309
@@ -26,7 +26,7 @@ scc_firewall_manager_sdk/api/msp_device_upgrades_api.py,sha256=Tt0_OnxCJiSPhiWfY
26
26
  scc_firewall_manager_sdk/api/msp_inventory_api.py,sha256=eLYqsv_7YNxQGLQLqEnWfSFPIJ8nWnuJQkZfxtGapxM,185473
27
27
  scc_firewall_manager_sdk/api/msp_tenant_management_api.py,sha256=u1Ljk5-A3JnMGyfGNVVyc1L2ll6I1m43hrLflbqvT5M,108920
28
28
  scc_firewall_manager_sdk/api/msp_user_management_api.py,sha256=MPy-WAv52ziuUcrK_Tq_q38PN1pbpgfL5fdqzYP81S8,54797
29
- scc_firewall_manager_sdk/api/object_management_api.py,sha256=cblgyzHCSChesXOt3STsylGLZ-vI-CSJ3nIMICH5kW4,151897
29
+ scc_firewall_manager_sdk/api/object_management_api.py,sha256=iA6PLnBbdWqEQms2qCD5xmj4J2_OIxUgnMvo1Yj1PFI,153196
30
30
  scc_firewall_manager_sdk/api/remote_access_monitoring_api.py,sha256=1uuvntEP_a5bSCIWNuvr7VcLM8pBiRqkvcb77JeHz8Q,86274
31
31
  scc_firewall_manager_sdk/api/search_api.py,sha256=PonVl7RieSVsbCCVQOdqIA7vx2NCH5KPaLJ6XXNcNTQ,22845
32
32
  scc_firewall_manager_sdk/api/tenant_management_api.py,sha256=3PWPuirkaUck1VZex3w4Cg3qO05GF0f7xeiptaAc5zE,55069
@@ -266,7 +266,7 @@ scc_firewall_manager_sdk/models/upgrade_asa_device_input.py,sha256=j_zJPdZT2o__U
266
266
  scc_firewall_manager_sdk/models/upgrade_compatibility_info_dto.py,sha256=MrrStiOPXJs6odegiASDlqyWKwsWTT8h2N-N4ds_CtU,4060
267
267
  scc_firewall_manager_sdk/models/upgrade_ftd_device_input.py,sha256=MbPKinUCTDXl39E-P7KhiHb3oJKb_Liewn7WS21Y-0k,3843
268
268
  scc_firewall_manager_sdk/models/upgrade_ftd_devices_input.py,sha256=yEoDUzkxOm0M_4FBiLF_nNsjQxdY8SZ7YtR3YfKkf-4,4274
269
- scc_firewall_manager_sdk/models/upgrade_run_dto.py,sha256=Y7HKW5uOgEhYhZv7AcrVn1jABZUZmr_6mtp5D4sKLek,5544
269
+ scc_firewall_manager_sdk/models/upgrade_run_dto.py,sha256=5xImnRPUTKYXdExRnb0V40EAZ6PwL5EXACAF2JPCEdw,5596
270
270
  scc_firewall_manager_sdk/models/upgrade_run_metadata_dto.py,sha256=y1t2kF5-KztfeSfFul5RJBcKIgNhOHeA_JAttKC6Pm0,3202
271
271
  scc_firewall_manager_sdk/models/upgrade_run_modify_input.py,sha256=attD1huRN1nST0xkblUW50VgNYtNXtOGH_1WVF0q-jw,2708
272
272
  scc_firewall_manager_sdk/models/url_object_content.py,sha256=OqcDbRE_HoEGf4Z_yCsTH8B08R9GdY8RMOs1wM0-ecY,2657
@@ -280,7 +280,7 @@ scc_firewall_manager_sdk/models/vlan_interface_create_input.py,sha256=AKUqPJw5ku
280
280
  scc_firewall_manager_sdk/models/vlan_interface_patch_input.py,sha256=srEFTyQykscNrWsbp8KGEzbmHC07_AU3DXjJ-7Be4zc,6054
281
281
  scc_firewall_manager_sdk/models/ztp_onboarding_input.py,sha256=HAgBTdocZeHGDZP_-9NyRtzP9E7BReGtiOmn4S3J-_g,5326
282
282
  scc_firewall_manager_sdk/models/ztp_onboarding_template_configuration.py,sha256=f9Z62yGFvz4QAQ07Z4bjfHLw2bRg46ccwoLuQ8q30TE,4808
283
- scc_firewall_manager_sdk-1.15.232.dist-info/METADATA,sha256=Jbs4DQPQzKJo0NN-2-cOKRqC5U_4MXDChS6VsqEH1cw,596
284
- scc_firewall_manager_sdk-1.15.232.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
285
- scc_firewall_manager_sdk-1.15.232.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
286
- scc_firewall_manager_sdk-1.15.232.dist-info/RECORD,,
283
+ scc_firewall_manager_sdk-1.15.234.dist-info/METADATA,sha256=Qujr4DrWWApFUVcj7YV0YbzflVK3PX6rYpcKMrfvD-M,596
284
+ scc_firewall_manager_sdk-1.15.234.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
285
+ scc_firewall_manager_sdk-1.15.234.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
286
+ scc_firewall_manager_sdk-1.15.234.dist-info/RECORD,,