# 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 TapiPhotonicMediaAdjustmentGranularity(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    G_100GHZ = "G_100GHZ"
    G_50GHZ = "G_50GHZ"
    G_25GHZ = "G_25GHZ"
    G_12_5GHZ = "G_12_5GHZ"
    G_6_25GHZ = "G_6_25GHZ"
    G_3_125GHZ = "G_3_125GHZ"
    UNCONSTRAINED = "UNCONSTRAINED"

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

        """
        self.openapi_types = {
        }

        self.attribute_map = {
        }

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

        :param dikt: A dict.
        :type: dict
        :return: The tapi.photonic.media.AdjustmentGranularity of this TapiPhotonicMediaAdjustmentGranularity.  # noqa: E501
        :rtype: TapiPhotonicMediaAdjustmentGranularity
        """
        return util.deserialize_model(dikt, cls)
