- Timestamp:
- May 1, 2019, 3:55:35 PM (8 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 1e7f556
- Parents:
- be25db1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice/src-gen/openapi_server/models/water_creation.py
rbe25db1 r041e464 9 9 from openapi_server import util 10 10 11 from openapi_server.models.osm_type import OsmType # noqa: E501 11 12 12 13 class WaterCreation(Model): … … 24 25 :type osm_id: int 25 26 :param osm_type: The osm_type of this WaterCreation. # noqa: E501 26 :type osm_type: str27 :type osm_type: OsmType 27 28 """ 28 29 self.openapi_types = { 29 30 'name': str, 30 31 'osm_id': int, 31 'osm_type': str32 'osm_type': OsmType 32 33 } 33 34 … … 103 104 104 105 :return: The osm_type of this WaterCreation. 105 :rtype: str106 :rtype: OsmType 106 107 """ 107 108 return self._osm_type … … 113 114 114 115 :param osm_type: The osm_type of this WaterCreation. 115 :type osm_type: str116 :type osm_type: OsmType 116 117 """ 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: E501119 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: E501121 118 122 119 self._osm_type = osm_type
Note:
See TracChangeset
for help on using the changeset viewer.
