1.1 KiB
1.1 KiB
UserRegistrationState
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | The registration state (Pending = `1`, Rejected = `2`, Accepted = `3`) | [optional] |
| label | str | [optional] |
Example
from peertube.models.user_registration_state import UserRegistrationState
# TODO update the JSON string below
json = "{}"
# create an instance of UserRegistrationState from a JSON string
user_registration_state_instance = UserRegistrationState.from_json(json)
# print the JSON string representation of the object
print UserRegistrationState.to_json()
# convert the object into a dict
user_registration_state_dict = user_registration_state_instance.to_dict()
# create an instance of UserRegistrationState from a dict
user_registration_state_form_dict = user_registration_state.from_dict(user_registration_state_dict)