* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
14 lines
467 B
Python
14 lines
467 B
Python
from enum import Enum
|
|
|
|
|
|
class BlockReason(str, Enum):
|
|
"""The reason for blocking a user.""" # noqa: E501
|
|
|
|
"""# The user is missing a payment method and has exceeded their free API call credits for the month. """ # noqa: E501
|
|
MISSING_PAYMENT_METHOD = "missing_payment_method"
|
|
"""# The users payment method has failed. """ # noqa: E501
|
|
PAYMENT_METHOD_FAILED = "payment_method_failed"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|