# coding: utf-8

"""
    Nuon

    API for managing nuon apps, components, and installs.

    The version of the OpenAPI document: 0.19.216
    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 AppRunnerJobType(str, Enum):
    """
    AppRunnerJobType
    """

    """
    allowed enum values
    """
    HEALTH_MINUS_CHECK = 'health-check'
    DOCKER_MINUS_BUILD = 'docker-build'
    CONTAINER_MINUS_IMAGE_MINUS_BUILD = 'container-image-build'
    TERRAFORM_MINUS_MODULE_MINUS_BUILD = 'terraform-module-build'
    HELM_MINUS_CHART_MINUS_BUILD = 'helm-chart-build'
    NOOP_MINUS_BUILD = 'noop-build'
    OCI_MINUS_SYNC = 'oci-sync'
    NOOP_MINUS_SYNC = 'noop-sync'
    TERRAFORM_MINUS_DEPLOY = 'terraform-deploy'
    HELM_MINUS_CHART_MINUS_DEPLOY = 'helm-chart-deploy'
    JOB_MINUS_DEPLOY = 'job-deploy'
    NOOP_MINUS_DEPLOY = 'noop-deploy'
    SHUT_MINUS_DOWN = 'shut-down'
    NOOP = 'noop'
    SANDBOX_MINUS_TERRAFORM = 'sandbox-terraform'
    RUNNER_MINUS_HELM = 'runner-helm'
    RUNNER_MINUS_TERRAFORM = 'runner-terraform'
    RUNNER_MINUS_LOCAL = 'runner-local'

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


