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

    """
    allowed enum values
    """
    ALL = 'ALL'
    ANIMALS = 'ANIMALS'
    ARCHITECTURE = 'ARCHITECTURE'
    ART = 'ART'
    BEAUTY = 'BEAUTY'
    DIY_AND_CRAFTS = 'DIY_AND_CRAFTS'
    EDUCATION = 'EDUCATION'
    EVENT_PLANNING = 'EVENT_PLANNING'
    FASHION = 'FASHION'
    FOOD_AND_DRINKS = 'FOOD_AND_DRINKS'
    GARDENING = 'GARDENING'
    HEALTH = 'HEALTH'
    HOME_DECOR = 'HOME_DECOR'
    PARENTING = 'PARENTING'
    TRAVEL = 'TRAVEL'
    WEDDING = 'WEDDING'

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


