diff --git a/tb_rest_client/models/models_ce/tenant.py b/tb_rest_client/models/models_ce/tenant.py index 878a5bfa..75c8f6e8 100644 --- a/tb_rest_client/models/models_ce/tenant.py +++ b/tb_rest_client/models/models_ce/tenant.py @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/tb_rest_client/models/models_pe/tenant.py b/tb_rest_client/models/models_pe/tenant.py index 6dd58715..980d5599 100644 --- a/tb_rest_client/models/models_pe/tenant.py +++ b/tb_rest_client/models/models_pe/tenant.py @@ -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 @@ -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 @@ -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 @@ -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 @@ -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