Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data ObjectTypeField Source #
Represents a field in a ProfileObjectType.
See: newObjectTypeField
smart constructor.
ObjectTypeField' | |
|
Instances
newObjectTypeField :: ObjectTypeField Source #
Create a value of ObjectTypeField
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:source:ObjectTypeField'
, objectTypeField_source
- A field of a ProfileObject. For example: _source.FirstName, where
“_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a
field in that ObjectType.
$sel:contentType:ObjectTypeField'
, objectTypeField_contentType
- The content type of the field. Used for determining equality when
searching.
$sel:target:ObjectTypeField'
, objectTypeField_target
- The location of the data in the standard ProfileObject model. For
example: _profile.Address.PostalCode.
objectTypeField_source :: Lens' ObjectTypeField (Maybe Text) Source #
A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
objectTypeField_contentType :: Lens' ObjectTypeField (Maybe FieldContentType) Source #
The content type of the field. Used for determining equality when searching.
objectTypeField_target :: Lens' ObjectTypeField (Maybe Text) Source #
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.