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 KeywordInformation = KeywordInformation' {}
- newKeywordInformation :: Text -> Text -> KeywordAction -> KeywordInformation
- keywordInformation_keyword :: Lens' KeywordInformation Text
- keywordInformation_keywordMessage :: Lens' KeywordInformation Text
- keywordInformation_keywordAction :: Lens' KeywordInformation KeywordAction
Documentation
data KeywordInformation Source #
The information for all keywords in a pool.
See: newKeywordInformation
smart constructor.
KeywordInformation' | |
|
Instances
newKeywordInformation Source #
:: Text | |
-> Text | |
-> KeywordAction | |
-> KeywordInformation |
Create a value of KeywordInformation
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:keyword:KeywordInformation'
, keywordInformation_keyword
- The keyword as a string.
$sel:keywordMessage:KeywordInformation'
, keywordInformation_keywordMessage
- A custom message that can be used with the keyword.
$sel:keywordAction:KeywordInformation'
, keywordInformation_keywordAction
- The action to perform for the keyword.
keywordInformation_keyword :: Lens' KeywordInformation Text Source #
The keyword as a string.
keywordInformation_keywordMessage :: Lens' KeywordInformation Text Source #
A custom message that can be used with the keyword.
keywordInformation_keywordAction :: Lens' KeywordInformation KeywordAction Source #
The action to perform for the keyword.