libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CustomerProfiles.Types.ObjectTypeField

Description

 
Synopsis

Documentation

data ObjectTypeField Source #

Represents a field in a ProfileObjectType.

See: newObjectTypeField smart constructor.

Constructors

ObjectTypeField' 

Fields

  • source :: Maybe Text

    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.

  • contentType :: Maybe FieldContentType

    The content type of the field. Used for determining equality when searching.

  • target :: Maybe Text

    The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

Instances

Instances details
Eq ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

Read ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

Show ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

Generic ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

Associated Types

type Rep ObjectTypeField :: Type -> Type #

NFData ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

Methods

rnf :: ObjectTypeField -> () #

Hashable ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

ToJSON ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

FromJSON ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

type Rep ObjectTypeField Source # 
Instance details

Defined in Amazonka.CustomerProfiles.Types.ObjectTypeField

type Rep ObjectTypeField = D1 ('MetaData "ObjectTypeField" "Amazonka.CustomerProfiles.Types.ObjectTypeField" "libZSservicesZSamazonka-customer-profilesZSamazonka-customer-profiles" 'False) (C1 ('MetaCons "ObjectTypeField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FieldContentType)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.