{-# 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 getAccountPeople
module StripeAPI.Operations.GetAccountPeople 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/account/people
--
-- \<p>Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.\<\/p>
getAccountPeople ::
  forall m.
  StripeAPI.Common.MonadHTTP m =>
  -- | Contains all available parameters of this operation (query and path parameters)
  GetAccountPeopleParameters ->
  -- | Monadic computation which returns the result of the operation
  StripeAPI.Common.StripeT m (Network.HTTP.Client.Types.Response GetAccountPeopleResponse)
getAccountPeople :: GetAccountPeopleParameters
-> StripeT m (Response GetAccountPeopleResponse)
getAccountPeople GetAccountPeopleParameters
parameters =
  (Response ByteString -> Response GetAccountPeopleResponse)
-> StripeT m (Response ByteString)
-> StripeT m (Response GetAccountPeopleResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
GHC.Base.fmap
    ( \Response ByteString
response_0 ->
        (ByteString -> GetAccountPeopleResponse)
-> Response ByteString -> Response GetAccountPeopleResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
GHC.Base.fmap
          ( (String -> GetAccountPeopleResponse)
-> (GetAccountPeopleResponse -> GetAccountPeopleResponse)
-> Either String GetAccountPeopleResponse
-> GetAccountPeopleResponse
forall a c b. (a -> c) -> (b -> c) -> Either a b -> c
Data.Either.either String -> GetAccountPeopleResponse
GetAccountPeopleResponseError GetAccountPeopleResponse -> GetAccountPeopleResponse
forall a. a -> a
GHC.Base.id
              (Either String GetAccountPeopleResponse
 -> GetAccountPeopleResponse)
-> (ByteString -> Either String GetAccountPeopleResponse)
-> ByteString
-> GetAccountPeopleResponse
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) ->
                                   GetAccountPeopleResponseBody200 -> GetAccountPeopleResponse
GetAccountPeopleResponse200
                                     (GetAccountPeopleResponseBody200 -> GetAccountPeopleResponse)
-> Either String GetAccountPeopleResponseBody200
-> Either String GetAccountPeopleResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> ( ByteString -> Either String GetAccountPeopleResponseBody200
forall a. FromJSON a => ByteString -> Either String a
Data.Aeson.eitherDecodeStrict ByteString
body ::
                                                          Data.Either.Either
                                                            GHC.Base.String
                                                            GetAccountPeopleResponseBody200
                                                      )
                                 | 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 -> GetAccountPeopleResponse
GetAccountPeopleResponseDefault
                                     (Error -> GetAccountPeopleResponse)
-> Either String Error -> Either String GetAccountPeopleResponse
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 GetAccountPeopleResponse
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] -> StripeT m (Response ByteString)
forall (m :: * -> *).
MonadHTTP m =>
Text -> Text -> [QueryParameter] -> StripeT 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/account/people")
        [ 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.<$> GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryEndingBefore GetAccountPeopleParameters
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.<$> GetAccountPeopleParameters -> Maybe [Text]
getAccountPeopleParametersQueryExpand GetAccountPeopleParameters
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.<$> GetAccountPeopleParameters -> Maybe Int
getAccountPeopleParametersQueryLimit GetAccountPeopleParameters
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
"relationship") (GetAccountPeopleParametersQueryRelationship' -> Value
forall a. ToJSON a => a -> Value
Data.Aeson.Types.ToJSON.toJSON (GetAccountPeopleParametersQueryRelationship' -> Value)
-> Maybe GetAccountPeopleParametersQueryRelationship'
-> Maybe Value
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Data.Functor.<$> GetAccountPeopleParameters
-> Maybe GetAccountPeopleParametersQueryRelationship'
getAccountPeopleParametersQueryRelationship GetAccountPeopleParameters
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
"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.<$> GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryStartingAfter GetAccountPeopleParameters
parameters) (String -> Text
Data.Text.pack String
"form") Bool
GHC.Types.True
        ]
    )

-- | Defines the object schema located at @paths.\/v1\/account\/people.GET.parameters@ in the specification.
data GetAccountPeopleParameters = GetAccountPeopleParameters
  { -- | 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
    GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryEndingBefore :: (GHC.Maybe.Maybe Data.Text.Internal.Text),
    -- | queryExpand: Represents the parameter named \'expand\'
    --
    -- Specifies which fields in the response should be expanded.
    GetAccountPeopleParameters -> Maybe [Text]
getAccountPeopleParametersQueryExpand :: (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.
    GetAccountPeopleParameters -> Maybe Int
getAccountPeopleParametersQueryLimit :: (GHC.Maybe.Maybe GHC.Types.Int),
    -- | queryRelationship: Represents the parameter named \'relationship\'
    --
    -- Filters on the list of people returned based on the person\'s relationship to the account\'s company.
    GetAccountPeopleParameters
-> Maybe GetAccountPeopleParametersQueryRelationship'
getAccountPeopleParametersQueryRelationship :: (GHC.Maybe.Maybe GetAccountPeopleParametersQueryRelationship'),
    -- | 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
    GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryStartingAfter :: (GHC.Maybe.Maybe Data.Text.Internal.Text)
  }
  deriving
    ( Int -> GetAccountPeopleParameters -> ShowS
[GetAccountPeopleParameters] -> ShowS
GetAccountPeopleParameters -> String
(Int -> GetAccountPeopleParameters -> ShowS)
-> (GetAccountPeopleParameters -> String)
-> ([GetAccountPeopleParameters] -> ShowS)
-> Show GetAccountPeopleParameters
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAccountPeopleParameters] -> ShowS
$cshowList :: [GetAccountPeopleParameters] -> ShowS
show :: GetAccountPeopleParameters -> String
$cshow :: GetAccountPeopleParameters -> String
showsPrec :: Int -> GetAccountPeopleParameters -> ShowS
$cshowsPrec :: Int -> GetAccountPeopleParameters -> ShowS
GHC.Show.Show,
      GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool
(GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool)
-> (GetAccountPeopleParameters
    -> GetAccountPeopleParameters -> Bool)
-> Eq GetAccountPeopleParameters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool
$c/= :: GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool
== :: GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool
$c== :: GetAccountPeopleParameters -> GetAccountPeopleParameters -> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON GetAccountPeopleParameters where
  toJSON :: GetAccountPeopleParameters -> Value
toJSON GetAccountPeopleParameters
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"queryEnding_before" Text -> Maybe Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryEndingBefore GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe [Text]
getAccountPeopleParametersQueryExpand GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe Int
getAccountPeopleParametersQueryLimit GetAccountPeopleParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"queryRelationship" Text -> Maybe GetAccountPeopleParametersQueryRelationship' -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParameters
-> Maybe GetAccountPeopleParametersQueryRelationship'
getAccountPeopleParametersQueryRelationship GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryStartingAfter GetAccountPeopleParameters
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: GetAccountPeopleParameters -> Encoding
toEncoding GetAccountPeopleParameters
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"queryEnding_before" Text -> Maybe Text -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryEndingBefore GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe [Text]
getAccountPeopleParametersQueryExpand GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe Int
getAccountPeopleParametersQueryLimit GetAccountPeopleParameters
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"queryRelationship" Text
-> Maybe GetAccountPeopleParametersQueryRelationship' -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParameters
-> Maybe GetAccountPeopleParametersQueryRelationship'
getAccountPeopleParametersQueryRelationship GetAccountPeopleParameters
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..= GetAccountPeopleParameters -> Maybe Text
getAccountPeopleParametersQueryStartingAfter GetAccountPeopleParameters
obj)))))

instance Data.Aeson.Types.FromJSON.FromJSON GetAccountPeopleParameters where
  parseJSON :: Value -> Parser GetAccountPeopleParameters
parseJSON = String
-> (Object -> Parser GetAccountPeopleParameters)
-> Value
-> Parser GetAccountPeopleParameters
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetAccountPeopleParameters" (\Object
obj -> (((((Maybe Text
 -> Maybe [Text]
 -> Maybe Int
 -> Maybe GetAccountPeopleParametersQueryRelationship'
 -> Maybe Text
 -> GetAccountPeopleParameters)
-> Parser
     (Maybe Text
      -> Maybe [Text]
      -> Maybe Int
      -> Maybe GetAccountPeopleParametersQueryRelationship'
      -> Maybe Text
      -> GetAccountPeopleParameters)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Text
-> Maybe [Text]
-> Maybe Int
-> Maybe GetAccountPeopleParametersQueryRelationship'
-> Maybe Text
-> GetAccountPeopleParameters
GetAccountPeopleParameters Parser
  (Maybe Text
   -> Maybe [Text]
   -> Maybe Int
   -> Maybe GetAccountPeopleParametersQueryRelationship'
   -> Maybe Text
   -> GetAccountPeopleParameters)
-> Parser (Maybe Text)
-> Parser
     (Maybe [Text]
      -> Maybe Int
      -> Maybe GetAccountPeopleParametersQueryRelationship'
      -> Maybe Text
      -> GetAccountPeopleParameters)
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 GetAccountPeopleParametersQueryRelationship'
   -> Maybe Text
   -> GetAccountPeopleParameters)
-> Parser (Maybe [Text])
-> Parser
     (Maybe Int
      -> Maybe GetAccountPeopleParametersQueryRelationship'
      -> Maybe Text
      -> GetAccountPeopleParameters)
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 GetAccountPeopleParametersQueryRelationship'
   -> Maybe Text
   -> GetAccountPeopleParameters)
-> Parser (Maybe Int)
-> Parser
     (Maybe GetAccountPeopleParametersQueryRelationship'
      -> Maybe Text -> GetAccountPeopleParameters)
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 GetAccountPeopleParametersQueryRelationship'
   -> Maybe Text -> GetAccountPeopleParameters)
-> Parser (Maybe GetAccountPeopleParametersQueryRelationship')
-> Parser (Maybe Text -> GetAccountPeopleParameters)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object
-> Text
-> Parser (Maybe GetAccountPeopleParametersQueryRelationship')
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"queryRelationship")) Parser (Maybe Text -> GetAccountPeopleParameters)
-> Parser (Maybe Text) -> Parser GetAccountPeopleParameters
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"))

-- | Create a new 'GetAccountPeopleParameters' with all required fields.
mkGetAccountPeopleParameters :: GetAccountPeopleParameters
mkGetAccountPeopleParameters :: GetAccountPeopleParameters
mkGetAccountPeopleParameters =
  GetAccountPeopleParameters :: Maybe Text
-> Maybe [Text]
-> Maybe Int
-> Maybe GetAccountPeopleParametersQueryRelationship'
-> Maybe Text
-> GetAccountPeopleParameters
GetAccountPeopleParameters
    { getAccountPeopleParametersQueryEndingBefore :: Maybe Text
getAccountPeopleParametersQueryEndingBefore = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryExpand :: Maybe [Text]
getAccountPeopleParametersQueryExpand = Maybe [Text]
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryLimit :: Maybe Int
getAccountPeopleParametersQueryLimit = Maybe Int
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryRelationship :: Maybe GetAccountPeopleParametersQueryRelationship'
getAccountPeopleParametersQueryRelationship = Maybe GetAccountPeopleParametersQueryRelationship'
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryStartingAfter :: Maybe Text
getAccountPeopleParametersQueryStartingAfter = Maybe Text
forall a. Maybe a
GHC.Maybe.Nothing
    }

-- | Defines the object schema located at @paths.\/v1\/account\/people.GET.parameters.properties.queryRelationship@ in the specification.
--
-- Represents the parameter named \'relationship\'
--
-- Filters on the list of people returned based on the person\'s relationship to the account\'s company.
data GetAccountPeopleParametersQueryRelationship' = GetAccountPeopleParametersQueryRelationship'
  { -- | director
    GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Director :: (GHC.Maybe.Maybe GHC.Types.Bool),
    -- | executive
    GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Executive :: (GHC.Maybe.Maybe GHC.Types.Bool),
    -- | owner
    GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Owner :: (GHC.Maybe.Maybe GHC.Types.Bool),
    -- | representative
    GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Representative :: (GHC.Maybe.Maybe GHC.Types.Bool)
  }
  deriving
    ( Int -> GetAccountPeopleParametersQueryRelationship' -> ShowS
[GetAccountPeopleParametersQueryRelationship'] -> ShowS
GetAccountPeopleParametersQueryRelationship' -> String
(Int -> GetAccountPeopleParametersQueryRelationship' -> ShowS)
-> (GetAccountPeopleParametersQueryRelationship' -> String)
-> ([GetAccountPeopleParametersQueryRelationship'] -> ShowS)
-> Show GetAccountPeopleParametersQueryRelationship'
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAccountPeopleParametersQueryRelationship'] -> ShowS
$cshowList :: [GetAccountPeopleParametersQueryRelationship'] -> ShowS
show :: GetAccountPeopleParametersQueryRelationship' -> String
$cshow :: GetAccountPeopleParametersQueryRelationship' -> String
showsPrec :: Int -> GetAccountPeopleParametersQueryRelationship' -> ShowS
$cshowsPrec :: Int -> GetAccountPeopleParametersQueryRelationship' -> ShowS
GHC.Show.Show,
      GetAccountPeopleParametersQueryRelationship'
-> GetAccountPeopleParametersQueryRelationship' -> Bool
(GetAccountPeopleParametersQueryRelationship'
 -> GetAccountPeopleParametersQueryRelationship' -> Bool)
-> (GetAccountPeopleParametersQueryRelationship'
    -> GetAccountPeopleParametersQueryRelationship' -> Bool)
-> Eq GetAccountPeopleParametersQueryRelationship'
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAccountPeopleParametersQueryRelationship'
-> GetAccountPeopleParametersQueryRelationship' -> Bool
$c/= :: GetAccountPeopleParametersQueryRelationship'
-> GetAccountPeopleParametersQueryRelationship' -> Bool
== :: GetAccountPeopleParametersQueryRelationship'
-> GetAccountPeopleParametersQueryRelationship' -> Bool
$c== :: GetAccountPeopleParametersQueryRelationship'
-> GetAccountPeopleParametersQueryRelationship' -> Bool
GHC.Classes.Eq
    )

instance Data.Aeson.Types.ToJSON.ToJSON GetAccountPeopleParametersQueryRelationship' where
  toJSON :: GetAccountPeopleParametersQueryRelationship' -> Value
toJSON GetAccountPeopleParametersQueryRelationship'
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"director" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Director GetAccountPeopleParametersQueryRelationship'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"executive" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Executive GetAccountPeopleParametersQueryRelationship'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"owner" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Owner GetAccountPeopleParametersQueryRelationship'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: Text
"representative" Text -> Maybe Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Representative GetAccountPeopleParametersQueryRelationship'
obj Pair -> [Pair] -> [Pair]
forall a. a -> [a] -> [a]
: [Pair]
forall a. Monoid a => a
GHC.Base.mempty)
  toEncoding :: GetAccountPeopleParametersQueryRelationship' -> Encoding
toEncoding GetAccountPeopleParametersQueryRelationship'
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"director" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Director GetAccountPeopleParametersQueryRelationship'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"executive" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Executive GetAccountPeopleParametersQueryRelationship'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> ((Text
"owner" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Owner GetAccountPeopleParametersQueryRelationship'
obj) Series -> Series -> Series
forall a. Semigroup a => a -> a -> a
GHC.Base.<> (Text
"representative" Text -> Maybe Bool -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
getAccountPeopleParametersQueryRelationship'Representative GetAccountPeopleParametersQueryRelationship'
obj))))

instance Data.Aeson.Types.FromJSON.FromJSON GetAccountPeopleParametersQueryRelationship' where
  parseJSON :: Value -> Parser GetAccountPeopleParametersQueryRelationship'
parseJSON = String
-> (Object -> Parser GetAccountPeopleParametersQueryRelationship')
-> Value
-> Parser GetAccountPeopleParametersQueryRelationship'
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetAccountPeopleParametersQueryRelationship'" (\Object
obj -> ((((Maybe Bool
 -> Maybe Bool
 -> Maybe Bool
 -> Maybe Bool
 -> GetAccountPeopleParametersQueryRelationship')
-> Parser
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> GetAccountPeopleParametersQueryRelationship')
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> GetAccountPeopleParametersQueryRelationship'
GetAccountPeopleParametersQueryRelationship' Parser
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> GetAccountPeopleParametersQueryRelationship')
-> Parser (Maybe Bool)
-> Parser
     (Maybe Bool
      -> Maybe Bool
      -> Maybe Bool
      -> GetAccountPeopleParametersQueryRelationship')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"director")) Parser
  (Maybe Bool
   -> Maybe Bool
   -> Maybe Bool
   -> GetAccountPeopleParametersQueryRelationship')
-> Parser (Maybe Bool)
-> Parser
     (Maybe Bool
      -> Maybe Bool -> GetAccountPeopleParametersQueryRelationship')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"executive")) Parser
  (Maybe Bool
   -> Maybe Bool -> GetAccountPeopleParametersQueryRelationship')
-> Parser (Maybe Bool)
-> Parser
     (Maybe Bool -> GetAccountPeopleParametersQueryRelationship')
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"owner")) Parser (Maybe Bool -> GetAccountPeopleParametersQueryRelationship')
-> Parser (Maybe Bool)
-> Parser GetAccountPeopleParametersQueryRelationship'
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Data.Aeson.Types.FromJSON..:? Text
"representative"))

-- | Create a new 'GetAccountPeopleParametersQueryRelationship'' with all required fields.
mkGetAccountPeopleParametersQueryRelationship' :: GetAccountPeopleParametersQueryRelationship'
mkGetAccountPeopleParametersQueryRelationship' :: GetAccountPeopleParametersQueryRelationship'
mkGetAccountPeopleParametersQueryRelationship' =
  GetAccountPeopleParametersQueryRelationship' :: Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> GetAccountPeopleParametersQueryRelationship'
GetAccountPeopleParametersQueryRelationship'
    { getAccountPeopleParametersQueryRelationship'Director :: Maybe Bool
getAccountPeopleParametersQueryRelationship'Director = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryRelationship'Executive :: Maybe Bool
getAccountPeopleParametersQueryRelationship'Executive = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryRelationship'Owner :: Maybe Bool
getAccountPeopleParametersQueryRelationship'Owner = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing,
      getAccountPeopleParametersQueryRelationship'Representative :: Maybe Bool
getAccountPeopleParametersQueryRelationship'Representative = Maybe Bool
forall a. Maybe a
GHC.Maybe.Nothing
    }

-- | Represents a response of the operation 'getAccountPeople'.
--
-- 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), 'GetAccountPeopleResponseError' is used.
data GetAccountPeopleResponse
  = -- | Means either no matching case available or a parse error
    GetAccountPeopleResponseError GHC.Base.String
  | -- | Successful response.
    GetAccountPeopleResponse200 GetAccountPeopleResponseBody200
  | -- | Error response.
    GetAccountPeopleResponseDefault Error
  deriving (Int -> GetAccountPeopleResponse -> ShowS
[GetAccountPeopleResponse] -> ShowS
GetAccountPeopleResponse -> String
(Int -> GetAccountPeopleResponse -> ShowS)
-> (GetAccountPeopleResponse -> String)
-> ([GetAccountPeopleResponse] -> ShowS)
-> Show GetAccountPeopleResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAccountPeopleResponse] -> ShowS
$cshowList :: [GetAccountPeopleResponse] -> ShowS
show :: GetAccountPeopleResponse -> String
$cshow :: GetAccountPeopleResponse -> String
showsPrec :: Int -> GetAccountPeopleResponse -> ShowS
$cshowsPrec :: Int -> GetAccountPeopleResponse -> ShowS
GHC.Show.Show, GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool
(GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool)
-> (GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool)
-> Eq GetAccountPeopleResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool
$c/= :: GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool
== :: GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool
$c== :: GetAccountPeopleResponse -> GetAccountPeopleResponse -> Bool
GHC.Classes.Eq)

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

instance Data.Aeson.Types.ToJSON.ToJSON GetAccountPeopleResponseBody200 where
  toJSON :: GetAccountPeopleResponseBody200 -> Value
toJSON GetAccountPeopleResponseBody200
obj = [Pair] -> Value
Data.Aeson.Types.Internal.object (Text
"data" Text -> [Person] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleResponseBody200 -> [Person]
getAccountPeopleResponseBody200Data GetAccountPeopleResponseBody200
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..= GetAccountPeopleResponseBody200 -> Bool
getAccountPeopleResponseBody200HasMore GetAccountPeopleResponseBody200
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..= GetAccountPeopleResponseBody200 -> Text
getAccountPeopleResponseBody200Url GetAccountPeopleResponseBody200
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 :: GetAccountPeopleResponseBody200 -> Encoding
toEncoding GetAccountPeopleResponseBody200
obj = Series -> Encoding
Data.Aeson.Encoding.Internal.pairs ((Text
"data" Text -> [Person] -> Series
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Data.Aeson.Types.ToJSON..= GetAccountPeopleResponseBody200 -> [Person]
getAccountPeopleResponseBody200Data GetAccountPeopleResponseBody200
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..= GetAccountPeopleResponseBody200 -> Bool
getAccountPeopleResponseBody200HasMore GetAccountPeopleResponseBody200
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..= GetAccountPeopleResponseBody200 -> Text
getAccountPeopleResponseBody200Url GetAccountPeopleResponseBody200
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 GetAccountPeopleResponseBody200 where
  parseJSON :: Value -> Parser GetAccountPeopleResponseBody200
parseJSON = String
-> (Object -> Parser GetAccountPeopleResponseBody200)
-> Value
-> Parser GetAccountPeopleResponseBody200
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.Aeson.Types.FromJSON.withObject String
"GetAccountPeopleResponseBody200" (\Object
obj -> ((([Person] -> Bool -> Text -> GetAccountPeopleResponseBody200)
-> Parser
     ([Person] -> Bool -> Text -> GetAccountPeopleResponseBody200)
forall (f :: * -> *) a. Applicative f => a -> f a
GHC.Base.pure [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
GetAccountPeopleResponseBody200 Parser
  ([Person] -> Bool -> Text -> GetAccountPeopleResponseBody200)
-> Parser [Person]
-> Parser (Bool -> Text -> GetAccountPeopleResponseBody200)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
GHC.Base.<*> (Object
obj Object -> Text -> Parser [Person]
forall a. FromJSON a => Object -> Text -> Parser a
Data.Aeson.Types.FromJSON..: Text
"data")) Parser (Bool -> Text -> GetAccountPeopleResponseBody200)
-> Parser Bool -> Parser (Text -> GetAccountPeopleResponseBody200)
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 -> GetAccountPeopleResponseBody200)
-> Parser Text -> Parser GetAccountPeopleResponseBody200
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 'GetAccountPeopleResponseBody200' with all required fields.
mkGetAccountPeopleResponseBody200 ::
  -- | 'getAccountPeopleResponseBody200Data'
  [Person] ->
  -- | 'getAccountPeopleResponseBody200HasMore'
  GHC.Types.Bool ->
  -- | 'getAccountPeopleResponseBody200Url'
  Data.Text.Internal.Text ->
  GetAccountPeopleResponseBody200
mkGetAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
mkGetAccountPeopleResponseBody200 [Person]
getAccountPeopleResponseBody200Data Bool
getAccountPeopleResponseBody200HasMore Text
getAccountPeopleResponseBody200Url =
  GetAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
GetAccountPeopleResponseBody200
    { getAccountPeopleResponseBody200Data :: [Person]
getAccountPeopleResponseBody200Data = [Person]
getAccountPeopleResponseBody200Data,
      getAccountPeopleResponseBody200HasMore :: Bool
getAccountPeopleResponseBody200HasMore = Bool
getAccountPeopleResponseBody200HasMore,
      getAccountPeopleResponseBody200Url :: Text
getAccountPeopleResponseBody200Url = Text
getAccountPeopleResponseBody200Url
    }