{-# LANGUAGE DeriveAnyClass #-}

module Hercules.API.Agent.Evaluate.ImmutableGitInput where

import Hercules.API.Prelude

data ImmutableGitInput = ImmutableGitInput
  { ImmutableGitInput -> Text
rev :: Text,
    ImmutableGitInput -> Text
ref :: Text,
    ImmutableGitInput -> Text
sshURL :: Text,
    ImmutableGitInput -> Text
httpURL :: Text,
    ImmutableGitInput -> Maybe Text
webURL :: Maybe Text,
    ImmutableGitInput -> Maybe Text
forgeType :: Maybe Text,
    ImmutableGitInput -> Maybe Text
owner :: Maybe Text,
    ImmutableGitInput -> Maybe Text
name :: Maybe Text
  }
  deriving ((forall x. ImmutableGitInput -> Rep ImmutableGitInput x)
-> (forall x. Rep ImmutableGitInput x -> ImmutableGitInput)
-> Generic ImmutableGitInput
forall x. Rep ImmutableGitInput x -> ImmutableGitInput
forall x. ImmutableGitInput -> Rep ImmutableGitInput x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. ImmutableGitInput -> Rep ImmutableGitInput x
from :: forall x. ImmutableGitInput -> Rep ImmutableGitInput x
$cto :: forall x. Rep ImmutableGitInput x -> ImmutableGitInput
to :: forall x. Rep ImmutableGitInput x -> ImmutableGitInput
Generic, Int -> ImmutableGitInput -> ShowS
[ImmutableGitInput] -> ShowS
ImmutableGitInput -> String
(Int -> ImmutableGitInput -> ShowS)
-> (ImmutableGitInput -> String)
-> ([ImmutableGitInput] -> ShowS)
-> Show ImmutableGitInput
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ImmutableGitInput -> ShowS
showsPrec :: Int -> ImmutableGitInput -> ShowS
$cshow :: ImmutableGitInput -> String
show :: ImmutableGitInput -> String
$cshowList :: [ImmutableGitInput] -> ShowS
showList :: [ImmutableGitInput] -> ShowS
Show, ImmutableGitInput -> ImmutableGitInput -> Bool
(ImmutableGitInput -> ImmutableGitInput -> Bool)
-> (ImmutableGitInput -> ImmutableGitInput -> Bool)
-> Eq ImmutableGitInput
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ImmutableGitInput -> ImmutableGitInput -> Bool
== :: ImmutableGitInput -> ImmutableGitInput -> Bool
$c/= :: ImmutableGitInput -> ImmutableGitInput -> Bool
/= :: ImmutableGitInput -> ImmutableGitInput -> Bool
Eq)
  deriving anyclass (ImmutableGitInput -> ()
(ImmutableGitInput -> ()) -> NFData ImmutableGitInput
forall a. (a -> ()) -> NFData a
$crnf :: ImmutableGitInput -> ()
rnf :: ImmutableGitInput -> ()
NFData, [ImmutableGitInput] -> Value
[ImmutableGitInput] -> Encoding
ImmutableGitInput -> Value
ImmutableGitInput -> Encoding
(ImmutableGitInput -> Value)
-> (ImmutableGitInput -> Encoding)
-> ([ImmutableGitInput] -> Value)
-> ([ImmutableGitInput] -> Encoding)
-> ToJSON ImmutableGitInput
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
$ctoJSON :: ImmutableGitInput -> Value
toJSON :: ImmutableGitInput -> Value
$ctoEncoding :: ImmutableGitInput -> Encoding
toEncoding :: ImmutableGitInput -> Encoding
$ctoJSONList :: [ImmutableGitInput] -> Value
toJSONList :: [ImmutableGitInput] -> Value
$ctoEncodingList :: [ImmutableGitInput] -> Encoding
toEncodingList :: [ImmutableGitInput] -> Encoding
ToJSON, Value -> Parser [ImmutableGitInput]
Value -> Parser ImmutableGitInput
(Value -> Parser ImmutableGitInput)
-> (Value -> Parser [ImmutableGitInput])
-> FromJSON ImmutableGitInput
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
$cparseJSON :: Value -> Parser ImmutableGitInput
parseJSON :: Value -> Parser ImmutableGitInput
$cparseJSONList :: Value -> Parser [ImmutableGitInput]
parseJSONList :: Value -> Parser [ImmutableGitInput]
FromJSON, Proxy ImmutableGitInput -> Declare (Definitions Schema) NamedSchema
(Proxy ImmutableGitInput
 -> Declare (Definitions Schema) NamedSchema)
-> ToSchema ImmutableGitInput
forall a.
(Proxy a -> Declare (Definitions Schema) NamedSchema) -> ToSchema a
$cdeclareNamedSchema :: Proxy ImmutableGitInput -> Declare (Definitions Schema) NamedSchema
declareNamedSchema :: Proxy ImmutableGitInput -> Declare (Definitions Schema) NamedSchema
ToSchema)