Announcement_Service/gen/openapi_server/models/user.py

62 lines
1.6 KiB
Python

from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from openapi_server.models.base_model import Model
from openapi_server import util
class User(Model):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
"""
def __init__(self, last_note_checked=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
"""
self.openapi_types = {
'last_note_checked': str
}
self.attribute_map = {
'last_note_checked': 'lastNoteChecked'
}
self._last_note_checked = last_note_checked
@classmethod
def from_dict(cls, dikt) -> 'User':
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The user of this User. # noqa: E501
:rtype: User
"""
return util.deserialize_model(dikt, cls)
@property
def last_note_checked(self) -> str:
"""Gets the last_note_checked of this User.
:return: The last_note_checked of this User.
:rtype: str
"""
return self._last_note_checked
@last_note_checked.setter
def last_note_checked(self, last_note_checked: str):
"""Sets the last_note_checked of this User.
:param last_note_checked: The last_note_checked of this User.
:type last_note_checked: str
"""
self._last_note_checked = last_note_checked