Files
kittycad.py/kittycad/models/block_reason.py
Jess Frazelle 0ad6216cde Update api spec (#182)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-06 14:56:45 -08:00

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)