31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
# UserRegistrationState
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**id** | **int** | The registration state (Pending = `1`, Rejected = `2`, Accepted = `3`) | [optional]
|
|
**label** | **str** | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|