# coding: utf-8

"""
    Zuora API Reference

    REST API reference for the Zuora Billing, Payments, and Central Platform! Check out the [REST API Overview](https://www.zuora.com/developer/api-references/api/overview/).

    The version of the OpenAPI document: 2024-05-20
    Contact: docs@zuora.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 PostPublicEmailTemplateRequestCcEmailType(str, Enum):
    """
    Email CC type. * When the base object for the event is associated with `Account`, `ccEmailType` can be any values in the enum list.  * When the base object for the event is not associated with `Account`, `ccEmailType` must be `TenantAdmin`, `RunOwner`, or `SpecificEmail`. 
    """

    """
    allowed enum values
    """
    BILLTOCONTACT = 'BillToContact'
    SOLDTOCONTACT = 'SoldToContact'
    SPECIFICEMAILS = 'SpecificEmails'
    TENANTADMIN = 'TenantAdmin'
    BILLTOANDSOLDTOCONTACTS = 'BillToAndSoldToContacts'
    RUNOWNER = 'RunOwner'
    ALLCONTACTS = 'AllContacts'
    INVOICEOWNERBILLTOCONTACT = 'InvoiceOwnerBillToContact'
    INVOICEOWNERSOLDTOCONTACT = 'InvoiceOwnerSoldToContact'
    INVOICEOWNERBILLTOANDSOLDTOCONTACTS = 'InvoiceOwnerBillToAndSoldToContacts'
    INVOICEOWNERALLCONTACTS = 'InvoiceOwnerAllContacts'

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


