Skip to content

Commit 70237af

Browse files
authored
Merge pull request #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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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):

0 commit comments

Comments
 (0)