{-# 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.MarketoMetadata
-- 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.MarketoMetadata where

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

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

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

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

instance Prelude.Hashable MarketoMetadata

instance Prelude.NFData MarketoMetadata