Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 996 Bytes

File metadata and controls

32 lines (23 loc) · 996 Bytes

UserInfo

Minimal user identity for embedding on other responses.

Properties

Name Type Description Notes
user_id UUID User ID
first_name str First name (nullable on the user model)
last_name str Last name (nullable on the user model)

Example

from ksapi.models.user_info import UserInfo

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

# convert the object into a dict
user_info_dict = user_info_instance.to_dict()
# create an instance of UserInfo from a dict
user_info_from_dict = UserInfo.from_dict(user_info_dict)

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