|
@@ -104,9 +104,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param id: The id of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if id is None:
|
|
|
- raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._id = id
|
|
|
|
|
|
@property
|
|
@@ -129,9 +126,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param date_first: The date_first of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: date
|
|
|
"""
|
|
|
- if date_first is None:
|
|
|
- raise ValueError("Invalid value for `date_first`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._date_first = date_first
|
|
|
|
|
|
@property
|
|
@@ -154,9 +148,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param date_next: The date_next of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: date
|
|
|
"""
|
|
|
- if date_next is None:
|
|
|
- raise ValueError("Invalid value for `date_next`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._date_next = date_next
|
|
|
|
|
|
@property
|
|
@@ -177,15 +168,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param frequency: The frequency of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if frequency is None:
|
|
|
- raise ValueError("Invalid value for `frequency`, must not be `None`") # noqa: E501
|
|
|
- allowed_values = ["never", "daily", "weekly", "everyOtherWeek", "twiceAMonth", "every4Weeks", "monthly", "everyOtherMonth", "every3Months", "every4Months", "twiceAYear", "yearly", "everyOtherYear"] # noqa: E501
|
|
|
- if frequency not in allowed_values:
|
|
|
- raise ValueError(
|
|
|
- "Invalid value for `frequency` ({0}), must be one of {1}" # noqa: E501
|
|
|
- .format(frequency, allowed_values)
|
|
|
- )
|
|
|
-
|
|
|
self._frequency = frequency
|
|
|
|
|
|
@property
|
|
@@ -208,9 +190,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param amount: The amount of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: float
|
|
|
"""
|
|
|
- if amount is None:
|
|
|
- raise ValueError("Invalid value for `amount`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._amount = amount
|
|
|
|
|
|
@property
|
|
@@ -231,9 +210,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param memo: The memo of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if memo is None:
|
|
|
- raise ValueError("Invalid value for `memo`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._memo = memo
|
|
|
|
|
|
@property
|
|
@@ -256,14 +232,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param flag_color: The flag_color of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if flag_color is None:
|
|
|
- raise ValueError("Invalid value for `flag_color`, must not be `None`") # noqa: E501
|
|
|
- allowed_values = ["red", "orange", "yellow", "green", "blue", "purple"] # noqa: E501
|
|
|
- if flag_color not in allowed_values:
|
|
|
- raise ValueError(
|
|
|
- "Invalid value for `flag_color` ({0}), must be one of {1}" # noqa: E501
|
|
|
- .format(flag_color, allowed_values)
|
|
|
- )
|
|
|
|
|
|
self._flag_color = flag_color
|
|
|
|
|
@@ -285,9 +253,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param account_id: The account_id of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if account_id is None:
|
|
|
- raise ValueError("Invalid value for `account_id`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._account_id = account_id
|
|
|
|
|
|
@property
|
|
@@ -308,9 +273,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param payee_id: The payee_id of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if payee_id is None:
|
|
|
- raise ValueError("Invalid value for `payee_id`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._payee_id = payee_id
|
|
|
|
|
|
@property
|
|
@@ -331,9 +293,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param category_id: The category_id of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if category_id is None:
|
|
|
- raise ValueError("Invalid value for `category_id`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._category_id = category_id
|
|
|
|
|
|
@property
|
|
@@ -356,9 +315,6 @@ class ScheduledTransactionSummary(object):
|
|
|
:param transfer_account_id: The transfer_account_id of this ScheduledTransactionSummary. # noqa: E501
|
|
|
:type: str
|
|
|
"""
|
|
|
- if transfer_account_id is None:
|
|
|
- raise ValueError("Invalid value for `transfer_account_id`, must not be `None`") # noqa: E501
|
|
|
-
|
|
|
self._transfer_account_id = transfer_account_id
|
|
|
|
|
|
def to_dict(self):
|