3 from __future__ import absolute_import
4 from datetime import date, datetime # noqa: F401
6 from typing import List, Dict # noqa: F401
11 def __init__(self, enforce_status: str=None, enforce_reason: str=None): # noqa: E501
14 :param enforce_status: The enforce_status of this EnforceStatus. # noqa: E501
15 :type enforce_status: str
16 :param enforce_reason: The enforce_reason of this EnforceStatus. # noqa: E501
17 :type enforce_reason: str
19 self._enforce_status = enforce_status
20 self._enforce_reason = enforce_reason
23 def enforce_status(self) -> str:
24 """Gets the enforce_status of this EnforceStatus.
26 :return: The enforce_status of this EnforceStatus.
29 return self._enforce_status
31 @enforce_status.setter
32 def enforce_status(self, enforce_status: str):
33 """Sets the enforce_status of this EnforceStatus.
35 :param enforce_status: The enforce_status of this EnforceStatus.
36 :type enforce_status: str
38 allowed_values = ["ENFORCED", "NOT_ENFORCED"] # noqa: E501
39 if enforce_status not in allowed_values:
41 "Invalid value for `enforce_status` ({0}), must be one of {1}"
42 .format(enforce_status, allowed_values)
45 self._enforce_status = enforce_status
48 def enforce_reason(self) -> str:
49 """Gets the enforce_reason of this EnforceStatus.
51 :return: The enforce_reason of this EnforceStatus.
54 return self._enforce_reason
56 @enforce_reason.setter
57 def enforce_reason(self, enforce_reason: str):
58 """Sets the enforce_reason of this EnforceStatus.
60 :param enforce_reason: The enforce_reason of this EnforceStatus.
61 :type enforce_reason: str
63 allowed_values = ["SCOPE_NOT_APPLICABLE", "STATEMENT_NOT_APPLICABLE", "OTHER_REASON"] # noqa: E501
64 if enforce_reason not in allowed_values:
66 "Invalid value for `enforce_reason` ({0}), must be one of {1}"
67 .format(enforce_reason, allowed_values)
70 self._enforce_reason = enforce_reason
73 """Returns the model properties as a dict
78 'enforceStatus': self._enforce_status,
79 'enforceReason': self._enforce_reason