Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.04 KB

File metadata and controls

34 lines (25 loc) · 1.04 KB

UserReferrals

Properties

Name Type Description Notes
code int
message str [optional]
cursor str
referrals List[Referral]
used_code str
totals ReferralTotals

Example

from lighter.models.user_referrals import UserReferrals

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

# convert the object into a dict
user_referrals_dict = user_referrals_instance.to_dict()
# create an instance of UserReferrals from a dict
user_referrals_from_dict = UserReferrals.from_dict(user_referrals_dict)

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