# coding: utf-8

"""
    Lightly API

    Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai  # noqa: E501

    The version of the OpenAPI document: 1.0.0
    Contact: support@lightly.ai
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""


import json
import pprint
import re  # noqa: F401
from enum import Enum
from aenum import no_arg  # type: ignore





class DatasourcePurpose(str, Enum):
    """
    The datasource purpose and for which use-cases it is needed. - INPUT_OUTPUT: Is used as source of raw data and predictions/metadata within .lightly as well as destination for writing thumbnails, crops or video frame within .lightly - INPUT: Is only used as source of raw data - LIGHTLY: Is used as source of predictions/metadata within .lightly as well as destination for writing thumbnails, crops or video frames within .lightly 
    """

    """
    allowed enum values
    """
    INPUT_OUTPUT = 'INPUT_OUTPUT'
    INPUT = 'INPUT'
    LIGHTLY = 'LIGHTLY'

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


