libZSservicesZSamazonka-honeycodeZSamazonka-honeycode
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.HoneyCode.Types.DataItem

Description

 
Synopsis

Documentation

data DataItem Source #

The data in a particular data cell defined on the screen.

See: newDataItem smart constructor.

Constructors

DataItem' 

Fields

  • rawValue :: Maybe Text

    The raw value of the data. e.g. jsmith@example.com

  • overrideFormat :: Maybe Format

    The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.

  • formattedValue :: Maybe Text

    The formatted value of the data. e.g. John Smith.

Instances

Instances details
Eq DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

Show DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

Generic DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

Associated Types

type Rep DataItem :: Type -> Type #

Methods

from :: DataItem -> Rep DataItem x #

to :: Rep DataItem x -> DataItem #

NFData DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

Methods

rnf :: DataItem -> () #

Hashable DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

Methods

hashWithSalt :: Int -> DataItem -> Int #

hash :: DataItem -> Int #

FromJSON DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

type Rep DataItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.DataItem

type Rep DataItem = D1 ('MetaData "DataItem" "Amazonka.HoneyCode.Types.DataItem" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "DataItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rawValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "overrideFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Format)) :*: S1 ('MetaSel ('Just "formattedValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDataItem :: DataItem Source #

Create a value of DataItem 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:rawValue:DataItem', dataItem_rawValue - The raw value of the data. e.g. jsmith@example.com

$sel:overrideFormat:DataItem', dataItem_overrideFormat - The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.

$sel:formattedValue:DataItem', dataItem_formattedValue - The formatted value of the data. e.g. John Smith.

dataItem_rawValue :: Lens' DataItem (Maybe Text) Source #

The raw value of the data. e.g. jsmith@example.com

dataItem_overrideFormat :: Lens' DataItem (Maybe Format) Source #

The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.

dataItem_formattedValue :: Lens' DataItem (Maybe Text) Source #

The formatted value of the data. e.g. John Smith.