# coding: utf-8

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

from typing import List, Dict  # noqa: F401

from capif_routing_info.models.base_model_ import Model
from capif_routing_info import util


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

    Do not edit the class manually.
    """

    """
    allowed enum values
    """
    _1_1 = "HTTP_1_1"
    _2 = "HTTP_2"
    def __init__(self):  # noqa: E501
        """ProtocolAnyOf - a model defined in OpenAPI

        """
        self.openapi_types = {
        }

        self.attribute_map = {
        }

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

        :param dikt: A dict.
        :type: dict
        :return: The Protocol_anyOf of this ProtocolAnyOf.  # noqa: E501
        :rtype: ProtocolAnyOf
        """
        return util.deserialize_model(dikt, cls)
