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

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

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

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

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

instance Prelude.Hashable ServiceNowMetadata

instance Prelude.NFData ServiceNowMetadata