# coding: utf-8

"""
    Nuon

    API for managing nuon apps, components, and installs.

    The version of the OpenAPI document: 0.19.209
    Contact: support@nuon.co
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


from __future__ import annotations
import json
import pprint
import re  # noqa: F401
from enum import Enum



try:
    from typing import Self
except ImportError:
    from typing_extensions import Self


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

    """
    allowed enum values
    """
    TERRAFORM_MODULE = 'terraform_module'
    HELM_CHART = 'helm_chart'
    DOCKER_BUILD = 'docker_build'
    EXTERNAL_IMAGE = 'external_image'
    JOB = 'job'
    UNKNOWN = 'unknown'

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


