assisted-service-client 2.37.0.post46__py3-none-any.whl → 2.37.0.post48__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 assisted-service-client might be problematic. Click here for more details.
- assisted_service_client/models/boot.py +35 -3
- {assisted_service_client-2.37.0.post46.dist-info → assisted_service_client-2.37.0.post48.dist-info}/METADATA +1 -1
- {assisted_service_client-2.37.0.post46.dist-info → assisted_service_client-2.37.0.post48.dist-info}/RECORD +5 -5
- {assisted_service_client-2.37.0.post46.dist-info → assisted_service_client-2.37.0.post48.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.37.0.post46.dist-info → assisted_service_client-2.37.0.post48.dist-info}/top_level.txt +0 -0
|
@@ -34,23 +34,26 @@ class Boot(object):
|
|
|
34
34
|
'current_boot_mode': 'str',
|
|
35
35
|
'pxe_interface': 'str',
|
|
36
36
|
'command_line': 'str',
|
|
37
|
-
'secure_boot_state': 'SecureBootState'
|
|
37
|
+
'secure_boot_state': 'SecureBootState',
|
|
38
|
+
'device_type': 'str'
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
attribute_map = {
|
|
41
42
|
'current_boot_mode': 'current_boot_mode',
|
|
42
43
|
'pxe_interface': 'pxe_interface',
|
|
43
44
|
'command_line': 'command_line',
|
|
44
|
-
'secure_boot_state': 'secure_boot_state'
|
|
45
|
+
'secure_boot_state': 'secure_boot_state',
|
|
46
|
+
'device_type': 'device_type'
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
def __init__(self, current_boot_mode=None, pxe_interface=None, command_line=None, secure_boot_state=None): # noqa: E501
|
|
49
|
+
def __init__(self, current_boot_mode=None, pxe_interface=None, command_line=None, secure_boot_state=None, device_type=None): # noqa: E501
|
|
48
50
|
"""Boot - a model defined in Swagger""" # noqa: E501
|
|
49
51
|
|
|
50
52
|
self._current_boot_mode = None
|
|
51
53
|
self._pxe_interface = None
|
|
52
54
|
self._command_line = None
|
|
53
55
|
self._secure_boot_state = None
|
|
56
|
+
self._device_type = None
|
|
54
57
|
self.discriminator = None
|
|
55
58
|
|
|
56
59
|
if current_boot_mode is not None:
|
|
@@ -61,6 +64,8 @@ class Boot(object):
|
|
|
61
64
|
self.command_line = command_line
|
|
62
65
|
if secure_boot_state is not None:
|
|
63
66
|
self.secure_boot_state = secure_boot_state
|
|
67
|
+
if device_type is not None:
|
|
68
|
+
self.device_type = device_type
|
|
64
69
|
|
|
65
70
|
@property
|
|
66
71
|
def current_boot_mode(self):
|
|
@@ -146,6 +151,33 @@ class Boot(object):
|
|
|
146
151
|
|
|
147
152
|
self._secure_boot_state = secure_boot_state
|
|
148
153
|
|
|
154
|
+
@property
|
|
155
|
+
def device_type(self):
|
|
156
|
+
"""Gets the device_type of this Boot. # noqa: E501
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
:return: The device_type of this Boot. # noqa: E501
|
|
160
|
+
:rtype: str
|
|
161
|
+
"""
|
|
162
|
+
return self._device_type
|
|
163
|
+
|
|
164
|
+
@device_type.setter
|
|
165
|
+
def device_type(self, device_type):
|
|
166
|
+
"""Sets the device_type of this Boot.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:param device_type: The device_type of this Boot. # noqa: E501
|
|
170
|
+
:type: str
|
|
171
|
+
"""
|
|
172
|
+
allowed_values = ["persistent", "ephemeral"] # noqa: E501
|
|
173
|
+
if device_type not in allowed_values:
|
|
174
|
+
raise ValueError(
|
|
175
|
+
"Invalid value for `device_type` ({0}), must be one of {1}" # noqa: E501
|
|
176
|
+
.format(device_type, allowed_values)
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
self._device_type = device_type
|
|
180
|
+
|
|
149
181
|
def to_dict(self):
|
|
150
182
|
"""Returns the model properties as a dict"""
|
|
151
183
|
result = {}
|
|
@@ -16,7 +16,7 @@ assisted_service_client/models/api_vip_connectivity_request.py,sha256=juCr4-I9tF
|
|
|
16
16
|
assisted_service_client/models/api_vip_connectivity_response.py,sha256=g_lug17OFCNbmB81u5xz4TL2XMVLqZ3cpFj9VOP6AUk,6425
|
|
17
17
|
assisted_service_client/models/architecture_support_level_id.py,sha256=hlG08k4mpxplccAeBy2aiF41lp7zcTUyxPP98x2mXUg,2711
|
|
18
18
|
assisted_service_client/models/bind_host_params.py,sha256=R6AntLnkrOE_uVaRECc_gx1QPfUmPsVNI06LoDQJONI,3170
|
|
19
|
-
assisted_service_client/models/boot.py,sha256=
|
|
19
|
+
assisted_service_client/models/boot.py,sha256=TKBFb4mDh-7uhYfsy7hfVH-L8WS0ATt1UGNxgo205bA,6397
|
|
20
20
|
assisted_service_client/models/bundle.py,sha256=KSblKrop2bnV5MlxFaWROMC4zKatF5qMX9dn4PZOWOA,3796
|
|
21
21
|
assisted_service_client/models/cluster.py,sha256=3qQ8JGiYPVU_tlaQHsU4vokckaNzyoQfjIkZch1qrcM,76616
|
|
22
22
|
assisted_service_client/models/cluster_create_params.py,sha256=J-VvUpdbFQ1F_yAdKvnzOP6B_w3exRwEDT1RrEWatPM,39783
|
|
@@ -383,7 +383,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
|
383
383
|
test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
|
|
384
384
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
|
385
385
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
|
386
|
-
assisted_service_client-2.37.0.
|
|
387
|
-
assisted_service_client-2.37.0.
|
|
388
|
-
assisted_service_client-2.37.0.
|
|
389
|
-
assisted_service_client-2.37.0.
|
|
386
|
+
assisted_service_client-2.37.0.post48.dist-info/METADATA,sha256=17dwKRV1qD96K63mjPYr4pWw6iptnwsYRRbQc7tH89o,26536
|
|
387
|
+
assisted_service_client-2.37.0.post48.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
388
|
+
assisted_service_client-2.37.0.post48.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
|
389
|
+
assisted_service_client-2.37.0.post48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|