# 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 DataStatus(str, Enum):
    """
    Metrics availablity, e.g., \"READY\".
    """

    """
    allowed enum values
    """
    PROCESSING = 'PROCESSING'
    READY = 'READY'
    ESTIMATE = 'ESTIMATE'
    BEFORE_BUSINESS_CREATED = 'BEFORE_BUSINESS_CREATED'
    BEFORE_DATA_RETENTION_PERIOD = 'BEFORE_DATA_RETENTION_PERIOD'
    BEFORE_PIN_DATA_RETENTION_PERIOD = 'BEFORE_PIN_DATA_RETENTION_PERIOD'
    BEFORE_METRIC_START_DATE = 'BEFORE_METRIC_START_DATE'
    BEFORE_CORE_METRIC_START_DATE = 'BEFORE_CORE_METRIC_START_DATE'
    BEFORE_PIN_FORMAT_METRIC_START_DATE = 'BEFORE_PIN_FORMAT_METRIC_START_DATE'
    BEFORE_AUDIENCE_METRIC_START_DATE = 'BEFORE_AUDIENCE_METRIC_START_DATE'
    BEFORE_AUDIENCE_MONTHLY_METRIC_START_DATE = 'BEFORE_AUDIENCE_MONTHLY_METRIC_START_DATE'
    BEFORE_VIDEO_METRIC_START_DATE = 'BEFORE_VIDEO_METRIC_START_DATE'
    BEFORE_CONVERSION_METRIC_START_DATE = 'BEFORE_CONVERSION_METRIC_START_DATE'
    PURCHASERS_METRIC_SMALLER_THAN_THRESHOLD = 'PURCHASERS_METRIC_SMALLER_THAN_THRESHOLD'
    IN_BAD_TAG_DATE = 'IN_BAD_TAG_DATE'
    BEFORE_PUBLISHED_METRIC_START_DATE = 'BEFORE_PUBLISHED_METRIC_START_DATE'
    BEFORE_ASSIST_METRIC_START_DATE = 'BEFORE_ASSIST_METRIC_START_DATE'
    BEFORE_PIN_CREATED = 'BEFORE_PIN_CREATED'
    BEFORE_ACCOUNT_CLAIMED = 'BEFORE_ACCOUNT_CLAIMED'
    BEFORE_DEMOGRAPHIC_FILTERS_START_DATE = 'BEFORE_DEMOGRAPHIC_FILTERS_START_DATE'
    AUDIENCE_SEGMENT_SMALLER_THAN_THRESHOLD = 'AUDIENCE_SEGMENT_SMALLER_THAN_THRESHOLD'
    AUDIENCE_TOTAL_SMALLER_THAN_THRESHOLD = 'AUDIENCE_TOTAL_SMALLER_THAN_THRESHOLD'
    BEFORE_PRODUCT_GROUP_FILTER_START_DATE = 'BEFORE_PRODUCT_GROUP_FILTER_START_DATE'

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


