Beispiel #1
0
    def __init__(self,
                 username=None,
                 first_name=None,
                 last_name=None,
                 email=None,
                 password=None,
                 local_vars_configuration=None):  # noqa: E501
        """User - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._username = None
        self._first_name = None
        self._last_name = None
        self._email = None
        self._password = None
        self.discriminator = None

        if username is not None:
            self.username = username
        if first_name is not None:
            self.first_name = first_name
        if last_name is not None:
            self.last_name = last_name
        if email is not None:
            self.email = email
        if password is not None:
            self.password = password
Beispiel #2
0
    def __init__(self,
                 id=None,
                 state=None,
                 accommodation=None,
                 occupant_count=None,
                 local_vars_configuration=None):  # noqa: E501
        """Order - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._state = None
        self._accommodation = None
        self._occupant_count = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if state is not None:
            self.state = state
        if accommodation is not None:
            self.accommodation = accommodation
        if occupant_count is not None:
            self.occupant_count = occupant_count
Beispiel #3
0
    def __init__(self,
                 id=None,
                 author=None,
                 rating=None,
                 content=None,
                 created_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """RatingReply - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._author = None
        self._rating = None
        self._content = None
        self._created_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if author is not None:
            self.author = author
        if rating is not None:
            self.rating = rating
        if content is not None:
            self.content = content
        if created_at is not None:
            self.created_at = created_at
Beispiel #4
0
    def __init__(self, id=None, local_vars_configuration=None):  # noqa: E501
        """IdValue - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self.discriminator = None

        if id is not None:
            self.id = id
Beispiel #5
0
    def __init__(self,
                 token=None,
                 local_vars_configuration=None):  # noqa: E501
        """AuthToken - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._token = None
        self.discriminator = None

        if token is not None:
            self.token = token
    def __init__(self, average=None, count=None, ratings=None, local_vars_configuration=None):  # noqa: E501
        """AccommodationRating - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._average = None
        self._count = None
        self._ratings = None
        self.discriminator = None

        if average is not None:
            self.average = average
        if count is not None:
            self.count = count
        if ratings is not None:
            self.ratings = ratings
Beispiel #7
0
    def __init__(self,
                 accommodation=None,
                 booking=None,
                 local_vars_configuration=None):  # noqa: E501
        """Body - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._accommodation = None
        self._booking = None
        self.discriminator = None

        if accommodation is not None:
            self.accommodation = accommodation
        if booking is not None:
            self.booking = booking
Beispiel #8
0
    def __init__(self,
                 location_id=None,
                 occupants=None,
                 local_vars_configuration=None):  # noqa: E501
        """Filter - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._location_id = None
        self._occupants = None
        self.discriminator = None

        if location_id is not None:
            self.location_id = location_id
        if occupants is not None:
            self.occupants = occupants
Beispiel #9
0
    def __init__(self,
                 username=None,
                 password=None,
                 local_vars_configuration=None):  # noqa: E501
        """AuthRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._username = None
        self._password = None
        self.discriminator = None

        if username is not None:
            self.username = username
        if password is not None:
            self.password = password
Beispiel #10
0
    def __init__(self, token=None, user_id=None, expires_at=None, local_vars_configuration=None):  # noqa: E501
        """AuthResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._token = None
        self._user_id = None
        self._expires_at = None
        self.discriminator = None

        if token is not None:
            self.token = token
        if user_id is not None:
            self.user_id = user_id
        if expires_at is not None:
            self.expires_at = expires_at
Beispiel #11
0
    def __init__(self,
                 id=None,
                 title=None,
                 description=None,
                 images=None,
                 location=None,
                 occupant_count=None,
                 rating=None,
                 local_vars_configuration=None):  # noqa: E501
        """Accommodation - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._title = None
        self._description = None
        self._images = None
        self._location = None
        self._occupant_count = None
        self._rating = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if title is not None:
            self.title = title
        if description is not None:
            self.description = description
        if images is not None:
            self.images = images
        if location is not None:
            self.location = location
        if occupant_count is not None:
            self.occupant_count = occupant_count
        if rating is not None:
            self.rating = rating