{-# 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 #-}
module Amazonka.AlexaBusiness.Types.SkillDetails where
import Amazonka.AlexaBusiness.Types.DeveloperInfo
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data SkillDetails = SkillDetails'
{
SkillDetails -> Maybe [Text]
skillTypes :: Prelude.Maybe [Prelude.Text],
SkillDetails -> Maybe Text
productDescription :: Prelude.Maybe Prelude.Text,
SkillDetails -> Maybe Text
invocationPhrase :: Prelude.Maybe Prelude.Text,
SkillDetails -> Maybe DeveloperInfo
developerInfo :: Prelude.Maybe DeveloperInfo,
SkillDetails -> Maybe Text
endUserLicenseAgreement :: Prelude.Maybe Prelude.Text,
SkillDetails -> Maybe [Text]
genericKeywords :: Prelude.Maybe [Prelude.Text],
SkillDetails -> Maybe (HashMap Text Text)
reviews :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
SkillDetails -> Maybe Text
releaseDate :: Prelude.Maybe Prelude.Text,
SkillDetails -> Maybe [Text]
newInThisVersionBulletPoints' :: Prelude.Maybe [Prelude.Text],
SkillDetails -> Maybe [Text]
bulletPoints :: Prelude.Maybe [Prelude.Text]
}
deriving (SkillDetails -> SkillDetails -> Bool
(SkillDetails -> SkillDetails -> Bool)
-> (SkillDetails -> SkillDetails -> Bool) -> Eq SkillDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SkillDetails -> SkillDetails -> Bool
$c/= :: SkillDetails -> SkillDetails -> Bool
== :: SkillDetails -> SkillDetails -> Bool
$c== :: SkillDetails -> SkillDetails -> Bool
Prelude.Eq, ReadPrec [SkillDetails]
ReadPrec SkillDetails
Int -> ReadS SkillDetails
ReadS [SkillDetails]
(Int -> ReadS SkillDetails)
-> ReadS [SkillDetails]
-> ReadPrec SkillDetails
-> ReadPrec [SkillDetails]
-> Read SkillDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SkillDetails]
$creadListPrec :: ReadPrec [SkillDetails]
readPrec :: ReadPrec SkillDetails
$creadPrec :: ReadPrec SkillDetails
readList :: ReadS [SkillDetails]
$creadList :: ReadS [SkillDetails]
readsPrec :: Int -> ReadS SkillDetails
$creadsPrec :: Int -> ReadS SkillDetails
Prelude.Read, Int -> SkillDetails -> ShowS
[SkillDetails] -> ShowS
SkillDetails -> String
(Int -> SkillDetails -> ShowS)
-> (SkillDetails -> String)
-> ([SkillDetails] -> ShowS)
-> Show SkillDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SkillDetails] -> ShowS
$cshowList :: [SkillDetails] -> ShowS
show :: SkillDetails -> String
$cshow :: SkillDetails -> String
showsPrec :: Int -> SkillDetails -> ShowS
$cshowsPrec :: Int -> SkillDetails -> ShowS
Prelude.Show, (forall x. SkillDetails -> Rep SkillDetails x)
-> (forall x. Rep SkillDetails x -> SkillDetails)
-> Generic SkillDetails
forall x. Rep SkillDetails x -> SkillDetails
forall x. SkillDetails -> Rep SkillDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SkillDetails x -> SkillDetails
$cfrom :: forall x. SkillDetails -> Rep SkillDetails x
Prelude.Generic)
newSkillDetails ::
SkillDetails
newSkillDetails :: SkillDetails
newSkillDetails =
SkillDetails' :: Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails
SkillDetails'
{ $sel:skillTypes:SkillDetails' :: Maybe [Text]
skillTypes = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:productDescription:SkillDetails' :: Maybe Text
productDescription = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:invocationPhrase:SkillDetails' :: Maybe Text
invocationPhrase = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:developerInfo:SkillDetails' :: Maybe DeveloperInfo
developerInfo = Maybe DeveloperInfo
forall a. Maybe a
Prelude.Nothing,
$sel:endUserLicenseAgreement:SkillDetails' :: Maybe Text
endUserLicenseAgreement = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:genericKeywords:SkillDetails' :: Maybe [Text]
genericKeywords = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:reviews:SkillDetails' :: Maybe (HashMap Text Text)
reviews = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:releaseDate:SkillDetails' :: Maybe Text
releaseDate = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:newInThisVersionBulletPoints':SkillDetails' :: Maybe [Text]
newInThisVersionBulletPoints' = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:bulletPoints:SkillDetails' :: Maybe [Text]
bulletPoints = Maybe [Text]
forall a. Maybe a
Prelude.Nothing
}
skillDetails_skillTypes :: Lens.Lens' SkillDetails (Prelude.Maybe [Prelude.Text])
skillDetails_skillTypes :: (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails
skillDetails_skillTypes = (SkillDetails -> Maybe [Text])
-> (SkillDetails -> Maybe [Text] -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe [Text]
skillTypes :: Maybe [Text]
$sel:skillTypes:SkillDetails' :: SkillDetails -> Maybe [Text]
skillTypes} -> Maybe [Text]
skillTypes) (\s :: SkillDetails
s@SkillDetails' {} Maybe [Text]
a -> SkillDetails
s {$sel:skillTypes:SkillDetails' :: Maybe [Text]
skillTypes = Maybe [Text]
a} :: SkillDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails
-> f SkillDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
skillDetails_productDescription :: Lens.Lens' SkillDetails (Prelude.Maybe Prelude.Text)
skillDetails_productDescription :: (Maybe Text -> f (Maybe Text)) -> SkillDetails -> f SkillDetails
skillDetails_productDescription = (SkillDetails -> Maybe Text)
-> (SkillDetails -> Maybe Text -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe Text
productDescription :: Maybe Text
$sel:productDescription:SkillDetails' :: SkillDetails -> Maybe Text
productDescription} -> Maybe Text
productDescription) (\s :: SkillDetails
s@SkillDetails' {} Maybe Text
a -> SkillDetails
s {$sel:productDescription:SkillDetails' :: Maybe Text
productDescription = Maybe Text
a} :: SkillDetails)
skillDetails_invocationPhrase :: Lens.Lens' SkillDetails (Prelude.Maybe Prelude.Text)
skillDetails_invocationPhrase :: (Maybe Text -> f (Maybe Text)) -> SkillDetails -> f SkillDetails
skillDetails_invocationPhrase = (SkillDetails -> Maybe Text)
-> (SkillDetails -> Maybe Text -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe Text
invocationPhrase :: Maybe Text
$sel:invocationPhrase:SkillDetails' :: SkillDetails -> Maybe Text
invocationPhrase} -> Maybe Text
invocationPhrase) (\s :: SkillDetails
s@SkillDetails' {} Maybe Text
a -> SkillDetails
s {$sel:invocationPhrase:SkillDetails' :: Maybe Text
invocationPhrase = Maybe Text
a} :: SkillDetails)
skillDetails_developerInfo :: Lens.Lens' SkillDetails (Prelude.Maybe DeveloperInfo)
skillDetails_developerInfo :: (Maybe DeveloperInfo -> f (Maybe DeveloperInfo))
-> SkillDetails -> f SkillDetails
skillDetails_developerInfo = (SkillDetails -> Maybe DeveloperInfo)
-> (SkillDetails -> Maybe DeveloperInfo -> SkillDetails)
-> Lens
SkillDetails
SkillDetails
(Maybe DeveloperInfo)
(Maybe DeveloperInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe DeveloperInfo
developerInfo :: Maybe DeveloperInfo
$sel:developerInfo:SkillDetails' :: SkillDetails -> Maybe DeveloperInfo
developerInfo} -> Maybe DeveloperInfo
developerInfo) (\s :: SkillDetails
s@SkillDetails' {} Maybe DeveloperInfo
a -> SkillDetails
s {$sel:developerInfo:SkillDetails' :: Maybe DeveloperInfo
developerInfo = Maybe DeveloperInfo
a} :: SkillDetails)
skillDetails_endUserLicenseAgreement :: Lens.Lens' SkillDetails (Prelude.Maybe Prelude.Text)
skillDetails_endUserLicenseAgreement :: (Maybe Text -> f (Maybe Text)) -> SkillDetails -> f SkillDetails
skillDetails_endUserLicenseAgreement = (SkillDetails -> Maybe Text)
-> (SkillDetails -> Maybe Text -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe Text
endUserLicenseAgreement :: Maybe Text
$sel:endUserLicenseAgreement:SkillDetails' :: SkillDetails -> Maybe Text
endUserLicenseAgreement} -> Maybe Text
endUserLicenseAgreement) (\s :: SkillDetails
s@SkillDetails' {} Maybe Text
a -> SkillDetails
s {$sel:endUserLicenseAgreement:SkillDetails' :: Maybe Text
endUserLicenseAgreement = Maybe Text
a} :: SkillDetails)
skillDetails_genericKeywords :: Lens.Lens' SkillDetails (Prelude.Maybe [Prelude.Text])
skillDetails_genericKeywords :: (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails
skillDetails_genericKeywords = (SkillDetails -> Maybe [Text])
-> (SkillDetails -> Maybe [Text] -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe [Text]
genericKeywords :: Maybe [Text]
$sel:genericKeywords:SkillDetails' :: SkillDetails -> Maybe [Text]
genericKeywords} -> Maybe [Text]
genericKeywords) (\s :: SkillDetails
s@SkillDetails' {} Maybe [Text]
a -> SkillDetails
s {$sel:genericKeywords:SkillDetails' :: Maybe [Text]
genericKeywords = Maybe [Text]
a} :: SkillDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails
-> f SkillDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
skillDetails_reviews :: Lens.Lens' SkillDetails (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
skillDetails_reviews :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> SkillDetails -> f SkillDetails
skillDetails_reviews = (SkillDetails -> Maybe (HashMap Text Text))
-> (SkillDetails -> Maybe (HashMap Text Text) -> SkillDetails)
-> Lens
SkillDetails
SkillDetails
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe (HashMap Text Text)
reviews :: Maybe (HashMap Text Text)
$sel:reviews:SkillDetails' :: SkillDetails -> Maybe (HashMap Text Text)
reviews} -> Maybe (HashMap Text Text)
reviews) (\s :: SkillDetails
s@SkillDetails' {} Maybe (HashMap Text Text)
a -> SkillDetails
s {$sel:reviews:SkillDetails' :: Maybe (HashMap Text Text)
reviews = Maybe (HashMap Text Text)
a} :: SkillDetails) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> SkillDetails -> f SkillDetails)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> SkillDetails
-> f SkillDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
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 AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
skillDetails_releaseDate :: Lens.Lens' SkillDetails (Prelude.Maybe Prelude.Text)
skillDetails_releaseDate :: (Maybe Text -> f (Maybe Text)) -> SkillDetails -> f SkillDetails
skillDetails_releaseDate = (SkillDetails -> Maybe Text)
-> (SkillDetails -> Maybe Text -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe Text
releaseDate :: Maybe Text
$sel:releaseDate:SkillDetails' :: SkillDetails -> Maybe Text
releaseDate} -> Maybe Text
releaseDate) (\s :: SkillDetails
s@SkillDetails' {} Maybe Text
a -> SkillDetails
s {$sel:releaseDate:SkillDetails' :: Maybe Text
releaseDate = Maybe Text
a} :: SkillDetails)
skillDetails_newInThisVersionBulletPoints :: Lens.Lens' SkillDetails (Prelude.Maybe [Prelude.Text])
skillDetails_newInThisVersionBulletPoints :: (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails
skillDetails_newInThisVersionBulletPoints = (SkillDetails -> Maybe [Text])
-> (SkillDetails -> Maybe [Text] -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe [Text]
newInThisVersionBulletPoints' :: Maybe [Text]
$sel:newInThisVersionBulletPoints':SkillDetails' :: SkillDetails -> Maybe [Text]
newInThisVersionBulletPoints'} -> Maybe [Text]
newInThisVersionBulletPoints') (\s :: SkillDetails
s@SkillDetails' {} Maybe [Text]
a -> SkillDetails
s {$sel:newInThisVersionBulletPoints':SkillDetails' :: Maybe [Text]
newInThisVersionBulletPoints' = Maybe [Text]
a} :: SkillDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails
-> f SkillDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
skillDetails_bulletPoints :: Lens.Lens' SkillDetails (Prelude.Maybe [Prelude.Text])
skillDetails_bulletPoints :: (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails
skillDetails_bulletPoints = (SkillDetails -> Maybe [Text])
-> (SkillDetails -> Maybe [Text] -> SkillDetails)
-> Lens SkillDetails SkillDetails (Maybe [Text]) (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SkillDetails' {Maybe [Text]
bulletPoints :: Maybe [Text]
$sel:bulletPoints:SkillDetails' :: SkillDetails -> Maybe [Text]
bulletPoints} -> Maybe [Text]
bulletPoints) (\s :: SkillDetails
s@SkillDetails' {} Maybe [Text]
a -> SkillDetails
s {$sel:bulletPoints:SkillDetails' :: Maybe [Text]
bulletPoints = Maybe [Text]
a} :: SkillDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails -> f SkillDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> SkillDetails
-> f SkillDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.FromJSON SkillDetails where
parseJSON :: Value -> Parser SkillDetails
parseJSON =
String
-> (Object -> Parser SkillDetails) -> Value -> Parser SkillDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"SkillDetails"
( \Object
x ->
Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails
SkillDetails'
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SkillTypes" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Text
-> Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProductDescription")
Parser
(Maybe Text
-> Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InvocationPhrase")
Parser
(Maybe DeveloperInfo
-> Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe DeveloperInfo)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DeveloperInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DeveloperInfo")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EndUserLicenseAgreement")
Parser
(Maybe [Text]
-> Maybe (HashMap Text Text)
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> SkillDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe (HashMap Text Text)
-> Maybe Text -> Maybe [Text] -> Maybe [Text] -> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"GenericKeywords"
Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe (HashMap Text Text)
-> Maybe Text -> Maybe [Text] -> Maybe [Text] -> SkillDetails)
-> Parser (Maybe (HashMap Text Text))
-> Parser
(Maybe Text -> Maybe [Text] -> Maybe [Text] -> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Reviews" Parser (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> Parser (Maybe (HashMap Text Text))
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
Parser (Maybe Text -> Maybe [Text] -> Maybe [Text] -> SkillDetails)
-> Parser (Maybe Text)
-> Parser (Maybe [Text] -> Maybe [Text] -> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ReleaseDate")
Parser (Maybe [Text] -> Maybe [Text] -> SkillDetails)
-> Parser (Maybe [Text]) -> Parser (Maybe [Text] -> SkillDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NewInThisVersionBulletPoints"
Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Parser (Maybe [Text] -> SkillDetails)
-> Parser (Maybe [Text]) -> Parser SkillDetails
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"BulletPoints" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable SkillDetails
instance Prelude.NFData SkillDetails