# coding: utf-8

"""
    ibl-data-manager

    API for iblai

    The version of the OpenAPI document: 4.202.1-ai-plus
    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 Type840Enum(str, Enum):
    """
    * `ADMIN_NOTIF_COURSE_ENROLLMENT` - Admin Notif Course Enrollment * `APP_REGISTRATION` - App Registration * `COURSE_INVITATION` - Course Invitation * `COURSE_LICENSE_ASSIGNMENT` - Course License Assignment * `COURSE_LICENSE_GROUP_ASSIGNMENT` - Course License Group Assignment * `CUSTOM_NOTIFICATION` - Custom Notification * `DEFAULT_TEMPLATE` - Default Template * `HUMAN_SUPPORT_NOTIFICATION` - Human Support Notification * `PLATFORM_INVITATION` - Platform Invitation * `POLICY_ASSIGNMENT` - Policy Assignment * `PROACTIVE_LEARNER_NOTIFICATION` - Proactive Learner Notification * `PROGRAM_INVITATION` - Program Invitation * `PROGRAM_LICENSE_ASSIGNMENT` - Program License Assignment * `PROGRAM_LICENSE_GROUP_ASSIGNMENT` - Program License Group Assignment * `REPORT_COMPLETED` - Report Completed * `ROLE_CHANGE` - Role Change * `USER_LICENSE_ASSIGNMENT` - User License Assignment * `USER_LICENSE_GROUP_ASSIGNMENT` - User License Group Assignment * `USER_NOTIF_COURSE_COMPLETION` - User Notif Course Completion * `USER_NOTIF_COURSE_ENROLLMENT` - User Notif Course Enrollment * `USER_NOTIF_CREDENTIALS` - User Notif Credentials * `USER_NOTIF_LEARNER_PROGRESS` - User Notif Learner Progress * `USER_NOTIF_USER_INACTIVITY` - User Notif User Inactivity * `USER_NOTIF_USER_REGISTRATION` - User Notif User Registration
    """

    """
    allowed enum values
    """
    ADMIN_NOTIF_COURSE_ENROLLMENT = 'ADMIN_NOTIF_COURSE_ENROLLMENT'
    APP_REGISTRATION = 'APP_REGISTRATION'
    COURSE_INVITATION = 'COURSE_INVITATION'
    COURSE_LICENSE_ASSIGNMENT = 'COURSE_LICENSE_ASSIGNMENT'
    COURSE_LICENSE_GROUP_ASSIGNMENT = 'COURSE_LICENSE_GROUP_ASSIGNMENT'
    CUSTOM_NOTIFICATION = 'CUSTOM_NOTIFICATION'
    DEFAULT_TEMPLATE = 'DEFAULT_TEMPLATE'
    HUMAN_SUPPORT_NOTIFICATION = 'HUMAN_SUPPORT_NOTIFICATION'
    PLATFORM_INVITATION = 'PLATFORM_INVITATION'
    POLICY_ASSIGNMENT = 'POLICY_ASSIGNMENT'
    PROACTIVE_LEARNER_NOTIFICATION = 'PROACTIVE_LEARNER_NOTIFICATION'
    PROGRAM_INVITATION = 'PROGRAM_INVITATION'
    PROGRAM_LICENSE_ASSIGNMENT = 'PROGRAM_LICENSE_ASSIGNMENT'
    PROGRAM_LICENSE_GROUP_ASSIGNMENT = 'PROGRAM_LICENSE_GROUP_ASSIGNMENT'
    REPORT_COMPLETED = 'REPORT_COMPLETED'
    ROLE_CHANGE = 'ROLE_CHANGE'
    USER_LICENSE_ASSIGNMENT = 'USER_LICENSE_ASSIGNMENT'
    USER_LICENSE_GROUP_ASSIGNMENT = 'USER_LICENSE_GROUP_ASSIGNMENT'
    USER_NOTIF_COURSE_COMPLETION = 'USER_NOTIF_COURSE_COMPLETION'
    USER_NOTIF_COURSE_ENROLLMENT = 'USER_NOTIF_COURSE_ENROLLMENT'
    USER_NOTIF_CREDENTIALS = 'USER_NOTIF_CREDENTIALS'
    USER_NOTIF_LEARNER_PROGRESS = 'USER_NOTIF_LEARNER_PROGRESS'
    USER_NOTIF_USER_INACTIVITY = 'USER_NOTIF_USER_INACTIVITY'
    USER_NOTIF_USER_REGISTRATION = 'USER_NOTIF_USER_REGISTRATION'

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


