Skip to content

Latest commit

History

History
37 lines (28 loc) · 1.43 KB

File metadata and controls

37 lines (28 loc) · 1.43 KB

CreateUserInputBody

Properties

NameTypeDescriptionNotes
creditsintInitial credit balance in credits (1 credit = 1000 units); defaults to 10 credits[optional]
emailstrEmail address
first_namestrFirst name[optional]
last_namestrLast name[optional]
passwordstrInitial password
rolestrUser role (defaults to USER)[optional]
tierstrUser tier (defaults to ENTHUSIAST)[optional]
time_zonestrIANA time zone[optional]
usernamestrUsername

Example

fromrevengai.models.create_user_input_bodyimportCreateUserInputBody# TODO update the JSON string belowjson="{}"# create an instance of CreateUserInputBody from a JSON stringcreate_user_input_body_instance=CreateUserInputBody.from_json(json)
# print the JSON string representation of the objectprint(CreateUserInputBody.to_json())
# convert the object into a dictcreate_user_input_body_dict=create_user_input_body_instance.to_dict()
# create an instance of CreateUserInputBody from a dictcreate_user_input_body_from_dict=CreateUserInputBody.from_dict(create_user_input_body_dict)

[Back to Model list][Back to API list][Back to README]