assisted-service-client 2.16.0.post8__py3-none-any.whl → 2.16.0.post10__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.
@@ -30,6 +30,7 @@ from assisted_service_client.configuration import Configuration
30
30
  from assisted_service_client.models.api_vip import ApiVip
31
31
  from assisted_service_client.models.api_vip_connectivity_request import ApiVipConnectivityRequest
32
32
  from assisted_service_client.models.api_vip_connectivity_response import ApiVipConnectivityResponse
33
+ from assisted_service_client.models.architecture_support_level_id import ArchitectureSupportLevelId
33
34
  from assisted_service_client.models.bind_host_params import BindHostParams
34
35
  from assisted_service_client.models.boot import Boot
35
36
  from assisted_service_client.models.cluster import Cluster
@@ -77,6 +78,7 @@ from assisted_service_client.models.error import Error
77
78
  from assisted_service_client.models.event import Event
78
79
  from assisted_service_client.models.event_list import EventList
79
80
  from assisted_service_client.models.feature_support_level import FeatureSupportLevel
81
+ from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
80
82
  from assisted_service_client.models.feature_support_levels import FeatureSupportLevels
81
83
  from assisted_service_client.models.featuresupportlevel_features import FeaturesupportlevelFeatures
82
84
  from assisted_service_client.models.free_addresses_list import FreeAddressesList
@@ -114,6 +116,8 @@ from assisted_service_client.models.infra_env_update_params import InfraEnvUpdat
114
116
  from assisted_service_client.models.infra_error import InfraError
115
117
  from assisted_service_client.models.ingress_cert_params import IngressCertParams
116
118
  from assisted_service_client.models.ingress_vip import IngressVip
119
+ from assisted_service_client.models.inline_response200 import InlineResponse200
120
+ from assisted_service_client.models.inline_response2001 import InlineResponse2001
117
121
  from assisted_service_client.models.install_cmd_request import InstallCmdRequest
118
122
  from assisted_service_client.models.installer_args_params import InstallerArgsParams
119
123
  from assisted_service_client.models.interface import Interface
@@ -174,6 +178,8 @@ from assisted_service_client.models.step_type import StepType
174
178
  from assisted_service_client.models.steps import Steps
175
179
  from assisted_service_client.models.steps_reply import StepsReply
176
180
  from assisted_service_client.models.subnet import Subnet
181
+ from assisted_service_client.models.support_level import SupportLevel
182
+ from assisted_service_client.models.support_levels import SupportLevels
177
183
  from assisted_service_client.models.system_vendor import SystemVendor
178
184
  from assisted_service_client.models.tang_connectivity_request import TangConnectivityRequest
179
185
  from assisted_service_client.models.tang_connectivity_response import TangConnectivityResponse
@@ -754,6 +754,208 @@ class InstallerApi(object):
754
754
  _request_timeout=params.get('_request_timeout'),
755
755
  collection_formats=collection_formats)
756
756
 
757
+ def get_supported_architectures(self, openshift_version, **kwargs): # noqa: E501
758
+ """get_supported_architectures # noqa: E501
759
+
760
+ Retrieves the architecture support-levels for each OpenShift version. # noqa: E501
761
+ This method makes a synchronous HTTP request by default. To make an
762
+ asynchronous HTTP request, please pass async_req=True
763
+ >>> thread = api.get_supported_architectures(openshift_version, async_req=True)
764
+ >>> result = thread.get()
765
+
766
+ :param async_req bool
767
+ :param str openshift_version: Version of the OpenShift cluster. (required)
768
+ :return: InlineResponse2001
769
+ If the method is called asynchronously,
770
+ returns the request thread.
771
+ """
772
+ kwargs['_return_http_data_only'] = True
773
+ if kwargs.get('async_req'):
774
+ return self.get_supported_architectures_with_http_info(openshift_version, **kwargs) # noqa: E501
775
+ else:
776
+ (data) = self.get_supported_architectures_with_http_info(openshift_version, **kwargs) # noqa: E501
777
+ return data
778
+
779
+ def get_supported_architectures_with_http_info(self, openshift_version, **kwargs): # noqa: E501
780
+ """get_supported_architectures # noqa: E501
781
+
782
+ Retrieves the architecture support-levels for each OpenShift version. # noqa: E501
783
+ This method makes a synchronous HTTP request by default. To make an
784
+ asynchronous HTTP request, please pass async_req=True
785
+ >>> thread = api.get_supported_architectures_with_http_info(openshift_version, async_req=True)
786
+ >>> result = thread.get()
787
+
788
+ :param async_req bool
789
+ :param str openshift_version: Version of the OpenShift cluster. (required)
790
+ :return: InlineResponse2001
791
+ If the method is called asynchronously,
792
+ returns the request thread.
793
+ """
794
+
795
+ all_params = ['openshift_version'] # noqa: E501
796
+ all_params.append('async_req')
797
+ all_params.append('_return_http_data_only')
798
+ all_params.append('_preload_content')
799
+ all_params.append('_request_timeout')
800
+
801
+ params = locals()
802
+ for key, val in six.iteritems(params['kwargs']):
803
+ if key not in all_params:
804
+ raise TypeError(
805
+ "Got an unexpected keyword argument '%s'"
806
+ " to method get_supported_architectures" % key
807
+ )
808
+ params[key] = val
809
+ del params['kwargs']
810
+ # verify the required parameter 'openshift_version' is set
811
+ if ('openshift_version' not in params or
812
+ params['openshift_version'] is None):
813
+ raise ValueError("Missing the required parameter `openshift_version` when calling `get_supported_architectures`") # noqa: E501
814
+
815
+ collection_formats = {}
816
+
817
+ path_params = {}
818
+
819
+ query_params = []
820
+ if 'openshift_version' in params:
821
+ query_params.append(('openshift_version', params['openshift_version'])) # noqa: E501
822
+
823
+ header_params = {}
824
+
825
+ form_params = []
826
+ local_var_files = {}
827
+
828
+ body_params = None
829
+ # HTTP header `Accept`
830
+ header_params['Accept'] = self.api_client.select_header_accept(
831
+ ['application/json']) # noqa: E501
832
+
833
+ # HTTP header `Content-Type`
834
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
835
+ ['application/json']) # noqa: E501
836
+
837
+ # Authentication setting
838
+ auth_settings = ['userAuth'] # noqa: E501
839
+
840
+ return self.api_client.call_api(
841
+ '/v2/support-levels/architectures', 'GET',
842
+ path_params,
843
+ query_params,
844
+ header_params,
845
+ body=body_params,
846
+ post_params=form_params,
847
+ files=local_var_files,
848
+ response_type='InlineResponse2001', # noqa: E501
849
+ auth_settings=auth_settings,
850
+ async_req=params.get('async_req'),
851
+ _return_http_data_only=params.get('_return_http_data_only'),
852
+ _preload_content=params.get('_preload_content', True),
853
+ _request_timeout=params.get('_request_timeout'),
854
+ collection_formats=collection_formats)
855
+
856
+ def get_supported_features(self, openshift_version, **kwargs): # noqa: E501
857
+ """get_supported_features # noqa: E501
858
+
859
+ Retrieves the features support levels for each OpenShift version. # noqa: E501
860
+ This method makes a synchronous HTTP request by default. To make an
861
+ asynchronous HTTP request, please pass async_req=True
862
+ >>> thread = api.get_supported_features(openshift_version, async_req=True)
863
+ >>> result = thread.get()
864
+
865
+ :param async_req bool
866
+ :param str openshift_version: Version of the OpenShift cluster. (required)
867
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc).
868
+ :return: InlineResponse200
869
+ If the method is called asynchronously,
870
+ returns the request thread.
871
+ """
872
+ kwargs['_return_http_data_only'] = True
873
+ if kwargs.get('async_req'):
874
+ return self.get_supported_features_with_http_info(openshift_version, **kwargs) # noqa: E501
875
+ else:
876
+ (data) = self.get_supported_features_with_http_info(openshift_version, **kwargs) # noqa: E501
877
+ return data
878
+
879
+ def get_supported_features_with_http_info(self, openshift_version, **kwargs): # noqa: E501
880
+ """get_supported_features # noqa: E501
881
+
882
+ Retrieves the features support levels for each OpenShift version. # noqa: E501
883
+ This method makes a synchronous HTTP request by default. To make an
884
+ asynchronous HTTP request, please pass async_req=True
885
+ >>> thread = api.get_supported_features_with_http_info(openshift_version, async_req=True)
886
+ >>> result = thread.get()
887
+
888
+ :param async_req bool
889
+ :param str openshift_version: Version of the OpenShift cluster. (required)
890
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc).
891
+ :return: InlineResponse200
892
+ If the method is called asynchronously,
893
+ returns the request thread.
894
+ """
895
+
896
+ all_params = ['openshift_version', 'cpu_architecture'] # noqa: E501
897
+ all_params.append('async_req')
898
+ all_params.append('_return_http_data_only')
899
+ all_params.append('_preload_content')
900
+ all_params.append('_request_timeout')
901
+
902
+ params = locals()
903
+ for key, val in six.iteritems(params['kwargs']):
904
+ if key not in all_params:
905
+ raise TypeError(
906
+ "Got an unexpected keyword argument '%s'"
907
+ " to method get_supported_features" % key
908
+ )
909
+ params[key] = val
910
+ del params['kwargs']
911
+ # verify the required parameter 'openshift_version' is set
912
+ if ('openshift_version' not in params or
913
+ params['openshift_version'] is None):
914
+ raise ValueError("Missing the required parameter `openshift_version` when calling `get_supported_features`") # noqa: E501
915
+
916
+ collection_formats = {}
917
+
918
+ path_params = {}
919
+
920
+ query_params = []
921
+ if 'openshift_version' in params:
922
+ query_params.append(('openshift_version', params['openshift_version'])) # noqa: E501
923
+ if 'cpu_architecture' in params:
924
+ query_params.append(('cpu_architecture', params['cpu_architecture'])) # noqa: E501
925
+
926
+ header_params = {}
927
+
928
+ form_params = []
929
+ local_var_files = {}
930
+
931
+ body_params = None
932
+ # HTTP header `Accept`
933
+ header_params['Accept'] = self.api_client.select_header_accept(
934
+ ['application/json']) # noqa: E501
935
+
936
+ # HTTP header `Content-Type`
937
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
938
+ ['application/json']) # noqa: E501
939
+
940
+ # Authentication setting
941
+ auth_settings = ['userAuth'] # noqa: E501
942
+
943
+ return self.api_client.call_api(
944
+ '/v2/support-levels/features', 'GET',
945
+ path_params,
946
+ query_params,
947
+ header_params,
948
+ body=body_params,
949
+ post_params=form_params,
950
+ files=local_var_files,
951
+ response_type='InlineResponse200', # noqa: E501
952
+ auth_settings=auth_settings,
953
+ async_req=params.get('async_req'),
954
+ _return_http_data_only=params.get('_return_http_data_only'),
955
+ _preload_content=params.get('_preload_content', True),
956
+ _request_timeout=params.get('_request_timeout'),
957
+ collection_formats=collection_formats)
958
+
757
959
  def list_cluster_hosts(self, cluster_id, **kwargs): # noqa: E501
758
960
  """list_cluster_hosts # noqa: E501
759
961
 
@@ -3701,7 +3903,7 @@ class InstallerApi(object):
3701
3903
  def v2_import_cluster(self, new_import_cluster_params, **kwargs): # noqa: E501
3702
3904
  """v2_import_cluster # noqa: E501
3703
3905
 
3704
- Import an AI cluster using minimal data assosiated with existing OCP cluster, in order to allow adding day2 hosts to that cluster # noqa: E501
3906
+ Import an AI cluster using minimal data associated with existing OCP cluster, in order to allow adding day2 hosts to that cluster # noqa: E501
3705
3907
  This method makes a synchronous HTTP request by default. To make an
3706
3908
  asynchronous HTTP request, please pass async_req=True
3707
3909
  >>> thread = api.v2_import_cluster(new_import_cluster_params, async_req=True)
@@ -3723,7 +3925,7 @@ class InstallerApi(object):
3723
3925
  def v2_import_cluster_with_http_info(self, new_import_cluster_params, **kwargs): # noqa: E501
3724
3926
  """v2_import_cluster # noqa: E501
3725
3927
 
3726
- Import an AI cluster using minimal data assosiated with existing OCP cluster, in order to allow adding day2 hosts to that cluster # noqa: E501
3928
+ Import an AI cluster using minimal data associated with existing OCP cluster, in order to allow adding day2 hosts to that cluster # noqa: E501
3727
3929
  This method makes a synchronous HTTP request by default. To make an
3728
3930
  asynchronous HTTP request, please pass async_req=True
3729
3931
  >>> thread = api.v2_import_cluster_with_http_info(new_import_cluster_params, async_req=True)
@@ -4118,7 +4320,7 @@ class InstallerApi(object):
4118
4320
  def v2_list_feature_support_levels(self, **kwargs): # noqa: E501
4119
4321
  """v2_list_feature_support_levels # noqa: E501
4120
4322
 
4121
- Retrieves the support levels for features for each OpenShift version. # noqa: E501
4323
+ (DEPRECATED) Retrieves the support levels for features for each OpenShift version. # noqa: E501
4122
4324
  This method makes a synchronous HTTP request by default. To make an
4123
4325
  asynchronous HTTP request, please pass async_req=True
4124
4326
  >>> thread = api.v2_list_feature_support_levels(async_req=True)
@@ -4139,7 +4341,7 @@ class InstallerApi(object):
4139
4341
  def v2_list_feature_support_levels_with_http_info(self, **kwargs): # noqa: E501
4140
4342
  """v2_list_feature_support_levels # noqa: E501
4141
4343
 
4142
- Retrieves the support levels for features for each OpenShift version. # noqa: E501
4344
+ (DEPRECATED) Retrieves the support levels for features for each OpenShift version. # noqa: E501
4143
4345
  This method makes a synchronous HTTP request by default. To make an
4144
4346
  asynchronous HTTP request, please pass async_req=True
4145
4347
  >>> thread = api.v2_list_feature_support_levels_with_http_info(async_req=True)
@@ -18,6 +18,7 @@ from __future__ import absolute_import
18
18
  from assisted_service_client.models.api_vip import ApiVip
19
19
  from assisted_service_client.models.api_vip_connectivity_request import ApiVipConnectivityRequest
20
20
  from assisted_service_client.models.api_vip_connectivity_response import ApiVipConnectivityResponse
21
+ from assisted_service_client.models.architecture_support_level_id import ArchitectureSupportLevelId
21
22
  from assisted_service_client.models.bind_host_params import BindHostParams
22
23
  from assisted_service_client.models.boot import Boot
23
24
  from assisted_service_client.models.cluster import Cluster
@@ -65,6 +66,7 @@ from assisted_service_client.models.error import Error
65
66
  from assisted_service_client.models.event import Event
66
67
  from assisted_service_client.models.event_list import EventList
67
68
  from assisted_service_client.models.feature_support_level import FeatureSupportLevel
69
+ from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
68
70
  from assisted_service_client.models.feature_support_levels import FeatureSupportLevels
69
71
  from assisted_service_client.models.featuresupportlevel_features import FeaturesupportlevelFeatures
70
72
  from assisted_service_client.models.free_addresses_list import FreeAddressesList
@@ -102,6 +104,8 @@ from assisted_service_client.models.infra_env_update_params import InfraEnvUpdat
102
104
  from assisted_service_client.models.infra_error import InfraError
103
105
  from assisted_service_client.models.ingress_cert_params import IngressCertParams
104
106
  from assisted_service_client.models.ingress_vip import IngressVip
107
+ from assisted_service_client.models.inline_response200 import InlineResponse200
108
+ from assisted_service_client.models.inline_response2001 import InlineResponse2001
105
109
  from assisted_service_client.models.install_cmd_request import InstallCmdRequest
106
110
  from assisted_service_client.models.installer_args_params import InstallerArgsParams
107
111
  from assisted_service_client.models.interface import Interface
@@ -162,6 +166,8 @@ from assisted_service_client.models.step_type import StepType
162
166
  from assisted_service_client.models.steps import Steps
163
167
  from assisted_service_client.models.steps_reply import StepsReply
164
168
  from assisted_service_client.models.subnet import Subnet
169
+ from assisted_service_client.models.support_level import SupportLevel
170
+ from assisted_service_client.models.support_levels import SupportLevels
165
171
  from assisted_service_client.models.system_vendor import SystemVendor
166
172
  from assisted_service_client.models.tang_connectivity_request import TangConnectivityRequest
167
173
  from assisted_service_client.models.tang_connectivity_response import TangConnectivityResponse
@@ -0,0 +1,96 @@
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 ArchitectureSupportLevelId(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
+ allowed enum values
28
+ """
29
+ X86_64_ARCHITECTURE = "X86_64_ARCHITECTURE"
30
+ ARM64_ARCHITECTURE = "ARM64_ARCHITECTURE"
31
+ PPC64LE_ARCHITECTURE = "PPC64LE_ARCHITECTURE"
32
+ S390X_ARCHITECTURE = "S390X_ARCHITECTURE"
33
+ MULTIARCH_RELEASE_IMAGE = "MULTIARCH_RELEASE_IMAGE"
34
+
35
+ """
36
+ Attributes:
37
+ swagger_types (dict): The key is attribute name
38
+ and the value is attribute type.
39
+ attribute_map (dict): The key is attribute name
40
+ and the value is json key in definition.
41
+ """
42
+ swagger_types = {
43
+ }
44
+
45
+ attribute_map = {
46
+ }
47
+
48
+ def __init__(self): # noqa: E501
49
+ """ArchitectureSupportLevelId - a model defined in Swagger""" # noqa: E501
50
+ self.discriminator = None
51
+
52
+ def to_dict(self):
53
+ """Returns the model properties as a dict"""
54
+ result = {}
55
+
56
+ for attr, _ in six.iteritems(self.swagger_types):
57
+ value = getattr(self, attr)
58
+ if isinstance(value, list):
59
+ result[attr] = list(map(
60
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
61
+ value
62
+ ))
63
+ elif hasattr(value, "to_dict"):
64
+ result[attr] = value.to_dict()
65
+ elif isinstance(value, dict):
66
+ result[attr] = dict(map(
67
+ lambda item: (item[0], item[1].to_dict())
68
+ if hasattr(item[1], "to_dict") else item,
69
+ value.items()
70
+ ))
71
+ else:
72
+ result[attr] = value
73
+ if issubclass(ArchitectureSupportLevelId, dict):
74
+ for key, value in self.items():
75
+ result[key] = value
76
+
77
+ return result
78
+
79
+ def to_str(self):
80
+ """Returns the string representation of the model"""
81
+ return pprint.pformat(self.to_dict())
82
+
83
+ def __repr__(self):
84
+ """For `print` and `pprint`"""
85
+ return self.to_str()
86
+
87
+ def __eq__(self, other):
88
+ """Returns true if both objects are equal"""
89
+ if not isinstance(other, ArchitectureSupportLevelId):
90
+ return False
91
+
92
+ return self.__dict__ == other.__dict__
93
+
94
+ def __ne__(self, other):
95
+ """Returns true if both objects are not equal"""
96
+ return not self == other
@@ -0,0 +1,113 @@
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 FeatureSupportLevelId(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
+ allowed enum values
28
+ """
29
+ ADDITIONAL_NTP_SOURCE = "ADDITIONAL_NTP_SOURCE"
30
+ REQUESTED_HOSTNAME = "REQUESTED_HOSTNAME"
31
+ PROXY = "PROXY"
32
+ SNO = "SNO"
33
+ DAY2_HOSTS = "DAY2_HOSTS"
34
+ VIP_AUTO_ALLOC = "VIP_AUTO_ALLOC"
35
+ DISK_SELECTION = "DISK_SELECTION"
36
+ OVN_NETWORK_TYPE = "OVN_NETWORK_TYPE"
37
+ SDN_NETWORK_TYPE = "SDN_NETWORK_TYPE"
38
+ PLATFORM_SELECTION = "PLATFORM_SELECTION"
39
+ SCHEDULABLE_MASTERS = "SCHEDULABLE_MASTERS"
40
+ AUTO_ASSIGN_ROLE = "AUTO_ASSIGN_ROLE"
41
+ CUSTOM_MANIFEST = "CUSTOM_MANIFEST"
42
+ DISK_ENCRYPTION = "DISK_ENCRYPTION"
43
+ CLUSTER_MANAGED_NETWORKING_WITH_VMS = "CLUSTER_MANAGED_NETWORKING_WITH_VMS"
44
+ SINGLE_NODE_EXPANSION = "SINGLE_NODE_EXPANSION"
45
+ LVM = "LVM"
46
+ DUAL_STACK_NETWORKING = "DUAL_STACK_NETWORKING"
47
+ NUTANIX_INTEGRATION = "NUTANIX_INTEGRATION"
48
+ DUAL_STACK_VIPS = "DUAL_STACK_VIPS"
49
+ USER_MANAGED_NETWORKING_WITH_MULTI_NODE = "USER_MANAGED_NETWORKING_WITH_MULTI_NODE"
50
+ CLUSTER_MANAGED_NETWORKING = "CLUSTER_MANAGED_NETWORKING"
51
+
52
+ """
53
+ Attributes:
54
+ swagger_types (dict): The key is attribute name
55
+ and the value is attribute type.
56
+ attribute_map (dict): The key is attribute name
57
+ and the value is json key in definition.
58
+ """
59
+ swagger_types = {
60
+ }
61
+
62
+ attribute_map = {
63
+ }
64
+
65
+ def __init__(self): # noqa: E501
66
+ """FeatureSupportLevelId - a model defined in Swagger""" # noqa: E501
67
+ self.discriminator = None
68
+
69
+ def to_dict(self):
70
+ """Returns the model properties as a dict"""
71
+ result = {}
72
+
73
+ for attr, _ in six.iteritems(self.swagger_types):
74
+ value = getattr(self, attr)
75
+ if isinstance(value, list):
76
+ result[attr] = list(map(
77
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
78
+ value
79
+ ))
80
+ elif hasattr(value, "to_dict"):
81
+ result[attr] = value.to_dict()
82
+ elif isinstance(value, dict):
83
+ result[attr] = dict(map(
84
+ lambda item: (item[0], item[1].to_dict())
85
+ if hasattr(item[1], "to_dict") else item,
86
+ value.items()
87
+ ))
88
+ else:
89
+ result[attr] = value
90
+ if issubclass(FeatureSupportLevelId, dict):
91
+ for key, value in self.items():
92
+ result[key] = value
93
+
94
+ return result
95
+
96
+ def to_str(self):
97
+ """Returns the string representation of the model"""
98
+ return pprint.pformat(self.to_dict())
99
+
100
+ def __repr__(self):
101
+ """For `print` and `pprint`"""
102
+ return self.to_str()
103
+
104
+ def __eq__(self, other):
105
+ """Returns true if both objects are equal"""
106
+ if not isinstance(other, FeatureSupportLevelId):
107
+ return False
108
+
109
+ return self.__dict__ == other.__dict__
110
+
111
+ def __ne__(self, other):
112
+ """Returns true if both objects are not equal"""
113
+ return not self == other
@@ -32,7 +32,7 @@ class FeaturesupportlevelFeatures(object):
32
32
  """
33
33
  swagger_types = {
34
34
  'feature_id': 'str',
35
- 'support_level': 'str'
35
+ 'support_level': 'SupportLevel'
36
36
  }
37
37
 
38
38
  attribute_map = {
@@ -54,7 +54,7 @@ class FeaturesupportlevelFeatures(object):
54
54
  def feature_id(self):
55
55
  """Gets the feature_id of this FeaturesupportlevelFeatures. # noqa: E501
56
56
 
57
- The ID of the feature # noqa: E501
57
+ (DEPRECATED) The ID of the feature # noqa: E501
58
58
 
59
59
  :return: The feature_id of this FeaturesupportlevelFeatures. # noqa: E501
60
60
  :rtype: str
@@ -65,7 +65,7 @@ class FeaturesupportlevelFeatures(object):
65
65
  def feature_id(self, feature_id):
66
66
  """Sets the feature_id of this FeaturesupportlevelFeatures.
67
67
 
68
- The ID of the feature # noqa: E501
68
+ (DEPRECATED) The ID of the feature # noqa: E501
69
69
 
70
70
  :param feature_id: The feature_id of this FeaturesupportlevelFeatures. # noqa: E501
71
71
  :type: str
@@ -87,7 +87,7 @@ class FeaturesupportlevelFeatures(object):
87
87
 
88
88
 
89
89
  :return: The support_level of this FeaturesupportlevelFeatures. # noqa: E501
90
- :rtype: str
90
+ :rtype: SupportLevel
91
91
  """
92
92
  return self._support_level
93
93
 
@@ -97,16 +97,10 @@ class FeaturesupportlevelFeatures(object):
97
97
 
98
98
 
99
99
  :param support_level: The support_level of this FeaturesupportlevelFeatures. # noqa: E501
100
- :type: str
100
+ :type: SupportLevel
101
101
  """
102
102
  if support_level is None:
103
103
  raise ValueError("Invalid value for `support_level`, must not be `None`") # noqa: E501
104
- allowed_values = ["supported", "unsupported", "tech-preview", "dev-preview"] # noqa: E501
105
- if support_level not in allowed_values:
106
- raise ValueError(
107
- "Invalid value for `support_level` ({0}), must be one of {1}" # noqa: E501
108
- .format(support_level, allowed_values)
109
- )
110
104
 
111
105
  self._support_level = support_level
112
106