Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.2 KB

File metadata and controls

30 lines (21 loc) · 1.2 KB

FriendRelationshipItem

Properties

Name Type Description Notes
user_id str [optional]
result int Friend relationship result defined by the source API. `1` means both users are not friends, `2` and `3` are reserved, and `4` means the friendship is mutual. [optional]

Example

from ncsdk.models.friend_relationship_item import FriendRelationshipItem

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

# convert the object into a dict
friend_relationship_item_dict = friend_relationship_item_instance.to_dict()
# create an instance of FriendRelationshipItem from a dict
friend_relationship_item_from_dict = FriendRelationshipItem.from_dict(friend_relationship_item_dict)

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