Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.53 KB

File metadata and controls

49 lines (40 loc) · 1.53 KB

User

A registered Gateway user

Properties

Name Type Description Notes
id int [optional]
name str [optional]
firstname str [optional]
lastname str [optional]
email str [optional]
secondary_email str [optional]
preferred_email str [optional]
provider str [optional]
sector_id int [optional]
organisation str [optional]
bio str [optional]
domain str [optional]
link str [optional]
orcid str [optional]
contact_feedback bool [optional]
contact_news bool [optional]
is_admin bool [optional]
terms bool [optional]
created_at datetime [optional]
updated_at datetime [optional]

Example

from gateway_api_sdk.models.user import User

# TODO update the JSON string below
json = "{}"
# create an instance of User from a JSON string
user_instance = User.from_json(json)
# print the JSON string representation of the object
print(User.to_json())

# convert the object into a dict
user_dict = user_instance.to_dict()
# create an instance of User from a dict
user_from_dict = User.from_dict(user_dict)

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