| Name |
Type |
Description |
Notes |
| id |
int |
The internal ID of this entity. |
|
| created |
datetime |
The time this entity was created. |
|
| start_date |
datetime |
Timestamp at which point the referral code becomes valid. |
[optional] |
| expiry_date |
datetime |
Expiration date of the referral code. Referral never expires if this is omitted. |
[optional] |
| usage_limit |
int |
The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. |
[optional] |
| campaign_id |
int |
ID of the campaign from which the referral received the referral code. |
|
| advocate_profile_integration_id |
str |
The Integration ID of the Advocate's Profile. |
|
| friend_profile_integration_id |
str |
An optional Integration ID of the Friend's Profile. |
[optional] |
| attributes |
object |
Arbitrary properties associated with this item. |
[optional] |
| import_id |
int |
The ID of the Import which created this referral. |
[optional] |
| code |
str |
The referral code. |
|
| usage_counter |
int |
The number of times this referral code has been successfully used. |
|
| batch_id |
str |
The ID of the batch the referrals belong to. |
[optional] |
from talon_one.models.referral import Referral
# TODO update the JSON string below
json = "{}"
# create an instance of Referral from a JSON string
referral_instance = Referral.from_json(json)
# print the JSON string representation of the object
print(Referral.to_json())
# convert the object into a dict
referral_dict = referral_instance.to_dict()
# create an instance of Referral from a dict
referral_from_dict = Referral.from_dict(referral_dict)
[Back to Model list] [Back to API list] [Back to README]