Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions tb_rest_client/models/models_ce/tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ def title(self, title):
:param title: The title of this Tenant. # noqa: E501
:type: str
"""
if title is None:
raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501

self._title = title

Expand Down Expand Up @@ -259,8 +261,6 @@ def country(self, country):
:param country: The country of this Tenant. # noqa: E501
:type: str
"""
if country is None:
raise ValueError("Invalid value for `country`, must not be `None`") # noqa: E501

self._country = country

Expand All @@ -284,8 +284,6 @@ def state(self, state):
:param state: The state of this Tenant. # noqa: E501
:type: str
"""
if state is None:
raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501

self._state = state

Expand All @@ -309,8 +307,6 @@ def city(self, city):
:param city: The city of this Tenant. # noqa: E501
:type: str
"""
if city is None:
raise ValueError("Invalid value for `city`, must not be `None`") # noqa: E501

self._city = city

Expand All @@ -334,8 +330,6 @@ def address(self, address):
:param address: The address of this Tenant. # noqa: E501
:type: str
"""
if address is None:
raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501

self._address = address

Expand All @@ -359,8 +353,6 @@ def address2(self, address2):
:param address2: The address2 of this Tenant. # noqa: E501
:type: str
"""
if address2 is None:
raise ValueError("Invalid value for `address2`, must not be `None`") # noqa: E501

self._address2 = address2

Expand All @@ -384,8 +376,6 @@ def zip(self, zip):
:param zip: The zip of this Tenant. # noqa: E501
:type: str
"""
if zip is None:
raise ValueError("Invalid value for `zip`, must not be `None`") # noqa: E501

self._zip = zip

Expand All @@ -409,8 +399,6 @@ def phone(self, phone):
:param phone: The phone of this Tenant. # noqa: E501
:type: str
"""
if phone is None:
raise ValueError("Invalid value for `phone`, must not be `None`") # noqa: E501

self._phone = phone

Expand All @@ -434,8 +422,6 @@ def email(self, email):
:param email: The email of this Tenant. # noqa: E501
:type: str
"""
if email is None:
raise ValueError("Invalid value for `email`, must not be `None`") # noqa: E501

self._email = email

Expand Down
11 changes: 3 additions & 8 deletions tb_rest_client/models/models_pe/tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def title(self, title):
:type: str
"""

if title is None:
raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501

self._title = title

@property
Expand Down Expand Up @@ -259,8 +262,6 @@ def country(self, country):
:param country: The country of this Tenant. # noqa: E501
:type: str
"""
if country is None:
raise ValueError("Invalid value for `country`, must not be `None`") # noqa: E501

self._country = country

Expand All @@ -284,8 +285,6 @@ def state(self, state):
:param state: The state of this Tenant. # noqa: E501
:type: str
"""
if state is None:
raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501

self._state = state

Expand All @@ -309,8 +308,6 @@ def city(self, city):
:param city: The city of this Tenant. # noqa: E501
:type: str
"""
if city is None:
raise ValueError("Invalid value for `city`, must not be `None`") # noqa: E501

self._city = city

Expand All @@ -334,8 +331,6 @@ def address(self, address):
:param address: The address of this Tenant. # noqa: E501
:type: str
"""
if address is None:
raise ValueError("Invalid value for `address`, must not be `None`") # noqa: E501

self._address = address

Expand Down