assisted-service-client 2.24.0.post15__py3-none-any.whl → 2.24.0.post17__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- assisted_service_client/__init__.py +0 -3
- assisted_service_client/api/installer_api.py +0 -91
- assisted_service_client/models/__init__.py +0 -3
- {assisted_service_client-2.24.0.post15.dist-info → assisted_service_client-2.24.0.post17.dist-info}/METADATA +1 -5
- {assisted_service_client-2.24.0.post15.dist-info → assisted_service_client-2.24.0.post17.dist-info}/RECORD +8 -14
- test/test_installer_api.py +0 -6
- assisted_service_client/models/feature_support_level.py +0 -143
- assisted_service_client/models/feature_support_levels.py +0 -87
- assisted_service_client/models/featuresupportlevel_features.py +0 -151
- test/test_feature_support_level.py +0 -40
- test/test_feature_support_levels.py +0 -40
- test/test_featuresupportlevel_features.py +0 -40
- {assisted_service_client-2.24.0.post15.dist-info → assisted_service_client-2.24.0.post17.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.24.0.post15.dist-info → assisted_service_client-2.24.0.post17.dist-info}/top_level.txt +0 -0
@@ -77,10 +77,7 @@ from assisted_service_client.models.drive_type import DriveType
|
|
77
77
|
from assisted_service_client.models.error import Error
|
78
78
|
from assisted_service_client.models.event import Event
|
79
79
|
from assisted_service_client.models.event_list import EventList
|
80
|
-
from assisted_service_client.models.feature_support_level import FeatureSupportLevel
|
81
80
|
from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
|
82
|
-
from assisted_service_client.models.feature_support_levels import FeatureSupportLevels
|
83
|
-
from assisted_service_client.models.featuresupportlevel_features import FeaturesupportlevelFeatures
|
84
81
|
from assisted_service_client.models.free_addresses_list import FreeAddressesList
|
85
82
|
from assisted_service_client.models.free_addresses_request import FreeAddressesRequest
|
86
83
|
from assisted_service_client.models.free_network_addresses import FreeNetworkAddresses
|
@@ -4420,97 +4420,6 @@ class InstallerApi(object):
|
|
4420
4420
|
_request_timeout=params.get('_request_timeout'),
|
4421
4421
|
collection_formats=collection_formats)
|
4422
4422
|
|
4423
|
-
def v2_list_feature_support_levels(self, **kwargs): # noqa: E501
|
4424
|
-
"""v2_list_feature_support_levels # noqa: E501
|
4425
|
-
|
4426
|
-
(DEPRECATED) Retrieves the support levels for features for each OpenShift version. # noqa: E501
|
4427
|
-
This method makes a synchronous HTTP request by default. To make an
|
4428
|
-
asynchronous HTTP request, please pass async_req=True
|
4429
|
-
>>> thread = api.v2_list_feature_support_levels(async_req=True)
|
4430
|
-
>>> result = thread.get()
|
4431
|
-
|
4432
|
-
:param async_req bool
|
4433
|
-
:return: FeatureSupportLevels
|
4434
|
-
If the method is called asynchronously,
|
4435
|
-
returns the request thread.
|
4436
|
-
"""
|
4437
|
-
kwargs['_return_http_data_only'] = True
|
4438
|
-
if kwargs.get('async_req'):
|
4439
|
-
return self.v2_list_feature_support_levels_with_http_info(**kwargs) # noqa: E501
|
4440
|
-
else:
|
4441
|
-
(data) = self.v2_list_feature_support_levels_with_http_info(**kwargs) # noqa: E501
|
4442
|
-
return data
|
4443
|
-
|
4444
|
-
def v2_list_feature_support_levels_with_http_info(self, **kwargs): # noqa: E501
|
4445
|
-
"""v2_list_feature_support_levels # noqa: E501
|
4446
|
-
|
4447
|
-
(DEPRECATED) Retrieves the support levels for features for each OpenShift version. # noqa: E501
|
4448
|
-
This method makes a synchronous HTTP request by default. To make an
|
4449
|
-
asynchronous HTTP request, please pass async_req=True
|
4450
|
-
>>> thread = api.v2_list_feature_support_levels_with_http_info(async_req=True)
|
4451
|
-
>>> result = thread.get()
|
4452
|
-
|
4453
|
-
:param async_req bool
|
4454
|
-
:return: FeatureSupportLevels
|
4455
|
-
If the method is called asynchronously,
|
4456
|
-
returns the request thread.
|
4457
|
-
"""
|
4458
|
-
|
4459
|
-
all_params = [] # noqa: E501
|
4460
|
-
all_params.append('async_req')
|
4461
|
-
all_params.append('_return_http_data_only')
|
4462
|
-
all_params.append('_preload_content')
|
4463
|
-
all_params.append('_request_timeout')
|
4464
|
-
|
4465
|
-
params = locals()
|
4466
|
-
for key, val in six.iteritems(params['kwargs']):
|
4467
|
-
if key not in all_params:
|
4468
|
-
raise TypeError(
|
4469
|
-
"Got an unexpected keyword argument '%s'"
|
4470
|
-
" to method v2_list_feature_support_levels" % key
|
4471
|
-
)
|
4472
|
-
params[key] = val
|
4473
|
-
del params['kwargs']
|
4474
|
-
|
4475
|
-
collection_formats = {}
|
4476
|
-
|
4477
|
-
path_params = {}
|
4478
|
-
|
4479
|
-
query_params = []
|
4480
|
-
|
4481
|
-
header_params = {}
|
4482
|
-
|
4483
|
-
form_params = []
|
4484
|
-
local_var_files = {}
|
4485
|
-
|
4486
|
-
body_params = None
|
4487
|
-
# HTTP header `Accept`
|
4488
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
4489
|
-
['application/json']) # noqa: E501
|
4490
|
-
|
4491
|
-
# HTTP header `Content-Type`
|
4492
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
4493
|
-
['application/json']) # noqa: E501
|
4494
|
-
|
4495
|
-
# Authentication setting
|
4496
|
-
auth_settings = ['userAuth'] # noqa: E501
|
4497
|
-
|
4498
|
-
return self.api_client.call_api(
|
4499
|
-
'/v2/feature-support-levels', 'GET',
|
4500
|
-
path_params,
|
4501
|
-
query_params,
|
4502
|
-
header_params,
|
4503
|
-
body=body_params,
|
4504
|
-
post_params=form_params,
|
4505
|
-
files=local_var_files,
|
4506
|
-
response_type='FeatureSupportLevels', # noqa: E501
|
4507
|
-
auth_settings=auth_settings,
|
4508
|
-
async_req=params.get('async_req'),
|
4509
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
4510
|
-
_preload_content=params.get('_preload_content', True),
|
4511
|
-
_request_timeout=params.get('_request_timeout'),
|
4512
|
-
collection_formats=collection_formats)
|
4513
|
-
|
4514
4423
|
def v2_list_hosts(self, infra_env_id, **kwargs): # noqa: E501
|
4515
4424
|
"""v2_list_hosts # noqa: E501
|
4516
4425
|
|
@@ -65,10 +65,7 @@ from assisted_service_client.models.drive_type import DriveType
|
|
65
65
|
from assisted_service_client.models.error import Error
|
66
66
|
from assisted_service_client.models.event import Event
|
67
67
|
from assisted_service_client.models.event_list import EventList
|
68
|
-
from assisted_service_client.models.feature_support_level import FeatureSupportLevel
|
69
68
|
from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
|
70
|
-
from assisted_service_client.models.feature_support_levels import FeatureSupportLevels
|
71
|
-
from assisted_service_client.models.featuresupportlevel_features import FeaturesupportlevelFeatures
|
72
69
|
from assisted_service_client.models.free_addresses_list import FreeAddressesList
|
73
70
|
from assisted_service_client.models.free_addresses_request import FreeAddressesRequest
|
74
71
|
from assisted_service_client.models.free_network_addresses import FreeNetworkAddresses
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: assisted-service-client
|
3
|
-
Version: 2.24.0.
|
3
|
+
Version: 2.24.0.post17
|
4
4
|
Summary: AssistedInstall
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
6
6
|
Author: RedHat
|
@@ -162,7 +162,6 @@ Class | Method | HTTP request | Description
|
|
162
162
|
*InstallerApi* | [**v2_install_cluster**](docs/InstallerApi.md#v2_install_cluster) | **POST** /v2/clusters/{cluster_id}/actions/install |
|
163
163
|
*InstallerApi* | [**v2_install_host**](docs/InstallerApi.md#v2_install_host) | **POST** /v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/install |
|
164
164
|
*InstallerApi* | [**v2_list_clusters**](docs/InstallerApi.md#v2_list_clusters) | **GET** /v2/clusters |
|
165
|
-
*InstallerApi* | [**v2_list_feature_support_levels**](docs/InstallerApi.md#v2_list_feature_support_levels) | **GET** /v2/feature-support-levels |
|
166
165
|
*InstallerApi* | [**v2_list_hosts**](docs/InstallerApi.md#v2_list_hosts) | **GET** /v2/infra-envs/{infra_env_id}/hosts |
|
167
166
|
*InstallerApi* | [**v2_list_of_cluster_operators**](docs/InstallerApi.md#v2_list_of_cluster_operators) | **GET** /v2/clusters/{cluster_id}/monitored-operators |
|
168
167
|
*InstallerApi* | [**v2_post_step_reply**](docs/InstallerApi.md#v2_post_step_reply) | **POST** /v2/infra-envs/{infra_env_id}/hosts/{host_id}/instructions |
|
@@ -250,10 +249,7 @@ Class | Method | HTTP request | Description
|
|
250
249
|
- [Error](docs/Error.md)
|
251
250
|
- [Event](docs/Event.md)
|
252
251
|
- [EventList](docs/EventList.md)
|
253
|
-
- [FeatureSupportLevel](docs/FeatureSupportLevel.md)
|
254
252
|
- [FeatureSupportLevelId](docs/FeatureSupportLevelId.md)
|
255
|
-
- [FeatureSupportLevels](docs/FeatureSupportLevels.md)
|
256
|
-
- [FeaturesupportlevelFeatures](docs/FeaturesupportlevelFeatures.md)
|
257
253
|
- [FreeAddressesList](docs/FreeAddressesList.md)
|
258
254
|
- [FreeAddressesRequest](docs/FreeAddressesRequest.md)
|
259
255
|
- [FreeNetworkAddresses](docs/FreeNetworkAddresses.md)
|
@@ -1,15 +1,15 @@
|
|
1
|
-
assisted_service_client/__init__.py,sha256=
|
1
|
+
assisted_service_client/__init__.py,sha256=gIKaY83uezxy2-sPZujJrc2yG28yUHtPBkVXjRqspWs,14254
|
2
2
|
assisted_service_client/api_client.py,sha256=ypPMDOaIc8GI-xm-g5PrNLYlakkK5K3qcJBjJP5GlbM,24986
|
3
3
|
assisted_service_client/configuration.py,sha256=cnW5aIc2HR6HqBv7LXhMfoJTdfPhBed_97UxKDzE8Ro,9078
|
4
4
|
assisted_service_client/rest.py,sha256=fLcY2m9yxpqJW4agxf3yCJyiz486qPLgqw8CbCuftZw,13123
|
5
5
|
assisted_service_client/api/__init__.py,sha256=PblMXYK6UKW4rSdDx3F7SA-M1xpjo4rzTBZOx0_cotA,492
|
6
6
|
assisted_service_client/api/events_api.py,sha256=g4ZLrqrShqtco1y1rPKnbgeHELSylH4-Q_H4QxxnlEE,7506
|
7
|
-
assisted_service_client/api/installer_api.py,sha256=
|
7
|
+
assisted_service_client/api/installer_api.py,sha256=bVKw0ftSYGbvVOqlj3fnxM-tiFDwZcPbfZxWbCpNGEg,294451
|
8
8
|
assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u6WydVqHVw6VaM7I8Zvu3g,4087
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=9did1gt88HY879X7B2Wgh4Wmg6JDQERPnFQUsLvsNkA,24735
|
10
10
|
assisted_service_client/api/operators_api.py,sha256=d-QpJNPGcrAKlE2zG7K160zWrQ7_Wig4osid_92zSTQ,17473
|
11
11
|
assisted_service_client/api/versions_api.py,sha256=UakBz9aWYY3xBKf2hKJfXqrQSlYV7xwQtk5DNri4qug,7618
|
12
|
-
assisted_service_client/models/__init__.py,sha256=
|
12
|
+
assisted_service_client/models/__init__.py,sha256=a8Kc2U7QKqlQWt7cfSSq3zWTJ4sES6wW6g9E4uXmaTY,13678
|
13
13
|
assisted_service_client/models/api_vip.py,sha256=gn7i8OtCG3uzm-Ymku55LMWWOn9sujJ-tJ-eZ2VSLkk,4590
|
14
14
|
assisted_service_client/models/api_vip_connectivity_request.py,sha256=PEL8MtQtXy7P7_NySqm15gEgpLUKPEekZJOliBi0td8,6445
|
15
15
|
assisted_service_client/models/api_vip_connectivity_response.py,sha256=g_lug17OFCNbmB81u5xz4TL2XMVLqZ3cpFj9VOP6AUk,6425
|
@@ -60,10 +60,7 @@ assisted_service_client/models/drive_type.py,sha256=OAGyxvI5ZWax3pS8bvcXxddNjyEX
|
|
60
60
|
assisted_service_client/models/error.py,sha256=walFlNpGmfMxSd9Cmv4eZkNHQx-0tOXpr14JAil1D0E,7152
|
61
61
|
assisted_service_client/models/event.py,sha256=PRfTmDyGf-75xERGe_xuutt-2H0ZpVFSH2f2RK-qHUc,10372
|
62
62
|
assisted_service_client/models/event_list.py,sha256=QTzSwTlY-Kx3OA1kgBnYDEvULyrdLv-7DAByMgqH7-c,2356
|
63
|
-
assisted_service_client/models/feature_support_level.py,sha256=-sN5Hec52FU3WCmiUNvl4TMZ82IkQh2OgorskjsMxMM,4148
|
64
63
|
assisted_service_client/models/feature_support_level_id.py,sha256=1EeUvrnAWdhVulgG4jOoF5OJq9R1AtFC0F9VmcNwG2Q,3211
|
65
|
-
assisted_service_client/models/feature_support_levels.py,sha256=SiL0Y74bbf6OEPO0pcNcaT3iN98-JGRx05eJPT0mVMM,2400
|
66
|
-
assisted_service_client/models/featuresupportlevel_features.py,sha256=Djdoy7FfC0NGgopIx8VEq1P8YTR4dTcYbvMf_IfUolY,5180
|
67
64
|
assisted_service_client/models/free_addresses_list.py,sha256=P2q1fq3cR6BJq4i4V-gXpfG32TWIhFX4zScGzdRQmpw,2388
|
68
65
|
assisted_service_client/models/free_addresses_request.py,sha256=6EjcZ6eCz2tGdz6axoRHwILSNz0-7_A6-dIjmxeFe1k,2400
|
69
66
|
assisted_service_client/models/free_network_addresses.py,sha256=4qbfXsYN_X6t0hJiF4JFhHbGEg8SEe-0OO5vn3cn8os,3896
|
@@ -234,10 +231,7 @@ test/test_error.py,sha256=AFhjaXGJdjKBtOzNFWtRmT3SPlFnJ96OrFIRia3jpxg,819
|
|
234
231
|
test/test_event.py,sha256=vBQFkmVuIWalKyKH8QDRsQSW1h_1xpvAV6PhWVW2Utw,819
|
235
232
|
test/test_event_list.py,sha256=Qnb7sJkuZEKQGGbWzEl5BaEnQ9r046HMzHTG4w87NsI,853
|
236
233
|
test/test_events_api.py,sha256=QfK9ent05e5JtNiN0XAlVW6dk86wLLd8FMyNP_Nsg-o,785
|
237
|
-
test/test_feature_support_level.py,sha256=B8M_BUsWRhQ1qBb-8gdUlA_Ls9tvyV4QxaU8m-CM-1k,935
|
238
234
|
test/test_feature_support_level_id.py,sha256=e-DLylPtj5fYHud30PlkPWNkd39NsicxTuTaZ-WNjfo,953
|
239
|
-
test/test_feature_support_levels.py,sha256=8lwXHMF93FR66GW9Dw1KwINJUJSj8WvEtKWHQ87ZWm8,943
|
240
|
-
test/test_featuresupportlevel_features.py,sha256=NPAZtcYm8tKPjyRmuSnqzSrfcPRIjlP4Nafs6rDSM3Y,997
|
241
235
|
test/test_free_addresses_list.py,sha256=EhL9yl-YcsLpv0TGlvYmLr8qJgbX9MOrwCccuVIQXh0,919
|
242
236
|
test/test_free_addresses_request.py,sha256=LoRizc7RlHP7ET8oxRmq3WGr18Ssy_6W5xSQyhgIWvo,943
|
243
237
|
test/test_free_network_addresses.py,sha256=FsO1c_9jfVf5umc1_wYbv906NgBAQiyodlrA0uBzHfA,943
|
@@ -276,7 +270,7 @@ test/test_ingress_vip.py,sha256=FIInh8SktPadK_JmC5twjDAIaMnHxyxFMtsaDU30eJk,861
|
|
276
270
|
test/test_inline_response200.py,sha256=ma3jwgrH-LwlcXU_njUUGcNRaP73VFf-RCq5BGLDv9k,917
|
277
271
|
test/test_inline_response2001.py,sha256=kIUutSpuCGh0GHQOuACqeoZecLqBNZxFLPpjH9XPE4g,925
|
278
272
|
test/test_install_cmd_request.py,sha256=2SMQgHeJknXJwXq8LDD6D5My3QF7Z_ox29rRtQ6TnmY,919
|
279
|
-
test/test_installer_api.py,sha256=
|
273
|
+
test/test_installer_api.py,sha256=CIx5a9GUwT7IL7TMLwCXcBAIJBp_iDxeWe3y9hb7-nY,8281
|
280
274
|
test/test_installer_args_params.py,sha256=5DLOVk1UexAfQBSOHbBILrYGrXXN0GeV2lsTuSddMHw,935
|
281
275
|
test/test_interface.py,sha256=aKMlQAzR68c2sit6Lqcc6py07tqoRyX0j8z-j91HK7A,851
|
282
276
|
test/test_inventory.py,sha256=9aK7xDNHZbTLYWDdRmEKTCtiOLlgyRgS7Qw4OAO5NMw,851
|
@@ -361,7 +355,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
361
355
|
test/test_versions_api.py,sha256=1I1X8zO7RRpqgvWhuV05bK2PnSQfYjN7_d4eBYkum1s,967
|
362
356
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
363
357
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
364
|
-
assisted_service_client-2.24.0.
|
365
|
-
assisted_service_client-2.24.0.
|
366
|
-
assisted_service_client-2.24.0.
|
367
|
-
assisted_service_client-2.24.0.
|
358
|
+
assisted_service_client-2.24.0.post17.dist-info/METADATA,sha256=durX2r0-DwyiYraOJcRGMGHsuhHmPTgXNtaheoAzKE8,24779
|
359
|
+
assisted_service_client-2.24.0.post17.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
360
|
+
assisted_service_client-2.24.0.post17.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
361
|
+
assisted_service_client-2.24.0.post17.dist-info/RECORD,,
|
test/test_installer_api.py
CHANGED
@@ -281,12 +281,6 @@ class TestInstallerApi(unittest.TestCase):
|
|
281
281
|
"""
|
282
282
|
pass
|
283
283
|
|
284
|
-
def test_v2_list_feature_support_levels(self):
|
285
|
-
"""Test case for v2_list_feature_support_levels
|
286
|
-
|
287
|
-
"""
|
288
|
-
pass
|
289
|
-
|
290
284
|
def test_v2_list_hosts(self):
|
291
285
|
"""Test case for v2_list_hosts
|
292
286
|
|
@@ -1,143 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
import pprint
|
15
|
-
import re # noqa: F401
|
16
|
-
|
17
|
-
import six
|
18
|
-
|
19
|
-
|
20
|
-
class FeatureSupportLevel(object):
|
21
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
22
|
-
|
23
|
-
Do not edit the class manually.
|
24
|
-
"""
|
25
|
-
|
26
|
-
"""
|
27
|
-
Attributes:
|
28
|
-
swagger_types (dict): The key is attribute name
|
29
|
-
and the value is attribute type.
|
30
|
-
attribute_map (dict): The key is attribute name
|
31
|
-
and the value is json key in definition.
|
32
|
-
"""
|
33
|
-
swagger_types = {
|
34
|
-
'openshift_version': 'str',
|
35
|
-
'features': 'list[FeaturesupportlevelFeatures]'
|
36
|
-
}
|
37
|
-
|
38
|
-
attribute_map = {
|
39
|
-
'openshift_version': 'openshift_version',
|
40
|
-
'features': 'features'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, openshift_version=None, features=None): # noqa: E501
|
44
|
-
"""FeatureSupportLevel - a model defined in Swagger""" # noqa: E501
|
45
|
-
|
46
|
-
self._openshift_version = None
|
47
|
-
self._features = None
|
48
|
-
self.discriminator = None
|
49
|
-
|
50
|
-
if openshift_version is not None:
|
51
|
-
self.openshift_version = openshift_version
|
52
|
-
if features is not None:
|
53
|
-
self.features = features
|
54
|
-
|
55
|
-
@property
|
56
|
-
def openshift_version(self):
|
57
|
-
"""Gets the openshift_version of this FeatureSupportLevel. # noqa: E501
|
58
|
-
|
59
|
-
Version of the OpenShift cluster. # noqa: E501
|
60
|
-
|
61
|
-
:return: The openshift_version of this FeatureSupportLevel. # noqa: E501
|
62
|
-
:rtype: str
|
63
|
-
"""
|
64
|
-
return self._openshift_version
|
65
|
-
|
66
|
-
@openshift_version.setter
|
67
|
-
def openshift_version(self, openshift_version):
|
68
|
-
"""Sets the openshift_version of this FeatureSupportLevel.
|
69
|
-
|
70
|
-
Version of the OpenShift cluster. # noqa: E501
|
71
|
-
|
72
|
-
:param openshift_version: The openshift_version of this FeatureSupportLevel. # noqa: E501
|
73
|
-
:type: str
|
74
|
-
"""
|
75
|
-
|
76
|
-
self._openshift_version = openshift_version
|
77
|
-
|
78
|
-
@property
|
79
|
-
def features(self):
|
80
|
-
"""Gets the features of this FeatureSupportLevel. # noqa: E501
|
81
|
-
|
82
|
-
|
83
|
-
:return: The features of this FeatureSupportLevel. # noqa: E501
|
84
|
-
:rtype: list[FeaturesupportlevelFeatures]
|
85
|
-
"""
|
86
|
-
return self._features
|
87
|
-
|
88
|
-
@features.setter
|
89
|
-
def features(self, features):
|
90
|
-
"""Sets the features of this FeatureSupportLevel.
|
91
|
-
|
92
|
-
|
93
|
-
:param features: The features of this FeatureSupportLevel. # noqa: E501
|
94
|
-
:type: list[FeaturesupportlevelFeatures]
|
95
|
-
"""
|
96
|
-
|
97
|
-
self._features = features
|
98
|
-
|
99
|
-
def to_dict(self):
|
100
|
-
"""Returns the model properties as a dict"""
|
101
|
-
result = {}
|
102
|
-
|
103
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
104
|
-
value = getattr(self, attr)
|
105
|
-
if isinstance(value, list):
|
106
|
-
result[attr] = list(map(
|
107
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
108
|
-
value
|
109
|
-
))
|
110
|
-
elif hasattr(value, "to_dict"):
|
111
|
-
result[attr] = value.to_dict()
|
112
|
-
elif isinstance(value, dict):
|
113
|
-
result[attr] = dict(map(
|
114
|
-
lambda item: (item[0], item[1].to_dict())
|
115
|
-
if hasattr(item[1], "to_dict") else item,
|
116
|
-
value.items()
|
117
|
-
))
|
118
|
-
else:
|
119
|
-
result[attr] = value
|
120
|
-
if issubclass(FeatureSupportLevel, dict):
|
121
|
-
for key, value in self.items():
|
122
|
-
result[key] = value
|
123
|
-
|
124
|
-
return result
|
125
|
-
|
126
|
-
def to_str(self):
|
127
|
-
"""Returns the string representation of the model"""
|
128
|
-
return pprint.pformat(self.to_dict())
|
129
|
-
|
130
|
-
def __repr__(self):
|
131
|
-
"""For `print` and `pprint`"""
|
132
|
-
return self.to_str()
|
133
|
-
|
134
|
-
def __eq__(self, other):
|
135
|
-
"""Returns true if both objects are equal"""
|
136
|
-
if not isinstance(other, FeatureSupportLevel):
|
137
|
-
return False
|
138
|
-
|
139
|
-
return self.__dict__ == other.__dict__
|
140
|
-
|
141
|
-
def __ne__(self, other):
|
142
|
-
"""Returns true if both objects are not equal"""
|
143
|
-
return not self == other
|
@@ -1,87 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
import pprint
|
15
|
-
import re # noqa: F401
|
16
|
-
|
17
|
-
import six
|
18
|
-
|
19
|
-
|
20
|
-
class FeatureSupportLevels(object):
|
21
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
22
|
-
|
23
|
-
Do not edit the class manually.
|
24
|
-
"""
|
25
|
-
|
26
|
-
"""
|
27
|
-
Attributes:
|
28
|
-
swagger_types (dict): The key is attribute name
|
29
|
-
and the value is attribute type.
|
30
|
-
attribute_map (dict): The key is attribute name
|
31
|
-
and the value is json key in definition.
|
32
|
-
"""
|
33
|
-
swagger_types = {
|
34
|
-
}
|
35
|
-
|
36
|
-
attribute_map = {
|
37
|
-
}
|
38
|
-
|
39
|
-
def __init__(self): # noqa: E501
|
40
|
-
"""FeatureSupportLevels - a model defined in Swagger""" # noqa: E501
|
41
|
-
self.discriminator = None
|
42
|
-
|
43
|
-
def to_dict(self):
|
44
|
-
"""Returns the model properties as a dict"""
|
45
|
-
result = {}
|
46
|
-
|
47
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
48
|
-
value = getattr(self, attr)
|
49
|
-
if isinstance(value, list):
|
50
|
-
result[attr] = list(map(
|
51
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
52
|
-
value
|
53
|
-
))
|
54
|
-
elif hasattr(value, "to_dict"):
|
55
|
-
result[attr] = value.to_dict()
|
56
|
-
elif isinstance(value, dict):
|
57
|
-
result[attr] = dict(map(
|
58
|
-
lambda item: (item[0], item[1].to_dict())
|
59
|
-
if hasattr(item[1], "to_dict") else item,
|
60
|
-
value.items()
|
61
|
-
))
|
62
|
-
else:
|
63
|
-
result[attr] = value
|
64
|
-
if issubclass(FeatureSupportLevels, dict):
|
65
|
-
for key, value in self.items():
|
66
|
-
result[key] = value
|
67
|
-
|
68
|
-
return result
|
69
|
-
|
70
|
-
def to_str(self):
|
71
|
-
"""Returns the string representation of the model"""
|
72
|
-
return pprint.pformat(self.to_dict())
|
73
|
-
|
74
|
-
def __repr__(self):
|
75
|
-
"""For `print` and `pprint`"""
|
76
|
-
return self.to_str()
|
77
|
-
|
78
|
-
def __eq__(self, other):
|
79
|
-
"""Returns true if both objects are equal"""
|
80
|
-
if not isinstance(other, FeatureSupportLevels):
|
81
|
-
return False
|
82
|
-
|
83
|
-
return self.__dict__ == other.__dict__
|
84
|
-
|
85
|
-
def __ne__(self, other):
|
86
|
-
"""Returns true if both objects are not equal"""
|
87
|
-
return not self == other
|
@@ -1,151 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
import pprint
|
15
|
-
import re # noqa: F401
|
16
|
-
|
17
|
-
import six
|
18
|
-
|
19
|
-
|
20
|
-
class FeaturesupportlevelFeatures(object):
|
21
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
22
|
-
|
23
|
-
Do not edit the class manually.
|
24
|
-
"""
|
25
|
-
|
26
|
-
"""
|
27
|
-
Attributes:
|
28
|
-
swagger_types (dict): The key is attribute name
|
29
|
-
and the value is attribute type.
|
30
|
-
attribute_map (dict): The key is attribute name
|
31
|
-
and the value is json key in definition.
|
32
|
-
"""
|
33
|
-
swagger_types = {
|
34
|
-
'feature_id': 'str',
|
35
|
-
'support_level': 'SupportLevel'
|
36
|
-
}
|
37
|
-
|
38
|
-
attribute_map = {
|
39
|
-
'feature_id': 'feature_id',
|
40
|
-
'support_level': 'support_level'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, feature_id=None, support_level=None): # noqa: E501
|
44
|
-
"""FeaturesupportlevelFeatures - a model defined in Swagger""" # noqa: E501
|
45
|
-
|
46
|
-
self._feature_id = None
|
47
|
-
self._support_level = None
|
48
|
-
self.discriminator = None
|
49
|
-
|
50
|
-
self.feature_id = feature_id
|
51
|
-
self.support_level = support_level
|
52
|
-
|
53
|
-
@property
|
54
|
-
def feature_id(self):
|
55
|
-
"""Gets the feature_id of this FeaturesupportlevelFeatures. # noqa: E501
|
56
|
-
|
57
|
-
(DEPRECATED) The ID of the feature # noqa: E501
|
58
|
-
|
59
|
-
:return: The feature_id of this FeaturesupportlevelFeatures. # noqa: E501
|
60
|
-
:rtype: str
|
61
|
-
"""
|
62
|
-
return self._feature_id
|
63
|
-
|
64
|
-
@feature_id.setter
|
65
|
-
def feature_id(self, feature_id):
|
66
|
-
"""Sets the feature_id of this FeaturesupportlevelFeatures.
|
67
|
-
|
68
|
-
(DEPRECATED) The ID of the feature # noqa: E501
|
69
|
-
|
70
|
-
:param feature_id: The feature_id of this FeaturesupportlevelFeatures. # noqa: E501
|
71
|
-
:type: str
|
72
|
-
"""
|
73
|
-
if feature_id is None:
|
74
|
-
raise ValueError("Invalid value for `feature_id`, must not be `None`") # noqa: E501
|
75
|
-
allowed_values = ["ADDITIONAL_NTP_SOURCE", "REQUESTED_HOSTNAME", "PROXY", "SNO", "DAY2_HOSTS", "VIP_AUTO_ALLOC", "DISK_SELECTION", "OVN_NETWORK_TYPE", "SDN_NETWORK_TYPE", "PLATFORM_SELECTION", "SCHEDULABLE_MASTERS", "AUTO_ASSIGN_ROLE", "CUSTOM_MANIFEST", "DISK_ENCRYPTION", "CLUSTER_MANAGED_NETWORKING_WITH_VMS", "ARM64_ARCHITECTURE", "ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING", "PPC64LE_ARCHITECTURE", "S390X_ARCHITECTURE", "SINGLE_NODE_EXPANSION", "LVM", "DUAL_STACK_NETWORKING", "MULTIARCH_RELEASE_IMAGE", "NUTANIX_INTEGRATION", "DUAL_STACK_VIPS", "USER_MANAGED_NETWORKING_WITH_MULTI_NODE"] # noqa: E501
|
76
|
-
if feature_id not in allowed_values:
|
77
|
-
raise ValueError(
|
78
|
-
"Invalid value for `feature_id` ({0}), must be one of {1}" # noqa: E501
|
79
|
-
.format(feature_id, allowed_values)
|
80
|
-
)
|
81
|
-
|
82
|
-
self._feature_id = feature_id
|
83
|
-
|
84
|
-
@property
|
85
|
-
def support_level(self):
|
86
|
-
"""Gets the support_level of this FeaturesupportlevelFeatures. # noqa: E501
|
87
|
-
|
88
|
-
|
89
|
-
:return: The support_level of this FeaturesupportlevelFeatures. # noqa: E501
|
90
|
-
:rtype: SupportLevel
|
91
|
-
"""
|
92
|
-
return self._support_level
|
93
|
-
|
94
|
-
@support_level.setter
|
95
|
-
def support_level(self, support_level):
|
96
|
-
"""Sets the support_level of this FeaturesupportlevelFeatures.
|
97
|
-
|
98
|
-
|
99
|
-
:param support_level: The support_level of this FeaturesupportlevelFeatures. # noqa: E501
|
100
|
-
:type: SupportLevel
|
101
|
-
"""
|
102
|
-
if support_level is None:
|
103
|
-
raise ValueError("Invalid value for `support_level`, must not be `None`") # noqa: E501
|
104
|
-
|
105
|
-
self._support_level = support_level
|
106
|
-
|
107
|
-
def to_dict(self):
|
108
|
-
"""Returns the model properties as a dict"""
|
109
|
-
result = {}
|
110
|
-
|
111
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
112
|
-
value = getattr(self, attr)
|
113
|
-
if isinstance(value, list):
|
114
|
-
result[attr] = list(map(
|
115
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
116
|
-
value
|
117
|
-
))
|
118
|
-
elif hasattr(value, "to_dict"):
|
119
|
-
result[attr] = value.to_dict()
|
120
|
-
elif isinstance(value, dict):
|
121
|
-
result[attr] = dict(map(
|
122
|
-
lambda item: (item[0], item[1].to_dict())
|
123
|
-
if hasattr(item[1], "to_dict") else item,
|
124
|
-
value.items()
|
125
|
-
))
|
126
|
-
else:
|
127
|
-
result[attr] = value
|
128
|
-
if issubclass(FeaturesupportlevelFeatures, dict):
|
129
|
-
for key, value in self.items():
|
130
|
-
result[key] = value
|
131
|
-
|
132
|
-
return result
|
133
|
-
|
134
|
-
def to_str(self):
|
135
|
-
"""Returns the string representation of the model"""
|
136
|
-
return pprint.pformat(self.to_dict())
|
137
|
-
|
138
|
-
def __repr__(self):
|
139
|
-
"""For `print` and `pprint`"""
|
140
|
-
return self.to_str()
|
141
|
-
|
142
|
-
def __eq__(self, other):
|
143
|
-
"""Returns true if both objects are equal"""
|
144
|
-
if not isinstance(other, FeaturesupportlevelFeatures):
|
145
|
-
return False
|
146
|
-
|
147
|
-
return self.__dict__ == other.__dict__
|
148
|
-
|
149
|
-
def __ne__(self, other):
|
150
|
-
"""Returns true if both objects are not equal"""
|
151
|
-
return not self == other
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
|
18
|
-
import assisted_service_client
|
19
|
-
from assisted_service_client.models.feature_support_level import FeatureSupportLevel # noqa: E501
|
20
|
-
from assisted_service_client.rest import ApiException
|
21
|
-
|
22
|
-
|
23
|
-
class TestFeatureSupportLevel(unittest.TestCase):
|
24
|
-
"""FeatureSupportLevel unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def testFeatureSupportLevel(self):
|
33
|
-
"""Test FeatureSupportLevel"""
|
34
|
-
# FIXME: construct object with mandatory attributes with example values
|
35
|
-
# model = assisted_service_client.models.feature_support_level.FeatureSupportLevel() # noqa: E501
|
36
|
-
pass
|
37
|
-
|
38
|
-
|
39
|
-
if __name__ == '__main__':
|
40
|
-
unittest.main()
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
|
18
|
-
import assisted_service_client
|
19
|
-
from assisted_service_client.models.feature_support_levels import FeatureSupportLevels # noqa: E501
|
20
|
-
from assisted_service_client.rest import ApiException
|
21
|
-
|
22
|
-
|
23
|
-
class TestFeatureSupportLevels(unittest.TestCase):
|
24
|
-
"""FeatureSupportLevels unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def testFeatureSupportLevels(self):
|
33
|
-
"""Test FeatureSupportLevels"""
|
34
|
-
# FIXME: construct object with mandatory attributes with example values
|
35
|
-
# model = assisted_service_client.models.feature_support_levels.FeatureSupportLevels() # noqa: E501
|
36
|
-
pass
|
37
|
-
|
38
|
-
|
39
|
-
if __name__ == '__main__':
|
40
|
-
unittest.main()
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
AssistedInstall
|
5
|
-
|
6
|
-
Assisted installation # noqa: E501
|
7
|
-
|
8
|
-
OpenAPI spec version: 1.0.0
|
9
|
-
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
|
18
|
-
import assisted_service_client
|
19
|
-
from assisted_service_client.models.featuresupportlevel_features import FeaturesupportlevelFeatures # noqa: E501
|
20
|
-
from assisted_service_client.rest import ApiException
|
21
|
-
|
22
|
-
|
23
|
-
class TestFeaturesupportlevelFeatures(unittest.TestCase):
|
24
|
-
"""FeaturesupportlevelFeatures unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def testFeaturesupportlevelFeatures(self):
|
33
|
-
"""Test FeaturesupportlevelFeatures"""
|
34
|
-
# FIXME: construct object with mandatory attributes with example values
|
35
|
-
# model = assisted_service_client.models.featuresupportlevel_features.FeaturesupportlevelFeatures() # noqa: E501
|
36
|
-
pass
|
37
|
-
|
38
|
-
|
39
|
-
if __name__ == '__main__':
|
40
|
-
unittest.main()
|
File without changes
|
File without changes
|