<reponame>arthurMll/TAPI
# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from tapi_server.models.base_model_ import Model
from tapi_server import util


class TapiCommonTimeUnit(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    YEARS = "YEARS"
    MONTHS = "MONTHS"
    DAYS = "DAYS"
    HOURS = "HOURS"
    MINUTES = "MINUTES"
    SECONDS = "SECONDS"
    MILLISECONDS = "MILLISECONDS"
    MICROSECONDS = "MICROSECONDS"
    NANOSECONDS = "NANOSECONDS"
    PICOSECONDS = "PICOSECONDS"

    def __init__(self):  # noqa: E501
        """TapiCommonTimeUnit - a model defined in OpenAPI

        """
        self.openapi_types = {
        }

        self.attribute_map = {
        }

    @classmethod
    def from_dict(cls, dikt) -> 'TapiCommonTimeUnit':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The tapi.common.TimeUnit of this TapiCommonTimeUnit.  # noqa: E501
        :rtype: TapiCommonTimeUnit
        """
        return util.deserialize_model(dikt, cls)

# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from tapi_server.models.base_model_ import Model
from tapi_server import util


class TapiCommonTimeUnit(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    YEARS = "YEARS"
    MONTHS = "MONTHS"
    DAYS = "DAYS"
    HOURS = "HOURS"
    MINUTES = "MINUTES"
    SECONDS = "SECONDS"
    MILLISECONDS = "MILLISECONDS"
    MICROSECONDS = "MICROSECONDS"
    NANOSECONDS = "NANOSECONDS"
    PICOSECONDS = "PICOSECONDS"

    def __init__(self):  # noqa: E501
        """TapiCommonTimeUnit - a model defined in OpenAPI

        """
        self.openapi_types = {
        }

        self.attribute_map = {
        }

    @classmethod
    def from_dict(cls, dikt) -> 'TapiCommonTimeUnit':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The tapi.common.TimeUnit of this TapiCommonTimeUnit.  # noqa: E501
        :rtype: TapiCommonTimeUnit
        """
        return util.deserialize_model(dikt, cls)
# coding: utf-8 # noqa: F401 # noqa: F401 NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).      Do not edit the class manually. allowed enum values # noqa: E501 TapiCommonTimeUnit - a model defined in OpenAPI Returns the dict as a model          :param dikt: A dict.         :type: dict         :return: The tapi.common.TimeUnit of this TapiCommonTimeUnit.  # noqa: E501         :rtype: TapiCommonTimeUnit