{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE MultiWayIf #-}
-- CHANGE WITH CAUTION: This is a generated code file generated by https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator.
{-# LANGUAGE OverloadedStrings #-}

-- | Contains the different functions to run the operation getIdentityVerificationReports
module StripeAPI.Operations.GetIdentityVerificationReports where

import qualified Control.Monad.Fail
import qualified Control.Monad.Trans.Reader
import qualified Data.Aeson
import qualified Data.Aeson as Data.Aeson.Encoding.Internal
import qualified Data.Aeson as Data.Aeson.Types
import qualified Data.Aeson as Data.Aeson.Types.FromJSON
import qualified Data.Aeson as Data.Aeson.Types.Internal
import qualified Data.Aeson as Data.Aeson.Types.ToJSON
import qualified Data.ByteString.Char8
import qualified Data.ByteString.Char8 as Data.ByteString.Internal
import qualified Data.Either
import qualified Data.Functor
import qualified Data.Scientific
import qualified Data.Text
import qualified Data.Text.Internal
import qualified Data.Time.Calendar as Data.Time.Calendar.Days
import qualified Data.Time.LocalTime as Data.Time.LocalTime.Internal.ZonedTime
import qualified Data.Vector
import qualified GHC.Base
import qualified GHC.Classes
import qualified GHC.Int
import qualified GHC.Show
import qualified GHC.Types
import qualified Network.HTTP.Client
import qualified Network.HTTP.Client as Network.HTTP.Client.Request
import qualified Network.HTTP.Client as Network.HTTP.Client.Types
import qualified Network.HTTP.Simple
import qualified Network.HTTP.Types
import qualified Network.HTTP.Types as Network.HTTP.Types.Status
import qualified Network.HTTP.Types as Network.HTTP.Types.URI
import qualified StripeAPI.Common
import StripeAPI.Types
import qualified Prelude as GHC.Integer.Type
import qualified Prelude as GHC.Maybe

-- | > GET /v1/identity/verification_reports
--
-- \<p>List all verification reports.\<\/p>
getIdentityVerificationReports ::
  forall m.
  StripeAPI.Common.MonadHTTP m =>
  -- | Contains all available parameters of this operation (query and path parameters)
  GetIdentityVerificationReportsParameters ->
  -- | Monadic computation which returns the result of the operation
  StripeAPI.Common.ClientT m (Network.HTTP.Client.Types.Response GetIdentityVerificationReportsResponse)
getIdentityVerificationReports :: GetIdentityVerificationReportsParameters
-> ClientT m (Response GetIdentityVerificationReportsResponse)
getIdentityVerificationReports GetIdentityVerificationReportsParameters
parameters =
  (Response ByteString
 -> Response GetIdentityVerificationReportsResponse)
-> ClientT m (Response ByteString)
-> ClientT m (Response GetIdentityVerificationReportsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
GHC.Base.fmap
    ( \Response ByteString
response_0 ->
        (ByteString -> GetIdentityVerificationReportsResponse)
-> Response ByteString
-> Response GetIdentityVerificationReportsResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
GHC.Base.fmap
          ( (String -> GetIdentityVerificationReportsResponse)
-> (GetIdentityVerificationReportsResponse
    -> GetIdentityVerificationReportsResponse)
-> Either String GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse
forall a c b. (a -> c) -> (b -> c) -> Either a b -> c
Data.Either.either String -> GetIdentityVerificationReportsResponse
GetIdentityVerificationReportsResponseError GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse
forall a. a -> a
GHC.Base.id
              (Either String GetIdentityVerificationReportsResponse
 -> GetIdentityVerificationReportsResponse)
-> (ByteString
    -> Either String GetIdentityVerificationReportsResponse)
-> ByteString
-> GetIdentityVerificationReportsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
GHC.Base.. ( \Response ByteString
response ByteString
body ->
                             if
                                 | (\Status
status_1 -> Status -> Int
Network.HTTP.Types.Status.statusCode Status
status_1 Int -> Int -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Int
200) (Response ByteString -> Status
forall body. Response body -> Status
Network.HTTP.Client.Types.responseStatus Response ByteString
response) ->
                                   GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponse
GetIdentityVerificationReportsResponse200
                                     (GetIdentityVerificationReportsResponseBody200
 -> GetIdentityVerificationReportsResponse)
-> Either String GetIdentityVerificationReportsResponseBody200
-> Either String GetIdentityVerificationReportsResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> ( ByteString
-> Either String GetIdentityVerificationReportsResponseBody200
forall a. FromJSON a => ByteString -> Either String a
Data.Aeson.eitherDecodeStrict ByteString
body ::
                                                          Data.Either.Either
                                                            GHC.Base.String
                                                            GetIdentityVerificationReportsResponseBody200
                                                      )
                                 | Bool -> Status -> Bool
forall a b. a -> b -> a
GHC.Base.const Bool
GHC.Types.True (Response ByteString -> Status
forall body. Response body -> Status
Network.HTTP.Client.Types.responseStatus Response ByteString
response) ->
                                   Error -> GetIdentityVerificationReportsResponse
GetIdentityVerificationReportsResponseDefault
                                     (Error -> GetIdentityVerificationReportsResponse)
-> Either String Error
-> Either String GetIdentityVerificationReportsResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> ( ByteString -> Either String Error
forall a. FromJSON a => ByteString -> Either String a
Data.Aeson.eitherDecodeStrict ByteString
body ::
                                                          Data.Either.Either
                                                            GHC.Base.String
                                                            Error
                                                      )
                                 | Bool
GHC.Base.otherwise -> String -> Either String GetIdentityVerificationReportsResponse
forall a b. a -> Either a b
Data.Either.Left String
"Missing default response type"
                         )
                Response ByteString
response_0
          )
          Response ByteString
response_0
    )
    ( Text -> Text -> [QueryParameter] -> ClientT m (Response ByteString)
forall (m :: * -> *).
MonadHTTP m =>
Text -> Text -> [QueryParameter] -> ClientT m (Response ByteString)
StripeAPI.Common.doCallWithConfigurationM
        (Text -> Text
Data.Text.toUpper (Text -> Text) -> Text -> Text
forall a b. (a -> b) -> a -> b
GHC.Base.$ String -> Text
Data.Text.pack String
"GET")
        (String -> Text
Data.Text.pack String
"/v1/identity/verification_reports")
        [ Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"created") (GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (GetIdentityVerificationReportsParametersQueryCreated'Variants
 -> Value)
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
getIdentityVerificationReportsParametersQueryCreated GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"deepObject") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"ending_before") (Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (Text -> Value) -> Maybe Text -> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryEndingBefore GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"expand") ([Text] -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON ([Text] -> Value) -> Maybe [Text] -> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters -> Maybe [Text]
getIdentityVerificationReportsParametersQueryExpand GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"deepObject") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"limit") (Int -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (Int -> Value) -> Maybe Int -> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters -> Maybe Int
getIdentityVerificationReportsParametersQueryLimit GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"starting_after") (Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (Text -> Value) -> Maybe Text -> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryStartingAfter GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"type") (GetIdentityVerificationReportsParametersQueryType' -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (GetIdentityVerificationReportsParametersQueryType' -> Value)
-> Maybe GetIdentityVerificationReportsParametersQueryType'
-> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters
-> Maybe GetIdentityVerificationReportsParametersQueryType'
getIdentityVerificationReportsParametersQueryType GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True,
          Text -> Maybe Value -> Text -> Bool -> QueryParameter
StripeAPI.Common.QueryParameter (String -> Text
Data.Text.pack String
"verification_session") (Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (Text -> Value) -> Maybe Text -> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryVerificationSession GetIdentityVerificationReportsParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True
        ]
    )

-- | Defines the object schema located at @paths.\/v1\/identity\/verification_reports.GET.parameters@ in the specification.
data GetIdentityVerificationReportsParameters = GetIdentityVerificationReportsParameters
  { -- | queryCreated: Represents the parameter named \'created\'
    GetIdentityVerificationReportsParameters
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
getIdentityVerificationReportsParametersQueryCreated :: (GHC.Maybe.Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants),
    -- | queryEnding_before: Represents the parameter named \'ending_before\'
    --
    -- A cursor for use in pagination. \`ending_before\` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with \`obj_bar\`, your subsequent call can include \`ending_before=obj_bar\` in order to fetch the previous page of the list.
    --
    -- Constraints:
    --
    -- * Maximum length of 5000
    GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryEndingBefore :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
    -- | queryExpand: Represents the parameter named \'expand\'
    --
    -- Specifies which fields in the response should be expanded.
    GetIdentityVerificationReportsParameters -> Maybe [Text]
getIdentityVerificationReportsParametersQueryExpand :: (GHC.Maybe.Maybe ([Data.Text.Internal.Text])),
    -- | queryLimit: Represents the parameter named \'limit\'
    --
    -- A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
    GetIdentityVerificationReportsParameters -> Maybe Int
getIdentityVerificationReportsParametersQueryLimit :: (GHC.Maybe.Maybe GHC.Types.Int),
    -- | queryStarting_after: Represents the parameter named \'starting_after\'
    --
    -- A cursor for use in pagination. \`starting_after\` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with \`obj_foo\`, your subsequent call can include \`starting_after=obj_foo\` in order to fetch the next page of the list.
    --
    -- Constraints:
    --
    -- * Maximum length of 5000
    GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryStartingAfter :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
    -- | queryType: Represents the parameter named \'type\'
    --
    -- Only return VerificationReports of this type
    GetIdentityVerificationReportsParameters
-> Maybe GetIdentityVerificationReportsParametersQueryType'
getIdentityVerificationReportsParametersQueryType :: (GHC.Maybe.Maybe GetIdentityVerificationReportsParametersQueryType'),
    -- | queryVerification_session: Represents the parameter named \'verification_session\'
    --
    -- Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.
    --
    -- Constraints:
    --
    -- * Maximum length of 5000
    GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryVerificationSession :: (GHC.Maybe.Maybe Data.Text.Internal.Text)
  }
  deriving
    ( Int -> GetIdentityVerificationReportsParameters -> ShowS
[GetIdentityVerificationReportsParameters] -> ShowS
GetIdentityVerificationReportsParameters -> String
(Int -> GetIdentityVerificationReportsParameters -> ShowS)
-> (GetIdentityVerificationReportsParameters -> String)
-> ([GetIdentityVerificationReportsParameters] -> ShowS)
-> Show GetIdentityVerificationReportsParameters
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsParameters] -> ShowS
$cshowList :: [GetIdentityVerificationReportsParameters] -> ShowS
show :: GetIdentityVerificationReportsParameters -> String
$cshow :: GetIdentityVerificationReportsParameters -> String
showsPrec :: Int -> GetIdentityVerificationReportsParameters -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationReportsParameters -> ShowS
GHC.Show.Show,
      GetIdentityVerificationReportsParameters
-> GetIdentityVerificationReportsParameters -> Bool
(GetIdentityVerificationReportsParameters
 -> GetIdentityVerificationReportsParameters -> Bool)
-> (GetIdentityVerificationReportsParameters
    -> GetIdentityVerificationReportsParameters -> Bool)
-> Eq GetIdentityVerificationReportsParameters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsParameters
-> GetIdentityVerificationReportsParameters -> Bool
$c/= :: GetIdentityVerificationReportsParameters
-> GetIdentityVerificationReportsParameters -> Bool
== :: GetIdentityVerificationReportsParameters
-> GetIdentityVerificationReportsParameters -> Bool
$c== :: GetIdentityVerificationReportsParameters
-> GetIdentityVerificationReportsParameters -> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON GetIdentityVerificationReportsParameters where
  toJSON :: GetIdentityVerificationReportsParameters -> Value
toJSON GetIdentityVerificationReportsParameters
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"queryCreated" Text
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
getIdentityVerificationReportsParametersQueryCreated GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryEnding_before" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryEndingBefore GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryExpand" Text -> Maybe [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe [Text]
getIdentityVerificationReportsParametersQueryExpand GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryLimit" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Int
getIdentityVerificationReportsParametersQueryLimit GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryStarting_after" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryStartingAfter GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryType" Text
-> Maybe GetIdentityVerificationReportsParametersQueryType' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters
-> Maybe GetIdentityVerificationReportsParametersQueryType'
getIdentityVerificationReportsParametersQueryType GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryVerification_session" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryVerificationSession GetIdentityVerificationReportsParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: GetIdentityVerificationReportsParameters -> Encoding
toEncoding GetIdentityVerificationReportsParameters
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"queryCreated" Text
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters
-> Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
getIdentityVerificationReportsParametersQueryCreated GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryEnding_before" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryEndingBefore GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryExpand" Text -> Maybe [Text] -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe [Text]
getIdentityVerificationReportsParametersQueryExpand GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryLimit" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Int
getIdentityVerificationReportsParametersQueryLimit GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryStarting_after" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryStartingAfter GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryType" Text
-> Maybe GetIdentityVerificationReportsParametersQueryType'
-> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters
-> Maybe GetIdentityVerificationReportsParametersQueryType'
getIdentityVerificationReportsParametersQueryType GetIdentityVerificationReportsParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"queryVerification_session" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParameters -> Maybe Text
getIdentityVerificationReportsParametersQueryVerificationSession GetIdentityVerificationReportsParameters
obj)))))))

instance Data.Aeson.Types.FromJSON.FromJSON GetIdentityVerificationReportsParameters where
  parseJSON :: Value -> Parser GetIdentityVerificationReportsParameters
parseJSON = String
-> (Object -> Parser GetIdentityVerificationReportsParameters)
-> Value
-> Parser GetIdentityVerificationReportsParameters
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetIdentityVerificationReportsParameters" (\Object
obj -> (((((((Maybe
   GetIdentityVerificationReportsParametersQueryCreated'Variants
 -> Maybe Text
 -> Maybe [Text]
 -> Maybe Int
 -> Maybe Text
 -> Maybe GetIdentityVerificationReportsParametersQueryType'
 -> Maybe Text
 -> GetIdentityVerificationReportsParameters)
-> Parser
     (Maybe
        GetIdentityVerificationReportsParametersQueryCreated'Variants
      -> Maybe Text
      -> Maybe [Text]
      -> Maybe Int
      -> Maybe Text
      -> Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text
      -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Maybe Text
-> Maybe [Text]
-> Maybe Int
-> Maybe Text
-> Maybe GetIdentityVerificationReportsParametersQueryType'
-> Maybe Text
-> GetIdentityVerificationReportsParameters
GetIdentityVerificationReportsParameters Parser
  (Maybe
     GetIdentityVerificationReportsParametersQueryCreated'Variants
   -> Maybe Text
   -> Maybe [Text]
   -> Maybe Int
   -> Maybe Text
   -> Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text
   -> GetIdentityVerificationReportsParameters)
-> Parser
     (Maybe
        GetIdentityVerificationReportsParametersQueryCreated'Variants)
-> Parser
     (Maybe Text
      -> Maybe [Text]
      -> Maybe Int
      -> Maybe Text
      -> Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text
      -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text
-> Parser
     (Maybe
        GetIdentityVerificationReportsParametersQueryCreated'Variants)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryCreated")) Parser
  (Maybe Text
   -> Maybe [Text]
   -> Maybe Int
   -> Maybe Text
   -> Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text
   -> GetIdentityVerificationReportsParameters)
-> Parser (Maybe Text)
-> Parser
     (Maybe [Text]
      -> Maybe Int
      -> Maybe Text
      -> Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text
      -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryEnding_before")) Parser
  (Maybe [Text]
   -> Maybe Int
   -> Maybe Text
   -> Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text
   -> GetIdentityVerificationReportsParameters)
-> Parser (Maybe [Text])
-> Parser
     (Maybe Int
      -> Maybe Text
      -> Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text
      -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe [Text])
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryExpand")) Parser
  (Maybe Int
   -> Maybe Text
   -> Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text
   -> GetIdentityVerificationReportsParameters)
-> Parser (Maybe Int)
-> Parser
     (Maybe Text
      -> Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text
      -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryLimit")) Parser
  (Maybe Text
   -> Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text
   -> GetIdentityVerificationReportsParameters)
-> Parser (Maybe Text)
-> Parser
     (Maybe GetIdentityVerificationReportsParametersQueryType'
      -> Maybe Text -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryStarting_after")) Parser
  (Maybe GetIdentityVerificationReportsParametersQueryType'
   -> Maybe Text -> GetIdentityVerificationReportsParameters)
-> Parser
     (Maybe GetIdentityVerificationReportsParametersQueryType')
-> Parser (Maybe Text -> GetIdentityVerificationReportsParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text
-> Parser
     (Maybe GetIdentityVerificationReportsParametersQueryType')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryType")) Parser (Maybe Text -> GetIdentityVerificationReportsParameters)
-> Parser (Maybe Text)
-> Parser GetIdentityVerificationReportsParameters
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryVerification_session"))

-- | Create a new 'GetIdentityVerificationReportsParameters' with all required fields.
mkGetIdentityVerificationReportsParameters :: GetIdentityVerificationReportsParameters
mkGetIdentityVerificationReportsParameters :: GetIdentityVerificationReportsParameters
mkGetIdentityVerificationReportsParameters =
  GetIdentityVerificationReportsParameters :: Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Maybe Text
-> Maybe [Text]
-> Maybe Int
-> Maybe Text
-> Maybe GetIdentityVerificationReportsParametersQueryType'
-> Maybe Text
-> GetIdentityVerificationReportsParameters
GetIdentityVerificationReportsParameters
    { getIdentityVerificationReportsParametersQueryCreated :: Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants
getIdentityVerificationReportsParametersQueryCreated = Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryEndingBefore :: Maybe Text
getIdentityVerificationReportsParametersQueryEndingBefore = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryExpand :: Maybe [Text]
getIdentityVerificationReportsParametersQueryExpand = Maybe [Text]
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryLimit :: Maybe Int
getIdentityVerificationReportsParametersQueryLimit = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryStartingAfter :: Maybe Text
getIdentityVerificationReportsParametersQueryStartingAfter = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryType :: Maybe GetIdentityVerificationReportsParametersQueryType'
getIdentityVerificationReportsParametersQueryType = Maybe GetIdentityVerificationReportsParametersQueryType'
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryVerificationSession :: Maybe Text
getIdentityVerificationReportsParametersQueryVerificationSession = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
    }

-- | Defines the object schema located at @paths.\/v1\/identity\/verification_reports.GET.parameters.properties.queryCreated.anyOf@ in the specification.
data GetIdentityVerificationReportsParametersQueryCreated'OneOf1 = GetIdentityVerificationReportsParametersQueryCreated'OneOf1
  { -- | gt
    GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt :: (GHC.Maybe.Maybe GHC.Types.Int),
    -- | gte
    GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte :: (GHC.Maybe.Maybe GHC.Types.Int),
    -- | lt
    GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt :: (GHC.Maybe.Maybe GHC.Types.Int),
    -- | lte
    GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte :: (GHC.Maybe.Maybe GHC.Types.Int)
  }
  deriving
    ( Int
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> ShowS
[GetIdentityVerificationReportsParametersQueryCreated'OneOf1]
-> ShowS
GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> String
(Int
 -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
 -> ShowS)
-> (GetIdentityVerificationReportsParametersQueryCreated'OneOf1
    -> String)
-> ([GetIdentityVerificationReportsParametersQueryCreated'OneOf1]
    -> ShowS)
-> Show GetIdentityVerificationReportsParametersQueryCreated'OneOf1
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsParametersQueryCreated'OneOf1]
-> ShowS
$cshowList :: [GetIdentityVerificationReportsParametersQueryCreated'OneOf1]
-> ShowS
show :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> String
$cshow :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> String
showsPrec :: Int
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> ShowS
$cshowsPrec :: Int
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> ShowS
GHC.Show.Show,
      GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Bool
(GetIdentityVerificationReportsParametersQueryCreated'OneOf1
 -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
 -> Bool)
-> (GetIdentityVerificationReportsParametersQueryCreated'OneOf1
    -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
    -> Bool)
-> Eq GetIdentityVerificationReportsParametersQueryCreated'OneOf1
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Bool
$c/= :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Bool
== :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Bool
$c== :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON GetIdentityVerificationReportsParametersQueryCreated'OneOf1 where
  toJSON :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Value
toJSON GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"gt" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"gte" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"lt" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"lte" Text -> Maybe Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Encoding
toEncoding GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"gt" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"gte" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"lt" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"lte" Text -> Maybe Int -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte GetIdentityVerificationReportsParametersQueryCreated'OneOf1
obj))))

instance Data.Aeson.Types.FromJSON.FromJSON GetIdentityVerificationReportsParametersQueryCreated'OneOf1 where
  parseJSON :: Value
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'OneOf1
parseJSON = String
-> (Object
    -> Parser
         GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Value
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'OneOf1
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetIdentityVerificationReportsParametersQueryCreated'OneOf1" (\Object
obj -> ((((Maybe Int
 -> Maybe Int
 -> Maybe Int
 -> Maybe Int
 -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Parser
     (Maybe Int
      -> Maybe Int
      -> Maybe Int
      -> Maybe Int
      -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
GetIdentityVerificationReportsParametersQueryCreated'OneOf1 Parser
  (Maybe Int
   -> Maybe Int
   -> Maybe Int
   -> Maybe Int
   -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Parser (Maybe Int)
-> Parser
     (Maybe Int
      -> Maybe Int
      -> Maybe Int
      -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"gt")) Parser
  (Maybe Int
   -> Maybe Int
   -> Maybe Int
   -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Parser (Maybe Int)
-> Parser
     (Maybe Int
      -> Maybe Int
      -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"gte")) Parser
  (Maybe Int
   -> Maybe Int
   -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Parser (Maybe Int)
-> Parser
     (Maybe Int
      -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"lt")) Parser
  (Maybe Int
   -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1)
-> Parser (Maybe Int)
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'OneOf1
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"lte"))

-- | Create a new 'GetIdentityVerificationReportsParametersQueryCreated'OneOf1' with all required fields.
mkGetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
mkGetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
mkGetIdentityVerificationReportsParametersQueryCreated'OneOf1 =
  GetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
GetIdentityVerificationReportsParametersQueryCreated'OneOf1
    { getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt :: Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte :: Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt :: Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
      getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte :: Maybe Int
getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing
    }

-- | Defines the oneOf schema located at @paths.\/v1\/identity\/verification_reports.GET.parameters.properties.queryCreated.anyOf@ in the specification.
--
-- Represents the parameter named \'created\'
data GetIdentityVerificationReportsParametersQueryCreated'Variants
  = GetIdentityVerificationReportsParametersQueryCreated'GetIdentityVerificationReportsParametersQueryCreated'OneOf1 GetIdentityVerificationReportsParametersQueryCreated'OneOf1
  | GetIdentityVerificationReportsParametersQueryCreated'Int GHC.Types.Int
  deriving (Int
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> ShowS
[GetIdentityVerificationReportsParametersQueryCreated'Variants]
-> ShowS
GetIdentityVerificationReportsParametersQueryCreated'Variants
-> String
(Int
 -> GetIdentityVerificationReportsParametersQueryCreated'Variants
 -> ShowS)
-> (GetIdentityVerificationReportsParametersQueryCreated'Variants
    -> String)
-> ([GetIdentityVerificationReportsParametersQueryCreated'Variants]
    -> ShowS)
-> Show
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsParametersQueryCreated'Variants]
-> ShowS
$cshowList :: [GetIdentityVerificationReportsParametersQueryCreated'Variants]
-> ShowS
show :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> String
$cshow :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> String
showsPrec :: Int
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> ShowS
$cshowsPrec :: Int
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> ShowS
GHC.Show.Show, GetIdentityVerificationReportsParametersQueryCreated'Variants
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Bool
(GetIdentityVerificationReportsParametersQueryCreated'Variants
 -> GetIdentityVerificationReportsParametersQueryCreated'Variants
 -> Bool)
-> (GetIdentityVerificationReportsParametersQueryCreated'Variants
    -> GetIdentityVerificationReportsParametersQueryCreated'Variants
    -> Bool)
-> Eq GetIdentityVerificationReportsParametersQueryCreated'Variants
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Bool
$c/= :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Bool
== :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Bool
$c== :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Bool
GHC.Classes.Eq)

instance Data.Aeson.Types.ToJSON.ToJSON GetIdentityVerificationReportsParametersQueryCreated'Variants where
  toJSON :: GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Value
toJSON (GetIdentityVerificationReportsParametersQueryCreated'GetIdentityVerificationReportsParametersQueryCreated'OneOf1 GetIdentityVerificationReportsParametersQueryCreated'OneOf1
a) = GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON GetIdentityVerificationReportsParametersQueryCreated'OneOf1
a
  toJSON (GetIdentityVerificationReportsParametersQueryCreated'Int Int
a) = Int -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Int
a

instance Data.Aeson.Types.FromJSON.FromJSON GetIdentityVerificationReportsParametersQueryCreated'Variants where
  parseJSON :: Value
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'Variants
parseJSON Value
val = case (GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
GetIdentityVerificationReportsParametersQueryCreated'GetIdentityVerificationReportsParametersQueryCreated'OneOf1 (GetIdentityVerificationReportsParametersQueryCreated'OneOf1
 -> GetIdentityVerificationReportsParametersQueryCreated'Variants)
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'OneOf1
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result
  GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> ((Int
-> GetIdentityVerificationReportsParametersQueryCreated'Variants
GetIdentityVerificationReportsParametersQueryCreated'Int (Int
 -> GetIdentityVerificationReportsParametersQueryCreated'Variants)
-> Result Int
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> Value -> Result Int
forall a. FromJSON a => Value -> Result a
Data.Aeson.Types.FromJSON.fromJSON Value
val) Result
  GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (f :: * -> *) a. Alternative f => f a -> f a -> f a
GHC.Base.<|> String
-> Result
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall a. String -> Result a
Data.Aeson.Types.Internal.Error String
"No variant matched") of
    Data.Aeson.Types.Internal.Success GetIdentityVerificationReportsParametersQueryCreated'Variants
a -> GetIdentityVerificationReportsParametersQueryCreated'Variants
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure GetIdentityVerificationReportsParametersQueryCreated'Variants
a
    Data.Aeson.Types.Internal.Error String
a -> String
-> Parser
     GetIdentityVerificationReportsParametersQueryCreated'Variants
forall (m :: * -> *) a. MonadFail m => String -> m a
Control.Monad.Fail.fail String
a

-- | Defines the enum schema located at @paths.\/v1\/identity\/verification_reports.GET.parameters.properties.queryType@ in the specification.
--
-- Represents the parameter named \'type\'
--
-- Only return VerificationReports of this type
data GetIdentityVerificationReportsParametersQueryType'
  = -- | This case is used if the value encountered during decoding does not match any of the provided cases in the specification.
    GetIdentityVerificationReportsParametersQueryType'Other Data.Aeson.Types.Internal.Value
  | -- | This constructor can be used to send values to the server which are not present in the specification yet.
    GetIdentityVerificationReportsParametersQueryType'Typed Data.Text.Internal.Text
  | -- | Represents the JSON value @"document"@
    GetIdentityVerificationReportsParametersQueryType'EnumDocument
  | -- | Represents the JSON value @"id_number"@
    GetIdentityVerificationReportsParametersQueryType'EnumIdNumber
  deriving (Int -> GetIdentityVerificationReportsParametersQueryType' -> ShowS
[GetIdentityVerificationReportsParametersQueryType'] -> ShowS
GetIdentityVerificationReportsParametersQueryType' -> String
(Int
 -> GetIdentityVerificationReportsParametersQueryType' -> ShowS)
-> (GetIdentityVerificationReportsParametersQueryType' -> String)
-> ([GetIdentityVerificationReportsParametersQueryType'] -> ShowS)
-> Show GetIdentityVerificationReportsParametersQueryType'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsParametersQueryType'] -> ShowS
$cshowList :: [GetIdentityVerificationReportsParametersQueryType'] -> ShowS
show :: GetIdentityVerificationReportsParametersQueryType' -> String
$cshow :: GetIdentityVerificationReportsParametersQueryType' -> String
showsPrec :: Int -> GetIdentityVerificationReportsParametersQueryType' -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationReportsParametersQueryType' -> ShowS
GHC.Show.Show, GetIdentityVerificationReportsParametersQueryType'
-> GetIdentityVerificationReportsParametersQueryType' -> Bool
(GetIdentityVerificationReportsParametersQueryType'
 -> GetIdentityVerificationReportsParametersQueryType' -> Bool)
-> (GetIdentityVerificationReportsParametersQueryType'
    -> GetIdentityVerificationReportsParametersQueryType' -> Bool)
-> Eq GetIdentityVerificationReportsParametersQueryType'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsParametersQueryType'
-> GetIdentityVerificationReportsParametersQueryType' -> Bool
$c/= :: GetIdentityVerificationReportsParametersQueryType'
-> GetIdentityVerificationReportsParametersQueryType' -> Bool
== :: GetIdentityVerificationReportsParametersQueryType'
-> GetIdentityVerificationReportsParametersQueryType' -> Bool
$c== :: GetIdentityVerificationReportsParametersQueryType'
-> GetIdentityVerificationReportsParametersQueryType' -> Bool
GHC.Classes.Eq)

instance Data.Aeson.Types.ToJSON.ToJSON GetIdentityVerificationReportsParametersQueryType' where
  toJSON :: GetIdentityVerificationReportsParametersQueryType' -> Value
toJSON (GetIdentityVerificationReportsParametersQueryType'Other Value
val) = Value
val
  toJSON (GetIdentityVerificationReportsParametersQueryType'Typed Text
val) = Text -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON Text
val
  toJSON (GetIdentityVerificationReportsParametersQueryType'
GetIdentityVerificationReportsParametersQueryType'EnumDocument) = Value
"document"
  toJSON (GetIdentityVerificationReportsParametersQueryType'
GetIdentityVerificationReportsParametersQueryType'EnumIdNumber) = Value
"id_number"

instance Data.Aeson.Types.FromJSON.FromJSON GetIdentityVerificationReportsParametersQueryType' where
  parseJSON :: Value -> Parser GetIdentityVerificationReportsParametersQueryType'
parseJSON Value
val =
    GetIdentityVerificationReportsParametersQueryType'
-> Parser GetIdentityVerificationReportsParametersQueryType'
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure
      ( if
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"document" -> GetIdentityVerificationReportsParametersQueryType'
GetIdentityVerificationReportsParametersQueryType'EnumDocument
            | Value
val Value -> Value -> Bool
forall a. Eq a => a -> a -> Bool
GHC.Classes.== Value
"id_number" -> GetIdentityVerificationReportsParametersQueryType'
GetIdentityVerificationReportsParametersQueryType'EnumIdNumber
            | Bool
GHC.Base.otherwise -> Value -> GetIdentityVerificationReportsParametersQueryType'
GetIdentityVerificationReportsParametersQueryType'Other Value
val
      )

-- | Represents a response of the operation 'getIdentityVerificationReports'.
--
-- The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), 'GetIdentityVerificationReportsResponseError' is used.
data GetIdentityVerificationReportsResponse
  = -- | Means either no matching case available or a parse error
    GetIdentityVerificationReportsResponseError GHC.Base.String
  | -- | Successful response.
    GetIdentityVerificationReportsResponse200 GetIdentityVerificationReportsResponseBody200
  | -- | Error response.
    GetIdentityVerificationReportsResponseDefault Error
  deriving (Int -> GetIdentityVerificationReportsResponse -> ShowS
[GetIdentityVerificationReportsResponse] -> ShowS
GetIdentityVerificationReportsResponse -> String
(Int -> GetIdentityVerificationReportsResponse -> ShowS)
-> (GetIdentityVerificationReportsResponse -> String)
-> ([GetIdentityVerificationReportsResponse] -> ShowS)
-> Show GetIdentityVerificationReportsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsResponse] -> ShowS
$cshowList :: [GetIdentityVerificationReportsResponse] -> ShowS
show :: GetIdentityVerificationReportsResponse -> String
$cshow :: GetIdentityVerificationReportsResponse -> String
showsPrec :: Int -> GetIdentityVerificationReportsResponse -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationReportsResponse -> ShowS
GHC.Show.Show, GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse -> Bool
(GetIdentityVerificationReportsResponse
 -> GetIdentityVerificationReportsResponse -> Bool)
-> (GetIdentityVerificationReportsResponse
    -> GetIdentityVerificationReportsResponse -> Bool)
-> Eq GetIdentityVerificationReportsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse -> Bool
$c/= :: GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse -> Bool
== :: GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse -> Bool
$c== :: GetIdentityVerificationReportsResponse
-> GetIdentityVerificationReportsResponse -> Bool
GHC.Classes.Eq)

-- | Defines the object schema located at @paths.\/v1\/identity\/verification_reports.GET.responses.200.content.application\/json.schema@ in the specification.
data GetIdentityVerificationReportsResponseBody200 = GetIdentityVerificationReportsResponseBody200
  { -- | data
    GetIdentityVerificationReportsResponseBody200
-> [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data :: ([Identity'verificationReport]),
    -- | has_more: True if this list has another page of items after this one that can be fetched.
    GetIdentityVerificationReportsResponseBody200 -> Bool
getIdentityVerificationReportsResponseBody200HasMore :: GHC.Types.Bool,
    -- | url: The URL where this list can be accessed.
    --
    -- Constraints:
    --
    -- * Maximum length of 5000
    -- * Must match pattern \'^\/v1\/identity\/verification_reports\'
    GetIdentityVerificationReportsResponseBody200 -> Text
getIdentityVerificationReportsResponseBody200Url :: Data.Text.Internal.Text
  }
  deriving
    ( Int -> GetIdentityVerificationReportsResponseBody200 -> ShowS
[GetIdentityVerificationReportsResponseBody200] -> ShowS
GetIdentityVerificationReportsResponseBody200 -> String
(Int -> GetIdentityVerificationReportsResponseBody200 -> ShowS)
-> (GetIdentityVerificationReportsResponseBody200 -> String)
-> ([GetIdentityVerificationReportsResponseBody200] -> ShowS)
-> Show GetIdentityVerificationReportsResponseBody200
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetIdentityVerificationReportsResponseBody200] -> ShowS
$cshowList :: [GetIdentityVerificationReportsResponseBody200] -> ShowS
show :: GetIdentityVerificationReportsResponseBody200 -> String
$cshow :: GetIdentityVerificationReportsResponseBody200 -> String
showsPrec :: Int -> GetIdentityVerificationReportsResponseBody200 -> ShowS
$cshowsPrec :: Int -> GetIdentityVerificationReportsResponseBody200 -> ShowS
GHC.Show.Show,
      GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponseBody200 -> Bool
(GetIdentityVerificationReportsResponseBody200
 -> GetIdentityVerificationReportsResponseBody200 -> Bool)
-> (GetIdentityVerificationReportsResponseBody200
    -> GetIdentityVerificationReportsResponseBody200 -> Bool)
-> Eq GetIdentityVerificationReportsResponseBody200
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponseBody200 -> Bool
$c/= :: GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponseBody200 -> Bool
== :: GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponseBody200 -> Bool
$c== :: GetIdentityVerificationReportsResponseBody200
-> GetIdentityVerificationReportsResponseBody200 -> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON GetIdentityVerificationReportsResponseBody200 where
  toJSON :: GetIdentityVerificationReportsResponseBody200 -> Value
toJSON GetIdentityVerificationReportsResponseBody200
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"data" Text -> [Identity'verificationReport] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200
-> [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data GetIdentityVerificationReportsResponseBody200
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"has_more" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200 -> Bool
getIdentityVerificationReportsResponseBody200HasMore GetIdentityVerificationReportsResponseBody200
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"url" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200 -> Text
getIdentityVerificationReportsResponseBody200Url GetIdentityVerificationReportsResponseBody200
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"object" Text -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= Text -> Value
Data.Aeson.Types.Internal.String Text
"list" Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: GetIdentityVerificationReportsResponseBody200 -> Encoding
toEncoding GetIdentityVerificationReportsResponseBody200
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"data" Text -> [Identity'verificationReport] -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200
-> [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data GetIdentityVerificationReportsResponseBody200
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"has_more" Text -> Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200 -> Bool
getIdentityVerificationReportsResponseBody200HasMore GetIdentityVerificationReportsResponseBody200
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"url" Text -> Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetIdentityVerificationReportsResponseBody200 -> Text
getIdentityVerificationReportsResponseBody200Url GetIdentityVerificationReportsResponseBody200
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"object" Text -> Value -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= Text -> Value
Data.Aeson.Types.Internal.String Text
"list"))))

instance Data.Aeson.Types.FromJSON.FromJSON GetIdentityVerificationReportsResponseBody200 where
  parseJSON :: Value -> Parser GetIdentityVerificationReportsResponseBody200
parseJSON = String
-> (Object -> Parser GetIdentityVerificationReportsResponseBody200)
-> Value
-> Parser GetIdentityVerificationReportsResponseBody200
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetIdentityVerificationReportsResponseBody200" (\Object
obj -> ((([Identity'verificationReport]
 -> Bool -> Text -> GetIdentityVerificationReportsResponseBody200)
-> Parser
     ([Identity'verificationReport]
      -> Bool -> Text -> GetIdentityVerificationReportsResponseBody200)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure [Identity'verificationReport]
-> Bool -> Text -> GetIdentityVerificationReportsResponseBody200
GetIdentityVerificationReportsResponseBody200 Parser
  ([Identity'verificationReport]
   -> Bool -> Text -> GetIdentityVerificationReportsResponseBody200)
-> Parser [Identity'verificationReport]
-> Parser
     (Bool -> Text -> GetIdentityVerificationReportsResponseBody200)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser [Identity'verificationReport]
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"data")) Parser
  (Bool -> Text -> GetIdentityVerificationReportsResponseBody200)
-> Parser Bool
-> Parser (Text -> GetIdentityVerificationReportsResponseBody200)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser Bool
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"has_more")) Parser (Text -> GetIdentityVerificationReportsResponseBody200)
-> Parser Text
-> Parser GetIdentityVerificationReportsResponseBody200
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"url"))

-- | Create a new 'GetIdentityVerificationReportsResponseBody200' with all required fields.
mkGetIdentityVerificationReportsResponseBody200 ::
  -- | 'getIdentityVerificationReportsResponseBody200Data'
  [Identity'verificationReport] ->
  -- | 'getIdentityVerificationReportsResponseBody200HasMore'
  GHC.Types.Bool ->
  -- | 'getIdentityVerificationReportsResponseBody200Url'
  Data.Text.Internal.Text ->
  GetIdentityVerificationReportsResponseBody200
mkGetIdentityVerificationReportsResponseBody200 :: [Identity'verificationReport]
-> Bool -> Text -> GetIdentityVerificationReportsResponseBody200
mkGetIdentityVerificationReportsResponseBody200 [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data Bool
getIdentityVerificationReportsResponseBody200HasMore Text
getIdentityVerificationReportsResponseBody200Url =
  GetIdentityVerificationReportsResponseBody200 :: [Identity'verificationReport]
-> Bool -> Text -> GetIdentityVerificationReportsResponseBody200
GetIdentityVerificationReportsResponseBody200
    { getIdentityVerificationReportsResponseBody200Data :: [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data = [Identity'verificationReport]
getIdentityVerificationReportsResponseBody200Data,
      getIdentityVerificationReportsResponseBody200HasMore :: Bool
getIdentityVerificationReportsResponseBody200HasMore = Bool
getIdentityVerificationReportsResponseBody200HasMore,
      getIdentityVerificationReportsResponseBody200Url :: Text
getIdentityVerificationReportsResponseBody200Url = Text
getIdentityVerificationReportsResponseBody200Url
    }