debian/bullseye
|
Last change
on this file since 4d83fdc was 5e4cb73, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago |
|
Refactored mapservice
- mapservice is a connexion python webservice with openapi defined api
- mapservice-webclient is a angular app, consuming the openapi webservice mapservice
|
-
Property mode
set to
100644
|
|
File size:
943 bytes
|
| Line | |
|---|
| 1 | # coding: utf-8
|
|---|
| 2 |
|
|---|
| 3 | from __future__ import absolute_import
|
|---|
| 4 | from datetime import date, datetime # noqa: F401
|
|---|
| 5 |
|
|---|
| 6 | from typing import List, Dict # noqa: F401
|
|---|
| 7 |
|
|---|
| 8 | from openapi_server.models.base_model_ import Model
|
|---|
| 9 | from openapi_server import util
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | class Order(Model):
|
|---|
| 13 | """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|---|
| 14 |
|
|---|
| 15 | Do not edit the class manually.
|
|---|
| 16 | """
|
|---|
| 17 |
|
|---|
| 18 | """
|
|---|
| 19 | allowed enum values
|
|---|
| 20 | """
|
|---|
| 21 | DESC = "desc"
|
|---|
| 22 | ASC = "asc"
|
|---|
| 23 |
|
|---|
| 24 | def __init__(self): # noqa: E501
|
|---|
| 25 | """Order - a model defined in OpenAPI
|
|---|
| 26 |
|
|---|
| 27 | """
|
|---|
| 28 | self.openapi_types = {
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | self.attribute_map = {
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | @classmethod
|
|---|
| 35 | def from_dict(cls, dikt) -> 'Order':
|
|---|
| 36 | """Returns the dict as a model
|
|---|
| 37 |
|
|---|
| 38 | :param dikt: A dict.
|
|---|
| 39 | :type: dict
|
|---|
| 40 | :return: The order of this Order. # noqa: E501
|
|---|
| 41 | :rtype: Order
|
|---|
| 42 | """
|
|---|
| 43 | return util.deserialize_model(dikt, cls)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.