Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TreatmentConfig = TreatmentConfig' {}
- newTreatmentConfig :: Text -> Text -> Text -> TreatmentConfig
- treatmentConfig_description :: Lens' TreatmentConfig (Maybe Text)
- treatmentConfig_feature :: Lens' TreatmentConfig Text
- treatmentConfig_name :: Lens' TreatmentConfig Text
- treatmentConfig_variation :: Lens' TreatmentConfig Text
Documentation
data TreatmentConfig Source #
A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.
See: newTreatmentConfig
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> TreatmentConfig |
Create a value of TreatmentConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:TreatmentConfig'
, treatmentConfig_description
- A description for this treatment.
$sel:feature:TreatmentConfig'
, treatmentConfig_feature
- The feature that this experiment is testing.
$sel:name:TreatmentConfig'
, treatmentConfig_name
- A name for this treatment.
$sel:variation:TreatmentConfig'
, treatmentConfig_variation
- The name of the variation to use as this treatment in the experiment.
treatmentConfig_description :: Lens' TreatmentConfig (Maybe Text) Source #
A description for this treatment.
treatmentConfig_feature :: Lens' TreatmentConfig Text Source #
The feature that this experiment is testing.
treatmentConfig_name :: Lens' TreatmentConfig Text Source #
A name for this treatment.
treatmentConfig_variation :: Lens' TreatmentConfig Text Source #
The name of the variation to use as this treatment in the experiment.