1.5 KiB
1.5 KiB
UserRegistration
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | [optional] | |
| state | UserRegistrationState | [optional] | |
| registration_reason | str | [optional] | |
| moderation_response | str | [optional] | |
| username | str | [optional] | |
| str | [optional] | ||
| email_verified | bool | [optional] | |
| account_display_name | str | [optional] | |
| channel_handle | str | [optional] | |
| channel_display_name | str | [optional] | |
| created_at | datetime | [optional] | |
| updated_at | datetime | [optional] | |
| user | UserRegistrationUser | [optional] |
Example
from peertube.models.user_registration import UserRegistration
# TODO update the JSON string below
json = "{}"
# create an instance of UserRegistration from a JSON string
user_registration_instance = UserRegistration.from_json(json)
# print the JSON string representation of the object
print UserRegistration.to_json()
# convert the object into a dict
user_registration_dict = user_registration_instance.to_dict()
# create an instance of UserRegistration from a dict
user_registration_form_dict = user_registration.from_dict(user_registration_dict)