scc-firewall-manager-sdk 1.15.53__py3-none-any.whl → 1.15.55__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.53"
18
+ __version__ = "1.15.55"
19
19
 
20
20
  # import apis into sdk package
21
21
  from scc_firewall_manager_sdk.api.ai_assistant_api import AIAssistantApi
@@ -277,6 +277,7 @@ from scc_firewall_manager_sdk.models.upgrade_asa_device_input import UpgradeAsaD
277
277
  from scc_firewall_manager_sdk.models.upgrade_ftd_device_input import UpgradeFtdDeviceInput
278
278
  from scc_firewall_manager_sdk.models.upgrade_ftd_devices_input import UpgradeFtdDevicesInput
279
279
  from scc_firewall_manager_sdk.models.upgrade_run_dto import UpgradeRunDto
280
+ from scc_firewall_manager_sdk.models.upgrade_run_modify_input import UpgradeRunModifyInput
280
281
  from scc_firewall_manager_sdk.models.url_object_content import UrlObjectContent
281
282
  from scc_firewall_manager_sdk.models.user import User
282
283
  from scc_firewall_manager_sdk.models.user_create_or_update_input import UserCreateOrUpdateInput
@@ -28,6 +28,7 @@ from scc_firewall_manager_sdk.models.ftd_versions_response import FtdVersionsRes
28
28
  from scc_firewall_manager_sdk.models.upgrade_asa_device_input import UpgradeAsaDeviceInput
29
29
  from scc_firewall_manager_sdk.models.upgrade_ftd_device_input import UpgradeFtdDeviceInput
30
30
  from scc_firewall_manager_sdk.models.upgrade_ftd_devices_input import UpgradeFtdDevicesInput
31
+ from scc_firewall_manager_sdk.models.upgrade_run_modify_input import UpgradeRunModifyInput
31
32
 
32
33
  from scc_firewall_manager_sdk.api_client import ApiClient, RequestSerialized
33
34
  from scc_firewall_manager_sdk.api_response import ApiResponse
@@ -897,7 +898,7 @@ class DeviceUpgradesApi:
897
898
 
898
899
 
899
900
  @validate_call
900
- def get_ftd_device_upgrade_run(
901
+ def get_device_upgrade_run(
901
902
  self,
902
903
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
903
904
  _request_timeout: Union[
@@ -941,7 +942,7 @@ class DeviceUpgradesApi:
941
942
  :return: Returns the result object.
942
943
  """ # noqa: E501
943
944
 
944
- _param = self._get_ftd_device_upgrade_run_serialize(
945
+ _param = self._get_device_upgrade_run_serialize(
945
946
  upgrade_run_uid=upgrade_run_uid,
946
947
  _request_auth=_request_auth,
947
948
  _content_type=_content_type,
@@ -954,6 +955,7 @@ class DeviceUpgradesApi:
954
955
  '400': "CommonApiError",
955
956
  '401': "AuthenticationError",
956
957
  '403': "CommonApiError",
958
+ '404': "CommonApiError",
957
959
  '500': "CommonApiError",
958
960
  }
959
961
  response_data = self.api_client.call_api(
@@ -968,7 +970,7 @@ class DeviceUpgradesApi:
968
970
 
969
971
 
970
972
  @validate_call
971
- def get_ftd_device_upgrade_run_with_http_info(
973
+ def get_device_upgrade_run_with_http_info(
972
974
  self,
973
975
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
974
976
  _request_timeout: Union[
@@ -1012,7 +1014,7 @@ class DeviceUpgradesApi:
1012
1014
  :return: Returns the result object.
1013
1015
  """ # noqa: E501
1014
1016
 
1015
- _param = self._get_ftd_device_upgrade_run_serialize(
1017
+ _param = self._get_device_upgrade_run_serialize(
1016
1018
  upgrade_run_uid=upgrade_run_uid,
1017
1019
  _request_auth=_request_auth,
1018
1020
  _content_type=_content_type,
@@ -1025,6 +1027,7 @@ class DeviceUpgradesApi:
1025
1027
  '400': "CommonApiError",
1026
1028
  '401': "AuthenticationError",
1027
1029
  '403': "CommonApiError",
1030
+ '404': "CommonApiError",
1028
1031
  '500': "CommonApiError",
1029
1032
  }
1030
1033
  response_data = self.api_client.call_api(
@@ -1039,7 +1042,7 @@ class DeviceUpgradesApi:
1039
1042
 
1040
1043
 
1041
1044
  @validate_call
1042
- def get_ftd_device_upgrade_run_without_preload_content(
1045
+ def get_device_upgrade_run_without_preload_content(
1043
1046
  self,
1044
1047
  upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1045
1048
  _request_timeout: Union[
@@ -1083,7 +1086,7 @@ class DeviceUpgradesApi:
1083
1086
  :return: Returns the result object.
1084
1087
  """ # noqa: E501
1085
1088
 
1086
- _param = self._get_ftd_device_upgrade_run_serialize(
1089
+ _param = self._get_device_upgrade_run_serialize(
1087
1090
  upgrade_run_uid=upgrade_run_uid,
1088
1091
  _request_auth=_request_auth,
1089
1092
  _content_type=_content_type,
@@ -1096,6 +1099,7 @@ class DeviceUpgradesApi:
1096
1099
  '400': "CommonApiError",
1097
1100
  '401': "AuthenticationError",
1098
1101
  '403': "CommonApiError",
1102
+ '404': "CommonApiError",
1099
1103
  '500': "CommonApiError",
1100
1104
  }
1101
1105
  response_data = self.api_client.call_api(
@@ -1105,7 +1109,7 @@ class DeviceUpgradesApi:
1105
1109
  return response_data.response
1106
1110
 
1107
1111
 
1108
- def _get_ftd_device_upgrade_run_serialize(
1112
+ def _get_device_upgrade_run_serialize(
1109
1113
  self,
1110
1114
  upgrade_run_uid,
1111
1115
  _request_auth,
@@ -1167,7 +1171,7 @@ class DeviceUpgradesApi:
1167
1171
 
1168
1172
 
1169
1173
  @validate_call
1170
- def get_ftd_device_upgrade_runs(
1174
+ def get_device_upgrade_runs(
1171
1175
  self,
1172
1176
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1173
1177
  offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
@@ -1220,7 +1224,7 @@ class DeviceUpgradesApi:
1220
1224
  :return: Returns the result object.
1221
1225
  """ # noqa: E501
1222
1226
 
1223
- _param = self._get_ftd_device_upgrade_runs_serialize(
1227
+ _param = self._get_device_upgrade_runs_serialize(
1224
1228
  limit=limit,
1225
1229
  offset=offset,
1226
1230
  q=q,
@@ -1250,7 +1254,7 @@ class DeviceUpgradesApi:
1250
1254
 
1251
1255
 
1252
1256
  @validate_call
1253
- def get_ftd_device_upgrade_runs_with_http_info(
1257
+ def get_device_upgrade_runs_with_http_info(
1254
1258
  self,
1255
1259
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1256
1260
  offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
@@ -1303,7 +1307,7 @@ class DeviceUpgradesApi:
1303
1307
  :return: Returns the result object.
1304
1308
  """ # noqa: E501
1305
1309
 
1306
- _param = self._get_ftd_device_upgrade_runs_serialize(
1310
+ _param = self._get_device_upgrade_runs_serialize(
1307
1311
  limit=limit,
1308
1312
  offset=offset,
1309
1313
  q=q,
@@ -1333,7 +1337,7 @@ class DeviceUpgradesApi:
1333
1337
 
1334
1338
 
1335
1339
  @validate_call
1336
- def get_ftd_device_upgrade_runs_without_preload_content(
1340
+ def get_device_upgrade_runs_without_preload_content(
1337
1341
  self,
1338
1342
  limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1339
1343
  offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
@@ -1386,7 +1390,7 @@ class DeviceUpgradesApi:
1386
1390
  :return: Returns the result object.
1387
1391
  """ # noqa: E501
1388
1392
 
1389
- _param = self._get_ftd_device_upgrade_runs_serialize(
1393
+ _param = self._get_device_upgrade_runs_serialize(
1390
1394
  limit=limit,
1391
1395
  offset=offset,
1392
1396
  q=q,
@@ -1411,7 +1415,7 @@ class DeviceUpgradesApi:
1411
1415
  return response_data.response
1412
1416
 
1413
1417
 
1414
- def _get_ftd_device_upgrade_runs_serialize(
1418
+ def _get_device_upgrade_runs_serialize(
1415
1419
  self,
1416
1420
  limit,
1417
1421
  offset,
@@ -1490,6 +1494,307 @@ class DeviceUpgradesApi:
1490
1494
 
1491
1495
 
1492
1496
 
1497
+ @validate_call
1498
+ def modify_device_upgrade_run(
1499
+ self,
1500
+ upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1501
+ upgrade_run_modify_input: UpgradeRunModifyInput,
1502
+ _request_timeout: Union[
1503
+ None,
1504
+ Annotated[StrictFloat, Field(gt=0)],
1505
+ Tuple[
1506
+ Annotated[StrictFloat, Field(gt=0)],
1507
+ Annotated[StrictFloat, Field(gt=0)]
1508
+ ]
1509
+ ] = None,
1510
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1511
+ _content_type: Optional[StrictStr] = None,
1512
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1513
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1514
+ ) -> FtdUpgradeRunDtoPage:
1515
+ """Modify Device Upgrade Run
1516
+
1517
+ Modify an FTD Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1518
+
1519
+ :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1520
+ :type upgrade_run_uid: str
1521
+ :param upgrade_run_modify_input: (required)
1522
+ :type upgrade_run_modify_input: UpgradeRunModifyInput
1523
+ :param _request_timeout: timeout setting for this request. If one
1524
+ number provided, it will be total request
1525
+ timeout. It can also be a pair (tuple) of
1526
+ (connection, read) timeouts.
1527
+ :type _request_timeout: int, tuple(int, int), optional
1528
+ :param _request_auth: set to override the auth_settings for an a single
1529
+ request; this effectively ignores the
1530
+ authentication in the spec for a single request.
1531
+ :type _request_auth: dict, optional
1532
+ :param _content_type: force content-type for the request.
1533
+ :type _content_type: str, Optional
1534
+ :param _headers: set to override the headers for a single
1535
+ request; this effectively ignores the headers
1536
+ in the spec for a single request.
1537
+ :type _headers: dict, optional
1538
+ :param _host_index: set to override the host_index for a single
1539
+ request; this effectively ignores the host_index
1540
+ in the spec for a single request.
1541
+ :type _host_index: int, optional
1542
+ :return: Returns the result object.
1543
+ """ # noqa: E501
1544
+
1545
+ _param = self._modify_device_upgrade_run_serialize(
1546
+ upgrade_run_uid=upgrade_run_uid,
1547
+ upgrade_run_modify_input=upgrade_run_modify_input,
1548
+ _request_auth=_request_auth,
1549
+ _content_type=_content_type,
1550
+ _headers=_headers,
1551
+ _host_index=_host_index
1552
+ )
1553
+
1554
+ _response_types_map: Dict[str, Optional[str]] = {
1555
+ '200': "FtdUpgradeRunDtoPage",
1556
+ '400': "CommonApiError",
1557
+ '401': "AuthenticationError",
1558
+ '403': "CommonApiError",
1559
+ '404': "CommonApiError",
1560
+ '500': "CommonApiError",
1561
+ }
1562
+ response_data = self.api_client.call_api(
1563
+ *_param,
1564
+ _request_timeout=_request_timeout
1565
+ )
1566
+ response_data.read()
1567
+ return self.api_client.response_deserialize(
1568
+ response_data=response_data,
1569
+ response_types_map=_response_types_map,
1570
+ ).data
1571
+
1572
+
1573
+ @validate_call
1574
+ def modify_device_upgrade_run_with_http_info(
1575
+ self,
1576
+ upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1577
+ upgrade_run_modify_input: UpgradeRunModifyInput,
1578
+ _request_timeout: Union[
1579
+ None,
1580
+ Annotated[StrictFloat, Field(gt=0)],
1581
+ Tuple[
1582
+ Annotated[StrictFloat, Field(gt=0)],
1583
+ Annotated[StrictFloat, Field(gt=0)]
1584
+ ]
1585
+ ] = None,
1586
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1587
+ _content_type: Optional[StrictStr] = None,
1588
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1589
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1590
+ ) -> ApiResponse[FtdUpgradeRunDtoPage]:
1591
+ """Modify Device Upgrade Run
1592
+
1593
+ Modify an FTD Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1594
+
1595
+ :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1596
+ :type upgrade_run_uid: str
1597
+ :param upgrade_run_modify_input: (required)
1598
+ :type upgrade_run_modify_input: UpgradeRunModifyInput
1599
+ :param _request_timeout: timeout setting for this request. If one
1600
+ number provided, it will be total request
1601
+ timeout. It can also be a pair (tuple) of
1602
+ (connection, read) timeouts.
1603
+ :type _request_timeout: int, tuple(int, int), optional
1604
+ :param _request_auth: set to override the auth_settings for an a single
1605
+ request; this effectively ignores the
1606
+ authentication in the spec for a single request.
1607
+ :type _request_auth: dict, optional
1608
+ :param _content_type: force content-type for the request.
1609
+ :type _content_type: str, Optional
1610
+ :param _headers: set to override the headers for a single
1611
+ request; this effectively ignores the headers
1612
+ in the spec for a single request.
1613
+ :type _headers: dict, optional
1614
+ :param _host_index: set to override the host_index for a single
1615
+ request; this effectively ignores the host_index
1616
+ in the spec for a single request.
1617
+ :type _host_index: int, optional
1618
+ :return: Returns the result object.
1619
+ """ # noqa: E501
1620
+
1621
+ _param = self._modify_device_upgrade_run_serialize(
1622
+ upgrade_run_uid=upgrade_run_uid,
1623
+ upgrade_run_modify_input=upgrade_run_modify_input,
1624
+ _request_auth=_request_auth,
1625
+ _content_type=_content_type,
1626
+ _headers=_headers,
1627
+ _host_index=_host_index
1628
+ )
1629
+
1630
+ _response_types_map: Dict[str, Optional[str]] = {
1631
+ '200': "FtdUpgradeRunDtoPage",
1632
+ '400': "CommonApiError",
1633
+ '401': "AuthenticationError",
1634
+ '403': "CommonApiError",
1635
+ '404': "CommonApiError",
1636
+ '500': "CommonApiError",
1637
+ }
1638
+ response_data = self.api_client.call_api(
1639
+ *_param,
1640
+ _request_timeout=_request_timeout
1641
+ )
1642
+ response_data.read()
1643
+ return self.api_client.response_deserialize(
1644
+ response_data=response_data,
1645
+ response_types_map=_response_types_map,
1646
+ )
1647
+
1648
+
1649
+ @validate_call
1650
+ def modify_device_upgrade_run_without_preload_content(
1651
+ self,
1652
+ upgrade_run_uid: Annotated[StrictStr, Field(description="The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager.")],
1653
+ upgrade_run_modify_input: UpgradeRunModifyInput,
1654
+ _request_timeout: Union[
1655
+ None,
1656
+ Annotated[StrictFloat, Field(gt=0)],
1657
+ Tuple[
1658
+ Annotated[StrictFloat, Field(gt=0)],
1659
+ Annotated[StrictFloat, Field(gt=0)]
1660
+ ]
1661
+ ] = None,
1662
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1663
+ _content_type: Optional[StrictStr] = None,
1664
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1665
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1666
+ ) -> RESTResponseType:
1667
+ """Modify Device Upgrade Run
1668
+
1669
+ Modify an FTD Device Upgrade Run by UID in the SCC Firewall Manager Tenant. Each upgrade run represents a group of devices being upgraded, or staged for upgrades, together.
1670
+
1671
+ :param upgrade_run_uid: The unique identifier, represented as a UUID, of the FTD Device Upgrade Run in SCC Firewall Manager. (required)
1672
+ :type upgrade_run_uid: str
1673
+ :param upgrade_run_modify_input: (required)
1674
+ :type upgrade_run_modify_input: UpgradeRunModifyInput
1675
+ :param _request_timeout: timeout setting for this request. If one
1676
+ number provided, it will be total request
1677
+ timeout. It can also be a pair (tuple) of
1678
+ (connection, read) timeouts.
1679
+ :type _request_timeout: int, tuple(int, int), optional
1680
+ :param _request_auth: set to override the auth_settings for an a single
1681
+ request; this effectively ignores the
1682
+ authentication in the spec for a single request.
1683
+ :type _request_auth: dict, optional
1684
+ :param _content_type: force content-type for the request.
1685
+ :type _content_type: str, Optional
1686
+ :param _headers: set to override the headers for a single
1687
+ request; this effectively ignores the headers
1688
+ in the spec for a single request.
1689
+ :type _headers: dict, optional
1690
+ :param _host_index: set to override the host_index for a single
1691
+ request; this effectively ignores the host_index
1692
+ in the spec for a single request.
1693
+ :type _host_index: int, optional
1694
+ :return: Returns the result object.
1695
+ """ # noqa: E501
1696
+
1697
+ _param = self._modify_device_upgrade_run_serialize(
1698
+ upgrade_run_uid=upgrade_run_uid,
1699
+ upgrade_run_modify_input=upgrade_run_modify_input,
1700
+ _request_auth=_request_auth,
1701
+ _content_type=_content_type,
1702
+ _headers=_headers,
1703
+ _host_index=_host_index
1704
+ )
1705
+
1706
+ _response_types_map: Dict[str, Optional[str]] = {
1707
+ '200': "FtdUpgradeRunDtoPage",
1708
+ '400': "CommonApiError",
1709
+ '401': "AuthenticationError",
1710
+ '403': "CommonApiError",
1711
+ '404': "CommonApiError",
1712
+ '500': "CommonApiError",
1713
+ }
1714
+ response_data = self.api_client.call_api(
1715
+ *_param,
1716
+ _request_timeout=_request_timeout
1717
+ )
1718
+ return response_data.response
1719
+
1720
+
1721
+ def _modify_device_upgrade_run_serialize(
1722
+ self,
1723
+ upgrade_run_uid,
1724
+ upgrade_run_modify_input,
1725
+ _request_auth,
1726
+ _content_type,
1727
+ _headers,
1728
+ _host_index,
1729
+ ) -> RequestSerialized:
1730
+
1731
+ _host = None
1732
+
1733
+ _collection_formats: Dict[str, str] = {
1734
+ }
1735
+
1736
+ _path_params: Dict[str, str] = {}
1737
+ _query_params: List[Tuple[str, str]] = []
1738
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1739
+ _form_params: List[Tuple[str, str]] = []
1740
+ _files: Dict[str, str] = {}
1741
+ _body_params: Optional[bytes] = None
1742
+
1743
+ # process the path parameters
1744
+ if upgrade_run_uid is not None:
1745
+ _path_params['upgradeRunUid'] = upgrade_run_uid
1746
+ # process the query parameters
1747
+ # process the header parameters
1748
+ # process the form parameters
1749
+ # process the body parameter
1750
+ if upgrade_run_modify_input is not None:
1751
+ _body_params = upgrade_run_modify_input
1752
+
1753
+
1754
+ # set the HTTP header `Accept`
1755
+ _header_params['Accept'] = self.api_client.select_header_accept(
1756
+ [
1757
+ 'application/json'
1758
+ ]
1759
+ )
1760
+
1761
+ # set the HTTP header `Content-Type`
1762
+ if _content_type:
1763
+ _header_params['Content-Type'] = _content_type
1764
+ else:
1765
+ _default_content_type = (
1766
+ self.api_client.select_header_content_type(
1767
+ [
1768
+ 'application/json'
1769
+ ]
1770
+ )
1771
+ )
1772
+ if _default_content_type is not None:
1773
+ _header_params['Content-Type'] = _default_content_type
1774
+
1775
+ # authentication setting
1776
+ _auth_settings: List[str] = [
1777
+ 'bearerAuth'
1778
+ ]
1779
+
1780
+ return self.api_client.param_serialize(
1781
+ method='PATCH',
1782
+ resource_path='/v1/inventory/devices/upgrades/runs/{upgradeRunUid}',
1783
+ path_params=_path_params,
1784
+ query_params=_query_params,
1785
+ header_params=_header_params,
1786
+ body=_body_params,
1787
+ post_params=_form_params,
1788
+ files=_files,
1789
+ auth_settings=_auth_settings,
1790
+ collection_formats=_collection_formats,
1791
+ _host=_host,
1792
+ _request_auth=_request_auth
1793
+ )
1794
+
1795
+
1796
+
1797
+
1493
1798
  @validate_call
1494
1799
  def update_ftd_upgrade_packages_cache(
1495
1800
  self,
@@ -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.53/python'
91
+ self.user_agent = 'OpenAPI-Generator/1.15.55/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.53".\
383
+ "SDK Package Version: 1.15.55".\
384
384
  format(env=sys.platform, pyversion=sys.version)
385
385
 
386
386
  def get_host_settings(self):
@@ -237,6 +237,7 @@ from scc_firewall_manager_sdk.models.upgrade_asa_device_input import UpgradeAsaD
237
237
  from scc_firewall_manager_sdk.models.upgrade_ftd_device_input import UpgradeFtdDeviceInput
238
238
  from scc_firewall_manager_sdk.models.upgrade_ftd_devices_input import UpgradeFtdDevicesInput
239
239
  from scc_firewall_manager_sdk.models.upgrade_run_dto import UpgradeRunDto
240
+ from scc_firewall_manager_sdk.models.upgrade_run_modify_input import UpgradeRunModifyInput
240
241
  from scc_firewall_manager_sdk.models.url_object_content import UrlObjectContent
241
242
  from scc_firewall_manager_sdk.models.user import User
242
243
  from scc_firewall_manager_sdk.models.user_create_or_update_input import UserCreateOrUpdateInput
@@ -30,9 +30,10 @@ class DeviceEndOfLifeDetails(BaseModel):
30
30
  """ # noqa: E501
31
31
  end_of_life_announcement_date: Optional[datetime] = Field(default=None, description="The date (UTC; represented using the RFC-3339 standard), the hardware End-Of_life was announced", alias="endOfLifeAnnouncementDate")
32
32
  end_of_sale_date: Optional[datetime] = Field(default=None, description="The date (UTC; represented using the RFC-3339 standard), the hardware is eligible for sale.", alias="endOfSaleDate")
33
+ end_of_software_maintenance_releases_date: Optional[datetime] = Field(default=None, description="The date (UTC; represented using the RFC-3339 standard), the hardware is eligible for software maintenance.", alias="endOfSoftwareMaintenanceReleasesDate")
33
34
  last_date_of_support: Optional[datetime] = Field(default=None, description="The date (UTC; represented using the RFC-3339 standard), the hardware is eligible for support.", alias="lastDateOfSupport")
34
35
  url: Optional[StrictStr] = Field(default=None, description="The hardware End-Of-Life notice URL with more information on the End-Of-Life details.")
35
- __properties: ClassVar[List[str]] = ["endOfLifeAnnouncementDate", "endOfSaleDate", "lastDateOfSupport", "url"]
36
+ __properties: ClassVar[List[str]] = ["endOfLifeAnnouncementDate", "endOfSaleDate", "endOfSoftwareMaintenanceReleasesDate", "lastDateOfSupport", "url"]
36
37
 
37
38
  model_config = ConfigDict(
38
39
  populate_by_name=True,
@@ -87,6 +88,7 @@ class DeviceEndOfLifeDetails(BaseModel):
87
88
  _obj = cls.model_validate({
88
89
  "endOfLifeAnnouncementDate": obj.get("endOfLifeAnnouncementDate"),
89
90
  "endOfSaleDate": obj.get("endOfSaleDate"),
91
+ "endOfSoftwareMaintenanceReleasesDate": obj.get("endOfSoftwareMaintenanceReleasesDate"),
90
92
  "lastDateOfSupport": obj.get("lastDateOfSupport"),
91
93
  "url": obj.get("url")
92
94
  })
@@ -0,0 +1,89 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Cisco Security Cloud Control Firewall Manager API
5
+
6
+ Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer
7
+
8
+ The version of the OpenAPI document: 1.15.0
9
+ Contact: cdo.tac@cisco.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field
22
+ from typing import Any, ClassVar, Dict, List
23
+ from typing_extensions import Annotated
24
+ from typing import Optional, Set
25
+ from typing_extensions import Self
26
+
27
+ class UpgradeRunModifyInput(BaseModel):
28
+ """
29
+ UpgradeRunModifyInput
30
+ """ # noqa: E501
31
+ name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A human-readable name for the upgrade run.")
32
+ __properties: ClassVar[List[str]] = ["name"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of UpgradeRunModifyInput from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of UpgradeRunModifyInput from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "name": obj.get("name")
86
+ })
87
+ return _obj
88
+
89
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scc-firewall-manager-sdk
3
- Version: 1.15.53
3
+ Version: 1.15.55
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=2C-P6kJb92xfRoYuy02pNrnPuvEb0GJl8TSVmALBBDs,21822
2
- scc_firewall_manager_sdk/api_client.py,sha256=ic9rf7W_mbpCcPWeMLfbadbwHHRKjNf3utTkLVHq-No,25920
1
+ scc_firewall_manager_sdk/__init__.py,sha256=tttO7DLS7poVveeGF7sfLqEW9qyx_TjOZw7JdlX7nn0,21913
2
+ scc_firewall_manager_sdk/api_client.py,sha256=UB4sUrEh2S1kGP8r6HXa1gjDsjqfl97aofsyIWvhXY4,25920
3
3
  scc_firewall_manager_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- scc_firewall_manager_sdk/configuration.py,sha256=cTCWzWgV78Cdk3igPX6nEPhnDCAgNIGpdbcZTHl_a8M,15992
4
+ scc_firewall_manager_sdk/configuration.py,sha256=OP2QCAoSNI01HTK0XB98njZppfbwr6575EX89QrR4Qw,15992
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
@@ -17,7 +17,7 @@ scc_firewall_manager_sdk/api/command_line_interface_api.py,sha256=_sUPKdTkBkXNbk
17
17
  scc_firewall_manager_sdk/api/commands_api.py,sha256=U1cDPCmUAgOPnCOC8KcbcQpLGSwgOBBgHUcKH6JmWK4,33891
18
18
  scc_firewall_manager_sdk/api/connectors_api.py,sha256=lw4asxJMtyHTm3sxM6Z7S1O2tbr4ZtbjVrZIalmYagI,59889
19
19
  scc_firewall_manager_sdk/api/device_health_api.py,sha256=UoxgUo10Am1kga8U0Kxhb6DDw6d7wpXxzGopsvUJ1JI,62283
20
- scc_firewall_manager_sdk/api/device_upgrades_api.py,sha256=_8Jh_X2h2LHjfCJ6_FvURCesFVbnrtuK0PymrjdlL38,114102
20
+ scc_firewall_manager_sdk/api/device_upgrades_api.py,sha256=upu1kCKpxuXaISrVSSUW0tHfktaNnvnVZCyjFrgeiLo,127153
21
21
  scc_firewall_manager_sdk/api/inventory_api.py,sha256=EJqDZzqBE4w_klxuo84rSYmrmbinGSJEbSbU6Wqs4Gg,444995
22
22
  scc_firewall_manager_sdk/api/meta_api.py,sha256=0T4mIpkOc0FyDIvEN5qhRQbKN4CzOM00_sRVY2oG59U,29963
23
23
  scc_firewall_manager_sdk/api/msp_device_health_aggregations_api.py,sha256=ijjdWeZTpQg5wre_v-qQHIWWJi9Hg3f_dz6i8K0if-U,13808
@@ -30,7 +30,7 @@ scc_firewall_manager_sdk/api/search_api.py,sha256=PonVl7RieSVsbCCVQOdqIA7vx2NCH5
30
30
  scc_firewall_manager_sdk/api/tenant_management_api.py,sha256=3PWPuirkaUck1VZex3w4Cg3qO05GF0f7xeiptaAc5zE,55069
31
31
  scc_firewall_manager_sdk/api/transactions_api.py,sha256=fz0Ko2bAXFpz0SM8psceOlcxq0gXnrnuTEhaX1E0QzA,23402
32
32
  scc_firewall_manager_sdk/api/users_api.py,sha256=MKuyXmxWLSqPBkfA7rUGZ1EO1Ox-Oge7QhhgzSFAVu8,191609
33
- scc_firewall_manager_sdk/models/__init__.py,sha256=rxs-B6iCptwAYhJNmGA4ezJo1w9rsdba2sDhGdVYBoY,19332
33
+ scc_firewall_manager_sdk/models/__init__.py,sha256=8ApvocwkPCjjKT0U-B1A2XOoZZmA61zmDhyCULVgdFA,19423
34
34
  scc_firewall_manager_sdk/models/access_group.py,sha256=9FlXrDT5xhtk-uWuwgMmM-qAGiKZrpfnkphZuogGsHo,4583
35
35
  scc_firewall_manager_sdk/models/access_group_create_input.py,sha256=7tgCifqvqbwS2bZvS_PQdIV_ra_jiEbupJhyaHcG8ys,3930
36
36
  scc_firewall_manager_sdk/models/access_group_page.py,sha256=imWa0te5qmTpXfuE8W8YM3SG01MIn4ewbA-_N8kPKHk,3725
@@ -103,7 +103,7 @@ scc_firewall_manager_sdk/models/destination_network_content.py,sha256=5mjk7qaPeu
103
103
  scc_firewall_manager_sdk/models/destination_port_content.py,sha256=ujxoCL1ISyY7FF4ek3P8NIswz-VmuM3VABDYsC8OPRI,4045
104
104
  scc_firewall_manager_sdk/models/device.py,sha256=B6UFdVZrWBERqz8ydZaJGdIy6HkZG9QKEtypfZV6AhY,19265
105
105
  scc_firewall_manager_sdk/models/device_end_of_life.py,sha256=6At2nphVq5kx8gQJNCTDLXFqKPzzXw88M47LSW8v-vs,4117
106
- scc_firewall_manager_sdk/models/device_end_of_life_details.py,sha256=YkgiGzzhchDnrUVYihQB27qNgL6EjArL5NKxvVkTrCg,3630
106
+ scc_firewall_manager_sdk/models/device_end_of_life_details.py,sha256=OXlWlGj0C3_UOWQaNwfBW7gMHUujG4L9AePKRjCd25s,4028
107
107
  scc_firewall_manager_sdk/models/device_end_of_life_device_info.py,sha256=TkQ20SqYIsOWjhQd73kpVSZpcEUyAmfJhSRcWtmkw5c,3610
108
108
  scc_firewall_manager_sdk/models/device_end_of_life_recommendation.py,sha256=yY0KQ8BvM-WhopGG-fawEy0LzR99-JVsAza5B_YgkYY,4137
109
109
  scc_firewall_manager_sdk/models/device_end_of_life_report.py,sha256=mEYuZXX1ZnU_05ngQxbWjMGCGfIo9ggRGijxtqngxTY,3739
@@ -253,6 +253,7 @@ scc_firewall_manager_sdk/models/upgrade_asa_device_input.py,sha256=nGZpqNNTLxrRx
253
253
  scc_firewall_manager_sdk/models/upgrade_ftd_device_input.py,sha256=EkZVgn1onpw5ruKOa4ygYjty2VHVWdknM8G0c4r4VZA,3444
254
254
  scc_firewall_manager_sdk/models/upgrade_ftd_devices_input.py,sha256=SOs24cfe6PwO9_8yefiwdGioYrIXPKQtU1GRa4IgCqc,3859
255
255
  scc_firewall_manager_sdk/models/upgrade_run_dto.py,sha256=Aw4R31JM_NfUrPerNZEPpCq9zntmw5UvCt-xh104piU,5544
256
+ scc_firewall_manager_sdk/models/upgrade_run_modify_input.py,sha256=attD1huRN1nST0xkblUW50VgNYtNXtOGH_1WVF0q-jw,2708
256
257
  scc_firewall_manager_sdk/models/url_object_content.py,sha256=OqcDbRE_HoEGf4Z_yCsTH8B08R9GdY8RMOs1wM0-ecY,2657
257
258
  scc_firewall_manager_sdk/models/user.py,sha256=2bH858kufK8KnTsIXIul0VOH0JpJ-g4zyXE9lyMQHGE,4297
258
259
  scc_firewall_manager_sdk/models/user_create_or_update_input.py,sha256=_H5fXo4_Pa5_mIK7T2LzPu_ekMnZlXdxVvsU8Rs612g,3850
@@ -264,7 +265,7 @@ scc_firewall_manager_sdk/models/vlan_interface_create_input.py,sha256=AKUqPJw5ku
264
265
  scc_firewall_manager_sdk/models/vlan_interface_patch_input.py,sha256=srEFTyQykscNrWsbp8KGEzbmHC07_AU3DXjJ-7Be4zc,6054
265
266
  scc_firewall_manager_sdk/models/ztp_onboarding_input.py,sha256=HAgBTdocZeHGDZP_-9NyRtzP9E7BReGtiOmn4S3J-_g,5326
266
267
  scc_firewall_manager_sdk/models/ztp_onboarding_template_configuration.py,sha256=f9Z62yGFvz4QAQ07Z4bjfHLw2bRg46ccwoLuQ8q30TE,4808
267
- scc_firewall_manager_sdk-1.15.53.dist-info/METADATA,sha256=mPNum4uQHiwQoFb7Tseo33c7jng2P-oGpTKMoO0ykjM,595
268
- scc_firewall_manager_sdk-1.15.53.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
269
- scc_firewall_manager_sdk-1.15.53.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
270
- scc_firewall_manager_sdk-1.15.53.dist-info/RECORD,,
268
+ scc_firewall_manager_sdk-1.15.55.dist-info/METADATA,sha256=_Ys4UOLnKKBgRjNOCj6_XalLYz-fmsmZDG0ehPrvHYA,595
269
+ scc_firewall_manager_sdk-1.15.55.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
270
+ scc_firewall_manager_sdk-1.15.55.dist-info/top_level.txt,sha256=_g9WfFWGagKs6ULdfhEt8e7RXknpcp9_jA9ubIL4U3I,25
271
+ scc_firewall_manager_sdk-1.15.55.dist-info/RECORD,,