Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.23 KB

File metadata and controls

32 lines (23 loc) · 1.23 KB

TreatmentInput

Properties

Name Type Description Notes
name str The treatment name
baseline bool Whether this treatment is the baseline to compare other treatments against
allocation_percent str The percentage of traffic allocated to this treatment during the iteration
parameters List[TreatmentParameterInput] Details on the flag and variation to use for this treatment

Example

from launchdarkly_api.models.treatment_input import TreatmentInput

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

# convert the object into a dict
treatment_input_dict = treatment_input_instance.to_dict()
# create an instance of TreatmentInput from a dict
treatment_input_from_dict = TreatmentInput.from_dict(treatment_input_dict)

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