{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.CustomerProfiles.Types.ZendeskConnectorOperator
( ZendeskConnectorOperator
( ..,
ZendeskConnectorOperator_ADDITION,
ZendeskConnectorOperator_DIVISION,
ZendeskConnectorOperator_GREATER_THAN,
ZendeskConnectorOperator_MASK_ALL,
ZendeskConnectorOperator_MASK_FIRST_N,
ZendeskConnectorOperator_MASK_LAST_N,
ZendeskConnectorOperator_MULTIPLICATION,
ZendeskConnectorOperator_NO_OP,
ZendeskConnectorOperator_PROJECTION,
ZendeskConnectorOperator_SUBTRACTION,
ZendeskConnectorOperator_VALIDATE_NON_NEGATIVE,
ZendeskConnectorOperator_VALIDATE_NON_NULL,
ZendeskConnectorOperator_VALIDATE_NON_ZERO,
ZendeskConnectorOperator_VALIDATE_NUMERIC
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ZendeskConnectorOperator = ZendeskConnectorOperator'
{ ZendeskConnectorOperator -> Text
fromZendeskConnectorOperator ::
Core.Text
}
deriving stock
( Int -> ZendeskConnectorOperator -> ShowS
[ZendeskConnectorOperator] -> ShowS
ZendeskConnectorOperator -> String
(Int -> ZendeskConnectorOperator -> ShowS)
-> (ZendeskConnectorOperator -> String)
-> ([ZendeskConnectorOperator] -> ShowS)
-> Show ZendeskConnectorOperator
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ZendeskConnectorOperator] -> ShowS
$cshowList :: [ZendeskConnectorOperator] -> ShowS
show :: ZendeskConnectorOperator -> String
$cshow :: ZendeskConnectorOperator -> String
showsPrec :: Int -> ZendeskConnectorOperator -> ShowS
$cshowsPrec :: Int -> ZendeskConnectorOperator -> ShowS
Prelude.Show,
ReadPrec [ZendeskConnectorOperator]
ReadPrec ZendeskConnectorOperator
Int -> ReadS ZendeskConnectorOperator
ReadS [ZendeskConnectorOperator]
(Int -> ReadS ZendeskConnectorOperator)
-> ReadS [ZendeskConnectorOperator]
-> ReadPrec ZendeskConnectorOperator
-> ReadPrec [ZendeskConnectorOperator]
-> Read ZendeskConnectorOperator
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ZendeskConnectorOperator]
$creadListPrec :: ReadPrec [ZendeskConnectorOperator]
readPrec :: ReadPrec ZendeskConnectorOperator
$creadPrec :: ReadPrec ZendeskConnectorOperator
readList :: ReadS [ZendeskConnectorOperator]
$creadList :: ReadS [ZendeskConnectorOperator]
readsPrec :: Int -> ReadS ZendeskConnectorOperator
$creadsPrec :: Int -> ReadS ZendeskConnectorOperator
Prelude.Read,
ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
(ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> (ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> Eq ZendeskConnectorOperator
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c/= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
== :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c== :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
Prelude.Eq,
Eq ZendeskConnectorOperator
Eq ZendeskConnectorOperator
-> (ZendeskConnectorOperator
-> ZendeskConnectorOperator -> Ordering)
-> (ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> (ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> (ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> (ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool)
-> (ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator)
-> (ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator)
-> Ord ZendeskConnectorOperator
ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
ZendeskConnectorOperator -> ZendeskConnectorOperator -> Ordering
ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator
$cmin :: ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator
max :: ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator
$cmax :: ZendeskConnectorOperator
-> ZendeskConnectorOperator -> ZendeskConnectorOperator
>= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c>= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
> :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c> :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
<= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c<= :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
< :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
$c< :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Bool
compare :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Ordering
$ccompare :: ZendeskConnectorOperator -> ZendeskConnectorOperator -> Ordering
$cp1Ord :: Eq ZendeskConnectorOperator
Prelude.Ord,
(forall x.
ZendeskConnectorOperator -> Rep ZendeskConnectorOperator x)
-> (forall x.
Rep ZendeskConnectorOperator x -> ZendeskConnectorOperator)
-> Generic ZendeskConnectorOperator
forall x.
Rep ZendeskConnectorOperator x -> ZendeskConnectorOperator
forall x.
ZendeskConnectorOperator -> Rep ZendeskConnectorOperator x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ZendeskConnectorOperator x -> ZendeskConnectorOperator
$cfrom :: forall x.
ZendeskConnectorOperator -> Rep ZendeskConnectorOperator x
Prelude.Generic
)
deriving newtype
( Int -> ZendeskConnectorOperator -> Int
ZendeskConnectorOperator -> Int
(Int -> ZendeskConnectorOperator -> Int)
-> (ZendeskConnectorOperator -> Int)
-> Hashable ZendeskConnectorOperator
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ZendeskConnectorOperator -> Int
$chash :: ZendeskConnectorOperator -> Int
hashWithSalt :: Int -> ZendeskConnectorOperator -> Int
$chashWithSalt :: Int -> ZendeskConnectorOperator -> Int
Prelude.Hashable,
ZendeskConnectorOperator -> ()
(ZendeskConnectorOperator -> ()) -> NFData ZendeskConnectorOperator
forall a. (a -> ()) -> NFData a
rnf :: ZendeskConnectorOperator -> ()
$crnf :: ZendeskConnectorOperator -> ()
Prelude.NFData,
Text -> Either String ZendeskConnectorOperator
(Text -> Either String ZendeskConnectorOperator)
-> FromText ZendeskConnectorOperator
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ZendeskConnectorOperator
$cfromText :: Text -> Either String ZendeskConnectorOperator
Core.FromText,
ZendeskConnectorOperator -> Text
(ZendeskConnectorOperator -> Text)
-> ToText ZendeskConnectorOperator
forall a. (a -> Text) -> ToText a
toText :: ZendeskConnectorOperator -> Text
$ctoText :: ZendeskConnectorOperator -> Text
Core.ToText,
ZendeskConnectorOperator -> ByteString
(ZendeskConnectorOperator -> ByteString)
-> ToByteString ZendeskConnectorOperator
forall a. (a -> ByteString) -> ToByteString a
toBS :: ZendeskConnectorOperator -> ByteString
$ctoBS :: ZendeskConnectorOperator -> ByteString
Core.ToByteString,
ZendeskConnectorOperator -> ByteStringBuilder
(ZendeskConnectorOperator -> ByteStringBuilder)
-> ToLog ZendeskConnectorOperator
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ZendeskConnectorOperator -> ByteStringBuilder
$cbuild :: ZendeskConnectorOperator -> ByteStringBuilder
Core.ToLog,
HeaderName -> ZendeskConnectorOperator -> [Header]
(HeaderName -> ZendeskConnectorOperator -> [Header])
-> ToHeader ZendeskConnectorOperator
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ZendeskConnectorOperator -> [Header]
$ctoHeader :: HeaderName -> ZendeskConnectorOperator -> [Header]
Core.ToHeader,
ZendeskConnectorOperator -> QueryString
(ZendeskConnectorOperator -> QueryString)
-> ToQuery ZendeskConnectorOperator
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ZendeskConnectorOperator -> QueryString
$ctoQuery :: ZendeskConnectorOperator -> QueryString
Core.ToQuery,
Value -> Parser [ZendeskConnectorOperator]
Value -> Parser ZendeskConnectorOperator
(Value -> Parser ZendeskConnectorOperator)
-> (Value -> Parser [ZendeskConnectorOperator])
-> FromJSON ZendeskConnectorOperator
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ZendeskConnectorOperator]
$cparseJSONList :: Value -> Parser [ZendeskConnectorOperator]
parseJSON :: Value -> Parser ZendeskConnectorOperator
$cparseJSON :: Value -> Parser ZendeskConnectorOperator
Core.FromJSON,
FromJSONKeyFunction [ZendeskConnectorOperator]
FromJSONKeyFunction ZendeskConnectorOperator
FromJSONKeyFunction ZendeskConnectorOperator
-> FromJSONKeyFunction [ZendeskConnectorOperator]
-> FromJSONKey ZendeskConnectorOperator
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ZendeskConnectorOperator]
$cfromJSONKeyList :: FromJSONKeyFunction [ZendeskConnectorOperator]
fromJSONKey :: FromJSONKeyFunction ZendeskConnectorOperator
$cfromJSONKey :: FromJSONKeyFunction ZendeskConnectorOperator
Core.FromJSONKey,
[ZendeskConnectorOperator] -> Encoding
[ZendeskConnectorOperator] -> Value
ZendeskConnectorOperator -> Encoding
ZendeskConnectorOperator -> Value
(ZendeskConnectorOperator -> Value)
-> (ZendeskConnectorOperator -> Encoding)
-> ([ZendeskConnectorOperator] -> Value)
-> ([ZendeskConnectorOperator] -> Encoding)
-> ToJSON ZendeskConnectorOperator
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ZendeskConnectorOperator] -> Encoding
$ctoEncodingList :: [ZendeskConnectorOperator] -> Encoding
toJSONList :: [ZendeskConnectorOperator] -> Value
$ctoJSONList :: [ZendeskConnectorOperator] -> Value
toEncoding :: ZendeskConnectorOperator -> Encoding
$ctoEncoding :: ZendeskConnectorOperator -> Encoding
toJSON :: ZendeskConnectorOperator -> Value
$ctoJSON :: ZendeskConnectorOperator -> Value
Core.ToJSON,
ToJSONKeyFunction [ZendeskConnectorOperator]
ToJSONKeyFunction ZendeskConnectorOperator
ToJSONKeyFunction ZendeskConnectorOperator
-> ToJSONKeyFunction [ZendeskConnectorOperator]
-> ToJSONKey ZendeskConnectorOperator
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ZendeskConnectorOperator]
$ctoJSONKeyList :: ToJSONKeyFunction [ZendeskConnectorOperator]
toJSONKey :: ToJSONKeyFunction ZendeskConnectorOperator
$ctoJSONKey :: ToJSONKeyFunction ZendeskConnectorOperator
Core.ToJSONKey,
[Node] -> Either String ZendeskConnectorOperator
([Node] -> Either String ZendeskConnectorOperator)
-> FromXML ZendeskConnectorOperator
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ZendeskConnectorOperator
$cparseXML :: [Node] -> Either String ZendeskConnectorOperator
Core.FromXML,
ZendeskConnectorOperator -> XML
(ZendeskConnectorOperator -> XML) -> ToXML ZendeskConnectorOperator
forall a. (a -> XML) -> ToXML a
toXML :: ZendeskConnectorOperator -> XML
$ctoXML :: ZendeskConnectorOperator -> XML
Core.ToXML
)
pattern ZendeskConnectorOperator_ADDITION :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_ADDITION :: ZendeskConnectorOperator
$mZendeskConnectorOperator_ADDITION :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_ADDITION = ZendeskConnectorOperator' "ADDITION"
pattern ZendeskConnectorOperator_DIVISION :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_DIVISION :: ZendeskConnectorOperator
$mZendeskConnectorOperator_DIVISION :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_DIVISION = ZendeskConnectorOperator' "DIVISION"
pattern ZendeskConnectorOperator_GREATER_THAN :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_GREATER_THAN :: ZendeskConnectorOperator
$mZendeskConnectorOperator_GREATER_THAN :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_GREATER_THAN = ZendeskConnectorOperator' "GREATER_THAN"
pattern ZendeskConnectorOperator_MASK_ALL :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_MASK_ALL :: ZendeskConnectorOperator
$mZendeskConnectorOperator_MASK_ALL :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_MASK_ALL = ZendeskConnectorOperator' "MASK_ALL"
pattern ZendeskConnectorOperator_MASK_FIRST_N :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_MASK_FIRST_N :: ZendeskConnectorOperator
$mZendeskConnectorOperator_MASK_FIRST_N :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_MASK_FIRST_N = ZendeskConnectorOperator' "MASK_FIRST_N"
pattern ZendeskConnectorOperator_MASK_LAST_N :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_MASK_LAST_N :: ZendeskConnectorOperator
$mZendeskConnectorOperator_MASK_LAST_N :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_MASK_LAST_N = ZendeskConnectorOperator' "MASK_LAST_N"
pattern ZendeskConnectorOperator_MULTIPLICATION :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_MULTIPLICATION :: ZendeskConnectorOperator
$mZendeskConnectorOperator_MULTIPLICATION :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_MULTIPLICATION = ZendeskConnectorOperator' "MULTIPLICATION"
pattern ZendeskConnectorOperator_NO_OP :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_NO_OP :: ZendeskConnectorOperator
$mZendeskConnectorOperator_NO_OP :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_NO_OP = ZendeskConnectorOperator' "NO_OP"
pattern ZendeskConnectorOperator_PROJECTION :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_PROJECTION :: ZendeskConnectorOperator
$mZendeskConnectorOperator_PROJECTION :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_PROJECTION = ZendeskConnectorOperator' "PROJECTION"
pattern ZendeskConnectorOperator_SUBTRACTION :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_SUBTRACTION :: ZendeskConnectorOperator
$mZendeskConnectorOperator_SUBTRACTION :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_SUBTRACTION = ZendeskConnectorOperator' "SUBTRACTION"
pattern ZendeskConnectorOperator_VALIDATE_NON_NEGATIVE :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_VALIDATE_NON_NEGATIVE :: ZendeskConnectorOperator
$mZendeskConnectorOperator_VALIDATE_NON_NEGATIVE :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_VALIDATE_NON_NEGATIVE = ZendeskConnectorOperator' "VALIDATE_NON_NEGATIVE"
pattern ZendeskConnectorOperator_VALIDATE_NON_NULL :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_VALIDATE_NON_NULL :: ZendeskConnectorOperator
$mZendeskConnectorOperator_VALIDATE_NON_NULL :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_VALIDATE_NON_NULL = ZendeskConnectorOperator' "VALIDATE_NON_NULL"
pattern ZendeskConnectorOperator_VALIDATE_NON_ZERO :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_VALIDATE_NON_ZERO :: ZendeskConnectorOperator
$mZendeskConnectorOperator_VALIDATE_NON_ZERO :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_VALIDATE_NON_ZERO = ZendeskConnectorOperator' "VALIDATE_NON_ZERO"
pattern ZendeskConnectorOperator_VALIDATE_NUMERIC :: ZendeskConnectorOperator
pattern $bZendeskConnectorOperator_VALIDATE_NUMERIC :: ZendeskConnectorOperator
$mZendeskConnectorOperator_VALIDATE_NUMERIC :: forall r.
ZendeskConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
ZendeskConnectorOperator_VALIDATE_NUMERIC = ZendeskConnectorOperator' "VALIDATE_NUMERIC"
{-# COMPLETE
ZendeskConnectorOperator_ADDITION,
ZendeskConnectorOperator_DIVISION,
ZendeskConnectorOperator_GREATER_THAN,
ZendeskConnectorOperator_MASK_ALL,
ZendeskConnectorOperator_MASK_FIRST_N,
ZendeskConnectorOperator_MASK_LAST_N,
ZendeskConnectorOperator_MULTIPLICATION,
ZendeskConnectorOperator_NO_OP,
ZendeskConnectorOperator_PROJECTION,
ZendeskConnectorOperator_SUBTRACTION,
ZendeskConnectorOperator_VALIDATE_NON_NEGATIVE,
ZendeskConnectorOperator_VALIDATE_NON_NULL,
ZendeskConnectorOperator_VALIDATE_NON_ZERO,
ZendeskConnectorOperator_VALIDATE_NUMERIC,
ZendeskConnectorOperator'
#-}