Ignore:
Timestamp:
May 1, 2019, 3:55:35 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
1e7f556
Parents:
be25db1
Message:

Adding waters is working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/src-gen/openapi_server/models/water_creation.py

    rbe25db1 r041e464  
    99from openapi_server import util
    1010
     11from openapi_server.models.osm_type import OsmType  # noqa: E501
    1112
    1213class WaterCreation(Model):
    … …  
    2425        :type osm_id: int
    2526        :param osm_type: The osm_type of this WaterCreation.  # noqa: E501
    26         :type osm_type: str
     27        :type osm_type: OsmType
    2728        """
    2829        self.openapi_types = {
    2930            'name': str,
    3031            'osm_id': int,
    31             'osm_type': str
     32            'osm_type': OsmType
    3233        }
    3334
    … …  
    103104
    104105        :return: The osm_type of this WaterCreation.
    105         :rtype: str
     106        :rtype: OsmType
    106107        """
    107108        return self._osm_type
    … …  
    113114
    114115        :param osm_type: The osm_type of this WaterCreation.
    115         :type osm_type: str
     116        :type osm_type: OsmType
    116117        """
    117         if osm_type is not None and len(osm_type) > 1:
    118             raise ValueError("Invalid value for `osm_type`, length must be less than or equal to `1`")  # noqa: E501
    119         if osm_type is not None and len(osm_type) < 1:
    120             raise ValueError("Invalid value for `osm_type`, length must be greater than or equal to `1`")  # noqa: E501
    121118
    122119        self._osm_type = osm_type
Note: See TracChangeset for help on using the changeset viewer.