Source code for arize._generated.api_client.models.user_status

# coding: utf-8

"""
    Arize REST API

    API specification for the backend data server. The API is hosted globally at https://api.arize.com/v2 or in your own environment. 

    The version of the OpenAPI document: 2.0.0
    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


[docs] class UserStatus(str, Enum): """ Current status of the user in the account. - `active`: User has verified their email and can access the platform. - `invited`: User has been invited and their verification token is still valid. - `expired`: User was invited but their verification token has expired or is missing. A new invite is required. """ """ allowed enum values """ ACTIVE = 'active' INVITED = 'invited' EXPIRED = 'expired'
[docs] @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of UserStatus from a JSON string""" return cls(json.loads(json_str))