module Stratosphere.Amplify.App.AutoBranchCreationConfigProperty (
        module Exports, AutoBranchCreationConfigProperty(..),
        mkAutoBranchCreationConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Amplify.App.BasicAuthConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Amplify.App.EnvironmentVariableProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AutoBranchCreationConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html>
    AutoBranchCreationConfigProperty {AutoBranchCreationConfigProperty -> ()
haddock_workaround_ :: (),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-autobranchcreationpatterns>
                                      AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
autoBranchCreationPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-basicauthconfig>
                                      AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
basicAuthConfig :: (Prelude.Maybe BasicAuthConfigProperty),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-buildspec>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Text)
buildSpec :: (Prelude.Maybe (Value Prelude.Text)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableautobranchcreation>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBranchCreation :: (Prelude.Maybe (Value Prelude.Bool)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableautobuild>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: (Prelude.Maybe (Value Prelude.Bool)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableperformancemode>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: (Prelude.Maybe (Value Prelude.Bool)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enablepullrequestpreview>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: (Prelude.Maybe (Value Prelude.Bool)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-environmentvariables>
                                      AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
environmentVariables :: (Prelude.Maybe [EnvironmentVariableProperty]),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-framework>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Text)
framework :: (Prelude.Maybe (Value Prelude.Text)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-pullrequestenvironmentname>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: (Prelude.Maybe (Value Prelude.Text)),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-stage>
                                      AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty -> Bool
(AutoBranchCreationConfigProperty
 -> AutoBranchCreationConfigProperty -> Bool)
-> (AutoBranchCreationConfigProperty
    -> AutoBranchCreationConfigProperty -> Bool)
-> Eq AutoBranchCreationConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty -> Bool
== :: AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty -> Bool
$c/= :: AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty -> Bool
/= :: AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty -> Bool
Prelude.Eq, Int -> AutoBranchCreationConfigProperty -> ShowS
[AutoBranchCreationConfigProperty] -> ShowS
AutoBranchCreationConfigProperty -> String
(Int -> AutoBranchCreationConfigProperty -> ShowS)
-> (AutoBranchCreationConfigProperty -> String)
-> ([AutoBranchCreationConfigProperty] -> ShowS)
-> Show AutoBranchCreationConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AutoBranchCreationConfigProperty -> ShowS
showsPrec :: Int -> AutoBranchCreationConfigProperty -> ShowS
$cshow :: AutoBranchCreationConfigProperty -> String
show :: AutoBranchCreationConfigProperty -> String
$cshowList :: [AutoBranchCreationConfigProperty] -> ShowS
showList :: [AutoBranchCreationConfigProperty] -> ShowS
Prelude.Show)
mkAutoBranchCreationConfigProperty ::
  AutoBranchCreationConfigProperty
mkAutoBranchCreationConfigProperty :: AutoBranchCreationConfigProperty
mkAutoBranchCreationConfigProperty
  = AutoBranchCreationConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       autoBranchCreationPatterns :: Maybe (ValueList Text)
autoBranchCreationPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       basicAuthConfig :: Maybe BasicAuthConfigProperty
basicAuthConfig = Maybe BasicAuthConfigProperty
forall a. Maybe a
Prelude.Nothing, buildSpec :: Maybe (Value Text)
buildSpec = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBranchCreation = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       enableAutoBuild :: Maybe (Value Bool)
enableAutoBuild = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       enablePerformanceMode :: Maybe (Value Bool)
enablePerformanceMode = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       enablePullRequestPreview :: Maybe (Value Bool)
enablePullRequestPreview = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       environmentVariables :: Maybe [EnvironmentVariableProperty]
environmentVariables = Maybe [EnvironmentVariableProperty]
forall a. Maybe a
Prelude.Nothing,
       framework :: Maybe (Value Text)
framework = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       pullRequestEnvironmentName :: Maybe (Value Text)
pullRequestEnvironmentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       stage :: Maybe (Value Text)
stage = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AutoBranchCreationConfigProperty where
  toResourceProperties :: AutoBranchCreationConfigProperty -> ResourceProperties
toResourceProperties AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Amplify::App.AutoBranchCreationConfig",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> ValueList 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
"AutoBranchCreationPatterns"
                              (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
autoBranchCreationPatterns,
                            Key -> BasicAuthConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthConfig" (BasicAuthConfigProperty -> (Key, Value))
-> Maybe BasicAuthConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthConfigProperty
basicAuthConfig,
                            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
"BuildSpec" (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)
buildSpec,
                            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
"EnableAutoBranchCreation"
                              (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)
enableAutoBranchCreation,
                            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
"EnableAutoBuild" (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)
enableAutoBuild,
                            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
"EnablePerformanceMode"
                              (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)
enablePerformanceMode,
                            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
"EnablePullRequestPreview"
                              (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)
enablePullRequestPreview,
                            Key -> [EnvironmentVariableProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentVariables" ([EnvironmentVariableProperty] -> (Key, Value))
-> Maybe [EnvironmentVariableProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [EnvironmentVariableProperty]
environmentVariables,
                            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
"Framework" (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)
framework,
                            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
"PullRequestEnvironmentName"
                              (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)
pullRequestEnvironmentName,
                            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
"Stage" (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)
stage])}
instance JSON.ToJSON AutoBranchCreationConfigProperty where
  toJSON :: AutoBranchCreationConfigProperty -> Value
toJSON AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> ValueList 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
"AutoBranchCreationPatterns"
                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
autoBranchCreationPatterns,
               Key -> BasicAuthConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthConfig" (BasicAuthConfigProperty -> (Key, Value))
-> Maybe BasicAuthConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthConfigProperty
basicAuthConfig,
               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
"BuildSpec" (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)
buildSpec,
               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
"EnableAutoBranchCreation"
                 (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)
enableAutoBranchCreation,
               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
"EnableAutoBuild" (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)
enableAutoBuild,
               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
"EnablePerformanceMode"
                 (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)
enablePerformanceMode,
               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
"EnablePullRequestPreview"
                 (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)
enablePullRequestPreview,
               Key -> [EnvironmentVariableProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentVariables" ([EnvironmentVariableProperty] -> (Key, Value))
-> Maybe [EnvironmentVariableProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [EnvironmentVariableProperty]
environmentVariables,
               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
"Framework" (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)
framework,
               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
"PullRequestEnvironmentName"
                 (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)
pullRequestEnvironmentName,
               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
"Stage" (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)
stage]))
instance Property "AutoBranchCreationPatterns" AutoBranchCreationConfigProperty where
  type PropertyType "AutoBranchCreationPatterns" AutoBranchCreationConfigProperty = ValueList Prelude.Text
  set :: PropertyType
  "AutoBranchCreationPatterns" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "AutoBranchCreationPatterns" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {autoBranchCreationPatterns :: Maybe (ValueList Text)
autoBranchCreationPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AutoBranchCreationPatterns" AutoBranchCreationConfigProperty
ValueList Text
newValue, Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "BasicAuthConfig" AutoBranchCreationConfigProperty where
  type PropertyType "BasicAuthConfig" AutoBranchCreationConfigProperty = BasicAuthConfigProperty
  set :: PropertyType "BasicAuthConfig" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType "BasicAuthConfig" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {basicAuthConfig :: Maybe BasicAuthConfigProperty
basicAuthConfig = BasicAuthConfigProperty -> Maybe BasicAuthConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BasicAuthConfig" AutoBranchCreationConfigProperty
BasicAuthConfigProperty
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "BuildSpec" AutoBranchCreationConfigProperty where
  type PropertyType "BuildSpec" AutoBranchCreationConfigProperty = Value Prelude.Text
  set :: PropertyType "BuildSpec" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType "BuildSpec" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {buildSpec :: Maybe (Value Text)
buildSpec = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BuildSpec" AutoBranchCreationConfigProperty
Value Text
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "EnableAutoBranchCreation" AutoBranchCreationConfigProperty where
  type PropertyType "EnableAutoBranchCreation" AutoBranchCreationConfigProperty = Value Prelude.Bool
  set :: PropertyType
  "EnableAutoBranchCreation" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "EnableAutoBranchCreation" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBranchCreation = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "EnableAutoBranchCreation" AutoBranchCreationConfigProperty
Value Bool
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "EnableAutoBuild" AutoBranchCreationConfigProperty where
  type PropertyType "EnableAutoBuild" AutoBranchCreationConfigProperty = Value Prelude.Bool
  set :: PropertyType "EnableAutoBuild" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType "EnableAutoBuild" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {enableAutoBuild :: Maybe (Value Bool)
enableAutoBuild = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableAutoBuild" AutoBranchCreationConfigProperty
Value Bool
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "EnablePerformanceMode" AutoBranchCreationConfigProperty where
  type PropertyType "EnablePerformanceMode" AutoBranchCreationConfigProperty = Value Prelude.Bool
  set :: PropertyType
  "EnablePerformanceMode" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "EnablePerformanceMode" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {enablePerformanceMode :: Maybe (Value Bool)
enablePerformanceMode = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "EnablePerformanceMode" AutoBranchCreationConfigProperty
Value Bool
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "EnablePullRequestPreview" AutoBranchCreationConfigProperty where
  type PropertyType "EnablePullRequestPreview" AutoBranchCreationConfigProperty = Value Prelude.Bool
  set :: PropertyType
  "EnablePullRequestPreview" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "EnablePullRequestPreview" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {enablePullRequestPreview :: Maybe (Value Bool)
enablePullRequestPreview = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "EnablePullRequestPreview" AutoBranchCreationConfigProperty
Value Bool
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "EnvironmentVariables" AutoBranchCreationConfigProperty where
  type PropertyType "EnvironmentVariables" AutoBranchCreationConfigProperty = [EnvironmentVariableProperty]
  set :: PropertyType
  "EnvironmentVariables" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "EnvironmentVariables" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {environmentVariables :: Maybe [EnvironmentVariableProperty]
environmentVariables = [EnvironmentVariableProperty]
-> Maybe [EnvironmentVariableProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [EnvironmentVariableProperty]
PropertyType
  "EnvironmentVariables" AutoBranchCreationConfigProperty
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "Framework" AutoBranchCreationConfigProperty where
  type PropertyType "Framework" AutoBranchCreationConfigProperty = Value Prelude.Text
  set :: PropertyType "Framework" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType "Framework" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {framework :: Maybe (Value Text)
framework = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Framework" AutoBranchCreationConfigProperty
Value Text
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "PullRequestEnvironmentName" AutoBranchCreationConfigProperty where
  type PropertyType "PullRequestEnvironmentName" AutoBranchCreationConfigProperty = Value Prelude.Text
  set :: PropertyType
  "PullRequestEnvironmentName" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType
  "PullRequestEnvironmentName" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {pullRequestEnvironmentName :: Maybe (Value Text)
pullRequestEnvironmentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "PullRequestEnvironmentName" AutoBranchCreationConfigProperty
Value Text
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
instance Property "Stage" AutoBranchCreationConfigProperty where
  type PropertyType "Stage" AutoBranchCreationConfigProperty = Value Prelude.Text
  set :: PropertyType "Stage" AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
-> AutoBranchCreationConfigProperty
set PropertyType "Stage" AutoBranchCreationConfigProperty
newValue AutoBranchCreationConfigProperty {Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: AutoBranchCreationConfigProperty -> ()
autoBranchCreationPatterns :: AutoBranchCreationConfigProperty -> Maybe (ValueList Text)
basicAuthConfig :: AutoBranchCreationConfigProperty -> Maybe BasicAuthConfigProperty
buildSpec :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
enableAutoBranchCreation :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enableAutoBuild :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePerformanceMode :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
enablePullRequestPreview :: AutoBranchCreationConfigProperty -> Maybe (Value Bool)
environmentVariables :: AutoBranchCreationConfigProperty
-> Maybe [EnvironmentVariableProperty]
framework :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
pullRequestEnvironmentName :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
stage :: AutoBranchCreationConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}
    = AutoBranchCreationConfigProperty
        {stage :: Maybe (Value Text)
stage = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Stage" AutoBranchCreationConfigProperty
Value Text
newValue, Maybe [EnvironmentVariableProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
autoBranchCreationPatterns :: Maybe (ValueList Text)
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
enableAutoBranchCreation :: Maybe (Value Bool)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
..}