# coding: utf-8

"""
    Pinterest REST API

    Pinterest's REST API

    The version of the OpenAPI document: 5.23.0
    Contact: blah+oapicf@cliffano.com
    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 BusinessRole(str, Enum):
    """
    The access level a member/partner has to the business. Values are case-sensitive. <br> - EMPLOYEE: Can only view and access assets you assign to them. They cannot see details about other employees, partners, or other assets. <br> - BIZ_ADMIN: Have full control of roles and can add employees and partners as well as grant asset access. <br> - PARTNER: Can only view and access assets you assign them to/or they assign to you.
    """

    """
    allowed enum values
    """
    EMPLOYEE = 'EMPLOYEE'
    BIZ_ADMIN = 'BIZ_ADMIN'
    PARTNER = 'PARTNER'

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


