{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.IoTWireless.Types.LteObj
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.IoTWireless.Types.LteObj where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.IoTWireless.Types.LteLocalId
import Amazonka.IoTWireless.Types.LteNmrObj
import qualified Amazonka.Prelude as Prelude

-- | LTE object.
--
-- /See:/ 'newLteObj' smart constructor.
data LteObj = LteObj'
  { -- | LTE local identification (local ID) information.
    LteObj -> Maybe LteLocalId
lteLocalId :: Prelude.Maybe LteLocalId,
    -- | LTE object for network measurement reports.
    LteObj -> Maybe (NonEmpty LteNmrObj)
lteNmr :: Prelude.Maybe (Prelude.NonEmpty LteNmrObj),
    -- | LTE timing advance.
    LteObj -> Maybe Natural
lteTimingAdvance :: Prelude.Maybe Prelude.Natural,
    -- | Parameter that determines whether the LTE object is capable of
    -- supporting NR (new radio).
    LteObj -> Maybe Bool
nrCapable :: Prelude.Maybe Prelude.Bool,
    -- | Signal power of the reference signal received, measured in dBm
    -- (decibel-milliwatts).
    LteObj -> Maybe Int
rsrp :: Prelude.Maybe Prelude.Int,
    -- | Signal quality of the reference Signal received, measured in decibels
    -- (dB).
    LteObj -> Maybe Double
rsrq :: Prelude.Maybe Prelude.Double,
    -- | LTE tracking area code.
    LteObj -> Maybe Natural
tac :: Prelude.Maybe Prelude.Natural,
    -- | Mobile Country Code.
    LteObj -> Natural
mcc :: Prelude.Natural,
    -- | Mobile Network Code.
    LteObj -> Natural
mnc :: Prelude.Natural,
    -- | E-UTRAN (Evolved Universal Terrestrial Radio Access Network) Cell Global
    -- Identifier.
    LteObj -> Natural
eutranCid :: Prelude.Natural
  }
  deriving (LteObj -> LteObj -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LteObj -> LteObj -> Bool
$c/= :: LteObj -> LteObj -> Bool
== :: LteObj -> LteObj -> Bool
$c== :: LteObj -> LteObj -> Bool
Prelude.Eq, ReadPrec [LteObj]
ReadPrec LteObj
Int -> ReadS LteObj
ReadS [LteObj]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LteObj]
$creadListPrec :: ReadPrec [LteObj]
readPrec :: ReadPrec LteObj
$creadPrec :: ReadPrec LteObj
readList :: ReadS [LteObj]
$creadList :: ReadS [LteObj]
readsPrec :: Int -> ReadS LteObj
$creadsPrec :: Int -> ReadS LteObj
Prelude.Read, Int -> LteObj -> ShowS
[LteObj] -> ShowS
LteObj -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LteObj] -> ShowS
$cshowList :: [LteObj] -> ShowS
show :: LteObj -> String
$cshow :: LteObj -> String
showsPrec :: Int -> LteObj -> ShowS
$cshowsPrec :: Int -> LteObj -> ShowS
Prelude.Show, forall x. Rep LteObj x -> LteObj
forall x. LteObj -> Rep LteObj x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LteObj x -> LteObj
$cfrom :: forall x. LteObj -> Rep LteObj x
Prelude.Generic)

-- |
-- Create a value of 'LteObj' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'lteLocalId', 'lteObj_lteLocalId' - LTE local identification (local ID) information.
--
-- 'lteNmr', 'lteObj_lteNmr' - LTE object for network measurement reports.
--
-- 'lteTimingAdvance', 'lteObj_lteTimingAdvance' - LTE timing advance.
--
-- 'nrCapable', 'lteObj_nrCapable' - Parameter that determines whether the LTE object is capable of
-- supporting NR (new radio).
--
-- 'rsrp', 'lteObj_rsrp' - Signal power of the reference signal received, measured in dBm
-- (decibel-milliwatts).
--
-- 'rsrq', 'lteObj_rsrq' - Signal quality of the reference Signal received, measured in decibels
-- (dB).
--
-- 'tac', 'lteObj_tac' - LTE tracking area code.
--
-- 'mcc', 'lteObj_mcc' - Mobile Country Code.
--
-- 'mnc', 'lteObj_mnc' - Mobile Network Code.
--
-- 'eutranCid', 'lteObj_eutranCid' - E-UTRAN (Evolved Universal Terrestrial Radio Access Network) Cell Global
-- Identifier.
newLteObj ::
  -- | 'mcc'
  Prelude.Natural ->
  -- | 'mnc'
  Prelude.Natural ->
  -- | 'eutranCid'
  Prelude.Natural ->
  LteObj
newLteObj :: Natural -> Natural -> Natural -> LteObj
newLteObj Natural
pMcc_ Natural
pMnc_ Natural
pEutranCid_ =
  LteObj'
    { $sel:lteLocalId:LteObj' :: Maybe LteLocalId
lteLocalId = forall a. Maybe a
Prelude.Nothing,
      $sel:lteNmr:LteObj' :: Maybe (NonEmpty LteNmrObj)
lteNmr = forall a. Maybe a
Prelude.Nothing,
      $sel:lteTimingAdvance:LteObj' :: Maybe Natural
lteTimingAdvance = forall a. Maybe a
Prelude.Nothing,
      $sel:nrCapable:LteObj' :: Maybe Bool
nrCapable = forall a. Maybe a
Prelude.Nothing,
      $sel:rsrp:LteObj' :: Maybe Int
rsrp = forall a. Maybe a
Prelude.Nothing,
      $sel:rsrq:LteObj' :: Maybe Double
rsrq = forall a. Maybe a
Prelude.Nothing,
      $sel:tac:LteObj' :: Maybe Natural
tac = forall a. Maybe a
Prelude.Nothing,
      $sel:mcc:LteObj' :: Natural
mcc = Natural
pMcc_,
      $sel:mnc:LteObj' :: Natural
mnc = Natural
pMnc_,
      $sel:eutranCid:LteObj' :: Natural
eutranCid = Natural
pEutranCid_
    }

-- | LTE local identification (local ID) information.
lteObj_lteLocalId :: Lens.Lens' LteObj (Prelude.Maybe LteLocalId)
lteObj_lteLocalId :: Lens' LteObj (Maybe LteLocalId)
lteObj_lteLocalId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe LteLocalId
lteLocalId :: Maybe LteLocalId
$sel:lteLocalId:LteObj' :: LteObj -> Maybe LteLocalId
lteLocalId} -> Maybe LteLocalId
lteLocalId) (\s :: LteObj
s@LteObj' {} Maybe LteLocalId
a -> LteObj
s {$sel:lteLocalId:LteObj' :: Maybe LteLocalId
lteLocalId = Maybe LteLocalId
a} :: LteObj)

-- | LTE object for network measurement reports.
lteObj_lteNmr :: Lens.Lens' LteObj (Prelude.Maybe (Prelude.NonEmpty LteNmrObj))
lteObj_lteNmr :: Lens' LteObj (Maybe (NonEmpty LteNmrObj))
lteObj_lteNmr = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe (NonEmpty LteNmrObj)
lteNmr :: Maybe (NonEmpty LteNmrObj)
$sel:lteNmr:LteObj' :: LteObj -> Maybe (NonEmpty LteNmrObj)
lteNmr} -> Maybe (NonEmpty LteNmrObj)
lteNmr) (\s :: LteObj
s@LteObj' {} Maybe (NonEmpty LteNmrObj)
a -> LteObj
s {$sel:lteNmr:LteObj' :: Maybe (NonEmpty LteNmrObj)
lteNmr = Maybe (NonEmpty LteNmrObj)
a} :: LteObj) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | LTE timing advance.
lteObj_lteTimingAdvance :: Lens.Lens' LteObj (Prelude.Maybe Prelude.Natural)
lteObj_lteTimingAdvance :: Lens' LteObj (Maybe Natural)
lteObj_lteTimingAdvance = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe Natural
lteTimingAdvance :: Maybe Natural
$sel:lteTimingAdvance:LteObj' :: LteObj -> Maybe Natural
lteTimingAdvance} -> Maybe Natural
lteTimingAdvance) (\s :: LteObj
s@LteObj' {} Maybe Natural
a -> LteObj
s {$sel:lteTimingAdvance:LteObj' :: Maybe Natural
lteTimingAdvance = Maybe Natural
a} :: LteObj)

-- | Parameter that determines whether the LTE object is capable of
-- supporting NR (new radio).
lteObj_nrCapable :: Lens.Lens' LteObj (Prelude.Maybe Prelude.Bool)
lteObj_nrCapable :: Lens' LteObj (Maybe Bool)
lteObj_nrCapable = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe Bool
nrCapable :: Maybe Bool
$sel:nrCapable:LteObj' :: LteObj -> Maybe Bool
nrCapable} -> Maybe Bool
nrCapable) (\s :: LteObj
s@LteObj' {} Maybe Bool
a -> LteObj
s {$sel:nrCapable:LteObj' :: Maybe Bool
nrCapable = Maybe Bool
a} :: LteObj)

-- | Signal power of the reference signal received, measured in dBm
-- (decibel-milliwatts).
lteObj_rsrp :: Lens.Lens' LteObj (Prelude.Maybe Prelude.Int)
lteObj_rsrp :: Lens' LteObj (Maybe Int)
lteObj_rsrp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe Int
rsrp :: Maybe Int
$sel:rsrp:LteObj' :: LteObj -> Maybe Int
rsrp} -> Maybe Int
rsrp) (\s :: LteObj
s@LteObj' {} Maybe Int
a -> LteObj
s {$sel:rsrp:LteObj' :: Maybe Int
rsrp = Maybe Int
a} :: LteObj)

-- | Signal quality of the reference Signal received, measured in decibels
-- (dB).
lteObj_rsrq :: Lens.Lens' LteObj (Prelude.Maybe Prelude.Double)
lteObj_rsrq :: Lens' LteObj (Maybe Double)
lteObj_rsrq = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe Double
rsrq :: Maybe Double
$sel:rsrq:LteObj' :: LteObj -> Maybe Double
rsrq} -> Maybe Double
rsrq) (\s :: LteObj
s@LteObj' {} Maybe Double
a -> LteObj
s {$sel:rsrq:LteObj' :: Maybe Double
rsrq = Maybe Double
a} :: LteObj)

-- | LTE tracking area code.
lteObj_tac :: Lens.Lens' LteObj (Prelude.Maybe Prelude.Natural)
lteObj_tac :: Lens' LteObj (Maybe Natural)
lteObj_tac = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Maybe Natural
tac :: Maybe Natural
$sel:tac:LteObj' :: LteObj -> Maybe Natural
tac} -> Maybe Natural
tac) (\s :: LteObj
s@LteObj' {} Maybe Natural
a -> LteObj
s {$sel:tac:LteObj' :: Maybe Natural
tac = Maybe Natural
a} :: LteObj)

-- | Mobile Country Code.
lteObj_mcc :: Lens.Lens' LteObj Prelude.Natural
lteObj_mcc :: Lens' LteObj Natural
lteObj_mcc = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Natural
mcc :: Natural
$sel:mcc:LteObj' :: LteObj -> Natural
mcc} -> Natural
mcc) (\s :: LteObj
s@LteObj' {} Natural
a -> LteObj
s {$sel:mcc:LteObj' :: Natural
mcc = Natural
a} :: LteObj)

-- | Mobile Network Code.
lteObj_mnc :: Lens.Lens' LteObj Prelude.Natural
lteObj_mnc :: Lens' LteObj Natural
lteObj_mnc = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Natural
mnc :: Natural
$sel:mnc:LteObj' :: LteObj -> Natural
mnc} -> Natural
mnc) (\s :: LteObj
s@LteObj' {} Natural
a -> LteObj
s {$sel:mnc:LteObj' :: Natural
mnc = Natural
a} :: LteObj)

-- | E-UTRAN (Evolved Universal Terrestrial Radio Access Network) Cell Global
-- Identifier.
lteObj_eutranCid :: Lens.Lens' LteObj Prelude.Natural
lteObj_eutranCid :: Lens' LteObj Natural
lteObj_eutranCid = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LteObj' {Natural
eutranCid :: Natural
$sel:eutranCid:LteObj' :: LteObj -> Natural
eutranCid} -> Natural
eutranCid) (\s :: LteObj
s@LteObj' {} Natural
a -> LteObj
s {$sel:eutranCid:LteObj' :: Natural
eutranCid = Natural
a} :: LteObj)

instance Prelude.Hashable LteObj where
  hashWithSalt :: Int -> LteObj -> Int
hashWithSalt Int
_salt LteObj' {Natural
Maybe Bool
Maybe Double
Maybe Int
Maybe Natural
Maybe (NonEmpty LteNmrObj)
Maybe LteLocalId
eutranCid :: Natural
mnc :: Natural
mcc :: Natural
tac :: Maybe Natural
rsrq :: Maybe Double
rsrp :: Maybe Int
nrCapable :: Maybe Bool
lteTimingAdvance :: Maybe Natural
lteNmr :: Maybe (NonEmpty LteNmrObj)
lteLocalId :: Maybe LteLocalId
$sel:eutranCid:LteObj' :: LteObj -> Natural
$sel:mnc:LteObj' :: LteObj -> Natural
$sel:mcc:LteObj' :: LteObj -> Natural
$sel:tac:LteObj' :: LteObj -> Maybe Natural
$sel:rsrq:LteObj' :: LteObj -> Maybe Double
$sel:rsrp:LteObj' :: LteObj -> Maybe Int
$sel:nrCapable:LteObj' :: LteObj -> Maybe Bool
$sel:lteTimingAdvance:LteObj' :: LteObj -> Maybe Natural
$sel:lteNmr:LteObj' :: LteObj -> Maybe (NonEmpty LteNmrObj)
$sel:lteLocalId:LteObj' :: LteObj -> Maybe LteLocalId
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LteLocalId
lteLocalId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty LteNmrObj)
lteNmr
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
lteTimingAdvance
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
nrCapable
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
rsrp
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
rsrq
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
tac
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Natural
mcc
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Natural
mnc
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Natural
eutranCid

instance Prelude.NFData LteObj where
  rnf :: LteObj -> ()
rnf LteObj' {Natural
Maybe Bool
Maybe Double
Maybe Int
Maybe Natural
Maybe (NonEmpty LteNmrObj)
Maybe LteLocalId
eutranCid :: Natural
mnc :: Natural
mcc :: Natural
tac :: Maybe Natural
rsrq :: Maybe Double
rsrp :: Maybe Int
nrCapable :: Maybe Bool
lteTimingAdvance :: Maybe Natural
lteNmr :: Maybe (NonEmpty LteNmrObj)
lteLocalId :: Maybe LteLocalId
$sel:eutranCid:LteObj' :: LteObj -> Natural
$sel:mnc:LteObj' :: LteObj -> Natural
$sel:mcc:LteObj' :: LteObj -> Natural
$sel:tac:LteObj' :: LteObj -> Maybe Natural
$sel:rsrq:LteObj' :: LteObj -> Maybe Double
$sel:rsrp:LteObj' :: LteObj -> Maybe Int
$sel:nrCapable:LteObj' :: LteObj -> Maybe Bool
$sel:lteTimingAdvance:LteObj' :: LteObj -> Maybe Natural
$sel:lteNmr:LteObj' :: LteObj -> Maybe (NonEmpty LteNmrObj)
$sel:lteLocalId:LteObj' :: LteObj -> Maybe LteLocalId
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe LteLocalId
lteLocalId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty LteNmrObj)
lteNmr
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
lteTimingAdvance
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
nrCapable
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
rsrp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
rsrq
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
tac
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Natural
mcc
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Natural
mnc
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Natural
eutranCid

instance Data.ToJSON LteObj where
  toJSON :: LteObj -> Value
toJSON LteObj' {Natural
Maybe Bool
Maybe Double
Maybe Int
Maybe Natural
Maybe (NonEmpty LteNmrObj)
Maybe LteLocalId
eutranCid :: Natural
mnc :: Natural
mcc :: Natural
tac :: Maybe Natural
rsrq :: Maybe Double
rsrp :: Maybe Int
nrCapable :: Maybe Bool
lteTimingAdvance :: Maybe Natural
lteNmr :: Maybe (NonEmpty LteNmrObj)
lteLocalId :: Maybe LteLocalId
$sel:eutranCid:LteObj' :: LteObj -> Natural
$sel:mnc:LteObj' :: LteObj -> Natural
$sel:mcc:LteObj' :: LteObj -> Natural
$sel:tac:LteObj' :: LteObj -> Maybe Natural
$sel:rsrq:LteObj' :: LteObj -> Maybe Double
$sel:rsrp:LteObj' :: LteObj -> Maybe Int
$sel:nrCapable:LteObj' :: LteObj -> Maybe Bool
$sel:lteTimingAdvance:LteObj' :: LteObj -> Maybe Natural
$sel:lteNmr:LteObj' :: LteObj -> Maybe (NonEmpty LteNmrObj)
$sel:lteLocalId:LteObj' :: LteObj -> Maybe LteLocalId
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"LteLocalId" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LteLocalId
lteLocalId,
            (Key
"LteNmr" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty LteNmrObj)
lteNmr,
            (Key
"LteTimingAdvance" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
              forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
lteTimingAdvance,
            (Key
"NrCapable" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
nrCapable,
            (Key
"Rsrp" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
rsrp,
            (Key
"Rsrq" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Double
rsrq,
            (Key
"Tac" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
tac,
            forall a. a -> Maybe a
Prelude.Just (Key
"Mcc" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Natural
mcc),
            forall a. a -> Maybe a
Prelude.Just (Key
"Mnc" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Natural
mnc),
            forall a. a -> Maybe a
Prelude.Just (Key
"EutranCid" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Natural
eutranCid)
          ]
      )