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 TestRecommendation = TestRecommendation' {
- appComponentName :: Maybe Text
- dependsOnAlarms :: Maybe (NonEmpty Text)
- description :: Maybe Text
- intent :: Maybe Text
- items :: Maybe [RecommendationItem]
- name :: Maybe Text
- prerequisite :: Maybe Text
- recommendationId :: Maybe Text
- risk :: Maybe TestRisk
- type' :: Maybe TestType
- referenceId :: Text
- newTestRecommendation :: Text -> TestRecommendation
- testRecommendation_appComponentName :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_dependsOnAlarms :: Lens' TestRecommendation (Maybe (NonEmpty Text))
- testRecommendation_description :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_intent :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_items :: Lens' TestRecommendation (Maybe [RecommendationItem])
- testRecommendation_name :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_prerequisite :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_recommendationId :: Lens' TestRecommendation (Maybe Text)
- testRecommendation_risk :: Lens' TestRecommendation (Maybe TestRisk)
- testRecommendation_type :: Lens' TestRecommendation (Maybe TestType)
- testRecommendation_referenceId :: Lens' TestRecommendation Text
Documentation
data TestRecommendation Source #
Defines a test recommendation.
See: newTestRecommendation
smart constructor.
TestRecommendation' | |
|
Instances
newTestRecommendation Source #
Create a value of TestRecommendation
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:appComponentName:TestRecommendation'
, testRecommendation_appComponentName
- The name of the application component.
$sel:dependsOnAlarms:TestRecommendation'
, testRecommendation_dependsOnAlarms
- A list of recommended alarms that are used in the test and must be
exported before or with the test.
$sel:description:TestRecommendation'
, testRecommendation_description
- The description for the test recommendation.
$sel:intent:TestRecommendation'
, testRecommendation_intent
- The intent of the test recommendation.
$sel:items:TestRecommendation'
, testRecommendation_items
- The test recommendation items.
$sel:name:TestRecommendation'
, testRecommendation_name
- The name of the test recommendation.
$sel:prerequisite:TestRecommendation'
, testRecommendation_prerequisite
- The prerequisite of the test recommendation.
$sel:recommendationId:TestRecommendation'
, testRecommendation_recommendationId
- Identifier for the test recommendation.
$sel:risk:TestRecommendation'
, testRecommendation_risk
- The level of risk for this test recommendation.
$sel:type':TestRecommendation'
, testRecommendation_type
- The type of test recommendation.
$sel:referenceId:TestRecommendation'
, testRecommendation_referenceId
- The reference identifier for the test recommendation.
testRecommendation_appComponentName :: Lens' TestRecommendation (Maybe Text) Source #
The name of the application component.
testRecommendation_dependsOnAlarms :: Lens' TestRecommendation (Maybe (NonEmpty Text)) Source #
A list of recommended alarms that are used in the test and must be exported before or with the test.
testRecommendation_description :: Lens' TestRecommendation (Maybe Text) Source #
The description for the test recommendation.
testRecommendation_intent :: Lens' TestRecommendation (Maybe Text) Source #
The intent of the test recommendation.
testRecommendation_items :: Lens' TestRecommendation (Maybe [RecommendationItem]) Source #
The test recommendation items.
testRecommendation_name :: Lens' TestRecommendation (Maybe Text) Source #
The name of the test recommendation.
testRecommendation_prerequisite :: Lens' TestRecommendation (Maybe Text) Source #
The prerequisite of the test recommendation.
testRecommendation_recommendationId :: Lens' TestRecommendation (Maybe Text) Source #
Identifier for the test recommendation.
testRecommendation_risk :: Lens' TestRecommendation (Maybe TestRisk) Source #
The level of risk for this test recommendation.
testRecommendation_type :: Lens' TestRecommendation (Maybe TestType) Source #
The type of test recommendation.
testRecommendation_referenceId :: Lens' TestRecommendation Text Source #
The reference identifier for the test recommendation.