assisted-service-client 2.37.0.post73__py3-none-any.whl → 2.37.0.post74__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.

@@ -33,45 +33,45 @@ class OperatorsApi(object):
33
33
  api_client = ApiClient()
34
34
  self.api_client = api_client
35
35
 
36
- def v2_get_bundle(self, bundle_name, **kwargs): # noqa: E501
36
+ def v2_get_bundle(self, id, **kwargs): # noqa: E501
37
37
  """Get operator properties for a bundle # noqa: E501
38
38
 
39
39
  Retrieves an array of operator properties for the specified bundle. # noqa: E501
40
40
  This method makes a synchronous HTTP request by default. To make an
41
41
  asynchronous HTTP request, please pass async_req=True
42
- >>> thread = api.v2_get_bundle(bundle_name, async_req=True)
42
+ >>> thread = api.v2_get_bundle(id, async_req=True)
43
43
  >>> result = thread.get()
44
44
 
45
45
  :param async_req bool
46
- :param str bundle_name: The name of the bundle. (required)
46
+ :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai-nvidia`. (required)
47
47
  :return: Bundle
48
48
  If the method is called asynchronously,
49
49
  returns the request thread.
50
50
  """
51
51
  kwargs['_return_http_data_only'] = True
52
52
  if kwargs.get('async_req'):
53
- return self.v2_get_bundle_with_http_info(bundle_name, **kwargs) # noqa: E501
53
+ return self.v2_get_bundle_with_http_info(id, **kwargs) # noqa: E501
54
54
  else:
55
- (data) = self.v2_get_bundle_with_http_info(bundle_name, **kwargs) # noqa: E501
55
+ (data) = self.v2_get_bundle_with_http_info(id, **kwargs) # noqa: E501
56
56
  return data
57
57
 
58
- def v2_get_bundle_with_http_info(self, bundle_name, **kwargs): # noqa: E501
58
+ def v2_get_bundle_with_http_info(self, id, **kwargs): # noqa: E501
59
59
  """Get operator properties for a bundle # noqa: E501
60
60
 
61
61
  Retrieves an array of operator properties for the specified bundle. # noqa: E501
62
62
  This method makes a synchronous HTTP request by default. To make an
63
63
  asynchronous HTTP request, please pass async_req=True
64
- >>> thread = api.v2_get_bundle_with_http_info(bundle_name, async_req=True)
64
+ >>> thread = api.v2_get_bundle_with_http_info(id, async_req=True)
65
65
  >>> result = thread.get()
66
66
 
67
67
  :param async_req bool
68
- :param str bundle_name: The name of the bundle. (required)
68
+ :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai-nvidia`. (required)
69
69
  :return: Bundle
70
70
  If the method is called asynchronously,
71
71
  returns the request thread.
72
72
  """
73
73
 
74
- all_params = ['bundle_name'] # noqa: E501
74
+ all_params = ['id'] # noqa: E501
75
75
  all_params.append('async_req')
76
76
  all_params.append('_return_http_data_only')
77
77
  all_params.append('_preload_content')
@@ -86,16 +86,16 @@ class OperatorsApi(object):
86
86
  )
87
87
  params[key] = val
88
88
  del params['kwargs']
89
- # verify the required parameter 'bundle_name' is set
90
- if ('bundle_name' not in params or
91
- params['bundle_name'] is None):
92
- raise ValueError("Missing the required parameter `bundle_name` when calling `v2_get_bundle`") # noqa: E501
89
+ # verify the required parameter 'id' is set
90
+ if ('id' not in params or
91
+ params['id'] is None):
92
+ raise ValueError("Missing the required parameter `id` when calling `v2_get_bundle`") # noqa: E501
93
93
 
94
94
  collection_formats = {}
95
95
 
96
96
  path_params = {}
97
- if 'bundle_name' in params:
98
- path_params['bundle_name'] = params['bundle_name'] # noqa: E501
97
+ if 'id' in params:
98
+ path_params['id'] = params['id'] # noqa: E501
99
99
 
100
100
  query_params = []
101
101
 
@@ -117,7 +117,7 @@ class OperatorsApi(object):
117
117
  auth_settings = ['userAuth'] # noqa: E501
118
118
 
119
119
  return self.api_client.call_api(
120
- '/v2/operators/bundles/{bundle_name}', 'GET',
120
+ '/v2/operators/bundles/{id}', 'GET',
121
121
  path_params,
122
122
  query_params,
123
123
  header_params,
@@ -31,60 +31,88 @@ class Bundle(object):
31
31
  and the value is json key in definition.
32
32
  """
33
33
  swagger_types = {
34
- 'name': 'str',
34
+ 'id': 'str',
35
+ 'title': 'str',
35
36
  'description': 'str',
36
37
  'operators': 'list[str]'
37
38
  }
38
39
 
39
40
  attribute_map = {
40
- 'name': 'name',
41
+ 'id': 'id',
42
+ 'title': 'title',
41
43
  'description': 'description',
42
44
  'operators': 'operators'
43
45
  }
44
46
 
45
- def __init__(self, name=None, description=None, operators=None): # noqa: E501
47
+ def __init__(self, id=None, title=None, description=None, operators=None): # noqa: E501
46
48
  """Bundle - a model defined in Swagger""" # noqa: E501
47
49
 
48
- self._name = None
50
+ self._id = None
51
+ self._title = None
49
52
  self._description = None
50
53
  self._operators = None
51
54
  self.discriminator = None
52
55
 
53
- if name is not None:
54
- self.name = name
56
+ if id is not None:
57
+ self.id = id
58
+ if title is not None:
59
+ self.title = title
55
60
  if description is not None:
56
61
  self.description = description
57
62
  if operators is not None:
58
63
  self.operators = operators
59
64
 
60
65
  @property
61
- def name(self):
62
- """Gets the name of this Bundle. # noqa: E501
66
+ def id(self):
67
+ """Gets the id of this Bundle. # noqa: E501
63
68
 
64
- The name of the bundle. # noqa: E501
69
+ Unique identifier of the bundle, for example `virtualization` or `openshift-ai-nvidia`. # noqa: E501
65
70
 
66
- :return: The name of this Bundle. # noqa: E501
71
+ :return: The id of this Bundle. # noqa: E501
67
72
  :rtype: str
68
73
  """
69
- return self._name
74
+ return self._id
70
75
 
71
- @name.setter
72
- def name(self, name):
73
- """Sets the name of this Bundle.
76
+ @id.setter
77
+ def id(self, id):
78
+ """Sets the id of this Bundle.
74
79
 
75
- The name of the bundle. # noqa: E501
80
+ Unique identifier of the bundle, for example `virtualization` or `openshift-ai-nvidia`. # noqa: E501
76
81
 
77
- :param name: The name of this Bundle. # noqa: E501
82
+ :param id: The id of this Bundle. # noqa: E501
78
83
  :type: str
79
84
  """
80
85
 
81
- self._name = name
86
+ self._id = id
87
+
88
+ @property
89
+ def title(self):
90
+ """Gets the title of this Bundle. # noqa: E501
91
+
92
+ Short human friendly description for the bundle, usually only a few words, for example `Virtualization` or `OpenShift AI (NVIDIA)`. # noqa: E501
93
+
94
+ :return: The title of this Bundle. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._title
98
+
99
+ @title.setter
100
+ def title(self, title):
101
+ """Sets the title of this Bundle.
102
+
103
+ Short human friendly description for the bundle, usually only a few words, for example `Virtualization` or `OpenShift AI (NVIDIA)`. # noqa: E501
104
+
105
+ :param title: The title of this Bundle. # noqa: E501
106
+ :type: str
107
+ """
108
+
109
+ self._title = title
82
110
 
83
111
  @property
84
112
  def description(self):
85
113
  """Gets the description of this Bundle. # noqa: E501
86
114
 
87
- Short description of the bundle, for example `OpenShift AI with NVIDIA GPUs`. # noqa: E501
115
+ Longer human friendly description for the bundle, usually one or more sentences. # noqa: E501
88
116
 
89
117
  :return: The description of this Bundle. # noqa: E501
90
118
  :rtype: str
@@ -95,7 +123,7 @@ class Bundle(object):
95
123
  def description(self, description):
96
124
  """Sets the description of this Bundle.
97
125
 
98
- Short description of the bundle, for example `OpenShift AI with NVIDIA GPUs`. # noqa: E501
126
+ Longer human friendly description for the bundle, usually one or more sentences. # noqa: E501
99
127
 
100
128
  :param description: The description of this Bundle. # noqa: E501
101
129
  :type: str
@@ -355,7 +355,7 @@ class MonitoredOperator(object):
355
355
  def bundles(self):
356
356
  """Gets the bundles of this MonitoredOperator. # noqa: E501
357
357
 
358
- List of bundles associated with the operator. Can be empty. # noqa: E501
358
+ List of identifier of the bundles associated with the operator. Can be empty. # noqa: E501
359
359
 
360
360
  :return: The bundles of this MonitoredOperator. # noqa: E501
361
361
  :rtype: list[str]
@@ -366,7 +366,7 @@ class MonitoredOperator(object):
366
366
  def bundles(self, bundles):
367
367
  """Sets the bundles of this MonitoredOperator.
368
368
 
369
- List of bundles associated with the operator. Can be empty. # noqa: E501
369
+ List of identifier of the bundles associated with the operator. Can be empty. # noqa: E501
370
370
 
371
371
  :param bundles: The bundles of this MonitoredOperator. # noqa: E501
372
372
  :type: list[str]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assisted-service-client
3
- Version: 2.37.0.post73
3
+ Version: 2.37.0.post74
4
4
  Summary: AssistedInstall
5
5
  Home-page: https://github.com/openshift/assisted-service
6
6
  Author: RedHat
@@ -194,7 +194,7 @@ Class | Method | HTTP request | Description
194
194
  *ManifestsApi* | [**v2_download_cluster_manifest**](docs/ManifestsApi.md#v2_download_cluster_manifest) | **GET** /v2/clusters/{cluster_id}/manifests/files |
195
195
  *ManifestsApi* | [**v2_list_cluster_manifests**](docs/ManifestsApi.md#v2_list_cluster_manifests) | **GET** /v2/clusters/{cluster_id}/manifests |
196
196
  *ManifestsApi* | [**v2_update_cluster_manifest**](docs/ManifestsApi.md#v2_update_cluster_manifest) | **PATCH** /v2/clusters/{cluster_id}/manifests |
197
- *OperatorsApi* | [**v2_get_bundle**](docs/OperatorsApi.md#v2_get_bundle) | **GET** /v2/operators/bundles/{bundle_name} | Get operator properties for a bundle
197
+ *OperatorsApi* | [**v2_get_bundle**](docs/OperatorsApi.md#v2_get_bundle) | **GET** /v2/operators/bundles/{id} | Get operator properties for a bundle
198
198
  *OperatorsApi* | [**v2_list_bundles**](docs/OperatorsApi.md#v2_list_bundles) | **GET** /v2/operators/bundles | Get list of avaliable bundles
199
199
  *OperatorsApi* | [**v2_list_of_cluster_operators**](docs/OperatorsApi.md#v2_list_of_cluster_operators) | **GET** /v2/clusters/{cluster_id}/monitored-operators |
200
200
  *OperatorsApi* | [**v2_list_operator_properties**](docs/OperatorsApi.md#v2_list_operator_properties) | **GET** /v2/supported-operators/{operator_name} |
@@ -7,7 +7,7 @@ assisted_service_client/api/events_api.py,sha256=ViI7Amn3-o8PcVbAg2iGan0nFrk6oJ0
7
7
  assisted_service_client/api/installer_api.py,sha256=TzuJkgnIyr4X4Qbh1A0xis1_YaGQmo7Y_G3RapsS4TY,299908
8
8
  assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u6WydVqHVw6VaM7I8Zvu3g,4087
9
9
  assisted_service_client/api/manifests_api.py,sha256=aLktOGwkOa3siGnJOYuGO0mH3TlES-fBZvilNvseGO0,25146
10
- assisted_service_client/api/operators_api.py,sha256=6zxI-Y4n0ENLUlmupqvjuu-iCYV9iKv5dDwsP7OOXc8,24769
10
+ assisted_service_client/api/operators_api.py,sha256=yBJagXBqr77hvQJM3Qruo3Pegw2j6UQLXolMgip71gM,24732
11
11
  assisted_service_client/api/versions_api.py,sha256=0eomTHtqgrHnxBxNhL_rZ43K3O3fjvpy0nMRxt2idEg,11674
12
12
  assisted_service_client/models/__init__.py,sha256=YQpsUAl9adO4fqyzicmilWMLDz21Q0JmMNy_qxOAtbA,14786
13
13
  assisted_service_client/models/api_vip.py,sha256=gn7i8OtCG3uzm-Ymku55LMWWOn9sujJ-tJ-eZ2VSLkk,4590
@@ -17,7 +17,7 @@ assisted_service_client/models/api_vip_connectivity_response.py,sha256=g_lug17OF
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
19
  assisted_service_client/models/boot.py,sha256=TKBFb4mDh-7uhYfsy7hfVH-L8WS0ATt1UGNxgo205bA,6397
20
- assisted_service_client/models/bundle.py,sha256=qLgPAs9So42FKUclBEnCcDx65N_GPbfjcFSdlBSiw9M,4689
20
+ assisted_service_client/models/bundle.py,sha256=G50_FlJFNmVz13p9CI-EOnaAyKX0kd4p_2xOBwOUFFU,5668
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
23
23
  assisted_service_client/models/cluster_default_config.py,sha256=MXhboRxA2o4-lHR9baQCiehfksCV4XfsabSMqFfSv3U,12993
@@ -129,7 +129,7 @@ assisted_service_client/models/managed_domain.py,sha256=lvORcWOR9eFVG8MMA_YFpmv_
129
129
  assisted_service_client/models/manifest.py,sha256=IWPLzB9O2ouqnxXo_SOWSWkALT2l6CYNOWZrEzDFEqk,5582
130
130
  assisted_service_client/models/memory.py,sha256=pNVA7KJrF2Qg9RQdP3RLH1hi6-I0oz_nmat3cHY7mrc,4870
131
131
  assisted_service_client/models/memory_method.py,sha256=4Zaob1yIL-VgG80T7gPe5xuDux7zFqoAuwCwylP5cgE,2477
132
- assisted_service_client/models/monitored_operator.py,sha256=wk15vZkZrZ8Nk9YwtDY6PRBPQMD0_BrKjiljdWQ-JJQ,12707
132
+ assisted_service_client/models/monitored_operator.py,sha256=m38dor3dP0UBSMXVSbYCNdJiEoRdEsBsgDn2dX5watE,12743
133
133
  assisted_service_client/models/monitored_operators_list.py,sha256=6cJImtZn97HBeVmMEuFBGW-UYes1qTmgIvA22_regFo,2408
134
134
  assisted_service_client/models/mtu_report.py,sha256=6N3M0UDvPJV7mKLf8gbvnD9MIW9tGqn06Jgxv-7dvJ8,4674
135
135
  assisted_service_client/models/next_step_cmd_request.py,sha256=PQi1ykNi5OXQSOnmY6rhBz5OsJI4ZwQWvOiVO5toAoc,5078
@@ -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.post73.dist-info/METADATA,sha256=6xNFRVf7Fhyb24pALKPDDwuGj-loCQzumotT6-9d9bM,26536
387
- assisted_service_client-2.37.0.post73.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
388
- assisted_service_client-2.37.0.post73.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
389
- assisted_service_client-2.37.0.post73.dist-info/RECORD,,
386
+ assisted_service_client-2.37.0.post74.dist-info/METADATA,sha256=-CiuddAZiBTutXNGmeId_uG81k0caGxI4_klMQozWqI,26527
387
+ assisted_service_client-2.37.0.post74.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
388
+ assisted_service_client-2.37.0.post74.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
389
+ assisted_service_client-2.37.0.post74.dist-info/RECORD,,