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>
This commit is contained in:
13
kittycad/models/block_reason.py
Normal file
13
kittycad/models/block_reason.py
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
Reference in New Issue
Block a user