init commit
This commit is contained in:
@@ -12,21 +12,21 @@ class User(Model):
|
||||
Do not edit the class manually.
|
||||
"""
|
||||
|
||||
def __init__(self, last_note_checked=None): # noqa: E501
|
||||
def __init__(self, last_seen_date=None): # noqa: E501
|
||||
"""User - a model defined in OpenAPI
|
||||
|
||||
:param last_note_checked: The last_note_checked of this User. # noqa: E501
|
||||
:type last_note_checked: str
|
||||
:param last_seen_date: The last_seen_date of this User. # noqa: E501
|
||||
:type last_seen_date: date
|
||||
"""
|
||||
self.openapi_types = {
|
||||
'last_note_checked': str
|
||||
'last_seen_date': date
|
||||
}
|
||||
|
||||
self.attribute_map = {
|
||||
'last_note_checked': 'lastNoteChecked'
|
||||
'last_seen_date': 'lastSeenDate'
|
||||
}
|
||||
|
||||
self._last_note_checked = last_note_checked
|
||||
self._last_seen_date = last_seen_date
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls, dikt) -> 'User':
|
||||
@@ -40,22 +40,22 @@ class User(Model):
|
||||
return util.deserialize_model(dikt, cls)
|
||||
|
||||
@property
|
||||
def last_note_checked(self) -> str:
|
||||
"""Gets the last_note_checked of this User.
|
||||
def last_seen_date(self) -> date:
|
||||
"""Gets the last_seen_date of this User.
|
||||
|
||||
|
||||
:return: The last_note_checked of this User.
|
||||
:rtype: str
|
||||
:return: The last_seen_date of this User.
|
||||
:rtype: date
|
||||
"""
|
||||
return self._last_note_checked
|
||||
return self._last_seen_date
|
||||
|
||||
@last_note_checked.setter
|
||||
def last_note_checked(self, last_note_checked: str):
|
||||
"""Sets the last_note_checked of this User.
|
||||
@last_seen_date.setter
|
||||
def last_seen_date(self, last_seen_date: date):
|
||||
"""Sets the last_seen_date of this User.
|
||||
|
||||
|
||||
:param last_note_checked: The last_note_checked of this User.
|
||||
:type last_note_checked: str
|
||||
:param last_seen_date: The last_seen_date of this User.
|
||||
:type last_seen_date: date
|
||||
"""
|
||||
|
||||
self._last_note_checked = last_note_checked
|
||||
self._last_seen_date = last_seen_date
|
||||
|
||||
Reference in New Issue
Block a user