module Stratosphere.CodeStar.GitHubRepository (
        module Exports, GitHubRepository(..), mkGitHubRepository
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CodeStar.GitHubRepository.CodeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GitHubRepository
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html>
    GitHubRepository {GitHubRepository -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-code>
                      GitHubRepository -> Maybe CodeProperty
code :: (Prelude.Maybe CodeProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-connectionarn>
                      GitHubRepository -> Maybe (Value Text)
connectionArn :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-enableissues>
                      GitHubRepository -> Maybe (Value Bool)
enableIssues :: (Prelude.Maybe (Value Prelude.Bool)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-isprivate>
                      GitHubRepository -> Maybe (Value Bool)
isPrivate :: (Prelude.Maybe (Value Prelude.Bool)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryaccesstoken>
                      GitHubRepository -> Maybe (Value Text)
repositoryAccessToken :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositorydescription>
                      GitHubRepository -> Maybe (Value Text)
repositoryDescription :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryname>
                      GitHubRepository -> Value Text
repositoryName :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryowner>
                      GitHubRepository -> Value Text
repositoryOwner :: (Value Prelude.Text)}
  deriving stock (GitHubRepository -> GitHubRepository -> Bool
(GitHubRepository -> GitHubRepository -> Bool)
-> (GitHubRepository -> GitHubRepository -> Bool)
-> Eq GitHubRepository
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GitHubRepository -> GitHubRepository -> Bool
== :: GitHubRepository -> GitHubRepository -> Bool
$c/= :: GitHubRepository -> GitHubRepository -> Bool
/= :: GitHubRepository -> GitHubRepository -> Bool
Prelude.Eq, Int -> GitHubRepository -> ShowS
[GitHubRepository] -> ShowS
GitHubRepository -> String
(Int -> GitHubRepository -> ShowS)
-> (GitHubRepository -> String)
-> ([GitHubRepository] -> ShowS)
-> Show GitHubRepository
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GitHubRepository -> ShowS
showsPrec :: Int -> GitHubRepository -> ShowS
$cshow :: GitHubRepository -> String
show :: GitHubRepository -> String
$cshowList :: [GitHubRepository] -> ShowS
showList :: [GitHubRepository] -> ShowS
Prelude.Show)
mkGitHubRepository ::
  Value Prelude.Text -> Value Prelude.Text -> GitHubRepository
mkGitHubRepository :: Value Text -> Value Text -> GitHubRepository
mkGitHubRepository Value Text
repositoryName Value Text
repositoryOwner
  = GitHubRepository
      {haddock_workaround_ :: ()
haddock_workaround_ = (), repositoryName :: Value Text
repositoryName = Value Text
repositoryName,
       repositoryOwner :: Value Text
repositoryOwner = Value Text
repositoryOwner, code :: Maybe CodeProperty
code = Maybe CodeProperty
forall a. Maybe a
Prelude.Nothing,
       connectionArn :: Maybe (Value Text)
connectionArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, enableIssues :: Maybe (Value Bool)
enableIssues = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       isPrivate :: Maybe (Value Bool)
isPrivate = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       repositoryAccessToken :: Maybe (Value Text)
repositoryAccessToken = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       repositoryDescription :: Maybe (Value Text)
repositoryDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GitHubRepository where
  toResourceProperties :: GitHubRepository -> ResourceProperties
toResourceProperties GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CodeStar::GitHubRepository",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"RepositoryName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
repositoryName,
                            Key
"RepositoryOwner" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
repositoryOwner]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> CodeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Code" (CodeProperty -> (Key, Value))
-> Maybe CodeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CodeProperty
code,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConnectionArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
connectionArn,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableIssues" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableIssues,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IsPrivate" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
isPrivate,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RepositoryAccessToken"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
repositoryAccessToken,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RepositoryDescription"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
repositoryDescription]))}
instance JSON.ToJSON GitHubRepository where
  toJSON :: GitHubRepository -> Value
toJSON GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"RepositoryName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
repositoryName,
               Key
"RepositoryOwner" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
repositoryOwner]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> CodeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Code" (CodeProperty -> (Key, Value))
-> Maybe CodeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CodeProperty
code,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConnectionArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
connectionArn,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableIssues" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableIssues,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IsPrivate" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
isPrivate,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RepositoryAccessToken"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
repositoryAccessToken,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RepositoryDescription"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
repositoryDescription])))
instance Property "Code" GitHubRepository where
  type PropertyType "Code" GitHubRepository = CodeProperty
  set :: PropertyType "Code" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "Code" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {code :: Maybe CodeProperty
code = CodeProperty -> Maybe CodeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Code" GitHubRepository
CodeProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "ConnectionArn" GitHubRepository where
  type PropertyType "ConnectionArn" GitHubRepository = Value Prelude.Text
  set :: PropertyType "ConnectionArn" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "ConnectionArn" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {connectionArn :: Maybe (Value Text)
connectionArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectionArn" GitHubRepository
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "EnableIssues" GitHubRepository where
  type PropertyType "EnableIssues" GitHubRepository = Value Prelude.Bool
  set :: PropertyType "EnableIssues" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "EnableIssues" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {enableIssues :: Maybe (Value Bool)
enableIssues = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableIssues" GitHubRepository
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "IsPrivate" GitHubRepository where
  type PropertyType "IsPrivate" GitHubRepository = Value Prelude.Bool
  set :: PropertyType "IsPrivate" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "IsPrivate" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {isPrivate :: Maybe (Value Bool)
isPrivate = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsPrivate" GitHubRepository
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "RepositoryAccessToken" GitHubRepository where
  type PropertyType "RepositoryAccessToken" GitHubRepository = Value Prelude.Text
  set :: PropertyType "RepositoryAccessToken" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "RepositoryAccessToken" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository
        {repositoryAccessToken :: Maybe (Value Text)
repositoryAccessToken = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RepositoryAccessToken" GitHubRepository
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "RepositoryDescription" GitHubRepository where
  type PropertyType "RepositoryDescription" GitHubRepository = Value Prelude.Text
  set :: PropertyType "RepositoryDescription" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "RepositoryDescription" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository
        {repositoryDescription :: Maybe (Value Text)
repositoryDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RepositoryDescription" GitHubRepository
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
instance Property "RepositoryName" GitHubRepository where
  type PropertyType "RepositoryName" GitHubRepository = Value Prelude.Text
  set :: PropertyType "RepositoryName" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "RepositoryName" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {repositoryName :: Value Text
repositoryName = PropertyType "RepositoryName" GitHubRepository
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryOwner :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryOwner :: Value Text
..}
instance Property "RepositoryOwner" GitHubRepository where
  type PropertyType "RepositoryOwner" GitHubRepository = Value Prelude.Text
  set :: PropertyType "RepositoryOwner" GitHubRepository
-> GitHubRepository -> GitHubRepository
set PropertyType "RepositoryOwner" GitHubRepository
newValue GitHubRepository {Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: GitHubRepository -> ()
code :: GitHubRepository -> Maybe CodeProperty
connectionArn :: GitHubRepository -> Maybe (Value Text)
enableIssues :: GitHubRepository -> Maybe (Value Bool)
isPrivate :: GitHubRepository -> Maybe (Value Bool)
repositoryAccessToken :: GitHubRepository -> Maybe (Value Text)
repositoryDescription :: GitHubRepository -> Maybe (Value Text)
repositoryName :: GitHubRepository -> Value Text
repositoryOwner :: GitHubRepository -> Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
repositoryOwner :: Value Text
..}
    = GitHubRepository {repositoryOwner :: Value Text
repositoryOwner = PropertyType "RepositoryOwner" GitHubRepository
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CodeProperty
()
Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
haddock_workaround_ :: ()
code :: Maybe CodeProperty
connectionArn :: Maybe (Value Text)
enableIssues :: Maybe (Value Bool)
isPrivate :: Maybe (Value Bool)
repositoryAccessToken :: Maybe (Value Text)
repositoryDescription :: Maybe (Value Text)
repositoryName :: Value Text
..}