Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.61 KB

File metadata and controls

37 lines (28 loc) · 1.61 KB

Experiment

Properties

Name Type Description Notes
id int The internal ID of this entity.
created datetime The time this entity was created.
application_id int The ID of the Application that owns this entity.
is_variant_assignment_external bool The source of the assignment. - false - The variant assignment is handled internally by Talon.One. - true - The variant assignment is handled externally. [optional]
campaign Campaign [optional]
activated datetime The date and time the experiment was activated. [optional]
state str A disabled experiment is not evaluated for rules or coupons. [default to 'disabled']
variants List[ExperimentVariant] [optional]
deletedat datetime The date and time the experiment was deleted. [optional]

Example

from talon_one.models.experiment import Experiment

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

# convert the object into a dict
experiment_dict = experiment_instance.to_dict()
# create an instance of Experiment from a dict
experiment_from_dict = Experiment.from_dict(experiment_dict)

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