Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1017 Bytes

PrincipalBody.md

File metadata and controls

31 lines (22 loc) · 1017 Bytes

PrincipalBody

Properties

Name Type Description Notes
id int The user or team's ID
name str The user's username or the team's name
type str Whether this result is a user or a team

Example

from revengai.models.principal_body import PrincipalBody

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

# convert the object into a dict
principal_body_dict = principal_body_instance.to_dict()
# create an instance of PrincipalBody from a dict
principal_body_from_dict = PrincipalBody.from_dict(principal_body_dict)

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