# 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 CatalogsLocale(str, Enum):
    """
    CatalogsLocale
    """

    """
    allowed enum values
    """
    AF_MINUS_ZA = 'af-ZA'
    AR_MINUS_SA = 'ar-SA'
    BG_MINUS_BG = 'bg-BG'
    BN_MINUS_IN = 'bn-IN'
    CS_MINUS_CZ = 'cs-CZ'
    DA_MINUS_DK = 'da-DK'
    DE = 'de'
    EL_MINUS_GR = 'el-GR'
    EN_MINUS_AU = 'en-AU'
    EN_MINUS_CA = 'en-CA'
    EN_MINUS_GB = 'en-GB'
    EN_MINUS_IN = 'en-IN'
    EN_MINUS_US = 'en-US'
    ES_MINUS_419 = 'es-419'
    ES_MINUS_AR = 'es-AR'
    ES_MINUS_ES = 'es-ES'
    ES_MINUS_MX = 'es-MX'
    FI_MINUS_FI = 'fi-FI'
    FR = 'fr'
    FR_MINUS_CA = 'fr-CA'
    HE_MINUS_IL = 'he-IL'
    HI_MINUS_IN = 'hi-IN'
    HR_MINUS_HR = 'hr-HR'
    HU_MINUS_HU = 'hu-HU'
    ID_MINUS_ID = 'id-ID'
    IT = 'it'
    JA = 'ja'
    KO_MINUS_KR = 'ko-KR'
    MS_MINUS_MY = 'ms-MY'
    NB_MINUS_NO = 'nb-NO'
    NL = 'nl'
    PL_MINUS_PL = 'pl-PL'
    PT_MINUS_BR = 'pt-BR'
    PT_MINUS_PT = 'pt-PT'
    RO_MINUS_RO = 'ro-RO'
    RU_MINUS_RU = 'ru-RU'
    SK_MINUS_SK = 'sk-SK'
    SV_MINUS_SE = 'sv-SE'
    TE_MINUS_IN = 'te-IN'
    TH_MINUS_TH = 'th-TH'
    TL_MINUS_PH = 'tl-PH'
    TR = 'tr'
    UK_MINUS_UA = 'uk-UA'
    VI_MINUS_VN = 'vi-VN'
    ZH_MINUS_CN = 'zh-CN'
    ZH_MINUS_TW = 'zh-TW'

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


