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
Documentation
The full name of the user.
See: newName
smart constructor.
Name' | |
|
Instances
Create a value of Name
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:familyName:Name'
, name_familyName
- The family name of the user.
$sel:formatted:Name'
, name_formatted
- A string containing a formatted version of the name for display.
$sel:givenName:Name'
, name_givenName
- The given name of the user.
$sel:honorificPrefix:Name'
, name_honorificPrefix
- The honorific prefix of the user. For example, "Dr."
$sel:honorificSuffix:Name'
, name_honorificSuffix
- The honorific suffix of the user. For example, "M.D."
$sel:middleName:Name'
, name_middleName
- The middle name of the user.
name_formatted :: Lens' Name (Maybe Text) Source #
A string containing a formatted version of the name for display.
name_honorificPrefix :: Lens' Name (Maybe Text) Source #
The honorific prefix of the user. For example, "Dr."