{-# 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.AppFlow.Types.SingularMetadata
-- 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)
module Amazonka.AppFlow.Types.SingularMetadata where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | The connector metadata specific to Singular.
--
-- /See:/ 'newSingularMetadata' smart constructor.
data SingularMetadata = SingularMetadata'
  {
  }
  deriving (SingularMetadata -> SingularMetadata -> Bool
(SingularMetadata -> SingularMetadata -> Bool)
-> (SingularMetadata -> SingularMetadata -> Bool)
-> Eq SingularMetadata
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SingularMetadata -> SingularMetadata -> Bool
$c/= :: SingularMetadata -> SingularMetadata -> Bool
== :: SingularMetadata -> SingularMetadata -> Bool
$c== :: SingularMetadata -> SingularMetadata -> Bool
Prelude.Eq, ReadPrec [SingularMetadata]
ReadPrec SingularMetadata
Int -> ReadS SingularMetadata
ReadS [SingularMetadata]
(Int -> ReadS SingularMetadata)
-> ReadS [SingularMetadata]
-> ReadPrec SingularMetadata
-> ReadPrec [SingularMetadata]
-> Read SingularMetadata
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SingularMetadata]
$creadListPrec :: ReadPrec [SingularMetadata]
readPrec :: ReadPrec SingularMetadata
$creadPrec :: ReadPrec SingularMetadata
readList :: ReadS [SingularMetadata]
$creadList :: ReadS [SingularMetadata]
readsPrec :: Int -> ReadS SingularMetadata
$creadsPrec :: Int -> ReadS SingularMetadata
Prelude.Read, Int -> SingularMetadata -> ShowS
[SingularMetadata] -> ShowS
SingularMetadata -> String
(Int -> SingularMetadata -> ShowS)
-> (SingularMetadata -> String)
-> ([SingularMetadata] -> ShowS)
-> Show SingularMetadata
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SingularMetadata] -> ShowS
$cshowList :: [SingularMetadata] -> ShowS
show :: SingularMetadata -> String
$cshow :: SingularMetadata -> String
showsPrec :: Int -> SingularMetadata -> ShowS
$cshowsPrec :: Int -> SingularMetadata -> ShowS
Prelude.Show, (forall x. SingularMetadata -> Rep SingularMetadata x)
-> (forall x. Rep SingularMetadata x -> SingularMetadata)
-> Generic SingularMetadata
forall x. Rep SingularMetadata x -> SingularMetadata
forall x. SingularMetadata -> Rep SingularMetadata x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SingularMetadata x -> SingularMetadata
$cfrom :: forall x. SingularMetadata -> Rep SingularMetadata x
Prelude.Generic)

-- |
-- Create a value of 'SingularMetadata' 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.
newSingularMetadata ::
  SingularMetadata
newSingularMetadata :: SingularMetadata
newSingularMetadata = SingularMetadata
SingularMetadata'

instance Core.FromJSON SingularMetadata where
  parseJSON :: Value -> Parser SingularMetadata
parseJSON =
    String
-> (Object -> Parser SingularMetadata)
-> Value
-> Parser SingularMetadata
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"SingularMetadata"
      (\Object
x -> SingularMetadata -> Parser SingularMetadata
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure SingularMetadata
SingularMetadata')

instance Prelude.Hashable SingularMetadata

instance Prelude.NFData SingularMetadata