module OryKratos.Types.Misc
  ( Message (..),
    ErrorContainer (..),
    FormField (..),
    GenericError (..),
    HealthNotReadyStatus (..),
    HealthStatus (..),
    CreateIdentity (..),
    CreateRecoveryLink (..),
    Identity (..),
    RevokeSession (..),
    Session (..),
    UpdateIdentity (..),
    VerifiableIdentityAddress (..),
    Version (..),
    RecoveryAddress (..),
    ContainerChangeResponseItem (..),
    ContainerCreateCreatedBody (..),
    ContainerTopOKBody (..),
    ContainerUpdateOKBody (..),
    ContainerWaitOKBody (..),
    ContainerWaitOKBodyError (..),
    ErrorResponse (..),
    GraphDriverData (..),
    IdResponse (..),
    ImageSummary (..),
    ImageDeleteResponseItem (..),
    JsonError (..),
    SelfServiceErrorContainer (..),
  )
where

import Pre

-- |
data Message = Message
  { -- |
    Message -> Maybe Value
context :: Maybe Value,
    -- |
    Message -> Maybe Integer
id :: Maybe Integer,
    -- |
    Message -> Maybe Text
text :: Maybe Text,
    -- | The flow type can either be `api` or `browser`.
    Message -> Maybe Text
_type :: Maybe Text
  }
  deriving stock (Int -> Message -> ShowS
[Message] -> ShowS
Message -> String
(Int -> Message -> ShowS)
-> (Message -> String) -> ([Message] -> ShowS) -> Show Message
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Message] -> ShowS
$cshowList :: [Message] -> ShowS
show :: Message -> String
$cshow :: Message -> String
showsPrec :: Int -> Message -> ShowS
$cshowsPrec :: Int -> Message -> ShowS
Show, Message -> Message -> Bool
(Message -> Message -> Bool)
-> (Message -> Message -> Bool) -> Eq Message
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Message -> Message -> Bool
$c/= :: Message -> Message -> Bool
== :: Message -> Message -> Bool
$c== :: Message -> Message -> Bool
Eq, (forall x. Message -> Rep Message x)
-> (forall x. Rep Message x -> Message) -> Generic Message
forall x. Rep Message x -> Message
forall x. Message -> Rep Message x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Message x -> Message
$cfrom :: forall x. Message -> Rep Message x
Generic, Typeable Message
DataType
Constr
Typeable Message
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> Message -> c Message)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c Message)
-> (Message -> Constr)
-> (Message -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c Message))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message))
-> ((forall b. Data b => b -> b) -> Message -> Message)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> Message -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> Message -> r)
-> (forall u. (forall d. Data d => d -> u) -> Message -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> Message -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> Message -> m Message)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Message -> m Message)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Message -> m Message)
-> Data Message
Message -> DataType
Message -> Constr
(forall b. Data b => b -> b) -> Message -> Message
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Message -> c Message
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Message
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> Message -> u
forall u. (forall d. Data d => d -> u) -> Message -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Message -> m Message
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Message -> m Message
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Message
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Message -> c Message
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Message)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message)
$cMessage :: Constr
$tMessage :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> Message -> m Message
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Message -> m Message
gmapMp :: (forall d. Data d => d -> m d) -> Message -> m Message
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Message -> m Message
gmapM :: (forall d. Data d => d -> m d) -> Message -> m Message
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Message -> m Message
gmapQi :: Int -> (forall d. Data d => d -> u) -> Message -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> Message -> u
gmapQ :: (forall d. Data d => d -> u) -> Message -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> Message -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Message -> r
gmapT :: (forall b. Data b => b -> b) -> Message -> Message
$cgmapT :: (forall b. Data b => b -> b) -> Message -> Message
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c Message)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Message)
dataTypeOf :: Message -> DataType
$cdataTypeOf :: Message -> DataType
toConstr :: Message -> Constr
$ctoConstr :: Message -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Message
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Message
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Message -> c Message
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Message -> c Message
$cp1Data :: Typeable Message
Data)

instance FromJSON Message where
  parseJSON :: Value -> Parser Message
parseJSON =
    Options -> Value -> Parser Message
forall a.
(Generic a, GFromJSON Zero (Rep a)) =>
Options -> Value -> Parser a
genericParseJSON
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

instance ToJSON Message where
  toEncoding :: Message -> Encoding
toEncoding =
    Options -> Message -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

-- |
data ErrorContainer = ErrorContainer
  { -- | Errors in the container
    ErrorContainer -> Value
errors :: Value,
    -- |
    ErrorContainer -> Text
id :: Text
  }
  deriving stock (Int -> ErrorContainer -> ShowS
[ErrorContainer] -> ShowS
ErrorContainer -> String
(Int -> ErrorContainer -> ShowS)
-> (ErrorContainer -> String)
-> ([ErrorContainer] -> ShowS)
-> Show ErrorContainer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ErrorContainer] -> ShowS
$cshowList :: [ErrorContainer] -> ShowS
show :: ErrorContainer -> String
$cshow :: ErrorContainer -> String
showsPrec :: Int -> ErrorContainer -> ShowS
$cshowsPrec :: Int -> ErrorContainer -> ShowS
Show, ErrorContainer -> ErrorContainer -> Bool
(ErrorContainer -> ErrorContainer -> Bool)
-> (ErrorContainer -> ErrorContainer -> Bool) -> Eq ErrorContainer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ErrorContainer -> ErrorContainer -> Bool
$c/= :: ErrorContainer -> ErrorContainer -> Bool
== :: ErrorContainer -> ErrorContainer -> Bool
$c== :: ErrorContainer -> ErrorContainer -> Bool
Eq, (forall x. ErrorContainer -> Rep ErrorContainer x)
-> (forall x. Rep ErrorContainer x -> ErrorContainer)
-> Generic ErrorContainer
forall x. Rep ErrorContainer x -> ErrorContainer
forall x. ErrorContainer -> Rep ErrorContainer x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ErrorContainer x -> ErrorContainer
$cfrom :: forall x. ErrorContainer -> Rep ErrorContainer x
Generic, Typeable ErrorContainer
DataType
Constr
Typeable ErrorContainer
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> ErrorContainer -> c ErrorContainer)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ErrorContainer)
-> (ErrorContainer -> Constr)
-> (ErrorContainer -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ErrorContainer))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ErrorContainer))
-> ((forall b. Data b => b -> b)
    -> ErrorContainer -> ErrorContainer)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ErrorContainer -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ErrorContainer -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ErrorContainer -> m ErrorContainer)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ErrorContainer -> m ErrorContainer)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ErrorContainer -> m ErrorContainer)
-> Data ErrorContainer
ErrorContainer -> DataType
ErrorContainer -> Constr
(forall b. Data b => b -> b) -> ErrorContainer -> ErrorContainer
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorContainer -> c ErrorContainer
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorContainer
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> ErrorContainer -> u
forall u. (forall d. Data d => d -> u) -> ErrorContainer -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorContainer
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorContainer -> c ErrorContainer
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ErrorContainer)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorContainer)
$cErrorContainer :: Constr
$tErrorContainer :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
gmapMp :: (forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
gmapM :: (forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ErrorContainer -> m ErrorContainer
gmapQi :: Int -> (forall d. Data d => d -> u) -> ErrorContainer -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ErrorContainer -> u
gmapQ :: (forall d. Data d => d -> u) -> ErrorContainer -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> ErrorContainer -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorContainer -> r
gmapT :: (forall b. Data b => b -> b) -> ErrorContainer -> ErrorContainer
$cgmapT :: (forall b. Data b => b -> b) -> ErrorContainer -> ErrorContainer
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorContainer)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorContainer)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ErrorContainer)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ErrorContainer)
dataTypeOf :: ErrorContainer -> DataType
$cdataTypeOf :: ErrorContainer -> DataType
toConstr :: ErrorContainer -> Constr
$ctoConstr :: ErrorContainer -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorContainer
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorContainer
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorContainer -> c ErrorContainer
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorContainer -> c ErrorContainer
$cp1Data :: Typeable ErrorContainer
Data)

instance FromJSON ErrorContainer

instance ToJSON ErrorContainer where
  toEncoding :: ErrorContainer -> Encoding
toEncoding = Options -> ErrorContainer -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | Field represents a HTML Form Field
data FormField = FormField
  { -- | Disabled is the equivalent of `<input {{if .Disabled}}disabled{{end}}\">`
    FormField -> Maybe Bool
disabled :: Maybe Bool,
    -- |
    FormField -> Maybe [Message]
messages :: Maybe [Message],
    -- | Name is the equivalent of `<input name=\"{{.Name}}\">`
    FormField -> Text
name :: Text,
    -- | Pattern is the equivalent of `<input pattern=\"{{.Pattern}}\">`
    FormField -> Maybe Text
p :: Maybe Text,
    -- | Required is the equivalent of `<input required=\"{{.Required}}\">`
    FormField -> Maybe Bool
required :: Maybe Bool,
    -- | Type is the equivalent of `<input type=\"{{.Type}}\">`
    FormField -> Text
_type :: Text,
    -- | Value is the equivalent of `<input value=\"{{.Value}}\">`
    FormField -> Maybe Value
value :: Maybe Value
  }
  deriving stock (Int -> FormField -> ShowS
[FormField] -> ShowS
FormField -> String
(Int -> FormField -> ShowS)
-> (FormField -> String)
-> ([FormField] -> ShowS)
-> Show FormField
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FormField] -> ShowS
$cshowList :: [FormField] -> ShowS
show :: FormField -> String
$cshow :: FormField -> String
showsPrec :: Int -> FormField -> ShowS
$cshowsPrec :: Int -> FormField -> ShowS
Show, FormField -> FormField -> Bool
(FormField -> FormField -> Bool)
-> (FormField -> FormField -> Bool) -> Eq FormField
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FormField -> FormField -> Bool
$c/= :: FormField -> FormField -> Bool
== :: FormField -> FormField -> Bool
$c== :: FormField -> FormField -> Bool
Eq, (forall x. FormField -> Rep FormField x)
-> (forall x. Rep FormField x -> FormField) -> Generic FormField
forall x. Rep FormField x -> FormField
forall x. FormField -> Rep FormField x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FormField x -> FormField
$cfrom :: forall x. FormField -> Rep FormField x
Generic, Typeable FormField
DataType
Constr
Typeable FormField
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> FormField -> c FormField)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c FormField)
-> (FormField -> Constr)
-> (FormField -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c FormField))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FormField))
-> ((forall b. Data b => b -> b) -> FormField -> FormField)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> FormField -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> FormField -> r)
-> (forall u. (forall d. Data d => d -> u) -> FormField -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> FormField -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> FormField -> m FormField)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> FormField -> m FormField)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> FormField -> m FormField)
-> Data FormField
FormField -> DataType
FormField -> Constr
(forall b. Data b => b -> b) -> FormField -> FormField
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> FormField -> c FormField
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FormField
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> FormField -> u
forall u. (forall d. Data d => d -> u) -> FormField -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> FormField -> m FormField
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> FormField -> m FormField
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FormField
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> FormField -> c FormField
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c FormField)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FormField)
$cFormField :: Constr
$tFormField :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> FormField -> m FormField
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> FormField -> m FormField
gmapMp :: (forall d. Data d => d -> m d) -> FormField -> m FormField
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> FormField -> m FormField
gmapM :: (forall d. Data d => d -> m d) -> FormField -> m FormField
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> FormField -> m FormField
gmapQi :: Int -> (forall d. Data d => d -> u) -> FormField -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> FormField -> u
gmapQ :: (forall d. Data d => d -> u) -> FormField -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> FormField -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> FormField -> r
gmapT :: (forall b. Data b => b -> b) -> FormField -> FormField
$cgmapT :: (forall b. Data b => b -> b) -> FormField -> FormField
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FormField)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FormField)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c FormField)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c FormField)
dataTypeOf :: FormField -> DataType
$cdataTypeOf :: FormField -> DataType
toConstr :: FormField -> Constr
$ctoConstr :: FormField -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FormField
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FormField
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> FormField -> c FormField
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> FormField -> c FormField
$cp1Data :: Typeable FormField
Data)

instance FromJSON FormField where
  parseJSON :: Value -> Parser FormField
parseJSON =
    Options -> Value -> Parser FormField
forall a.
(Generic a, GFromJSON Zero (Rep a)) =>
Options -> Value -> Parser a
genericParseJSON
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

instance ToJSON FormField where
  toEncoding :: FormField -> Encoding
toEncoding =
    Options -> FormField -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

-- | Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.
data GenericError = GenericError
  { -- | The status code
    GenericError -> Maybe Integer
code :: Maybe Integer,
    -- | Debug information  This field is often not exposed to protect against leaking sensitive information.
    GenericError -> Maybe Text
debug :: Maybe Text,
    -- | Further error details
    GenericError -> Maybe Value
details :: Maybe Value,
    -- | Error message  The error's message.
    GenericError -> Text
message :: Text,
    -- | A human-readable reason for the error
    GenericError -> Maybe Text
reason :: Maybe Text,
    -- | The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
    GenericError -> Maybe Text
request :: Maybe Text,
    -- | The status description
    GenericError -> Maybe Text
status :: Maybe Text
  }
  deriving stock (Int -> GenericError -> ShowS
[GenericError] -> ShowS
GenericError -> String
(Int -> GenericError -> ShowS)
-> (GenericError -> String)
-> ([GenericError] -> ShowS)
-> Show GenericError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GenericError] -> ShowS
$cshowList :: [GenericError] -> ShowS
show :: GenericError -> String
$cshow :: GenericError -> String
showsPrec :: Int -> GenericError -> ShowS
$cshowsPrec :: Int -> GenericError -> ShowS
Show, GenericError -> GenericError -> Bool
(GenericError -> GenericError -> Bool)
-> (GenericError -> GenericError -> Bool) -> Eq GenericError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GenericError -> GenericError -> Bool
$c/= :: GenericError -> GenericError -> Bool
== :: GenericError -> GenericError -> Bool
$c== :: GenericError -> GenericError -> Bool
Eq, (forall x. GenericError -> Rep GenericError x)
-> (forall x. Rep GenericError x -> GenericError)
-> Generic GenericError
forall x. Rep GenericError x -> GenericError
forall x. GenericError -> Rep GenericError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GenericError x -> GenericError
$cfrom :: forall x. GenericError -> Rep GenericError x
Generic, Typeable GenericError
DataType
Constr
Typeable GenericError
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> GenericError -> c GenericError)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c GenericError)
-> (GenericError -> Constr)
-> (GenericError -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c GenericError))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c GenericError))
-> ((forall b. Data b => b -> b) -> GenericError -> GenericError)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> GenericError -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> GenericError -> r)
-> (forall u. (forall d. Data d => d -> u) -> GenericError -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> GenericError -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> GenericError -> m GenericError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> GenericError -> m GenericError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> GenericError -> m GenericError)
-> Data GenericError
GenericError -> DataType
GenericError -> Constr
(forall b. Data b => b -> b) -> GenericError -> GenericError
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GenericError -> c GenericError
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GenericError
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> GenericError -> u
forall u. (forall d. Data d => d -> u) -> GenericError -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> GenericError -> m GenericError
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> GenericError -> m GenericError
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GenericError
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GenericError -> c GenericError
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c GenericError)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GenericError)
$cGenericError :: Constr
$tGenericError :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> GenericError -> m GenericError
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> GenericError -> m GenericError
gmapMp :: (forall d. Data d => d -> m d) -> GenericError -> m GenericError
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> GenericError -> m GenericError
gmapM :: (forall d. Data d => d -> m d) -> GenericError -> m GenericError
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> GenericError -> m GenericError
gmapQi :: Int -> (forall d. Data d => d -> u) -> GenericError -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> GenericError -> u
gmapQ :: (forall d. Data d => d -> u) -> GenericError -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> GenericError -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GenericError -> r
gmapT :: (forall b. Data b => b -> b) -> GenericError -> GenericError
$cgmapT :: (forall b. Data b => b -> b) -> GenericError -> GenericError
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GenericError)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GenericError)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c GenericError)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c GenericError)
dataTypeOf :: GenericError -> DataType
$cdataTypeOf :: GenericError -> DataType
toConstr :: GenericError -> Constr
$ctoConstr :: GenericError -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GenericError
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GenericError
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GenericError -> c GenericError
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GenericError -> c GenericError
$cp1Data :: Typeable GenericError
Data)

instance FromJSON GenericError

instance ToJSON GenericError where
  toEncoding :: GenericError -> Encoding
toEncoding = Options -> GenericError -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data HealthNotReadyStatus = HealthNotReadyStatus
  { -- | Errors contains a list of errors that caused the not ready status.
    HealthNotReadyStatus -> Maybe (Map String Text)
errors :: Maybe (Map String Text)
  }
  deriving stock (Int -> HealthNotReadyStatus -> ShowS
[HealthNotReadyStatus] -> ShowS
HealthNotReadyStatus -> String
(Int -> HealthNotReadyStatus -> ShowS)
-> (HealthNotReadyStatus -> String)
-> ([HealthNotReadyStatus] -> ShowS)
-> Show HealthNotReadyStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HealthNotReadyStatus] -> ShowS
$cshowList :: [HealthNotReadyStatus] -> ShowS
show :: HealthNotReadyStatus -> String
$cshow :: HealthNotReadyStatus -> String
showsPrec :: Int -> HealthNotReadyStatus -> ShowS
$cshowsPrec :: Int -> HealthNotReadyStatus -> ShowS
Show, HealthNotReadyStatus -> HealthNotReadyStatus -> Bool
(HealthNotReadyStatus -> HealthNotReadyStatus -> Bool)
-> (HealthNotReadyStatus -> HealthNotReadyStatus -> Bool)
-> Eq HealthNotReadyStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HealthNotReadyStatus -> HealthNotReadyStatus -> Bool
$c/= :: HealthNotReadyStatus -> HealthNotReadyStatus -> Bool
== :: HealthNotReadyStatus -> HealthNotReadyStatus -> Bool
$c== :: HealthNotReadyStatus -> HealthNotReadyStatus -> Bool
Eq, (forall x. HealthNotReadyStatus -> Rep HealthNotReadyStatus x)
-> (forall x. Rep HealthNotReadyStatus x -> HealthNotReadyStatus)
-> Generic HealthNotReadyStatus
forall x. Rep HealthNotReadyStatus x -> HealthNotReadyStatus
forall x. HealthNotReadyStatus -> Rep HealthNotReadyStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HealthNotReadyStatus x -> HealthNotReadyStatus
$cfrom :: forall x. HealthNotReadyStatus -> Rep HealthNotReadyStatus x
Generic, Typeable HealthNotReadyStatus
DataType
Constr
Typeable HealthNotReadyStatus
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> HealthNotReadyStatus
    -> c HealthNotReadyStatus)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c HealthNotReadyStatus)
-> (HealthNotReadyStatus -> Constr)
-> (HealthNotReadyStatus -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c HealthNotReadyStatus))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c HealthNotReadyStatus))
-> ((forall b. Data b => b -> b)
    -> HealthNotReadyStatus -> HealthNotReadyStatus)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> HealthNotReadyStatus -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> HealthNotReadyStatus -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> HealthNotReadyStatus -> m HealthNotReadyStatus)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> HealthNotReadyStatus -> m HealthNotReadyStatus)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> HealthNotReadyStatus -> m HealthNotReadyStatus)
-> Data HealthNotReadyStatus
HealthNotReadyStatus -> DataType
HealthNotReadyStatus -> Constr
(forall b. Data b => b -> b)
-> HealthNotReadyStatus -> HealthNotReadyStatus
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> HealthNotReadyStatus
-> c HealthNotReadyStatus
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthNotReadyStatus
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> HealthNotReadyStatus -> u
forall u.
(forall d. Data d => d -> u) -> HealthNotReadyStatus -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthNotReadyStatus
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> HealthNotReadyStatus
-> c HealthNotReadyStatus
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c HealthNotReadyStatus)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthNotReadyStatus)
$cHealthNotReadyStatus :: Constr
$tHealthNotReadyStatus :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
gmapMp :: (forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
gmapM :: (forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> HealthNotReadyStatus -> m HealthNotReadyStatus
gmapQi :: Int -> (forall d. Data d => d -> u) -> HealthNotReadyStatus -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> HealthNotReadyStatus -> u
gmapQ :: (forall d. Data d => d -> u) -> HealthNotReadyStatus -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> HealthNotReadyStatus -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthNotReadyStatus -> r
gmapT :: (forall b. Data b => b -> b)
-> HealthNotReadyStatus -> HealthNotReadyStatus
$cgmapT :: (forall b. Data b => b -> b)
-> HealthNotReadyStatus -> HealthNotReadyStatus
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthNotReadyStatus)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthNotReadyStatus)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c HealthNotReadyStatus)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c HealthNotReadyStatus)
dataTypeOf :: HealthNotReadyStatus -> DataType
$cdataTypeOf :: HealthNotReadyStatus -> DataType
toConstr :: HealthNotReadyStatus -> Constr
$ctoConstr :: HealthNotReadyStatus -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthNotReadyStatus
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthNotReadyStatus
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> HealthNotReadyStatus
-> c HealthNotReadyStatus
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> HealthNotReadyStatus
-> c HealthNotReadyStatus
$cp1Data :: Typeable HealthNotReadyStatus
Data)

instance FromJSON HealthNotReadyStatus

instance ToJSON HealthNotReadyStatus where
  toEncoding :: HealthNotReadyStatus -> Encoding
toEncoding = Options -> HealthNotReadyStatus -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data HealthStatus = HealthStatus
  { -- | Status always contains \"ok\".
    HealthStatus -> Maybe Text
status :: Maybe Text
  }
  deriving stock (Int -> HealthStatus -> ShowS
[HealthStatus] -> ShowS
HealthStatus -> String
(Int -> HealthStatus -> ShowS)
-> (HealthStatus -> String)
-> ([HealthStatus] -> ShowS)
-> Show HealthStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HealthStatus] -> ShowS
$cshowList :: [HealthStatus] -> ShowS
show :: HealthStatus -> String
$cshow :: HealthStatus -> String
showsPrec :: Int -> HealthStatus -> ShowS
$cshowsPrec :: Int -> HealthStatus -> ShowS
Show, HealthStatus -> HealthStatus -> Bool
(HealthStatus -> HealthStatus -> Bool)
-> (HealthStatus -> HealthStatus -> Bool) -> Eq HealthStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HealthStatus -> HealthStatus -> Bool
$c/= :: HealthStatus -> HealthStatus -> Bool
== :: HealthStatus -> HealthStatus -> Bool
$c== :: HealthStatus -> HealthStatus -> Bool
Eq, (forall x. HealthStatus -> Rep HealthStatus x)
-> (forall x. Rep HealthStatus x -> HealthStatus)
-> Generic HealthStatus
forall x. Rep HealthStatus x -> HealthStatus
forall x. HealthStatus -> Rep HealthStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HealthStatus x -> HealthStatus
$cfrom :: forall x. HealthStatus -> Rep HealthStatus x
Generic, Typeable HealthStatus
DataType
Constr
Typeable HealthStatus
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> HealthStatus -> c HealthStatus)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c HealthStatus)
-> (HealthStatus -> Constr)
-> (HealthStatus -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c HealthStatus))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c HealthStatus))
-> ((forall b. Data b => b -> b) -> HealthStatus -> HealthStatus)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> HealthStatus -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> HealthStatus -> r)
-> (forall u. (forall d. Data d => d -> u) -> HealthStatus -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> HealthStatus -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus)
-> Data HealthStatus
HealthStatus -> DataType
HealthStatus -> Constr
(forall b. Data b => b -> b) -> HealthStatus -> HealthStatus
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> HealthStatus -> c HealthStatus
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthStatus
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> HealthStatus -> u
forall u. (forall d. Data d => d -> u) -> HealthStatus -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthStatus
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> HealthStatus -> c HealthStatus
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c HealthStatus)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthStatus)
$cHealthStatus :: Constr
$tHealthStatus :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
gmapMp :: (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
gmapM :: (forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> HealthStatus -> m HealthStatus
gmapQi :: Int -> (forall d. Data d => d -> u) -> HealthStatus -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> HealthStatus -> u
gmapQ :: (forall d. Data d => d -> u) -> HealthStatus -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> HealthStatus -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> HealthStatus -> r
gmapT :: (forall b. Data b => b -> b) -> HealthStatus -> HealthStatus
$cgmapT :: (forall b. Data b => b -> b) -> HealthStatus -> HealthStatus
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthStatus)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c HealthStatus)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c HealthStatus)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c HealthStatus)
dataTypeOf :: HealthStatus -> DataType
$cdataTypeOf :: HealthStatus -> DataType
toConstr :: HealthStatus -> Constr
$ctoConstr :: HealthStatus -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthStatus
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c HealthStatus
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> HealthStatus -> c HealthStatus
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> HealthStatus -> c HealthStatus
$cp1Data :: Typeable HealthStatus
Data)

instance FromJSON HealthStatus

instance ToJSON HealthStatus where
  toEncoding :: HealthStatus -> Encoding
toEncoding = Options -> HealthStatus -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CompleteSelfServiceLoginFlowWithPasswordMethod = CompleteSelfServiceLoginFlowWithPasswordMethod
  { -- | Sending the anti-csrf token is only required for browser login flows.
    CompleteSelfServiceLoginFlowWithPasswordMethod -> Maybe Text
csrf_token :: Maybe Text,
    -- | Identifier is the email or username of the user trying to log in.
    CompleteSelfServiceLoginFlowWithPasswordMethod -> Maybe Text
identifier :: Maybe Text,
    -- | The user's password.
    CompleteSelfServiceLoginFlowWithPasswordMethod -> Maybe Text
password :: Maybe Text
  }
  deriving stock (Int -> CompleteSelfServiceLoginFlowWithPasswordMethod -> ShowS
[CompleteSelfServiceLoginFlowWithPasswordMethod] -> ShowS
CompleteSelfServiceLoginFlowWithPasswordMethod -> String
(Int -> CompleteSelfServiceLoginFlowWithPasswordMethod -> ShowS)
-> (CompleteSelfServiceLoginFlowWithPasswordMethod -> String)
-> ([CompleteSelfServiceLoginFlowWithPasswordMethod] -> ShowS)
-> Show CompleteSelfServiceLoginFlowWithPasswordMethod
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CompleteSelfServiceLoginFlowWithPasswordMethod] -> ShowS
$cshowList :: [CompleteSelfServiceLoginFlowWithPasswordMethod] -> ShowS
show :: CompleteSelfServiceLoginFlowWithPasswordMethod -> String
$cshow :: CompleteSelfServiceLoginFlowWithPasswordMethod -> String
showsPrec :: Int -> CompleteSelfServiceLoginFlowWithPasswordMethod -> ShowS
$cshowsPrec :: Int -> CompleteSelfServiceLoginFlowWithPasswordMethod -> ShowS
Show, CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool
(CompleteSelfServiceLoginFlowWithPasswordMethod
 -> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool)
-> (CompleteSelfServiceLoginFlowWithPasswordMethod
    -> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool)
-> Eq CompleteSelfServiceLoginFlowWithPasswordMethod
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool
$c/= :: CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool
== :: CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool
$c== :: CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Bool
Eq, (forall x.
 CompleteSelfServiceLoginFlowWithPasswordMethod
 -> Rep CompleteSelfServiceLoginFlowWithPasswordMethod x)
-> (forall x.
    Rep CompleteSelfServiceLoginFlowWithPasswordMethod x
    -> CompleteSelfServiceLoginFlowWithPasswordMethod)
-> Generic CompleteSelfServiceLoginFlowWithPasswordMethod
forall x.
Rep CompleteSelfServiceLoginFlowWithPasswordMethod x
-> CompleteSelfServiceLoginFlowWithPasswordMethod
forall x.
CompleteSelfServiceLoginFlowWithPasswordMethod
-> Rep CompleteSelfServiceLoginFlowWithPasswordMethod x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CompleteSelfServiceLoginFlowWithPasswordMethod x
-> CompleteSelfServiceLoginFlowWithPasswordMethod
$cfrom :: forall x.
CompleteSelfServiceLoginFlowWithPasswordMethod
-> Rep CompleteSelfServiceLoginFlowWithPasswordMethod x
Generic, Typeable CompleteSelfServiceLoginFlowWithPasswordMethod
DataType
Constr
Typeable CompleteSelfServiceLoginFlowWithPasswordMethod
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> c CompleteSelfServiceLoginFlowWithPasswordMethod)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r)
    -> Constr
    -> c CompleteSelfServiceLoginFlowWithPasswordMethod)
-> (CompleteSelfServiceLoginFlowWithPasswordMethod -> Constr)
-> (CompleteSelfServiceLoginFlowWithPasswordMethod -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod))
-> ((forall b. Data b => b -> b)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> CompleteSelfServiceLoginFlowWithPasswordMethod)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> r)
-> (forall u.
    (forall d. Data d => d -> u)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> m CompleteSelfServiceLoginFlowWithPasswordMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> m CompleteSelfServiceLoginFlowWithPasswordMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceLoginFlowWithPasswordMethod
    -> m CompleteSelfServiceLoginFlowWithPasswordMethod)
-> Data CompleteSelfServiceLoginFlowWithPasswordMethod
CompleteSelfServiceLoginFlowWithPasswordMethod -> DataType
CompleteSelfServiceLoginFlowWithPasswordMethod -> Constr
(forall b. Data b => b -> b)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> u
forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
$cCompleteSelfServiceLoginFlowWithPasswordMethod :: Constr
$tCompleteSelfServiceLoginFlowWithPasswordMethod :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
gmapMp :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
gmapM :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> m CompleteSelfServiceLoginFlowWithPasswordMethod
gmapQi :: Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> u
gmapQ :: (forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> r
gmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod
$cgmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> CompleteSelfServiceLoginFlowWithPasswordMethod
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceLoginFlowWithPasswordMethod)
dataTypeOf :: CompleteSelfServiceLoginFlowWithPasswordMethod -> DataType
$cdataTypeOf :: CompleteSelfServiceLoginFlowWithPasswordMethod -> DataType
toConstr :: CompleteSelfServiceLoginFlowWithPasswordMethod -> Constr
$ctoConstr :: CompleteSelfServiceLoginFlowWithPasswordMethod -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceLoginFlowWithPasswordMethod
-> c CompleteSelfServiceLoginFlowWithPasswordMethod
$cp1Data :: Typeable CompleteSelfServiceLoginFlowWithPasswordMethod
Data)

instance FromJSON CompleteSelfServiceLoginFlowWithPasswordMethod

instance ToJSON CompleteSelfServiceLoginFlowWithPasswordMethod where
  toEncoding :: CompleteSelfServiceLoginFlowWithPasswordMethod -> Encoding
toEncoding = Options
-> CompleteSelfServiceLoginFlowWithPasswordMethod -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CompleteSelfServiceRecoveryFlowWithLinkMethod = CompleteSelfServiceRecoveryFlowWithLinkMethod
  { -- | Sending the anti-csrf token is only required for browser login flows.
    CompleteSelfServiceRecoveryFlowWithLinkMethod -> Maybe Text
csrf_token :: Maybe Text,
    -- | Email to Recover  Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email in: body
    CompleteSelfServiceRecoveryFlowWithLinkMethod -> Maybe Text
email :: Maybe Text
  }
  deriving stock (Int -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> ShowS
[CompleteSelfServiceRecoveryFlowWithLinkMethod] -> ShowS
CompleteSelfServiceRecoveryFlowWithLinkMethod -> String
(Int -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> ShowS)
-> (CompleteSelfServiceRecoveryFlowWithLinkMethod -> String)
-> ([CompleteSelfServiceRecoveryFlowWithLinkMethod] -> ShowS)
-> Show CompleteSelfServiceRecoveryFlowWithLinkMethod
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CompleteSelfServiceRecoveryFlowWithLinkMethod] -> ShowS
$cshowList :: [CompleteSelfServiceRecoveryFlowWithLinkMethod] -> ShowS
show :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> String
$cshow :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> String
showsPrec :: Int -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> ShowS
$cshowsPrec :: Int -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> ShowS
Show, CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool
(CompleteSelfServiceRecoveryFlowWithLinkMethod
 -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool)
-> (CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool)
-> Eq CompleteSelfServiceRecoveryFlowWithLinkMethod
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool
$c/= :: CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool
== :: CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool
$c== :: CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Bool
Eq, (forall x.
 CompleteSelfServiceRecoveryFlowWithLinkMethod
 -> Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x)
-> (forall x.
    Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> Generic CompleteSelfServiceRecoveryFlowWithLinkMethod
forall x.
Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
forall x.
CompleteSelfServiceRecoveryFlowWithLinkMethod
-> Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
$cfrom :: forall x.
CompleteSelfServiceRecoveryFlowWithLinkMethod
-> Rep CompleteSelfServiceRecoveryFlowWithLinkMethod x
Generic, Typeable CompleteSelfServiceRecoveryFlowWithLinkMethod
DataType
Constr
Typeable CompleteSelfServiceRecoveryFlowWithLinkMethod
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> c CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r)
    -> Constr
    -> c CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> (CompleteSelfServiceRecoveryFlowWithLinkMethod -> Constr)
-> (CompleteSelfServiceRecoveryFlowWithLinkMethod -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod))
-> ((forall b. Data b => b -> b)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> r)
-> (forall u.
    (forall d. Data d => d -> u)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> m CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> m CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceRecoveryFlowWithLinkMethod
    -> m CompleteSelfServiceRecoveryFlowWithLinkMethod)
-> Data CompleteSelfServiceRecoveryFlowWithLinkMethod
CompleteSelfServiceRecoveryFlowWithLinkMethod -> DataType
CompleteSelfServiceRecoveryFlowWithLinkMethod -> Constr
(forall b. Data b => b -> b)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> u
forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
$cCompleteSelfServiceRecoveryFlowWithLinkMethod :: Constr
$tCompleteSelfServiceRecoveryFlowWithLinkMethod :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
gmapMp :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
gmapM :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> m CompleteSelfServiceRecoveryFlowWithLinkMethod
gmapQi :: Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> u
gmapQ :: (forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> r
gmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceRecoveryFlowWithLinkMethod)
dataTypeOf :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> DataType
$cdataTypeOf :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> DataType
toConstr :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> Constr
$ctoConstr :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceRecoveryFlowWithLinkMethod
-> c CompleteSelfServiceRecoveryFlowWithLinkMethod
$cp1Data :: Typeable CompleteSelfServiceRecoveryFlowWithLinkMethod
Data)

instance FromJSON CompleteSelfServiceRecoveryFlowWithLinkMethod

instance ToJSON CompleteSelfServiceRecoveryFlowWithLinkMethod where
  toEncoding :: CompleteSelfServiceRecoveryFlowWithLinkMethod -> Encoding
toEncoding = Options
-> CompleteSelfServiceRecoveryFlowWithLinkMethod -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CompleteSelfServiceSettingsFlowWithPasswordMethod = CompleteSelfServiceSettingsFlowWithPasswordMethod
  { -- | CSRFToken is the anti-CSRF token  type: string
    CompleteSelfServiceSettingsFlowWithPasswordMethod -> Maybe Text
csrf_token :: Maybe Text,
    -- | Password is the updated password  type: string
    CompleteSelfServiceSettingsFlowWithPasswordMethod -> Text
password :: Text
  }
  deriving stock (Int -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> ShowS
[CompleteSelfServiceSettingsFlowWithPasswordMethod] -> ShowS
CompleteSelfServiceSettingsFlowWithPasswordMethod -> String
(Int -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> ShowS)
-> (CompleteSelfServiceSettingsFlowWithPasswordMethod -> String)
-> ([CompleteSelfServiceSettingsFlowWithPasswordMethod] -> ShowS)
-> Show CompleteSelfServiceSettingsFlowWithPasswordMethod
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CompleteSelfServiceSettingsFlowWithPasswordMethod] -> ShowS
$cshowList :: [CompleteSelfServiceSettingsFlowWithPasswordMethod] -> ShowS
show :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> String
$cshow :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> String
showsPrec :: Int -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> ShowS
$cshowsPrec :: Int -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> ShowS
Show, CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool
(CompleteSelfServiceSettingsFlowWithPasswordMethod
 -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool)
-> (CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool)
-> Eq CompleteSelfServiceSettingsFlowWithPasswordMethod
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool
$c/= :: CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool
== :: CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool
$c== :: CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Bool
Eq, (forall x.
 CompleteSelfServiceSettingsFlowWithPasswordMethod
 -> Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x)
-> (forall x.
    Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> Generic CompleteSelfServiceSettingsFlowWithPasswordMethod
forall x.
Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
forall x.
CompleteSelfServiceSettingsFlowWithPasswordMethod
-> Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
$cfrom :: forall x.
CompleteSelfServiceSettingsFlowWithPasswordMethod
-> Rep CompleteSelfServiceSettingsFlowWithPasswordMethod x
Generic, Typeable CompleteSelfServiceSettingsFlowWithPasswordMethod
DataType
Constr
Typeable CompleteSelfServiceSettingsFlowWithPasswordMethod
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> c CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r)
    -> Constr
    -> c CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> (CompleteSelfServiceSettingsFlowWithPasswordMethod -> Constr)
-> (CompleteSelfServiceSettingsFlowWithPasswordMethod -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod))
-> ((forall b. Data b => b -> b)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> r)
-> (forall u.
    (forall d. Data d => d -> u)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> m CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> m CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceSettingsFlowWithPasswordMethod
    -> m CompleteSelfServiceSettingsFlowWithPasswordMethod)
-> Data CompleteSelfServiceSettingsFlowWithPasswordMethod
CompleteSelfServiceSettingsFlowWithPasswordMethod -> DataType
CompleteSelfServiceSettingsFlowWithPasswordMethod -> Constr
(forall b. Data b => b -> b)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> u
forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
$cCompleteSelfServiceSettingsFlowWithPasswordMethod :: Constr
$tCompleteSelfServiceSettingsFlowWithPasswordMethod :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
gmapMp :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
gmapM :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> m CompleteSelfServiceSettingsFlowWithPasswordMethod
gmapQi :: Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> u
gmapQ :: (forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> r
gmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceSettingsFlowWithPasswordMethod)
dataTypeOf :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> DataType
$cdataTypeOf :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> DataType
toConstr :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> Constr
$ctoConstr :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceSettingsFlowWithPasswordMethod
-> c CompleteSelfServiceSettingsFlowWithPasswordMethod
$cp1Data :: Typeable CompleteSelfServiceSettingsFlowWithPasswordMethod
Data)

instance FromJSON CompleteSelfServiceSettingsFlowWithPasswordMethod

instance ToJSON CompleteSelfServiceSettingsFlowWithPasswordMethod where
  toEncoding :: CompleteSelfServiceSettingsFlowWithPasswordMethod -> Encoding
toEncoding = Options
-> CompleteSelfServiceSettingsFlowWithPasswordMethod -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CompleteSelfServiceVerificationFlowWithLinkMethod = CompleteSelfServiceVerificationFlowWithLinkMethod
  { -- | Sending the anti-csrf token is only required for browser login flows.
    CompleteSelfServiceVerificationFlowWithLinkMethod -> Maybe Text
csrf_token :: Maybe Text,
    -- | Email to Verify  Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email in: body
    CompleteSelfServiceVerificationFlowWithLinkMethod -> Maybe Text
email :: Maybe Text
  }
  deriving stock (Int -> CompleteSelfServiceVerificationFlowWithLinkMethod -> ShowS
[CompleteSelfServiceVerificationFlowWithLinkMethod] -> ShowS
CompleteSelfServiceVerificationFlowWithLinkMethod -> String
(Int -> CompleteSelfServiceVerificationFlowWithLinkMethod -> ShowS)
-> (CompleteSelfServiceVerificationFlowWithLinkMethod -> String)
-> ([CompleteSelfServiceVerificationFlowWithLinkMethod] -> ShowS)
-> Show CompleteSelfServiceVerificationFlowWithLinkMethod
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CompleteSelfServiceVerificationFlowWithLinkMethod] -> ShowS
$cshowList :: [CompleteSelfServiceVerificationFlowWithLinkMethod] -> ShowS
show :: CompleteSelfServiceVerificationFlowWithLinkMethod -> String
$cshow :: CompleteSelfServiceVerificationFlowWithLinkMethod -> String
showsPrec :: Int -> CompleteSelfServiceVerificationFlowWithLinkMethod -> ShowS
$cshowsPrec :: Int -> CompleteSelfServiceVerificationFlowWithLinkMethod -> ShowS
Show, CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool
(CompleteSelfServiceVerificationFlowWithLinkMethod
 -> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool)
-> (CompleteSelfServiceVerificationFlowWithLinkMethod
    -> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool)
-> Eq CompleteSelfServiceVerificationFlowWithLinkMethod
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool
$c/= :: CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool
== :: CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool
$c== :: CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Bool
Eq, (forall x.
 CompleteSelfServiceVerificationFlowWithLinkMethod
 -> Rep CompleteSelfServiceVerificationFlowWithLinkMethod x)
-> (forall x.
    Rep CompleteSelfServiceVerificationFlowWithLinkMethod x
    -> CompleteSelfServiceVerificationFlowWithLinkMethod)
-> Generic CompleteSelfServiceVerificationFlowWithLinkMethod
forall x.
Rep CompleteSelfServiceVerificationFlowWithLinkMethod x
-> CompleteSelfServiceVerificationFlowWithLinkMethod
forall x.
CompleteSelfServiceVerificationFlowWithLinkMethod
-> Rep CompleteSelfServiceVerificationFlowWithLinkMethod x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CompleteSelfServiceVerificationFlowWithLinkMethod x
-> CompleteSelfServiceVerificationFlowWithLinkMethod
$cfrom :: forall x.
CompleteSelfServiceVerificationFlowWithLinkMethod
-> Rep CompleteSelfServiceVerificationFlowWithLinkMethod x
Generic, Typeable CompleteSelfServiceVerificationFlowWithLinkMethod
DataType
Constr
Typeable CompleteSelfServiceVerificationFlowWithLinkMethod
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> c CompleteSelfServiceVerificationFlowWithLinkMethod)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r)
    -> Constr
    -> c CompleteSelfServiceVerificationFlowWithLinkMethod)
-> (CompleteSelfServiceVerificationFlowWithLinkMethod -> Constr)
-> (CompleteSelfServiceVerificationFlowWithLinkMethod -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod))
-> ((forall b. Data b => b -> b)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> CompleteSelfServiceVerificationFlowWithLinkMethod)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> r)
-> (forall u.
    (forall d. Data d => d -> u)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> m CompleteSelfServiceVerificationFlowWithLinkMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> m CompleteSelfServiceVerificationFlowWithLinkMethod)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CompleteSelfServiceVerificationFlowWithLinkMethod
    -> m CompleteSelfServiceVerificationFlowWithLinkMethod)
-> Data CompleteSelfServiceVerificationFlowWithLinkMethod
CompleteSelfServiceVerificationFlowWithLinkMethod -> DataType
CompleteSelfServiceVerificationFlowWithLinkMethod -> Constr
(forall b. Data b => b -> b)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> u
forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
$cCompleteSelfServiceVerificationFlowWithLinkMethod :: Constr
$tCompleteSelfServiceVerificationFlowWithLinkMethod :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
gmapMp :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
gmapM :: (forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> m CompleteSelfServiceVerificationFlowWithLinkMethod
gmapQi :: Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> u
gmapQ :: (forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u)
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> r
gmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod
$cgmapT :: (forall b. Data b => b -> b)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> CompleteSelfServiceVerificationFlowWithLinkMethod
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c CompleteSelfServiceVerificationFlowWithLinkMethod)
dataTypeOf :: CompleteSelfServiceVerificationFlowWithLinkMethod -> DataType
$cdataTypeOf :: CompleteSelfServiceVerificationFlowWithLinkMethod -> DataType
toConstr :: CompleteSelfServiceVerificationFlowWithLinkMethod -> Constr
$ctoConstr :: CompleteSelfServiceVerificationFlowWithLinkMethod -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r)
-> Constr
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CompleteSelfServiceVerificationFlowWithLinkMethod
-> c CompleteSelfServiceVerificationFlowWithLinkMethod
$cp1Data :: Typeable CompleteSelfServiceVerificationFlowWithLinkMethod
Data)

instance FromJSON CompleteSelfServiceVerificationFlowWithLinkMethod

instance ToJSON CompleteSelfServiceVerificationFlowWithLinkMethod where
  toEncoding :: CompleteSelfServiceVerificationFlowWithLinkMethod -> Encoding
toEncoding = Options
-> CompleteSelfServiceVerificationFlowWithLinkMethod -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CreateIdentity = CreateIdentity
  { -- | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
    CreateIdentity -> Text
schema_id :: Text,
    -- | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
    CreateIdentity -> Value
traits :: Value
  }
  deriving stock (Int -> CreateIdentity -> ShowS
[CreateIdentity] -> ShowS
CreateIdentity -> String
(Int -> CreateIdentity -> ShowS)
-> (CreateIdentity -> String)
-> ([CreateIdentity] -> ShowS)
-> Show CreateIdentity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateIdentity] -> ShowS
$cshowList :: [CreateIdentity] -> ShowS
show :: CreateIdentity -> String
$cshow :: CreateIdentity -> String
showsPrec :: Int -> CreateIdentity -> ShowS
$cshowsPrec :: Int -> CreateIdentity -> ShowS
Show, CreateIdentity -> CreateIdentity -> Bool
(CreateIdentity -> CreateIdentity -> Bool)
-> (CreateIdentity -> CreateIdentity -> Bool) -> Eq CreateIdentity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateIdentity -> CreateIdentity -> Bool
$c/= :: CreateIdentity -> CreateIdentity -> Bool
== :: CreateIdentity -> CreateIdentity -> Bool
$c== :: CreateIdentity -> CreateIdentity -> Bool
Eq, (forall x. CreateIdentity -> Rep CreateIdentity x)
-> (forall x. Rep CreateIdentity x -> CreateIdentity)
-> Generic CreateIdentity
forall x. Rep CreateIdentity x -> CreateIdentity
forall x. CreateIdentity -> Rep CreateIdentity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateIdentity x -> CreateIdentity
$cfrom :: forall x. CreateIdentity -> Rep CreateIdentity x
Generic, Typeable CreateIdentity
DataType
Constr
Typeable CreateIdentity
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> CreateIdentity -> c CreateIdentity)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c CreateIdentity)
-> (CreateIdentity -> Constr)
-> (CreateIdentity -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c CreateIdentity))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CreateIdentity))
-> ((forall b. Data b => b -> b)
    -> CreateIdentity -> CreateIdentity)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> CreateIdentity -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> CreateIdentity -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CreateIdentity -> m CreateIdentity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CreateIdentity -> m CreateIdentity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CreateIdentity -> m CreateIdentity)
-> Data CreateIdentity
CreateIdentity -> DataType
CreateIdentity -> Constr
(forall b. Data b => b -> b) -> CreateIdentity -> CreateIdentity
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> CreateIdentity -> c CreateIdentity
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateIdentity
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> CreateIdentity -> u
forall u. (forall d. Data d => d -> u) -> CreateIdentity -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateIdentity
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> CreateIdentity -> c CreateIdentity
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c CreateIdentity)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateIdentity)
$cCreateIdentity :: Constr
$tCreateIdentity :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
gmapMp :: (forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
gmapM :: (forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CreateIdentity -> m CreateIdentity
gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateIdentity -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> CreateIdentity -> u
gmapQ :: (forall d. Data d => d -> u) -> CreateIdentity -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> CreateIdentity -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateIdentity -> r
gmapT :: (forall b. Data b => b -> b) -> CreateIdentity -> CreateIdentity
$cgmapT :: (forall b. Data b => b -> b) -> CreateIdentity -> CreateIdentity
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateIdentity)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateIdentity)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c CreateIdentity)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c CreateIdentity)
dataTypeOf :: CreateIdentity -> DataType
$cdataTypeOf :: CreateIdentity -> DataType
toConstr :: CreateIdentity -> Constr
$ctoConstr :: CreateIdentity -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateIdentity
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateIdentity
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> CreateIdentity -> c CreateIdentity
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> CreateIdentity -> c CreateIdentity
$cp1Data :: Typeable CreateIdentity
Data)

instance FromJSON CreateIdentity

instance ToJSON CreateIdentity where
  toEncoding :: CreateIdentity -> Encoding
toEncoding = Options -> CreateIdentity -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data CreateRecoveryLink = AdminCreateSelfServiceRecoveryLinkBody
  { -- | Link Expires In  The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`.
    CreateRecoveryLink -> Maybe Text
expires_in :: Maybe Text,
    -- |
    CreateRecoveryLink -> UUID
identity_id :: UUID
  }
  deriving stock (Int -> CreateRecoveryLink -> ShowS
[CreateRecoveryLink] -> ShowS
CreateRecoveryLink -> String
(Int -> CreateRecoveryLink -> ShowS)
-> (CreateRecoveryLink -> String)
-> ([CreateRecoveryLink] -> ShowS)
-> Show CreateRecoveryLink
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateRecoveryLink] -> ShowS
$cshowList :: [CreateRecoveryLink] -> ShowS
show :: CreateRecoveryLink -> String
$cshow :: CreateRecoveryLink -> String
showsPrec :: Int -> CreateRecoveryLink -> ShowS
$cshowsPrec :: Int -> CreateRecoveryLink -> ShowS
Show, CreateRecoveryLink -> CreateRecoveryLink -> Bool
(CreateRecoveryLink -> CreateRecoveryLink -> Bool)
-> (CreateRecoveryLink -> CreateRecoveryLink -> Bool)
-> Eq CreateRecoveryLink
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateRecoveryLink -> CreateRecoveryLink -> Bool
$c/= :: CreateRecoveryLink -> CreateRecoveryLink -> Bool
== :: CreateRecoveryLink -> CreateRecoveryLink -> Bool
$c== :: CreateRecoveryLink -> CreateRecoveryLink -> Bool
Eq, (forall x. CreateRecoveryLink -> Rep CreateRecoveryLink x)
-> (forall x. Rep CreateRecoveryLink x -> CreateRecoveryLink)
-> Generic CreateRecoveryLink
forall x. Rep CreateRecoveryLink x -> CreateRecoveryLink
forall x. CreateRecoveryLink -> Rep CreateRecoveryLink x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateRecoveryLink x -> CreateRecoveryLink
$cfrom :: forall x. CreateRecoveryLink -> Rep CreateRecoveryLink x
Generic, Typeable CreateRecoveryLink
DataType
Constr
Typeable CreateRecoveryLink
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> CreateRecoveryLink
    -> c CreateRecoveryLink)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c CreateRecoveryLink)
-> (CreateRecoveryLink -> Constr)
-> (CreateRecoveryLink -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c CreateRecoveryLink))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c CreateRecoveryLink))
-> ((forall b. Data b => b -> b)
    -> CreateRecoveryLink -> CreateRecoveryLink)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> CreateRecoveryLink -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> CreateRecoveryLink -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> CreateRecoveryLink -> m CreateRecoveryLink)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CreateRecoveryLink -> m CreateRecoveryLink)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> CreateRecoveryLink -> m CreateRecoveryLink)
-> Data CreateRecoveryLink
CreateRecoveryLink -> DataType
CreateRecoveryLink -> Constr
(forall b. Data b => b -> b)
-> CreateRecoveryLink -> CreateRecoveryLink
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CreateRecoveryLink
-> c CreateRecoveryLink
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateRecoveryLink
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> CreateRecoveryLink -> u
forall u. (forall d. Data d => d -> u) -> CreateRecoveryLink -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateRecoveryLink
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CreateRecoveryLink
-> c CreateRecoveryLink
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c CreateRecoveryLink)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateRecoveryLink)
$cAdminCreateSelfServiceRecoveryLinkBody :: Constr
$tCreateRecoveryLink :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
gmapMp :: (forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
gmapM :: (forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> CreateRecoveryLink -> m CreateRecoveryLink
gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateRecoveryLink -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> CreateRecoveryLink -> u
gmapQ :: (forall d. Data d => d -> u) -> CreateRecoveryLink -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> CreateRecoveryLink -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> CreateRecoveryLink -> r
gmapT :: (forall b. Data b => b -> b)
-> CreateRecoveryLink -> CreateRecoveryLink
$cgmapT :: (forall b. Data b => b -> b)
-> CreateRecoveryLink -> CreateRecoveryLink
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateRecoveryLink)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c CreateRecoveryLink)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c CreateRecoveryLink)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c CreateRecoveryLink)
dataTypeOf :: CreateRecoveryLink -> DataType
$cdataTypeOf :: CreateRecoveryLink -> DataType
toConstr :: CreateRecoveryLink -> Constr
$ctoConstr :: CreateRecoveryLink -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateRecoveryLink
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c CreateRecoveryLink
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CreateRecoveryLink
-> c CreateRecoveryLink
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> CreateRecoveryLink
-> c CreateRecoveryLink
$cp1Data :: Typeable CreateRecoveryLink
Data)

instance FromJSON CreateRecoveryLink

instance ToJSON CreateRecoveryLink where
  toEncoding :: CreateRecoveryLink -> Encoding
toEncoding = Options -> CreateRecoveryLink -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data Identity = Identity
  { -- | CreatedAt is a helper struct field for gobuffalo.pop.
    Identity -> Maybe UTCTime
created_at :: Maybe UTCTime,
    -- |
    Identity -> Text
id :: Text,
    -- | RecoveryAddresses contains all the addresses that can be used to recover an identity.
    Identity -> Maybe [RecoveryAddress]
recovery_addresses :: Maybe [RecoveryAddress],
    -- | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
    Identity -> Text
schema_id :: Text,
    -- | SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.  format: url
    Identity -> Text
schema_url :: Text,
    -- | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
    Identity -> Value
traits :: Value,
    -- | UpdatedAt is a helper struct field for gobuffalo.pop.
    Identity -> Maybe UTCTime
updated_at :: Maybe UTCTime,
    -- | VerifiableAddresses contains all the addresses that can be verified by the user.
    Identity -> Maybe [VerifiableIdentityAddress]
verifiable_addresses :: Maybe [VerifiableIdentityAddress]
  }
  deriving stock (Int -> Identity -> ShowS
[Identity] -> ShowS
Identity -> String
(Int -> Identity -> ShowS)
-> (Identity -> String) -> ([Identity] -> ShowS) -> Show Identity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Identity] -> ShowS
$cshowList :: [Identity] -> ShowS
show :: Identity -> String
$cshow :: Identity -> String
showsPrec :: Int -> Identity -> ShowS
$cshowsPrec :: Int -> Identity -> ShowS
Show, Identity -> Identity -> Bool
(Identity -> Identity -> Bool)
-> (Identity -> Identity -> Bool) -> Eq Identity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Identity -> Identity -> Bool
$c/= :: Identity -> Identity -> Bool
== :: Identity -> Identity -> Bool
$c== :: Identity -> Identity -> Bool
Eq, (forall x. Identity -> Rep Identity x)
-> (forall x. Rep Identity x -> Identity) -> Generic Identity
forall x. Rep Identity x -> Identity
forall x. Identity -> Rep Identity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Identity x -> Identity
$cfrom :: forall x. Identity -> Rep Identity x
Generic, Typeable Identity
DataType
Constr
Typeable Identity
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> Identity -> c Identity)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c Identity)
-> (Identity -> Constr)
-> (Identity -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c Identity))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Identity))
-> ((forall b. Data b => b -> b) -> Identity -> Identity)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> Identity -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> Identity -> r)
-> (forall u. (forall d. Data d => d -> u) -> Identity -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> Identity -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> Identity -> m Identity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Identity -> m Identity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Identity -> m Identity)
-> Data Identity
Identity -> DataType
Identity -> Constr
(forall b. Data b => b -> b) -> Identity -> Identity
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Identity -> c Identity
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Identity
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> Identity -> u
forall u. (forall d. Data d => d -> u) -> Identity -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Identity -> m Identity
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Identity -> m Identity
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Identity
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Identity -> c Identity
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Identity)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Identity)
$cIdentity :: Constr
$tIdentity :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> Identity -> m Identity
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Identity -> m Identity
gmapMp :: (forall d. Data d => d -> m d) -> Identity -> m Identity
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Identity -> m Identity
gmapM :: (forall d. Data d => d -> m d) -> Identity -> m Identity
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Identity -> m Identity
gmapQi :: Int -> (forall d. Data d => d -> u) -> Identity -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> Identity -> u
gmapQ :: (forall d. Data d => d -> u) -> Identity -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> Identity -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Identity -> r
gmapT :: (forall b. Data b => b -> b) -> Identity -> Identity
$cgmapT :: (forall b. Data b => b -> b) -> Identity -> Identity
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Identity)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Identity)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c Identity)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Identity)
dataTypeOf :: Identity -> DataType
$cdataTypeOf :: Identity -> DataType
toConstr :: Identity -> Constr
$ctoConstr :: Identity -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Identity
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Identity
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Identity -> c Identity
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Identity -> c Identity
$cp1Data :: Typeable Identity
Data)

instance FromJSON Identity

instance ToJSON Identity where
  toEncoding :: Identity -> Encoding
toEncoding = Options -> Identity -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | Credentials represents a specific credential type
data IdentityCredentials = IdentityCredentials
  { -- |
    IdentityCredentials -> Maybe Value
config :: Maybe Value,
    -- | CreatedAt is a helper struct field for gobuffalo.pop.
    IdentityCredentials -> Maybe UTCTime
created_at :: Maybe UTCTime,
    -- | Identifiers represents a list of unique identifiers this credential type matches.
    IdentityCredentials -> Maybe [Text]
identifiers :: Maybe [Text],
    -- | and so on.
    IdentityCredentials -> Maybe Text
_type :: Maybe Text,
    -- | UpdatedAt is a helper struct field for gobuffalo.pop.
    IdentityCredentials -> Maybe UTCTime
updated_at :: Maybe UTCTime
  }
  deriving stock (Int -> IdentityCredentials -> ShowS
[IdentityCredentials] -> ShowS
IdentityCredentials -> String
(Int -> IdentityCredentials -> ShowS)
-> (IdentityCredentials -> String)
-> ([IdentityCredentials] -> ShowS)
-> Show IdentityCredentials
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IdentityCredentials] -> ShowS
$cshowList :: [IdentityCredentials] -> ShowS
show :: IdentityCredentials -> String
$cshow :: IdentityCredentials -> String
showsPrec :: Int -> IdentityCredentials -> ShowS
$cshowsPrec :: Int -> IdentityCredentials -> ShowS
Show, IdentityCredentials -> IdentityCredentials -> Bool
(IdentityCredentials -> IdentityCredentials -> Bool)
-> (IdentityCredentials -> IdentityCredentials -> Bool)
-> Eq IdentityCredentials
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IdentityCredentials -> IdentityCredentials -> Bool
$c/= :: IdentityCredentials -> IdentityCredentials -> Bool
== :: IdentityCredentials -> IdentityCredentials -> Bool
$c== :: IdentityCredentials -> IdentityCredentials -> Bool
Eq, (forall x. IdentityCredentials -> Rep IdentityCredentials x)
-> (forall x. Rep IdentityCredentials x -> IdentityCredentials)
-> Generic IdentityCredentials
forall x. Rep IdentityCredentials x -> IdentityCredentials
forall x. IdentityCredentials -> Rep IdentityCredentials x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep IdentityCredentials x -> IdentityCredentials
$cfrom :: forall x. IdentityCredentials -> Rep IdentityCredentials x
Generic, Typeable IdentityCredentials
DataType
Constr
Typeable IdentityCredentials
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> IdentityCredentials
    -> c IdentityCredentials)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c IdentityCredentials)
-> (IdentityCredentials -> Constr)
-> (IdentityCredentials -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c IdentityCredentials))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c IdentityCredentials))
-> ((forall b. Data b => b -> b)
    -> IdentityCredentials -> IdentityCredentials)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> IdentityCredentials -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> IdentityCredentials -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> IdentityCredentials -> m IdentityCredentials)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> IdentityCredentials -> m IdentityCredentials)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> IdentityCredentials -> m IdentityCredentials)
-> Data IdentityCredentials
IdentityCredentials -> DataType
IdentityCredentials -> Constr
(forall b. Data b => b -> b)
-> IdentityCredentials -> IdentityCredentials
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> IdentityCredentials
-> c IdentityCredentials
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdentityCredentials
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> IdentityCredentials -> u
forall u.
(forall d. Data d => d -> u) -> IdentityCredentials -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdentityCredentials
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> IdentityCredentials
-> c IdentityCredentials
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c IdentityCredentials)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c IdentityCredentials)
$cIdentityCredentials :: Constr
$tIdentityCredentials :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
gmapMp :: (forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
gmapM :: (forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> IdentityCredentials -> m IdentityCredentials
gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentityCredentials -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> IdentityCredentials -> u
gmapQ :: (forall d. Data d => d -> u) -> IdentityCredentials -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> IdentityCredentials -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdentityCredentials -> r
gmapT :: (forall b. Data b => b -> b)
-> IdentityCredentials -> IdentityCredentials
$cgmapT :: (forall b. Data b => b -> b)
-> IdentityCredentials -> IdentityCredentials
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c IdentityCredentials)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c IdentityCredentials)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c IdentityCredentials)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c IdentityCredentials)
dataTypeOf :: IdentityCredentials -> DataType
$cdataTypeOf :: IdentityCredentials -> DataType
toConstr :: IdentityCredentials -> Constr
$ctoConstr :: IdentityCredentials -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdentityCredentials
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdentityCredentials
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> IdentityCredentials
-> c IdentityCredentials
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> IdentityCredentials
-> c IdentityCredentials
$cp1Data :: Typeable IdentityCredentials
Data)

instance FromJSON IdentityCredentials where
  parseJSON :: Value -> Parser IdentityCredentials
parseJSON =
    Options -> Value -> Parser IdentityCredentials
forall a.
(Generic a, GFromJSON Zero (Rep a)) =>
Options -> Value -> Parser a
genericParseJSON
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

instance ToJSON IdentityCredentials where
  toEncoding :: IdentityCredentials -> Encoding
toEncoding =
    Options -> IdentityCredentials -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

-- |
data RevokeSession = RevokeSession
  { -- | The Session Token  Invalidate this session token.
    RevokeSession -> Text
session_token :: Text
  }
  deriving stock (Int -> RevokeSession -> ShowS
[RevokeSession] -> ShowS
RevokeSession -> String
(Int -> RevokeSession -> ShowS)
-> (RevokeSession -> String)
-> ([RevokeSession] -> ShowS)
-> Show RevokeSession
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RevokeSession] -> ShowS
$cshowList :: [RevokeSession] -> ShowS
show :: RevokeSession -> String
$cshow :: RevokeSession -> String
showsPrec :: Int -> RevokeSession -> ShowS
$cshowsPrec :: Int -> RevokeSession -> ShowS
Show, RevokeSession -> RevokeSession -> Bool
(RevokeSession -> RevokeSession -> Bool)
-> (RevokeSession -> RevokeSession -> Bool) -> Eq RevokeSession
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RevokeSession -> RevokeSession -> Bool
$c/= :: RevokeSession -> RevokeSession -> Bool
== :: RevokeSession -> RevokeSession -> Bool
$c== :: RevokeSession -> RevokeSession -> Bool
Eq, (forall x. RevokeSession -> Rep RevokeSession x)
-> (forall x. Rep RevokeSession x -> RevokeSession)
-> Generic RevokeSession
forall x. Rep RevokeSession x -> RevokeSession
forall x. RevokeSession -> Rep RevokeSession x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RevokeSession x -> RevokeSession
$cfrom :: forall x. RevokeSession -> Rep RevokeSession x
Generic, Typeable RevokeSession
DataType
Constr
Typeable RevokeSession
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> RevokeSession -> c RevokeSession)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c RevokeSession)
-> (RevokeSession -> Constr)
-> (RevokeSession -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c RevokeSession))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c RevokeSession))
-> ((forall b. Data b => b -> b) -> RevokeSession -> RevokeSession)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> RevokeSession -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> RevokeSession -> r)
-> (forall u. (forall d. Data d => d -> u) -> RevokeSession -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> RevokeSession -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession)
-> Data RevokeSession
RevokeSession -> DataType
RevokeSession -> Constr
(forall b. Data b => b -> b) -> RevokeSession -> RevokeSession
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RevokeSession -> c RevokeSession
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RevokeSession
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> RevokeSession -> u
forall u. (forall d. Data d => d -> u) -> RevokeSession -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RevokeSession
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RevokeSession -> c RevokeSession
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c RevokeSession)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RevokeSession)
$cRevokeSession :: Constr
$tRevokeSession :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
gmapMp :: (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
gmapM :: (forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> RevokeSession -> m RevokeSession
gmapQi :: Int -> (forall d. Data d => d -> u) -> RevokeSession -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> RevokeSession -> u
gmapQ :: (forall d. Data d => d -> u) -> RevokeSession -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> RevokeSession -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RevokeSession -> r
gmapT :: (forall b. Data b => b -> b) -> RevokeSession -> RevokeSession
$cgmapT :: (forall b. Data b => b -> b) -> RevokeSession -> RevokeSession
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RevokeSession)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RevokeSession)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c RevokeSession)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c RevokeSession)
dataTypeOf :: RevokeSession -> DataType
$cdataTypeOf :: RevokeSession -> DataType
toConstr :: RevokeSession -> Constr
$ctoConstr :: RevokeSession -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RevokeSession
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RevokeSession
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RevokeSession -> c RevokeSession
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RevokeSession -> c RevokeSession
$cp1Data :: Typeable RevokeSession
Data)

instance FromJSON RevokeSession

instance ToJSON RevokeSession where
  toEncoding :: RevokeSession -> Encoding
toEncoding = Options -> RevokeSession -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data Session = Session
  { -- |
    Session -> Maybe Bool
active :: Maybe Bool,
    -- |
    Session -> UTCTime
authenticated_at :: UTCTime,
    -- |
    Session -> UTCTime
expires_at :: UTCTime,
    -- |
    Session -> UUID
id :: UUID,
    -- |
    Session -> Identity
identity :: Identity,
    -- |
    Session -> UTCTime
issued_at :: UTCTime
  }
  deriving stock (Int -> Session -> ShowS
[Session] -> ShowS
Session -> String
(Int -> Session -> ShowS)
-> (Session -> String) -> ([Session] -> ShowS) -> Show Session
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Session] -> ShowS
$cshowList :: [Session] -> ShowS
show :: Session -> String
$cshow :: Session -> String
showsPrec :: Int -> Session -> ShowS
$cshowsPrec :: Int -> Session -> ShowS
Show, Session -> Session -> Bool
(Session -> Session -> Bool)
-> (Session -> Session -> Bool) -> Eq Session
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Session -> Session -> Bool
$c/= :: Session -> Session -> Bool
== :: Session -> Session -> Bool
$c== :: Session -> Session -> Bool
Eq, (forall x. Session -> Rep Session x)
-> (forall x. Rep Session x -> Session) -> Generic Session
forall x. Rep Session x -> Session
forall x. Session -> Rep Session x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Session x -> Session
$cfrom :: forall x. Session -> Rep Session x
Generic, Typeable Session
DataType
Constr
Typeable Session
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> Session -> c Session)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c Session)
-> (Session -> Constr)
-> (Session -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c Session))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Session))
-> ((forall b. Data b => b -> b) -> Session -> Session)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> Session -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> Session -> r)
-> (forall u. (forall d. Data d => d -> u) -> Session -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> Session -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> Session -> m Session)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Session -> m Session)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Session -> m Session)
-> Data Session
Session -> DataType
Session -> Constr
(forall b. Data b => b -> b) -> Session -> Session
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Session -> c Session
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Session
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> Session -> u
forall u. (forall d. Data d => d -> u) -> Session -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Session -> m Session
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Session -> m Session
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Session
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Session -> c Session
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Session)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Session)
$cSession :: Constr
$tSession :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> Session -> m Session
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Session -> m Session
gmapMp :: (forall d. Data d => d -> m d) -> Session -> m Session
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Session -> m Session
gmapM :: (forall d. Data d => d -> m d) -> Session -> m Session
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Session -> m Session
gmapQi :: Int -> (forall d. Data d => d -> u) -> Session -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> Session -> u
gmapQ :: (forall d. Data d => d -> u) -> Session -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> Session -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Session -> r
gmapT :: (forall b. Data b => b -> b) -> Session -> Session
$cgmapT :: (forall b. Data b => b -> b) -> Session -> Session
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Session)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Session)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c Session)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Session)
dataTypeOf :: Session -> DataType
$cdataTypeOf :: Session -> DataType
toConstr :: Session -> Constr
$ctoConstr :: Session -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Session
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Session
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Session -> c Session
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Session -> c Session
$cp1Data :: Typeable Session
Data)

instance FromJSON Session

instance ToJSON Session where
  toEncoding :: Session -> Encoding
toEncoding = Options -> Session -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data UpdateIdentity = UpdateIdentity
  { -- | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID.
    UpdateIdentity -> Maybe Text
schema_id :: Maybe Text,
    -- | State is the identity's state.
    UpdateIdentity -> Value
state :: Value,
    -- | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`.
    UpdateIdentity -> Value
traits :: Value
  }
  deriving stock (Int -> UpdateIdentity -> ShowS
[UpdateIdentity] -> ShowS
UpdateIdentity -> String
(Int -> UpdateIdentity -> ShowS)
-> (UpdateIdentity -> String)
-> ([UpdateIdentity] -> ShowS)
-> Show UpdateIdentity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateIdentity] -> ShowS
$cshowList :: [UpdateIdentity] -> ShowS
show :: UpdateIdentity -> String
$cshow :: UpdateIdentity -> String
showsPrec :: Int -> UpdateIdentity -> ShowS
$cshowsPrec :: Int -> UpdateIdentity -> ShowS
Show, UpdateIdentity -> UpdateIdentity -> Bool
(UpdateIdentity -> UpdateIdentity -> Bool)
-> (UpdateIdentity -> UpdateIdentity -> Bool) -> Eq UpdateIdentity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateIdentity -> UpdateIdentity -> Bool
$c/= :: UpdateIdentity -> UpdateIdentity -> Bool
== :: UpdateIdentity -> UpdateIdentity -> Bool
$c== :: UpdateIdentity -> UpdateIdentity -> Bool
Eq, (forall x. UpdateIdentity -> Rep UpdateIdentity x)
-> (forall x. Rep UpdateIdentity x -> UpdateIdentity)
-> Generic UpdateIdentity
forall x. Rep UpdateIdentity x -> UpdateIdentity
forall x. UpdateIdentity -> Rep UpdateIdentity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateIdentity x -> UpdateIdentity
$cfrom :: forall x. UpdateIdentity -> Rep UpdateIdentity x
Generic, Typeable UpdateIdentity
DataType
Constr
Typeable UpdateIdentity
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> UpdateIdentity -> c UpdateIdentity)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c UpdateIdentity)
-> (UpdateIdentity -> Constr)
-> (UpdateIdentity -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c UpdateIdentity))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c UpdateIdentity))
-> ((forall b. Data b => b -> b)
    -> UpdateIdentity -> UpdateIdentity)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> UpdateIdentity -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> UpdateIdentity -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> UpdateIdentity -> m UpdateIdentity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> UpdateIdentity -> m UpdateIdentity)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> UpdateIdentity -> m UpdateIdentity)
-> Data UpdateIdentity
UpdateIdentity -> DataType
UpdateIdentity -> Constr
(forall b. Data b => b -> b) -> UpdateIdentity -> UpdateIdentity
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> UpdateIdentity -> c UpdateIdentity
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c UpdateIdentity
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> UpdateIdentity -> u
forall u. (forall d. Data d => d -> u) -> UpdateIdentity -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c UpdateIdentity
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> UpdateIdentity -> c UpdateIdentity
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c UpdateIdentity)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c UpdateIdentity)
$cUpdateIdentity :: Constr
$tUpdateIdentity :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
gmapMp :: (forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
gmapM :: (forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> UpdateIdentity -> m UpdateIdentity
gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateIdentity -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> UpdateIdentity -> u
gmapQ :: (forall d. Data d => d -> u) -> UpdateIdentity -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> UpdateIdentity -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> UpdateIdentity -> r
gmapT :: (forall b. Data b => b -> b) -> UpdateIdentity -> UpdateIdentity
$cgmapT :: (forall b. Data b => b -> b) -> UpdateIdentity -> UpdateIdentity
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c UpdateIdentity)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c UpdateIdentity)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c UpdateIdentity)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c UpdateIdentity)
dataTypeOf :: UpdateIdentity -> DataType
$cdataTypeOf :: UpdateIdentity -> DataType
toConstr :: UpdateIdentity -> Constr
$ctoConstr :: UpdateIdentity -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c UpdateIdentity
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c UpdateIdentity
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> UpdateIdentity -> c UpdateIdentity
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> UpdateIdentity -> c UpdateIdentity
$cp1Data :: Typeable UpdateIdentity
Data)

instance FromJSON UpdateIdentity

instance ToJSON UpdateIdentity where
  toEncoding :: UpdateIdentity -> Encoding
toEncoding = Options -> UpdateIdentity -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data VerifiableIdentityAddress = VerifiableIdentityAddress
  { -- | When this entry was created
    VerifiableIdentityAddress -> Maybe UTCTime
created_at :: Maybe UTCTime,
    -- |
    VerifiableIdentityAddress -> UUID
id :: UUID,
    -- | VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema
    VerifiableIdentityAddress -> Text
status :: Text,
    -- | When this entry was last updated
    VerifiableIdentityAddress -> Maybe UTCTime
updated_at :: Maybe UTCTime,
    -- | The address value  example foo@user.com
    VerifiableIdentityAddress -> Text
value :: Text,
    -- | Indicates if the address has already been verified
    VerifiableIdentityAddress -> Bool
verified :: Bool,
    -- |
    VerifiableIdentityAddress -> Maybe UTCTime
verified_at :: Maybe UTCTime,
    -- | VerifiableAddressType must not exceed 16 characters as that is the limitation in the SQL Schema
    VerifiableIdentityAddress -> Text
via :: Text
  }
  deriving stock (Int -> VerifiableIdentityAddress -> ShowS
[VerifiableIdentityAddress] -> ShowS
VerifiableIdentityAddress -> String
(Int -> VerifiableIdentityAddress -> ShowS)
-> (VerifiableIdentityAddress -> String)
-> ([VerifiableIdentityAddress] -> ShowS)
-> Show VerifiableIdentityAddress
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VerifiableIdentityAddress] -> ShowS
$cshowList :: [VerifiableIdentityAddress] -> ShowS
show :: VerifiableIdentityAddress -> String
$cshow :: VerifiableIdentityAddress -> String
showsPrec :: Int -> VerifiableIdentityAddress -> ShowS
$cshowsPrec :: Int -> VerifiableIdentityAddress -> ShowS
Show, VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool
(VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool)
-> (VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool)
-> Eq VerifiableIdentityAddress
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool
$c/= :: VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool
== :: VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool
$c== :: VerifiableIdentityAddress -> VerifiableIdentityAddress -> Bool
Eq, (forall x.
 VerifiableIdentityAddress -> Rep VerifiableIdentityAddress x)
-> (forall x.
    Rep VerifiableIdentityAddress x -> VerifiableIdentityAddress)
-> Generic VerifiableIdentityAddress
forall x.
Rep VerifiableIdentityAddress x -> VerifiableIdentityAddress
forall x.
VerifiableIdentityAddress -> Rep VerifiableIdentityAddress x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep VerifiableIdentityAddress x -> VerifiableIdentityAddress
$cfrom :: forall x.
VerifiableIdentityAddress -> Rep VerifiableIdentityAddress x
Generic, Typeable VerifiableIdentityAddress
DataType
Constr
Typeable VerifiableIdentityAddress
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> VerifiableIdentityAddress
    -> c VerifiableIdentityAddress)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c VerifiableIdentityAddress)
-> (VerifiableIdentityAddress -> Constr)
-> (VerifiableIdentityAddress -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c VerifiableIdentityAddress))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c VerifiableIdentityAddress))
-> ((forall b. Data b => b -> b)
    -> VerifiableIdentityAddress -> VerifiableIdentityAddress)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> VerifiableIdentityAddress
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> VerifiableIdentityAddress
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> VerifiableIdentityAddress -> m VerifiableIdentityAddress)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> VerifiableIdentityAddress -> m VerifiableIdentityAddress)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> VerifiableIdentityAddress -> m VerifiableIdentityAddress)
-> Data VerifiableIdentityAddress
VerifiableIdentityAddress -> DataType
VerifiableIdentityAddress -> Constr
(forall b. Data b => b -> b)
-> VerifiableIdentityAddress -> VerifiableIdentityAddress
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> VerifiableIdentityAddress
-> c VerifiableIdentityAddress
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c VerifiableIdentityAddress
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> u
forall u.
(forall d. Data d => d -> u) -> VerifiableIdentityAddress -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c VerifiableIdentityAddress
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> VerifiableIdentityAddress
-> c VerifiableIdentityAddress
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c VerifiableIdentityAddress)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c VerifiableIdentityAddress)
$cVerifiableIdentityAddress :: Constr
$tVerifiableIdentityAddress :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
gmapMp :: (forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
gmapM :: (forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> VerifiableIdentityAddress -> m VerifiableIdentityAddress
gmapQi :: Int
-> (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> u
gmapQ :: (forall d. Data d => d -> u) -> VerifiableIdentityAddress -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> VerifiableIdentityAddress -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> VerifiableIdentityAddress
-> r
gmapT :: (forall b. Data b => b -> b)
-> VerifiableIdentityAddress -> VerifiableIdentityAddress
$cgmapT :: (forall b. Data b => b -> b)
-> VerifiableIdentityAddress -> VerifiableIdentityAddress
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c VerifiableIdentityAddress)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c VerifiableIdentityAddress)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c VerifiableIdentityAddress)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c VerifiableIdentityAddress)
dataTypeOf :: VerifiableIdentityAddress -> DataType
$cdataTypeOf :: VerifiableIdentityAddress -> DataType
toConstr :: VerifiableIdentityAddress -> Constr
$ctoConstr :: VerifiableIdentityAddress -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c VerifiableIdentityAddress
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c VerifiableIdentityAddress
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> VerifiableIdentityAddress
-> c VerifiableIdentityAddress
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> VerifiableIdentityAddress
-> c VerifiableIdentityAddress
$cp1Data :: Typeable VerifiableIdentityAddress
Data)

instance FromJSON VerifiableIdentityAddress

instance ToJSON VerifiableIdentityAddress where
  toEncoding :: VerifiableIdentityAddress -> Encoding
toEncoding = Options -> VerifiableIdentityAddress -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data Version = Version
  { -- | Version is the service's version.
    Version -> Maybe Text
version :: Maybe Text
  }
  deriving stock (Int -> Version -> ShowS
[Version] -> ShowS
Version -> String
(Int -> Version -> ShowS)
-> (Version -> String) -> ([Version] -> ShowS) -> Show Version
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Version] -> ShowS
$cshowList :: [Version] -> ShowS
show :: Version -> String
$cshow :: Version -> String
showsPrec :: Int -> Version -> ShowS
$cshowsPrec :: Int -> Version -> ShowS
Show, Version -> Version -> Bool
(Version -> Version -> Bool)
-> (Version -> Version -> Bool) -> Eq Version
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Version -> Version -> Bool
$c/= :: Version -> Version -> Bool
== :: Version -> Version -> Bool
$c== :: Version -> Version -> Bool
Eq, (forall x. Version -> Rep Version x)
-> (forall x. Rep Version x -> Version) -> Generic Version
forall x. Rep Version x -> Version
forall x. Version -> Rep Version x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Version x -> Version
$cfrom :: forall x. Version -> Rep Version x
Generic, Typeable Version
DataType
Constr
Typeable Version
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> Version -> c Version)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c Version)
-> (Version -> Constr)
-> (Version -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c Version))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Version))
-> ((forall b. Data b => b -> b) -> Version -> Version)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> Version -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> Version -> r)
-> (forall u. (forall d. Data d => d -> u) -> Version -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> Version -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> Version -> m Version)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Version -> m Version)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> Version -> m Version)
-> Data Version
Version -> DataType
Version -> Constr
(forall b. Data b => b -> b) -> Version -> Version
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Version -> c Version
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Version
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> Version -> u
forall u. (forall d. Data d => d -> u) -> Version -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Version -> m Version
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Version -> m Version
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Version
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Version -> c Version
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Version)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Version)
$cVersion :: Constr
$tVersion :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> Version -> m Version
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Version -> m Version
gmapMp :: (forall d. Data d => d -> m d) -> Version -> m Version
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> Version -> m Version
gmapM :: (forall d. Data d => d -> m d) -> Version -> m Version
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> Version -> m Version
gmapQi :: Int -> (forall d. Data d => d -> u) -> Version -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> Version -> u
gmapQ :: (forall d. Data d => d -> u) -> Version -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> Version -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> Version -> r
gmapT :: (forall b. Data b => b -> b) -> Version -> Version
$cgmapT :: (forall b. Data b => b -> b) -> Version -> Version
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Version)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Version)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c Version)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c Version)
dataTypeOf :: Version -> DataType
$cdataTypeOf :: Version -> DataType
toConstr :: Version -> Constr
$ctoConstr :: Version -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Version
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c Version
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Version -> c Version
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> Version -> c Version
$cp1Data :: Typeable Version
Data)

instance FromJSON Version

instance ToJSON Version where
  toEncoding :: Version -> Encoding
toEncoding = Options -> Version -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data RecoveryAddress = RecoveryAddress
  { -- |
    RecoveryAddress -> UUID
id :: UUID,
    -- |
    RecoveryAddress -> Text
value :: Text,
    -- |
    RecoveryAddress -> Text
via :: Text
  }
  deriving stock (Int -> RecoveryAddress -> ShowS
[RecoveryAddress] -> ShowS
RecoveryAddress -> String
(Int -> RecoveryAddress -> ShowS)
-> (RecoveryAddress -> String)
-> ([RecoveryAddress] -> ShowS)
-> Show RecoveryAddress
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecoveryAddress] -> ShowS
$cshowList :: [RecoveryAddress] -> ShowS
show :: RecoveryAddress -> String
$cshow :: RecoveryAddress -> String
showsPrec :: Int -> RecoveryAddress -> ShowS
$cshowsPrec :: Int -> RecoveryAddress -> ShowS
Show, RecoveryAddress -> RecoveryAddress -> Bool
(RecoveryAddress -> RecoveryAddress -> Bool)
-> (RecoveryAddress -> RecoveryAddress -> Bool)
-> Eq RecoveryAddress
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecoveryAddress -> RecoveryAddress -> Bool
$c/= :: RecoveryAddress -> RecoveryAddress -> Bool
== :: RecoveryAddress -> RecoveryAddress -> Bool
$c== :: RecoveryAddress -> RecoveryAddress -> Bool
Eq, (forall x. RecoveryAddress -> Rep RecoveryAddress x)
-> (forall x. Rep RecoveryAddress x -> RecoveryAddress)
-> Generic RecoveryAddress
forall x. Rep RecoveryAddress x -> RecoveryAddress
forall x. RecoveryAddress -> Rep RecoveryAddress x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RecoveryAddress x -> RecoveryAddress
$cfrom :: forall x. RecoveryAddress -> Rep RecoveryAddress x
Generic, Typeable RecoveryAddress
DataType
Constr
Typeable RecoveryAddress
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> RecoveryAddress -> c RecoveryAddress)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c RecoveryAddress)
-> (RecoveryAddress -> Constr)
-> (RecoveryAddress -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c RecoveryAddress))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c RecoveryAddress))
-> ((forall b. Data b => b -> b)
    -> RecoveryAddress -> RecoveryAddress)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> RecoveryAddress -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> RecoveryAddress -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> RecoveryAddress -> m RecoveryAddress)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> RecoveryAddress -> m RecoveryAddress)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> RecoveryAddress -> m RecoveryAddress)
-> Data RecoveryAddress
RecoveryAddress -> DataType
RecoveryAddress -> Constr
(forall b. Data b => b -> b) -> RecoveryAddress -> RecoveryAddress
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RecoveryAddress -> c RecoveryAddress
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RecoveryAddress
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> RecoveryAddress -> u
forall u. (forall d. Data d => d -> u) -> RecoveryAddress -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RecoveryAddress
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RecoveryAddress -> c RecoveryAddress
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c RecoveryAddress)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RecoveryAddress)
$cRecoveryAddress :: Constr
$tRecoveryAddress :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
gmapMp :: (forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
gmapM :: (forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> RecoveryAddress -> m RecoveryAddress
gmapQi :: Int -> (forall d. Data d => d -> u) -> RecoveryAddress -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> RecoveryAddress -> u
gmapQ :: (forall d. Data d => d -> u) -> RecoveryAddress -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> RecoveryAddress -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> RecoveryAddress -> r
gmapT :: (forall b. Data b => b -> b) -> RecoveryAddress -> RecoveryAddress
$cgmapT :: (forall b. Data b => b -> b) -> RecoveryAddress -> RecoveryAddress
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RecoveryAddress)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c RecoveryAddress)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c RecoveryAddress)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c RecoveryAddress)
dataTypeOf :: RecoveryAddress -> DataType
$cdataTypeOf :: RecoveryAddress -> DataType
toConstr :: RecoveryAddress -> Constr
$ctoConstr :: RecoveryAddress -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RecoveryAddress
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c RecoveryAddress
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RecoveryAddress -> c RecoveryAddress
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> RecoveryAddress -> c RecoveryAddress
$cp1Data :: Typeable RecoveryAddress
Data)

instance FromJSON RecoveryAddress

instance ToJSON RecoveryAddress where
  toEncoding :: RecoveryAddress -> Encoding
toEncoding = Options -> RecoveryAddress -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerChangeResponseItem change item in response to ContainerChanges operation
data ContainerChangeResponseItem = ContainerChangeResponseItem
  { -- | Kind of change
    ContainerChangeResponseItem -> Int
item_kind :: Int,
    -- | Path to file that has changed
    ContainerChangeResponseItem -> Text
item_path :: Text
  }
  deriving stock (Int -> ContainerChangeResponseItem -> ShowS
[ContainerChangeResponseItem] -> ShowS
ContainerChangeResponseItem -> String
(Int -> ContainerChangeResponseItem -> ShowS)
-> (ContainerChangeResponseItem -> String)
-> ([ContainerChangeResponseItem] -> ShowS)
-> Show ContainerChangeResponseItem
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerChangeResponseItem] -> ShowS
$cshowList :: [ContainerChangeResponseItem] -> ShowS
show :: ContainerChangeResponseItem -> String
$cshow :: ContainerChangeResponseItem -> String
showsPrec :: Int -> ContainerChangeResponseItem -> ShowS
$cshowsPrec :: Int -> ContainerChangeResponseItem -> ShowS
Show, ContainerChangeResponseItem -> ContainerChangeResponseItem -> Bool
(ContainerChangeResponseItem
 -> ContainerChangeResponseItem -> Bool)
-> (ContainerChangeResponseItem
    -> ContainerChangeResponseItem -> Bool)
-> Eq ContainerChangeResponseItem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerChangeResponseItem -> ContainerChangeResponseItem -> Bool
$c/= :: ContainerChangeResponseItem -> ContainerChangeResponseItem -> Bool
== :: ContainerChangeResponseItem -> ContainerChangeResponseItem -> Bool
$c== :: ContainerChangeResponseItem -> ContainerChangeResponseItem -> Bool
Eq, (forall x.
 ContainerChangeResponseItem -> Rep ContainerChangeResponseItem x)
-> (forall x.
    Rep ContainerChangeResponseItem x -> ContainerChangeResponseItem)
-> Generic ContainerChangeResponseItem
forall x.
Rep ContainerChangeResponseItem x -> ContainerChangeResponseItem
forall x.
ContainerChangeResponseItem -> Rep ContainerChangeResponseItem x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ContainerChangeResponseItem x -> ContainerChangeResponseItem
$cfrom :: forall x.
ContainerChangeResponseItem -> Rep ContainerChangeResponseItem x
Generic, Typeable ContainerChangeResponseItem
DataType
Constr
Typeable ContainerChangeResponseItem
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerChangeResponseItem
    -> c ContainerChangeResponseItem)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerChangeResponseItem)
-> (ContainerChangeResponseItem -> Constr)
-> (ContainerChangeResponseItem -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c ContainerChangeResponseItem))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerChangeResponseItem))
-> ((forall b. Data b => b -> b)
    -> ContainerChangeResponseItem -> ContainerChangeResponseItem)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerChangeResponseItem
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerChangeResponseItem
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerChangeResponseItem -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u)
    -> ContainerChangeResponseItem
    -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerChangeResponseItem -> m ContainerChangeResponseItem)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerChangeResponseItem -> m ContainerChangeResponseItem)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerChangeResponseItem -> m ContainerChangeResponseItem)
-> Data ContainerChangeResponseItem
ContainerChangeResponseItem -> DataType
ContainerChangeResponseItem -> Constr
(forall b. Data b => b -> b)
-> ContainerChangeResponseItem -> ContainerChangeResponseItem
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerChangeResponseItem
-> c ContainerChangeResponseItem
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerChangeResponseItem
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerChangeResponseItem -> u
forall u.
(forall d. Data d => d -> u) -> ContainerChangeResponseItem -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerChangeResponseItem
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerChangeResponseItem
-> c ContainerChangeResponseItem
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c ContainerChangeResponseItem)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerChangeResponseItem)
$cContainerChangeResponseItem :: Constr
$tContainerChangeResponseItem :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
gmapM :: (forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerChangeResponseItem -> m ContainerChangeResponseItem
gmapQi :: Int
-> (forall d. Data d => d -> u) -> ContainerChangeResponseItem -> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerChangeResponseItem -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerChangeResponseItem -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ContainerChangeResponseItem -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerChangeResponseItem
-> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerChangeResponseItem -> ContainerChangeResponseItem
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerChangeResponseItem -> ContainerChangeResponseItem
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerChangeResponseItem)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerChangeResponseItem)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c ContainerChangeResponseItem)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c ContainerChangeResponseItem)
dataTypeOf :: ContainerChangeResponseItem -> DataType
$cdataTypeOf :: ContainerChangeResponseItem -> DataType
toConstr :: ContainerChangeResponseItem -> Constr
$ctoConstr :: ContainerChangeResponseItem -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerChangeResponseItem
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerChangeResponseItem
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerChangeResponseItem
-> c ContainerChangeResponseItem
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerChangeResponseItem
-> c ContainerChangeResponseItem
$cp1Data :: Typeable ContainerChangeResponseItem
Data)

instance FromJSON ContainerChangeResponseItem

instance ToJSON ContainerChangeResponseItem where
  toEncoding :: ContainerChangeResponseItem -> Encoding
toEncoding = Options -> ContainerChangeResponseItem -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerCreateCreatedBody OK response to ContainerCreate operation
data ContainerCreateCreatedBody = ContainerCreateCreatedBody
  { -- | The ID of the created container
    ContainerCreateCreatedBody -> Text
id :: Text,
    -- | Warnings encountered when creating the container
    ContainerCreateCreatedBody -> [Text]
warnings :: [Text]
  }
  deriving stock (Int -> ContainerCreateCreatedBody -> ShowS
[ContainerCreateCreatedBody] -> ShowS
ContainerCreateCreatedBody -> String
(Int -> ContainerCreateCreatedBody -> ShowS)
-> (ContainerCreateCreatedBody -> String)
-> ([ContainerCreateCreatedBody] -> ShowS)
-> Show ContainerCreateCreatedBody
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerCreateCreatedBody] -> ShowS
$cshowList :: [ContainerCreateCreatedBody] -> ShowS
show :: ContainerCreateCreatedBody -> String
$cshow :: ContainerCreateCreatedBody -> String
showsPrec :: Int -> ContainerCreateCreatedBody -> ShowS
$cshowsPrec :: Int -> ContainerCreateCreatedBody -> ShowS
Show, ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool
(ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool)
-> (ContainerCreateCreatedBody
    -> ContainerCreateCreatedBody -> Bool)
-> Eq ContainerCreateCreatedBody
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool
$c/= :: ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool
== :: ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool
$c== :: ContainerCreateCreatedBody -> ContainerCreateCreatedBody -> Bool
Eq, (forall x.
 ContainerCreateCreatedBody -> Rep ContainerCreateCreatedBody x)
-> (forall x.
    Rep ContainerCreateCreatedBody x -> ContainerCreateCreatedBody)
-> Generic ContainerCreateCreatedBody
forall x.
Rep ContainerCreateCreatedBody x -> ContainerCreateCreatedBody
forall x.
ContainerCreateCreatedBody -> Rep ContainerCreateCreatedBody x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ContainerCreateCreatedBody x -> ContainerCreateCreatedBody
$cfrom :: forall x.
ContainerCreateCreatedBody -> Rep ContainerCreateCreatedBody x
Generic, Typeable ContainerCreateCreatedBody
DataType
Constr
Typeable ContainerCreateCreatedBody
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerCreateCreatedBody
    -> c ContainerCreateCreatedBody)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerCreateCreatedBody)
-> (ContainerCreateCreatedBody -> Constr)
-> (ContainerCreateCreatedBody -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c ContainerCreateCreatedBody))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerCreateCreatedBody))
-> ((forall b. Data b => b -> b)
    -> ContainerCreateCreatedBody -> ContainerCreateCreatedBody)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerCreateCreatedBody
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerCreateCreatedBody
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody)
-> Data ContainerCreateCreatedBody
ContainerCreateCreatedBody -> DataType
ContainerCreateCreatedBody -> Constr
(forall b. Data b => b -> b)
-> ContainerCreateCreatedBody -> ContainerCreateCreatedBody
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerCreateCreatedBody
-> c ContainerCreateCreatedBody
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerCreateCreatedBody
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> u
forall u.
(forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerCreateCreatedBody
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerCreateCreatedBody
-> c ContainerCreateCreatedBody
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c ContainerCreateCreatedBody)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerCreateCreatedBody)
$cContainerCreateCreatedBody :: Constr
$tContainerCreateCreatedBody :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
gmapM :: (forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerCreateCreatedBody -> m ContainerCreateCreatedBody
gmapQi :: Int
-> (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ContainerCreateCreatedBody -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerCreateCreatedBody
-> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerCreateCreatedBody -> ContainerCreateCreatedBody
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerCreateCreatedBody -> ContainerCreateCreatedBody
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerCreateCreatedBody)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerCreateCreatedBody)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c ContainerCreateCreatedBody)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c ContainerCreateCreatedBody)
dataTypeOf :: ContainerCreateCreatedBody -> DataType
$cdataTypeOf :: ContainerCreateCreatedBody -> DataType
toConstr :: ContainerCreateCreatedBody -> Constr
$ctoConstr :: ContainerCreateCreatedBody -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerCreateCreatedBody
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerCreateCreatedBody
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerCreateCreatedBody
-> c ContainerCreateCreatedBody
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerCreateCreatedBody
-> c ContainerCreateCreatedBody
$cp1Data :: Typeable ContainerCreateCreatedBody
Data)

instance FromJSON ContainerCreateCreatedBody

instance ToJSON ContainerCreateCreatedBody where
  toEncoding :: ContainerCreateCreatedBody -> Encoding
toEncoding = Options -> ContainerCreateCreatedBody -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerTopOKBody OK response to ContainerTop operation
data ContainerTopOKBody = ContainerTopOKBody
  { -- | Each process running in the container, where each is process is an array of values corresponding to the titles
    ContainerTopOKBody -> [[Text]]
processes :: [[Text]],
    -- | The ps column titles
    ContainerTopOKBody -> [Text]
titles :: [Text]
  }
  deriving stock (Int -> ContainerTopOKBody -> ShowS
[ContainerTopOKBody] -> ShowS
ContainerTopOKBody -> String
(Int -> ContainerTopOKBody -> ShowS)
-> (ContainerTopOKBody -> String)
-> ([ContainerTopOKBody] -> ShowS)
-> Show ContainerTopOKBody
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerTopOKBody] -> ShowS
$cshowList :: [ContainerTopOKBody] -> ShowS
show :: ContainerTopOKBody -> String
$cshow :: ContainerTopOKBody -> String
showsPrec :: Int -> ContainerTopOKBody -> ShowS
$cshowsPrec :: Int -> ContainerTopOKBody -> ShowS
Show, ContainerTopOKBody -> ContainerTopOKBody -> Bool
(ContainerTopOKBody -> ContainerTopOKBody -> Bool)
-> (ContainerTopOKBody -> ContainerTopOKBody -> Bool)
-> Eq ContainerTopOKBody
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerTopOKBody -> ContainerTopOKBody -> Bool
$c/= :: ContainerTopOKBody -> ContainerTopOKBody -> Bool
== :: ContainerTopOKBody -> ContainerTopOKBody -> Bool
$c== :: ContainerTopOKBody -> ContainerTopOKBody -> Bool
Eq, (forall x. ContainerTopOKBody -> Rep ContainerTopOKBody x)
-> (forall x. Rep ContainerTopOKBody x -> ContainerTopOKBody)
-> Generic ContainerTopOKBody
forall x. Rep ContainerTopOKBody x -> ContainerTopOKBody
forall x. ContainerTopOKBody -> Rep ContainerTopOKBody x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ContainerTopOKBody x -> ContainerTopOKBody
$cfrom :: forall x. ContainerTopOKBody -> Rep ContainerTopOKBody x
Generic, Typeable ContainerTopOKBody
DataType
Constr
Typeable ContainerTopOKBody
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerTopOKBody
    -> c ContainerTopOKBody)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerTopOKBody)
-> (ContainerTopOKBody -> Constr)
-> (ContainerTopOKBody -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ContainerTopOKBody))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerTopOKBody))
-> ((forall b. Data b => b -> b)
    -> ContainerTopOKBody -> ContainerTopOKBody)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerTopOKBody -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ContainerTopOKBody -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerTopOKBody -> m ContainerTopOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerTopOKBody -> m ContainerTopOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerTopOKBody -> m ContainerTopOKBody)
-> Data ContainerTopOKBody
ContainerTopOKBody -> DataType
ContainerTopOKBody -> Constr
(forall b. Data b => b -> b)
-> ContainerTopOKBody -> ContainerTopOKBody
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerTopOKBody
-> c ContainerTopOKBody
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerTopOKBody
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> ContainerTopOKBody -> u
forall u. (forall d. Data d => d -> u) -> ContainerTopOKBody -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerTopOKBody
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerTopOKBody
-> c ContainerTopOKBody
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerTopOKBody)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerTopOKBody)
$cContainerTopOKBody :: Constr
$tContainerTopOKBody :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
gmapM :: (forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerTopOKBody -> m ContainerTopOKBody
gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerTopOKBody -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ContainerTopOKBody -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerTopOKBody -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> ContainerTopOKBody -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerTopOKBody -> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerTopOKBody -> ContainerTopOKBody
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerTopOKBody -> ContainerTopOKBody
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerTopOKBody)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerTopOKBody)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ContainerTopOKBody)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerTopOKBody)
dataTypeOf :: ContainerTopOKBody -> DataType
$cdataTypeOf :: ContainerTopOKBody -> DataType
toConstr :: ContainerTopOKBody -> Constr
$ctoConstr :: ContainerTopOKBody -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerTopOKBody
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerTopOKBody
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerTopOKBody
-> c ContainerTopOKBody
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerTopOKBody
-> c ContainerTopOKBody
$cp1Data :: Typeable ContainerTopOKBody
Data)

instance FromJSON ContainerTopOKBody

instance ToJSON ContainerTopOKBody where
  toEncoding :: ContainerTopOKBody -> Encoding
toEncoding = Options -> ContainerTopOKBody -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerUpdateOKBody OK response to ContainerUpdate operation
data ContainerUpdateOKBody = ContainerUpdateOKBody
  { -- | warnings
    ContainerUpdateOKBody -> [Text]
warnings :: [Text]
  }
  deriving stock (Int -> ContainerUpdateOKBody -> ShowS
[ContainerUpdateOKBody] -> ShowS
ContainerUpdateOKBody -> String
(Int -> ContainerUpdateOKBody -> ShowS)
-> (ContainerUpdateOKBody -> String)
-> ([ContainerUpdateOKBody] -> ShowS)
-> Show ContainerUpdateOKBody
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerUpdateOKBody] -> ShowS
$cshowList :: [ContainerUpdateOKBody] -> ShowS
show :: ContainerUpdateOKBody -> String
$cshow :: ContainerUpdateOKBody -> String
showsPrec :: Int -> ContainerUpdateOKBody -> ShowS
$cshowsPrec :: Int -> ContainerUpdateOKBody -> ShowS
Show, ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool
(ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool)
-> (ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool)
-> Eq ContainerUpdateOKBody
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool
$c/= :: ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool
== :: ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool
$c== :: ContainerUpdateOKBody -> ContainerUpdateOKBody -> Bool
Eq, (forall x. ContainerUpdateOKBody -> Rep ContainerUpdateOKBody x)
-> (forall x. Rep ContainerUpdateOKBody x -> ContainerUpdateOKBody)
-> Generic ContainerUpdateOKBody
forall x. Rep ContainerUpdateOKBody x -> ContainerUpdateOKBody
forall x. ContainerUpdateOKBody -> Rep ContainerUpdateOKBody x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ContainerUpdateOKBody x -> ContainerUpdateOKBody
$cfrom :: forall x. ContainerUpdateOKBody -> Rep ContainerUpdateOKBody x
Generic, Typeable ContainerUpdateOKBody
DataType
Constr
Typeable ContainerUpdateOKBody
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerUpdateOKBody
    -> c ContainerUpdateOKBody)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerUpdateOKBody)
-> (ContainerUpdateOKBody -> Constr)
-> (ContainerUpdateOKBody -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ContainerUpdateOKBody))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerUpdateOKBody))
-> ((forall b. Data b => b -> b)
    -> ContainerUpdateOKBody -> ContainerUpdateOKBody)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerUpdateOKBody
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerUpdateOKBody
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerUpdateOKBody -> m ContainerUpdateOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerUpdateOKBody -> m ContainerUpdateOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerUpdateOKBody -> m ContainerUpdateOKBody)
-> Data ContainerUpdateOKBody
ContainerUpdateOKBody -> DataType
ContainerUpdateOKBody -> Constr
(forall b. Data b => b -> b)
-> ContainerUpdateOKBody -> ContainerUpdateOKBody
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerUpdateOKBody
-> c ContainerUpdateOKBody
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerUpdateOKBody
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> u
forall u.
(forall d. Data d => d -> u) -> ContainerUpdateOKBody -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerUpdateOKBody
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerUpdateOKBody
-> c ContainerUpdateOKBody
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerUpdateOKBody)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerUpdateOKBody)
$cContainerUpdateOKBody :: Constr
$tContainerUpdateOKBody :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
gmapM :: (forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerUpdateOKBody -> m ContainerUpdateOKBody
gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerUpdateOKBody -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ContainerUpdateOKBody -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerUpdateOKBody -> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerUpdateOKBody -> ContainerUpdateOKBody
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerUpdateOKBody -> ContainerUpdateOKBody
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerUpdateOKBody)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerUpdateOKBody)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ContainerUpdateOKBody)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerUpdateOKBody)
dataTypeOf :: ContainerUpdateOKBody -> DataType
$cdataTypeOf :: ContainerUpdateOKBody -> DataType
toConstr :: ContainerUpdateOKBody -> Constr
$ctoConstr :: ContainerUpdateOKBody -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerUpdateOKBody
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerUpdateOKBody
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerUpdateOKBody
-> c ContainerUpdateOKBody
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerUpdateOKBody
-> c ContainerUpdateOKBody
$cp1Data :: Typeable ContainerUpdateOKBody
Data)

instance FromJSON ContainerUpdateOKBody

instance ToJSON ContainerUpdateOKBody where
  toEncoding :: ContainerUpdateOKBody -> Encoding
toEncoding = Options -> ContainerUpdateOKBody -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerWaitOKBody OK response to ContainerWait operation
data ContainerWaitOKBody = ContainerWaitOKBody
  { -- |
    ContainerWaitOKBody -> ContainerWaitOKBodyError
error :: ContainerWaitOKBodyError,
    -- | Exit code of the container
    ContainerWaitOKBody -> Integer
status_code :: Integer
  }
  deriving stock (Int -> ContainerWaitOKBody -> ShowS
[ContainerWaitOKBody] -> ShowS
ContainerWaitOKBody -> String
(Int -> ContainerWaitOKBody -> ShowS)
-> (ContainerWaitOKBody -> String)
-> ([ContainerWaitOKBody] -> ShowS)
-> Show ContainerWaitOKBody
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerWaitOKBody] -> ShowS
$cshowList :: [ContainerWaitOKBody] -> ShowS
show :: ContainerWaitOKBody -> String
$cshow :: ContainerWaitOKBody -> String
showsPrec :: Int -> ContainerWaitOKBody -> ShowS
$cshowsPrec :: Int -> ContainerWaitOKBody -> ShowS
Show, ContainerWaitOKBody -> ContainerWaitOKBody -> Bool
(ContainerWaitOKBody -> ContainerWaitOKBody -> Bool)
-> (ContainerWaitOKBody -> ContainerWaitOKBody -> Bool)
-> Eq ContainerWaitOKBody
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerWaitOKBody -> ContainerWaitOKBody -> Bool
$c/= :: ContainerWaitOKBody -> ContainerWaitOKBody -> Bool
== :: ContainerWaitOKBody -> ContainerWaitOKBody -> Bool
$c== :: ContainerWaitOKBody -> ContainerWaitOKBody -> Bool
Eq, (forall x. ContainerWaitOKBody -> Rep ContainerWaitOKBody x)
-> (forall x. Rep ContainerWaitOKBody x -> ContainerWaitOKBody)
-> Generic ContainerWaitOKBody
forall x. Rep ContainerWaitOKBody x -> ContainerWaitOKBody
forall x. ContainerWaitOKBody -> Rep ContainerWaitOKBody x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ContainerWaitOKBody x -> ContainerWaitOKBody
$cfrom :: forall x. ContainerWaitOKBody -> Rep ContainerWaitOKBody x
Generic, Typeable ContainerWaitOKBody
DataType
Constr
Typeable ContainerWaitOKBody
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerWaitOKBody
    -> c ContainerWaitOKBody)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBody)
-> (ContainerWaitOKBody -> Constr)
-> (ContainerWaitOKBody -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBody))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerWaitOKBody))
-> ((forall b. Data b => b -> b)
    -> ContainerWaitOKBody -> ContainerWaitOKBody)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerWaitOKBody -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ContainerWaitOKBody -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBody -> m ContainerWaitOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBody -> m ContainerWaitOKBody)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBody -> m ContainerWaitOKBody)
-> Data ContainerWaitOKBody
ContainerWaitOKBody -> DataType
ContainerWaitOKBody -> Constr
(forall b. Data b => b -> b)
-> ContainerWaitOKBody -> ContainerWaitOKBody
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBody
-> c ContainerWaitOKBody
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBody
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> ContainerWaitOKBody -> u
forall u.
(forall d. Data d => d -> u) -> ContainerWaitOKBody -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBody
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBody
-> c ContainerWaitOKBody
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBody)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBody)
$cContainerWaitOKBody :: Constr
$tContainerWaitOKBody :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
gmapM :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBody -> m ContainerWaitOKBody
gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerWaitOKBody -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ContainerWaitOKBody -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerWaitOKBody -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ContainerWaitOKBody -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ContainerWaitOKBody -> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerWaitOKBody -> ContainerWaitOKBody
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerWaitOKBody -> ContainerWaitOKBody
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBody)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBody)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBody)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBody)
dataTypeOf :: ContainerWaitOKBody -> DataType
$cdataTypeOf :: ContainerWaitOKBody -> DataType
toConstr :: ContainerWaitOKBody -> Constr
$ctoConstr :: ContainerWaitOKBody -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBody
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBody
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBody
-> c ContainerWaitOKBody
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBody
-> c ContainerWaitOKBody
$cp1Data :: Typeable ContainerWaitOKBody
Data)

instance FromJSON ContainerWaitOKBody

instance ToJSON ContainerWaitOKBody where
  toEncoding :: ContainerWaitOKBody -> Encoding
toEncoding = Options -> ContainerWaitOKBody -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ContainerWaitOKBodyError container waiting error, if any
data ContainerWaitOKBodyError = ContainerWaitOKBodyError
  { -- | Details of an error
    ContainerWaitOKBodyError -> Maybe Text
error_message :: Maybe Text
  }
  deriving stock (Int -> ContainerWaitOKBodyError -> ShowS
[ContainerWaitOKBodyError] -> ShowS
ContainerWaitOKBodyError -> String
(Int -> ContainerWaitOKBodyError -> ShowS)
-> (ContainerWaitOKBodyError -> String)
-> ([ContainerWaitOKBodyError] -> ShowS)
-> Show ContainerWaitOKBodyError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerWaitOKBodyError] -> ShowS
$cshowList :: [ContainerWaitOKBodyError] -> ShowS
show :: ContainerWaitOKBodyError -> String
$cshow :: ContainerWaitOKBodyError -> String
showsPrec :: Int -> ContainerWaitOKBodyError -> ShowS
$cshowsPrec :: Int -> ContainerWaitOKBodyError -> ShowS
Show, ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool
(ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool)
-> (ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool)
-> Eq ContainerWaitOKBodyError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool
$c/= :: ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool
== :: ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool
$c== :: ContainerWaitOKBodyError -> ContainerWaitOKBodyError -> Bool
Eq, (forall x.
 ContainerWaitOKBodyError -> Rep ContainerWaitOKBodyError x)
-> (forall x.
    Rep ContainerWaitOKBodyError x -> ContainerWaitOKBodyError)
-> Generic ContainerWaitOKBodyError
forall x.
Rep ContainerWaitOKBodyError x -> ContainerWaitOKBodyError
forall x.
ContainerWaitOKBodyError -> Rep ContainerWaitOKBodyError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ContainerWaitOKBodyError x -> ContainerWaitOKBodyError
$cfrom :: forall x.
ContainerWaitOKBodyError -> Rep ContainerWaitOKBodyError x
Generic, Typeable ContainerWaitOKBodyError
DataType
Constr
Typeable ContainerWaitOKBodyError
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ContainerWaitOKBodyError
    -> c ContainerWaitOKBodyError)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBodyError)
-> (ContainerWaitOKBodyError -> Constr)
-> (ContainerWaitOKBodyError -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c ContainerWaitOKBodyError))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ContainerWaitOKBodyError))
-> ((forall b. Data b => b -> b)
    -> ContainerWaitOKBodyError -> ContainerWaitOKBodyError)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerWaitOKBodyError
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ContainerWaitOKBodyError
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError)
-> Data ContainerWaitOKBodyError
ContainerWaitOKBodyError -> DataType
ContainerWaitOKBodyError -> Constr
(forall b. Data b => b -> b)
-> ContainerWaitOKBodyError -> ContainerWaitOKBodyError
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBodyError
-> c ContainerWaitOKBodyError
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBodyError
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> u
forall u.
(forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBodyError
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBodyError
-> c ContainerWaitOKBodyError
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBodyError)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBodyError)
$cContainerWaitOKBodyError :: Constr
$tContainerWaitOKBodyError :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
gmapMp :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
gmapM :: (forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ContainerWaitOKBodyError -> m ContainerWaitOKBodyError
gmapQi :: Int
-> (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> u
gmapQ :: (forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ContainerWaitOKBodyError -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ContainerWaitOKBodyError
-> r
gmapT :: (forall b. Data b => b -> b)
-> ContainerWaitOKBodyError -> ContainerWaitOKBodyError
$cgmapT :: (forall b. Data b => b -> b)
-> ContainerWaitOKBodyError -> ContainerWaitOKBodyError
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBodyError)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ContainerWaitOKBodyError)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBodyError)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ContainerWaitOKBodyError)
dataTypeOf :: ContainerWaitOKBodyError -> DataType
$cdataTypeOf :: ContainerWaitOKBodyError -> DataType
toConstr :: ContainerWaitOKBodyError -> Constr
$ctoConstr :: ContainerWaitOKBodyError -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBodyError
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ContainerWaitOKBodyError
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBodyError
-> c ContainerWaitOKBodyError
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ContainerWaitOKBodyError
-> c ContainerWaitOKBodyError
$cp1Data :: Typeable ContainerWaitOKBodyError
Data)

instance FromJSON ContainerWaitOKBodyError

instance ToJSON ContainerWaitOKBodyError where
  toEncoding :: ContainerWaitOKBodyError -> Encoding
toEncoding = Options -> ContainerWaitOKBodyError -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data ErrorResponse = ErrorResponse
  { -- | The error message.
    ErrorResponse -> Text
message :: Text
  }
  deriving stock (Int -> ErrorResponse -> ShowS
[ErrorResponse] -> ShowS
ErrorResponse -> String
(Int -> ErrorResponse -> ShowS)
-> (ErrorResponse -> String)
-> ([ErrorResponse] -> ShowS)
-> Show ErrorResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ErrorResponse] -> ShowS
$cshowList :: [ErrorResponse] -> ShowS
show :: ErrorResponse -> String
$cshow :: ErrorResponse -> String
showsPrec :: Int -> ErrorResponse -> ShowS
$cshowsPrec :: Int -> ErrorResponse -> ShowS
Show, ErrorResponse -> ErrorResponse -> Bool
(ErrorResponse -> ErrorResponse -> Bool)
-> (ErrorResponse -> ErrorResponse -> Bool) -> Eq ErrorResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ErrorResponse -> ErrorResponse -> Bool
$c/= :: ErrorResponse -> ErrorResponse -> Bool
== :: ErrorResponse -> ErrorResponse -> Bool
$c== :: ErrorResponse -> ErrorResponse -> Bool
Eq, (forall x. ErrorResponse -> Rep ErrorResponse x)
-> (forall x. Rep ErrorResponse x -> ErrorResponse)
-> Generic ErrorResponse
forall x. Rep ErrorResponse x -> ErrorResponse
forall x. ErrorResponse -> Rep ErrorResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ErrorResponse x -> ErrorResponse
$cfrom :: forall x. ErrorResponse -> Rep ErrorResponse x
Generic, Typeable ErrorResponse
DataType
Constr
Typeable ErrorResponse
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> ErrorResponse -> c ErrorResponse)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ErrorResponse)
-> (ErrorResponse -> Constr)
-> (ErrorResponse -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ErrorResponse))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ErrorResponse))
-> ((forall b. Data b => b -> b) -> ErrorResponse -> ErrorResponse)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r)
-> (forall u. (forall d. Data d => d -> u) -> ErrorResponse -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ErrorResponse -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse)
-> Data ErrorResponse
ErrorResponse -> DataType
ErrorResponse -> Constr
(forall b. Data b => b -> b) -> ErrorResponse -> ErrorResponse
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorResponse -> c ErrorResponse
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorResponse
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> ErrorResponse -> u
forall u. (forall d. Data d => d -> u) -> ErrorResponse -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorResponse
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorResponse -> c ErrorResponse
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ErrorResponse)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorResponse)
$cErrorResponse :: Constr
$tErrorResponse :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
gmapMp :: (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
gmapM :: (forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> ErrorResponse -> m ErrorResponse
gmapQi :: Int -> (forall d. Data d => d -> u) -> ErrorResponse -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> ErrorResponse -> u
gmapQ :: (forall d. Data d => d -> u) -> ErrorResponse -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> ErrorResponse -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ErrorResponse -> r
gmapT :: (forall b. Data b => b -> b) -> ErrorResponse -> ErrorResponse
$cgmapT :: (forall b. Data b => b -> b) -> ErrorResponse -> ErrorResponse
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorResponse)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ErrorResponse)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ErrorResponse)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ErrorResponse)
dataTypeOf :: ErrorResponse -> DataType
$cdataTypeOf :: ErrorResponse -> DataType
toConstr :: ErrorResponse -> Constr
$ctoConstr :: ErrorResponse -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorResponse
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ErrorResponse
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorResponse -> c ErrorResponse
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ErrorResponse -> c ErrorResponse
$cp1Data :: Typeable ErrorResponse
Data)

instance FromJSON ErrorResponse

instance ToJSON ErrorResponse where
  toEncoding :: ErrorResponse -> Encoding
toEncoding = Options -> ErrorResponse -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

data GraphDriverData = GraphDriverData
  { -- | data
    GraphDriverData -> Map String Text
_data :: Map String Text,
    -- | name
    GraphDriverData -> Text
name :: Text
  }
  deriving stock (Int -> GraphDriverData -> ShowS
[GraphDriverData] -> ShowS
GraphDriverData -> String
(Int -> GraphDriverData -> ShowS)
-> (GraphDriverData -> String)
-> ([GraphDriverData] -> ShowS)
-> Show GraphDriverData
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GraphDriverData] -> ShowS
$cshowList :: [GraphDriverData] -> ShowS
show :: GraphDriverData -> String
$cshow :: GraphDriverData -> String
showsPrec :: Int -> GraphDriverData -> ShowS
$cshowsPrec :: Int -> GraphDriverData -> ShowS
Show, GraphDriverData -> GraphDriverData -> Bool
(GraphDriverData -> GraphDriverData -> Bool)
-> (GraphDriverData -> GraphDriverData -> Bool)
-> Eq GraphDriverData
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GraphDriverData -> GraphDriverData -> Bool
$c/= :: GraphDriverData -> GraphDriverData -> Bool
== :: GraphDriverData -> GraphDriverData -> Bool
$c== :: GraphDriverData -> GraphDriverData -> Bool
Eq, (forall x. GraphDriverData -> Rep GraphDriverData x)
-> (forall x. Rep GraphDriverData x -> GraphDriverData)
-> Generic GraphDriverData
forall x. Rep GraphDriverData x -> GraphDriverData
forall x. GraphDriverData -> Rep GraphDriverData x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GraphDriverData x -> GraphDriverData
$cfrom :: forall x. GraphDriverData -> Rep GraphDriverData x
Generic, Typeable GraphDriverData
DataType
Constr
Typeable GraphDriverData
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> GraphDriverData -> c GraphDriverData)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c GraphDriverData)
-> (GraphDriverData -> Constr)
-> (GraphDriverData -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c GraphDriverData))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c GraphDriverData))
-> ((forall b. Data b => b -> b)
    -> GraphDriverData -> GraphDriverData)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> GraphDriverData -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> GraphDriverData -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> GraphDriverData -> m GraphDriverData)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> GraphDriverData -> m GraphDriverData)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> GraphDriverData -> m GraphDriverData)
-> Data GraphDriverData
GraphDriverData -> DataType
GraphDriverData -> Constr
(forall b. Data b => b -> b) -> GraphDriverData -> GraphDriverData
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GraphDriverData -> c GraphDriverData
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GraphDriverData
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> GraphDriverData -> u
forall u. (forall d. Data d => d -> u) -> GraphDriverData -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GraphDriverData
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GraphDriverData -> c GraphDriverData
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c GraphDriverData)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GraphDriverData)
$cGraphDriverData :: Constr
$tGraphDriverData :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
gmapMp :: (forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
gmapM :: (forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> GraphDriverData -> m GraphDriverData
gmapQi :: Int -> (forall d. Data d => d -> u) -> GraphDriverData -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> GraphDriverData -> u
gmapQ :: (forall d. Data d => d -> u) -> GraphDriverData -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> GraphDriverData -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> GraphDriverData -> r
gmapT :: (forall b. Data b => b -> b) -> GraphDriverData -> GraphDriverData
$cgmapT :: (forall b. Data b => b -> b) -> GraphDriverData -> GraphDriverData
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GraphDriverData)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c GraphDriverData)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c GraphDriverData)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c GraphDriverData)
dataTypeOf :: GraphDriverData -> DataType
$cdataTypeOf :: GraphDriverData -> DataType
toConstr :: GraphDriverData -> Constr
$ctoConstr :: GraphDriverData -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GraphDriverData
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c GraphDriverData
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GraphDriverData -> c GraphDriverData
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> GraphDriverData -> c GraphDriverData
$cp1Data :: Typeable GraphDriverData
Data)

instance FromJSON GraphDriverData where
  parseJSON :: Value -> Parser GraphDriverData
parseJSON =
    Options -> Value -> Parser GraphDriverData
forall a.
(Generic a, GFromJSON Zero (Rep a)) =>
Options -> Value -> Parser a
genericParseJSON
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

instance ToJSON GraphDriverData where
  toEncoding :: GraphDriverData -> Encoding
toEncoding =
    Options -> GraphDriverData -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding
      Options
defaultOptions
        { constructorTagModifier :: ShowS
constructorTagModifier = ShowS
typeFieldRename,
          fieldLabelModifier :: ShowS
fieldLabelModifier = ShowS
typeFieldRename
        }

-- | IDResponse Response to an API call that returns just an Id
data IdResponse = IdResponse
  { -- | The id of the newly created object.
    IdResponse -> Text
id :: Text
  }
  deriving stock (Int -> IdResponse -> ShowS
[IdResponse] -> ShowS
IdResponse -> String
(Int -> IdResponse -> ShowS)
-> (IdResponse -> String)
-> ([IdResponse] -> ShowS)
-> Show IdResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IdResponse] -> ShowS
$cshowList :: [IdResponse] -> ShowS
show :: IdResponse -> String
$cshow :: IdResponse -> String
showsPrec :: Int -> IdResponse -> ShowS
$cshowsPrec :: Int -> IdResponse -> ShowS
Show, IdResponse -> IdResponse -> Bool
(IdResponse -> IdResponse -> Bool)
-> (IdResponse -> IdResponse -> Bool) -> Eq IdResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IdResponse -> IdResponse -> Bool
$c/= :: IdResponse -> IdResponse -> Bool
== :: IdResponse -> IdResponse -> Bool
$c== :: IdResponse -> IdResponse -> Bool
Eq, (forall x. IdResponse -> Rep IdResponse x)
-> (forall x. Rep IdResponse x -> IdResponse) -> Generic IdResponse
forall x. Rep IdResponse x -> IdResponse
forall x. IdResponse -> Rep IdResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep IdResponse x -> IdResponse
$cfrom :: forall x. IdResponse -> Rep IdResponse x
Generic, Typeable IdResponse
DataType
Constr
Typeable IdResponse
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> IdResponse -> c IdResponse)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c IdResponse)
-> (IdResponse -> Constr)
-> (IdResponse -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c IdResponse))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c IdResponse))
-> ((forall b. Data b => b -> b) -> IdResponse -> IdResponse)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> IdResponse -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> IdResponse -> r)
-> (forall u. (forall d. Data d => d -> u) -> IdResponse -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> IdResponse -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse)
-> Data IdResponse
IdResponse -> DataType
IdResponse -> Constr
(forall b. Data b => b -> b) -> IdResponse -> IdResponse
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> IdResponse -> c IdResponse
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdResponse
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> IdResponse -> u
forall u. (forall d. Data d => d -> u) -> IdResponse -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdResponse
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> IdResponse -> c IdResponse
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c IdResponse)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdResponse)
$cIdResponse :: Constr
$tIdResponse :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
gmapMp :: (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
gmapM :: (forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> IdResponse -> m IdResponse
gmapQi :: Int -> (forall d. Data d => d -> u) -> IdResponse -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> IdResponse -> u
gmapQ :: (forall d. Data d => d -> u) -> IdResponse -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> IdResponse -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> IdResponse -> r
gmapT :: (forall b. Data b => b -> b) -> IdResponse -> IdResponse
$cgmapT :: (forall b. Data b => b -> b) -> IdResponse -> IdResponse
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdResponse)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdResponse)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c IdResponse)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c IdResponse)
dataTypeOf :: IdResponse -> DataType
$cdataTypeOf :: IdResponse -> DataType
toConstr :: IdResponse -> Constr
$ctoConstr :: IdResponse -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdResponse
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c IdResponse
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> IdResponse -> c IdResponse
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> IdResponse -> c IdResponse
$cp1Data :: Typeable IdResponse
Data)

instance FromJSON IdResponse

instance ToJSON IdResponse where
  toEncoding :: IdResponse -> Encoding
toEncoding = Options -> IdResponse -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ImageDeleteResponseItem image delete response item
data ImageDeleteResponseItem = ImageDeleteResponseItem
  { -- | The image ID of an image that was deleted
    ImageDeleteResponseItem -> Maybe Text
deleted :: Maybe Text,
    -- | The image ID of an image that was untagged
    ImageDeleteResponseItem -> Maybe Text
untagged :: Maybe Text
  }
  deriving stock (Int -> ImageDeleteResponseItem -> ShowS
[ImageDeleteResponseItem] -> ShowS
ImageDeleteResponseItem -> String
(Int -> ImageDeleteResponseItem -> ShowS)
-> (ImageDeleteResponseItem -> String)
-> ([ImageDeleteResponseItem] -> ShowS)
-> Show ImageDeleteResponseItem
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImageDeleteResponseItem] -> ShowS
$cshowList :: [ImageDeleteResponseItem] -> ShowS
show :: ImageDeleteResponseItem -> String
$cshow :: ImageDeleteResponseItem -> String
showsPrec :: Int -> ImageDeleteResponseItem -> ShowS
$cshowsPrec :: Int -> ImageDeleteResponseItem -> ShowS
Show, ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool
(ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool)
-> (ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool)
-> Eq ImageDeleteResponseItem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool
$c/= :: ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool
== :: ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool
$c== :: ImageDeleteResponseItem -> ImageDeleteResponseItem -> Bool
Eq, (forall x.
 ImageDeleteResponseItem -> Rep ImageDeleteResponseItem x)
-> (forall x.
    Rep ImageDeleteResponseItem x -> ImageDeleteResponseItem)
-> Generic ImageDeleteResponseItem
forall x. Rep ImageDeleteResponseItem x -> ImageDeleteResponseItem
forall x. ImageDeleteResponseItem -> Rep ImageDeleteResponseItem x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImageDeleteResponseItem x -> ImageDeleteResponseItem
$cfrom :: forall x. ImageDeleteResponseItem -> Rep ImageDeleteResponseItem x
Generic, Typeable ImageDeleteResponseItem
DataType
Constr
Typeable ImageDeleteResponseItem
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> ImageDeleteResponseItem
    -> c ImageDeleteResponseItem)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ImageDeleteResponseItem)
-> (ImageDeleteResponseItem -> Constr)
-> (ImageDeleteResponseItem -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ImageDeleteResponseItem))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ImageDeleteResponseItem))
-> ((forall b. Data b => b -> b)
    -> ImageDeleteResponseItem -> ImageDeleteResponseItem)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ImageDeleteResponseItem
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> ImageDeleteResponseItem
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> ImageDeleteResponseItem -> m ImageDeleteResponseItem)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ImageDeleteResponseItem -> m ImageDeleteResponseItem)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> ImageDeleteResponseItem -> m ImageDeleteResponseItem)
-> Data ImageDeleteResponseItem
ImageDeleteResponseItem -> DataType
ImageDeleteResponseItem -> Constr
(forall b. Data b => b -> b)
-> ImageDeleteResponseItem -> ImageDeleteResponseItem
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ImageDeleteResponseItem
-> c ImageDeleteResponseItem
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageDeleteResponseItem
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> u
forall u.
(forall d. Data d => d -> u) -> ImageDeleteResponseItem -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageDeleteResponseItem
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ImageDeleteResponseItem
-> c ImageDeleteResponseItem
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ImageDeleteResponseItem)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageDeleteResponseItem)
$cImageDeleteResponseItem :: Constr
$tImageDeleteResponseItem :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
gmapMp :: (forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
gmapM :: (forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ImageDeleteResponseItem -> m ImageDeleteResponseItem
gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> u
gmapQ :: (forall d. Data d => d -> u) -> ImageDeleteResponseItem -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> ImageDeleteResponseItem -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> ImageDeleteResponseItem
-> r
gmapT :: (forall b. Data b => b -> b)
-> ImageDeleteResponseItem -> ImageDeleteResponseItem
$cgmapT :: (forall b. Data b => b -> b)
-> ImageDeleteResponseItem -> ImageDeleteResponseItem
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageDeleteResponseItem)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageDeleteResponseItem)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ImageDeleteResponseItem)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ImageDeleteResponseItem)
dataTypeOf :: ImageDeleteResponseItem -> DataType
$cdataTypeOf :: ImageDeleteResponseItem -> DataType
toConstr :: ImageDeleteResponseItem -> Constr
$ctoConstr :: ImageDeleteResponseItem -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageDeleteResponseItem
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageDeleteResponseItem
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ImageDeleteResponseItem
-> c ImageDeleteResponseItem
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ImageDeleteResponseItem
-> c ImageDeleteResponseItem
$cp1Data :: Typeable ImageDeleteResponseItem
Data)

instance FromJSON ImageDeleteResponseItem

instance ToJSON ImageDeleteResponseItem where
  toEncoding :: ImageDeleteResponseItem -> Encoding
toEncoding = Options -> ImageDeleteResponseItem -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | ImageSummary image summary
data ImageSummary = ImageSummary
  { -- | containers
    ImageSummary -> Integer
containers :: Integer,
    -- | created
    ImageSummary -> Integer
created :: Integer,
    -- | Id
    ImageSummary -> Text
id :: Text,
    -- | labels
    ImageSummary -> Map String Text
labels :: Map String Text,
    -- | parent Id
    ImageSummary -> Text
parent_id :: Text,
    -- | repo digests
    ImageSummary -> [Text]
repo_digests :: [Text],
    -- | repo tags
    ImageSummary -> [Text]
repo_tags :: [Text],
    -- | shared size
    ImageSummary -> Integer
shared_size :: Integer,
    -- | size
    ImageSummary -> Integer
size :: Integer,
    -- | virtual size
    ImageSummary -> Integer
virtual_size :: Integer
  }
  deriving stock (Int -> ImageSummary -> ShowS
[ImageSummary] -> ShowS
ImageSummary -> String
(Int -> ImageSummary -> ShowS)
-> (ImageSummary -> String)
-> ([ImageSummary] -> ShowS)
-> Show ImageSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImageSummary] -> ShowS
$cshowList :: [ImageSummary] -> ShowS
show :: ImageSummary -> String
$cshow :: ImageSummary -> String
showsPrec :: Int -> ImageSummary -> ShowS
$cshowsPrec :: Int -> ImageSummary -> ShowS
Show, ImageSummary -> ImageSummary -> Bool
(ImageSummary -> ImageSummary -> Bool)
-> (ImageSummary -> ImageSummary -> Bool) -> Eq ImageSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImageSummary -> ImageSummary -> Bool
$c/= :: ImageSummary -> ImageSummary -> Bool
== :: ImageSummary -> ImageSummary -> Bool
$c== :: ImageSummary -> ImageSummary -> Bool
Eq, (forall x. ImageSummary -> Rep ImageSummary x)
-> (forall x. Rep ImageSummary x -> ImageSummary)
-> Generic ImageSummary
forall x. Rep ImageSummary x -> ImageSummary
forall x. ImageSummary -> Rep ImageSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImageSummary x -> ImageSummary
$cfrom :: forall x. ImageSummary -> Rep ImageSummary x
Generic, Typeable ImageSummary
DataType
Constr
Typeable ImageSummary
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> ImageSummary -> c ImageSummary)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c ImageSummary)
-> (ImageSummary -> Constr)
-> (ImageSummary -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c ImageSummary))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c ImageSummary))
-> ((forall b. Data b => b -> b) -> ImageSummary -> ImageSummary)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> ImageSummary -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> ImageSummary -> r)
-> (forall u. (forall d. Data d => d -> u) -> ImageSummary -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> ImageSummary -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary)
-> Data ImageSummary
ImageSummary -> DataType
ImageSummary -> Constr
(forall b. Data b => b -> b) -> ImageSummary -> ImageSummary
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ImageSummary -> c ImageSummary
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageSummary
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> ImageSummary -> u
forall u. (forall d. Data d => d -> u) -> ImageSummary -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageSummary
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ImageSummary -> c ImageSummary
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ImageSummary)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageSummary)
$cImageSummary :: Constr
$tImageSummary :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
gmapMp :: (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
gmapM :: (forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> ImageSummary -> m ImageSummary
gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageSummary -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> ImageSummary -> u
gmapQ :: (forall d. Data d => d -> u) -> ImageSummary -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> ImageSummary -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ImageSummary -> r
gmapT :: (forall b. Data b => b -> b) -> ImageSummary -> ImageSummary
$cgmapT :: (forall b. Data b => b -> b) -> ImageSummary -> ImageSummary
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageSummary)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ImageSummary)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ImageSummary)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ImageSummary)
dataTypeOf :: ImageSummary -> DataType
$cdataTypeOf :: ImageSummary -> DataType
toConstr :: ImageSummary -> Constr
$ctoConstr :: ImageSummary -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageSummary
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ImageSummary
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ImageSummary -> c ImageSummary
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> ImageSummary -> c ImageSummary
$cp1Data :: Typeable ImageSummary
Data)

instance FromJSON ImageSummary

instance ToJSON ImageSummary where
  toEncoding :: ImageSummary -> Encoding
toEncoding = Options -> ImageSummary -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- | The standard Ory JSON API error format.
data JsonError = JsonError
  { -- |
    JsonError -> GenericError
error :: GenericError
  }
  deriving stock (Int -> JsonError -> ShowS
[JsonError] -> ShowS
JsonError -> String
(Int -> JsonError -> ShowS)
-> (JsonError -> String)
-> ([JsonError] -> ShowS)
-> Show JsonError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JsonError] -> ShowS
$cshowList :: [JsonError] -> ShowS
show :: JsonError -> String
$cshow :: JsonError -> String
showsPrec :: Int -> JsonError -> ShowS
$cshowsPrec :: Int -> JsonError -> ShowS
Show, JsonError -> JsonError -> Bool
(JsonError -> JsonError -> Bool)
-> (JsonError -> JsonError -> Bool) -> Eq JsonError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JsonError -> JsonError -> Bool
$c/= :: JsonError -> JsonError -> Bool
== :: JsonError -> JsonError -> Bool
$c== :: JsonError -> JsonError -> Bool
Eq, (forall x. JsonError -> Rep JsonError x)
-> (forall x. Rep JsonError x -> JsonError) -> Generic JsonError
forall x. Rep JsonError x -> JsonError
forall x. JsonError -> Rep JsonError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JsonError x -> JsonError
$cfrom :: forall x. JsonError -> Rep JsonError x
Generic, Typeable JsonError
DataType
Constr
Typeable JsonError
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> JsonError -> c JsonError)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c JsonError)
-> (JsonError -> Constr)
-> (JsonError -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c JsonError))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonError))
-> ((forall b. Data b => b -> b) -> JsonError -> JsonError)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> JsonError -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> JsonError -> r)
-> (forall u. (forall d. Data d => d -> u) -> JsonError -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> JsonError -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> JsonError -> m JsonError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> JsonError -> m JsonError)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> JsonError -> m JsonError)
-> Data JsonError
JsonError -> DataType
JsonError -> Constr
(forall b. Data b => b -> b) -> JsonError -> JsonError
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JsonError -> c JsonError
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JsonError
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> JsonError -> u
forall u. (forall d. Data d => d -> u) -> JsonError -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> JsonError -> m JsonError
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JsonError -> m JsonError
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JsonError
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JsonError -> c JsonError
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c JsonError)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonError)
$cJsonError :: Constr
$tJsonError :: DataType
gmapMo :: (forall d. Data d => d -> m d) -> JsonError -> m JsonError
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JsonError -> m JsonError
gmapMp :: (forall d. Data d => d -> m d) -> JsonError -> m JsonError
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> JsonError -> m JsonError
gmapM :: (forall d. Data d => d -> m d) -> JsonError -> m JsonError
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> JsonError -> m JsonError
gmapQi :: Int -> (forall d. Data d => d -> u) -> JsonError -> u
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> JsonError -> u
gmapQ :: (forall d. Data d => d -> u) -> JsonError -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> JsonError -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> JsonError -> r
gmapT :: (forall b. Data b => b -> b) -> JsonError -> JsonError
$cgmapT :: (forall b. Data b => b -> b) -> JsonError -> JsonError
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonError)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JsonError)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c JsonError)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c JsonError)
dataTypeOf :: JsonError -> DataType
$cdataTypeOf :: JsonError -> DataType
toConstr :: JsonError -> Constr
$ctoConstr :: JsonError -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JsonError
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c JsonError
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JsonError -> c JsonError
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> JsonError -> c JsonError
$cp1Data :: Typeable JsonError
Data)

instance FromJSON JsonError

instance ToJSON JsonError where
  toEncoding :: JsonError -> Encoding
toEncoding = Options -> JsonError -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions

-- |
data SelfServiceErrorContainer = SelfServiceErrorContainer
  { -- | CreatedAt is a helper struct field for gobuffalo.pop.
    SelfServiceErrorContainer -> Maybe UTCTime
created_at :: Maybe UTCTime,
    -- | Errors in the container
    SelfServiceErrorContainer -> Value
errors :: Value,
    -- |
    SelfServiceErrorContainer -> Text
id :: Text,
    -- | UpdatedAt is a helper struct field for gobuffalo.pop.
    SelfServiceErrorContainer -> Maybe UTCTime
updated_at :: Maybe UTCTime
  }
  deriving stock (Int -> SelfServiceErrorContainer -> ShowS
[SelfServiceErrorContainer] -> ShowS
SelfServiceErrorContainer -> String
(Int -> SelfServiceErrorContainer -> ShowS)
-> (SelfServiceErrorContainer -> String)
-> ([SelfServiceErrorContainer] -> ShowS)
-> Show SelfServiceErrorContainer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SelfServiceErrorContainer] -> ShowS
$cshowList :: [SelfServiceErrorContainer] -> ShowS
show :: SelfServiceErrorContainer -> String
$cshow :: SelfServiceErrorContainer -> String
showsPrec :: Int -> SelfServiceErrorContainer -> ShowS
$cshowsPrec :: Int -> SelfServiceErrorContainer -> ShowS
Show, SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool
(SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool)
-> (SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool)
-> Eq SelfServiceErrorContainer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool
$c/= :: SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool
== :: SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool
$c== :: SelfServiceErrorContainer -> SelfServiceErrorContainer -> Bool
Eq, (forall x.
 SelfServiceErrorContainer -> Rep SelfServiceErrorContainer x)
-> (forall x.
    Rep SelfServiceErrorContainer x -> SelfServiceErrorContainer)
-> Generic SelfServiceErrorContainer
forall x.
Rep SelfServiceErrorContainer x -> SelfServiceErrorContainer
forall x.
SelfServiceErrorContainer -> Rep SelfServiceErrorContainer x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SelfServiceErrorContainer x -> SelfServiceErrorContainer
$cfrom :: forall x.
SelfServiceErrorContainer -> Rep SelfServiceErrorContainer x
Generic, Typeable SelfServiceErrorContainer
DataType
Constr
Typeable SelfServiceErrorContainer
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g)
    -> SelfServiceErrorContainer
    -> c SelfServiceErrorContainer)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c SelfServiceErrorContainer)
-> (SelfServiceErrorContainer -> Constr)
-> (SelfServiceErrorContainer -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d))
    -> Maybe (c SelfServiceErrorContainer))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c SelfServiceErrorContainer))
-> ((forall b. Data b => b -> b)
    -> SelfServiceErrorContainer -> SelfServiceErrorContainer)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> SelfServiceErrorContainer
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> SelfServiceErrorContainer
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> [u])
-> (forall u.
    Int
    -> (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> SelfServiceErrorContainer -> m SelfServiceErrorContainer)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> SelfServiceErrorContainer -> m SelfServiceErrorContainer)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> SelfServiceErrorContainer -> m SelfServiceErrorContainer)
-> Data SelfServiceErrorContainer
SelfServiceErrorContainer -> DataType
SelfServiceErrorContainer -> Constr
(forall b. Data b => b -> b)
-> SelfServiceErrorContainer -> SelfServiceErrorContainer
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> SelfServiceErrorContainer
-> c SelfServiceErrorContainer
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c SelfServiceErrorContainer
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int
-> (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> u
forall u.
(forall d. Data d => d -> u) -> SelfServiceErrorContainer -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c SelfServiceErrorContainer
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> SelfServiceErrorContainer
-> c SelfServiceErrorContainer
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c SelfServiceErrorContainer)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c SelfServiceErrorContainer)
$cSelfServiceErrorContainer :: Constr
$tSelfServiceErrorContainer :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
gmapMp :: (forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
gmapM :: (forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> SelfServiceErrorContainer -> m SelfServiceErrorContainer
gmapQi :: Int
-> (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> u
$cgmapQi :: forall u.
Int
-> (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> u
gmapQ :: (forall d. Data d => d -> u) -> SelfServiceErrorContainer -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> SelfServiceErrorContainer -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> SelfServiceErrorContainer
-> r
gmapT :: (forall b. Data b => b -> b)
-> SelfServiceErrorContainer -> SelfServiceErrorContainer
$cgmapT :: (forall b. Data b => b -> b)
-> SelfServiceErrorContainer -> SelfServiceErrorContainer
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c SelfServiceErrorContainer)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c SelfServiceErrorContainer)
dataCast1 :: (forall d. Data d => c (t d))
-> Maybe (c SelfServiceErrorContainer)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d))
-> Maybe (c SelfServiceErrorContainer)
dataTypeOf :: SelfServiceErrorContainer -> DataType
$cdataTypeOf :: SelfServiceErrorContainer -> DataType
toConstr :: SelfServiceErrorContainer -> Constr
$ctoConstr :: SelfServiceErrorContainer -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c SelfServiceErrorContainer
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c SelfServiceErrorContainer
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> SelfServiceErrorContainer
-> c SelfServiceErrorContainer
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> SelfServiceErrorContainer
-> c SelfServiceErrorContainer
$cp1Data :: Typeable SelfServiceErrorContainer
Data)

instance FromJSON SelfServiceErrorContainer

instance ToJSON SelfServiceErrorContainer where
  toEncoding :: SelfServiceErrorContainer -> Encoding
toEncoding = Options -> SelfServiceErrorContainer -> Encoding
forall a.
(Generic a, GToJSON' Encoding Zero (Rep a)) =>
Options -> a -> Encoding
genericToEncoding Options
defaultOptions