# coding: utf-8

"""
    Pinterest REST API

    Pinterest's REST API

    The version of the OpenAPI document: 5.23.0
    Contact: blah+oapicf@cliffano.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class TrendsSupportedRegion(str, Enum):
    """
    TrendsSupportedRegion
    """

    """
    allowed enum values
    """
    US = 'US'
    CA = 'CA'
    DE = 'DE'
    FR = 'FR'
    ES = 'ES'
    IT = 'IT'
    DE_PLUS_AT_PLUS_CH = 'DE+AT+CH'
    GB_PLUS_IE = 'GB+IE'
    IT_PLUS_ES_PLUS_PT_PLUS_GR_PLUS_MT = 'IT+ES+PT+GR+MT'
    PL_PLUS_RO_PLUS_HU_PLUS_SK_PLUS_CZ = 'PL+RO+HU+SK+CZ'
    SE_PLUS_DK_PLUS_FI_PLUS_NO = 'SE+DK+FI+NO'
    NL_PLUS_BE_PLUS_LU = 'NL+BE+LU'
    AR = 'AR'
    BR = 'BR'
    CO = 'CO'
    MX = 'MX'
    MX_PLUS_AR_PLUS_CO_PLUS_CL = 'MX+AR+CO+CL'
    AU_PLUS_NZ = 'AU+NZ'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of TrendsSupportedRegion from a JSON string"""
        return cls(json.loads(json_str))


