Skip to content

Commit 70237af

Browse files
authored
Merge pull request kubernetes-client#213 from mbohlool/master
Switch to stable release of swagger-codegen
2 parents 37c7fa6 + c1ad663 commit 70237af

File tree

326 files changed

+976
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+976
-1
lines changed

kubernetes/client/models/apps_v1beta1_deployment.py

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ def __eq__(self, other):
209209
"""
210210
Returns true if both objects are equal
211211
"""
212+
if not isinstance(other, AppsV1beta1Deployment):
213+
return False
214+
212215
return self.__dict__ == other.__dict__
213216

214217
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_condition.py

+3
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ def __eq__(self, other):
239239
"""
240240
Returns true if both objects are equal
241241
"""
242+
if not isinstance(other, AppsV1beta1DeploymentCondition):
243+
return False
244+
242245
return self.__dict__ == other.__dict__
243246

244247
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_list.py

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def __eq__(self, other):
185185
"""
186186
Returns true if both objects are equal
187187
"""
188+
if not isinstance(other, AppsV1beta1DeploymentList):
189+
return False
190+
188191
return self.__dict__ == other.__dict__
189192

190193
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_rollback.py

+3
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ def __eq__(self, other):
213213
"""
214214
Returns true if both objects are equal
215215
"""
216+
if not isinstance(other, AppsV1beta1DeploymentRollback):
217+
return False
218+
216219
return self.__dict__ == other.__dict__
217220

218221
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_spec.py

+3
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ def __eq__(self, other):
315315
"""
316316
Returns true if both objects are equal
317317
"""
318+
if not isinstance(other, AppsV1beta1DeploymentSpec):
319+
return False
320+
318321
return self.__dict__ == other.__dict__
319322

320323
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_status.py

+3
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ def __eq__(self, other):
261261
"""
262262
Returns true if both objects are equal
263263
"""
264+
if not isinstance(other, AppsV1beta1DeploymentStatus):
265+
return False
266+
264267
return self.__dict__ == other.__dict__
265268

266269
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_deployment_strategy.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def __eq__(self, other):
131131
"""
132132
Returns true if both objects are equal
133133
"""
134+
if not isinstance(other, AppsV1beta1DeploymentStrategy):
135+
return False
136+
134137
return self.__dict__ == other.__dict__
135138

136139
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_rollback_config.py

+3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __eq__(self, other):
105105
"""
106106
Returns true if both objects are equal
107107
"""
108+
if not isinstance(other, AppsV1beta1RollbackConfig):
109+
return False
110+
108111
return self.__dict__ == other.__dict__
109112

110113
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def __eq__(self, other):
131131
"""
132132
Returns true if both objects are equal
133133
"""
134+
if not isinstance(other, AppsV1beta1RollingUpdateDeployment):
135+
return False
136+
134137
return self.__dict__ == other.__dict__
135138

136139
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_scale.py

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ def __eq__(self, other):
209209
"""
210210
Returns true if both objects are equal
211211
"""
212+
if not isinstance(other, AppsV1beta1Scale):
213+
return False
214+
212215
return self.__dict__ == other.__dict__
213216

214217
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_scale_spec.py

+3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __eq__(self, other):
105105
"""
106106
Returns true if both objects are equal
107107
"""
108+
if not isinstance(other, AppsV1beta1ScaleSpec):
109+
return False
110+
108111
return self.__dict__ == other.__dict__
109112

110113
def __ne__(self, other):

kubernetes/client/models/apps_v1beta1_scale_status.py

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ def __eq__(self, other):
159159
"""
160160
Returns true if both objects are equal
161161
"""
162+
if not isinstance(other, AppsV1beta1ScaleStatus):
163+
return False
164+
162165
return self.__dict__ == other.__dict__
163166

164167
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment.py

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ def __eq__(self, other):
209209
"""
210210
Returns true if both objects are equal
211211
"""
212+
if not isinstance(other, ExtensionsV1beta1Deployment):
213+
return False
214+
212215
return self.__dict__ == other.__dict__
213216

214217
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_condition.py

+3
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ def __eq__(self, other):
239239
"""
240240
Returns true if both objects are equal
241241
"""
242+
if not isinstance(other, ExtensionsV1beta1DeploymentCondition):
243+
return False
244+
242245
return self.__dict__ == other.__dict__
243246

244247
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_list.py

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def __eq__(self, other):
185185
"""
186186
Returns true if both objects are equal
187187
"""
188+
if not isinstance(other, ExtensionsV1beta1DeploymentList):
189+
return False
190+
188191
return self.__dict__ == other.__dict__
189192

190193
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_rollback.py

+3
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ def __eq__(self, other):
213213
"""
214214
Returns true if both objects are equal
215215
"""
216+
if not isinstance(other, ExtensionsV1beta1DeploymentRollback):
217+
return False
218+
216219
return self.__dict__ == other.__dict__
217220

218221
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_spec.py

+3
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ def __eq__(self, other):
315315
"""
316316
Returns true if both objects are equal
317317
"""
318+
if not isinstance(other, ExtensionsV1beta1DeploymentSpec):
319+
return False
320+
318321
return self.__dict__ == other.__dict__
319322

320323
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_status.py

+3
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ def __eq__(self, other):
261261
"""
262262
Returns true if both objects are equal
263263
"""
264+
if not isinstance(other, ExtensionsV1beta1DeploymentStatus):
265+
return False
266+
264267
return self.__dict__ == other.__dict__
265268

266269
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_deployment_strategy.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def __eq__(self, other):
131131
"""
132132
Returns true if both objects are equal
133133
"""
134+
if not isinstance(other, ExtensionsV1beta1DeploymentStrategy):
135+
return False
136+
134137
return self.__dict__ == other.__dict__
135138

136139
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_rollback_config.py

+3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __eq__(self, other):
105105
"""
106106
Returns true if both objects are equal
107107
"""
108+
if not isinstance(other, ExtensionsV1beta1RollbackConfig):
109+
return False
110+
108111
return self.__dict__ == other.__dict__
109112

110113
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def __eq__(self, other):
131131
"""
132132
Returns true if both objects are equal
133133
"""
134+
if not isinstance(other, ExtensionsV1beta1RollingUpdateDeployment):
135+
return False
136+
134137
return self.__dict__ == other.__dict__
135138

136139
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_scale.py

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ def __eq__(self, other):
209209
"""
210210
Returns true if both objects are equal
211211
"""
212+
if not isinstance(other, ExtensionsV1beta1Scale):
213+
return False
214+
212215
return self.__dict__ == other.__dict__
213216

214217
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_scale_spec.py

+3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __eq__(self, other):
105105
"""
106106
Returns true if both objects are equal
107107
"""
108+
if not isinstance(other, ExtensionsV1beta1ScaleSpec):
109+
return False
110+
108111
return self.__dict__ == other.__dict__
109112

110113
def __ne__(self, other):

kubernetes/client/models/extensions_v1beta1_scale_status.py

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ def __eq__(self, other):
159159
"""
160160
Returns true if both objects are equal
161161
"""
162+
if not isinstance(other, ExtensionsV1beta1ScaleStatus):
163+
return False
164+
162165
return self.__dict__ == other.__dict__
163166

164167
def __ne__(self, other):

kubernetes/client/models/runtime_raw_extension.py

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ def __eq__(self, other):
107107
"""
108108
Returns true if both objects are equal
109109
"""
110+
if not isinstance(other, RuntimeRawExtension):
111+
return False
112+
110113
return self.__dict__ == other.__dict__
111114

112115
def __ne__(self, other):

kubernetes/client/models/v1_affinity.py

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ def __eq__(self, other):
157157
"""
158158
Returns true if both objects are equal
159159
"""
160+
if not isinstance(other, V1Affinity):
161+
return False
162+
160163
return self.__dict__ == other.__dict__
161164

162165
def __ne__(self, other):

kubernetes/client/models/v1_api_group.py

+3
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ def __eq__(self, other):
241241
"""
242242
Returns true if both objects are equal
243243
"""
244+
if not isinstance(other, V1APIGroup):
245+
return False
246+
244247
return self.__dict__ == other.__dict__
245248

246249
def __ne__(self, other):

kubernetes/client/models/v1_api_group_list.py

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ def __eq__(self, other):
159159
"""
160160
Returns true if both objects are equal
161161
"""
162+
if not isinstance(other, V1APIGroupList):
163+
return False
164+
162165
return self.__dict__ == other.__dict__
163166

164167
def __ne__(self, other):

kubernetes/client/models/v1_api_resource.py

+3
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ def __eq__(self, other):
217217
"""
218218
Returns true if both objects are equal
219219
"""
220+
if not isinstance(other, V1APIResource):
221+
return False
222+
220223
return self.__dict__ == other.__dict__
221224

222225
def __ne__(self, other):

kubernetes/client/models/v1_api_resource_list.py

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ def __eq__(self, other):
187187
"""
188188
Returns true if both objects are equal
189189
"""
190+
if not isinstance(other, V1APIResourceList):
191+
return False
192+
190193
return self.__dict__ == other.__dict__
191194

192195
def __ne__(self, other):

kubernetes/client/models/v1_api_versions.py

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ def __eq__(self, other):
187187
"""
188188
Returns true if both objects are equal
189189
"""
190+
if not isinstance(other, V1APIVersions):
191+
return False
192+
190193
return self.__dict__ == other.__dict__
191194

192195
def __ne__(self, other):

kubernetes/client/models/v1_attached_volume.py

+3
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ def __eq__(self, other):
135135
"""
136136
Returns true if both objects are equal
137137
"""
138+
if not isinstance(other, V1AttachedVolume):
139+
return False
140+
138141
return self.__dict__ == other.__dict__
139142

140143
def __ne__(self, other):

kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def __eq__(self, other):
185185
"""
186186
Returns true if both objects are equal
187187
"""
188+
if not isinstance(other, V1AWSElasticBlockStoreVolumeSource):
189+
return False
190+
188191
return self.__dict__ == other.__dict__
189192

190193
def __ne__(self, other):

kubernetes/client/models/v1_azure_disk_volume_source.py

+3
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ def __eq__(self, other):
213213
"""
214214
Returns true if both objects are equal
215215
"""
216+
if not isinstance(other, V1AzureDiskVolumeSource):
217+
return False
218+
216219
return self.__dict__ == other.__dict__
217220

218221
def __ne__(self, other):

kubernetes/client/models/v1_azure_file_volume_source.py

+3
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ def __eq__(self, other):
161161
"""
162162
Returns true if both objects are equal
163163
"""
164+
if not isinstance(other, V1AzureFileVolumeSource):
165+
return False
166+
164167
return self.__dict__ == other.__dict__
165168

166169
def __ne__(self, other):

kubernetes/client/models/v1_binding.py

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def __eq__(self, other):
185185
"""
186186
Returns true if both objects are equal
187187
"""
188+
if not isinstance(other, V1Binding):
189+
return False
190+
188191
return self.__dict__ == other.__dict__
189192

190193
def __ne__(self, other):

kubernetes/client/models/v1_capabilities.py

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ def __eq__(self, other):
131131
"""
132132
Returns true if both objects are equal
133133
"""
134+
if not isinstance(other, V1Capabilities):
135+
return False
136+
134137
return self.__dict__ == other.__dict__
135138

136139
def __ne__(self, other):

kubernetes/client/models/v1_ceph_fs_volume_source.py

+3
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ def __eq__(self, other):
237237
"""
238238
Returns true if both objects are equal
239239
"""
240+
if not isinstance(other, V1CephFSVolumeSource):
241+
return False
242+
240243
return self.__dict__ == other.__dict__
241244

242245
def __ne__(self, other):

kubernetes/client/models/v1_cinder_volume_source.py

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ def __eq__(self, other):
159159
"""
160160
Returns true if both objects are equal
161161
"""
162+
if not isinstance(other, V1CinderVolumeSource):
163+
return False
164+
162165
return self.__dict__ == other.__dict__
163166

164167
def __ne__(self, other):

kubernetes/client/models/v1_component_condition.py

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ def __eq__(self, other):
187187
"""
188188
Returns true if both objects are equal
189189
"""
190+
if not isinstance(other, V1ComponentCondition):
191+
return False
192+
190193
return self.__dict__ == other.__dict__
191194

192195
def __ne__(self, other):

0 commit comments

Comments
 (0)