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 CustomVocabularyItem = CustomVocabularyItem' {}
- newCustomVocabularyItem :: Text -> Text -> CustomVocabularyItem
- customVocabularyItem_displayAs :: Lens' CustomVocabularyItem (Maybe Text)
- customVocabularyItem_weight :: Lens' CustomVocabularyItem (Maybe Natural)
- customVocabularyItem_itemId :: Lens' CustomVocabularyItem Text
- customVocabularyItem_phrase :: Lens' CustomVocabularyItem Text
Documentation
data CustomVocabularyItem Source #
The unique custom vocabulary item from the custom vocabulary list.
See: newCustomVocabularyItem
smart constructor.
CustomVocabularyItem' | |
|
Instances
newCustomVocabularyItem Source #
:: Text | |
-> Text | |
-> CustomVocabularyItem |
Create a value of CustomVocabularyItem
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:displayAs:CustomVocabularyItem'
, customVocabularyItem_displayAs
- The display as value for the custom vocabulary item from the custom
vocabulary list.
$sel:weight:CustomVocabularyItem'
, customVocabularyItem_weight
- The weight assigned for the custom vocabulary item from the custom
vocabulary list.
$sel:itemId:CustomVocabularyItem'
, customVocabularyItem_itemId
- The unique item identifer for the custom vocabulary item from the custom
vocabulary list.
$sel:phrase:CustomVocabularyItem'
, customVocabularyItem_phrase
- The unique phrase for the custom vocabulary item from the custom
vocabulary list.
customVocabularyItem_displayAs :: Lens' CustomVocabularyItem (Maybe Text) Source #
The display as value for the custom vocabulary item from the custom vocabulary list.
customVocabularyItem_weight :: Lens' CustomVocabularyItem (Maybe Natural) Source #
The weight assigned for the custom vocabulary item from the custom vocabulary list.
customVocabularyItem_itemId :: Lens' CustomVocabularyItem Text Source #
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
customVocabularyItem_phrase :: Lens' CustomVocabularyItem Text Source #
The unique phrase for the custom vocabulary item from the custom vocabulary list.