module Stratosphere.QBusiness.Plugin (
module Exports, Plugin(..), mkPlugin
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QBusiness.Plugin.CustomPluginConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QBusiness.Plugin.PluginAuthConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Plugin
=
Plugin {Plugin -> ()
haddock_workaround_ :: (),
Plugin -> Maybe (Value Text)
applicationId :: (Prelude.Maybe (Value Prelude.Text)),
Plugin -> PluginAuthConfigurationProperty
authConfiguration :: PluginAuthConfigurationProperty,
Plugin -> Maybe CustomPluginConfigurationProperty
customPluginConfiguration :: (Prelude.Maybe CustomPluginConfigurationProperty),
Plugin -> Value Text
displayName :: (Value Prelude.Text),
Plugin -> Maybe (Value Text)
serverUrl :: (Prelude.Maybe (Value Prelude.Text)),
Plugin -> Maybe (Value Text)
state :: (Prelude.Maybe (Value Prelude.Text)),
Plugin -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
Plugin -> Value Text
type' :: (Value Prelude.Text)}
deriving stock (Plugin -> Plugin -> Bool
(Plugin -> Plugin -> Bool)
-> (Plugin -> Plugin -> Bool) -> Eq Plugin
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Plugin -> Plugin -> Bool
== :: Plugin -> Plugin -> Bool
$c/= :: Plugin -> Plugin -> Bool
/= :: Plugin -> Plugin -> Bool
Prelude.Eq, Int -> Plugin -> ShowS
[Plugin] -> ShowS
Plugin -> String
(Int -> Plugin -> ShowS)
-> (Plugin -> String) -> ([Plugin] -> ShowS) -> Show Plugin
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Plugin -> ShowS
showsPrec :: Int -> Plugin -> ShowS
$cshow :: Plugin -> String
show :: Plugin -> String
$cshowList :: [Plugin] -> ShowS
showList :: [Plugin] -> ShowS
Prelude.Show)
mkPlugin ::
PluginAuthConfigurationProperty
-> Value Prelude.Text -> Value Prelude.Text -> Plugin
mkPlugin :: PluginAuthConfigurationProperty
-> Value Text -> Value Text -> Plugin
mkPlugin PluginAuthConfigurationProperty
authConfiguration Value Text
displayName Value Text
type'
= Plugin
{haddock_workaround_ :: ()
haddock_workaround_ = (), authConfiguration :: PluginAuthConfigurationProperty
authConfiguration = PluginAuthConfigurationProperty
authConfiguration,
displayName :: Value Text
displayName = Value Text
displayName, type' :: Value Text
type' = Value Text
type',
applicationId :: Maybe (Value Text)
applicationId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
customPluginConfiguration = Maybe CustomPluginConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
serverUrl :: Maybe (Value Text)
serverUrl = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, state :: Maybe (Value Text)
state = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Plugin where
toResourceProperties :: Plugin -> ResourceProperties
toResourceProperties Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QBusiness::Plugin", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
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
"AuthConfiguration" Key -> PluginAuthConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= PluginAuthConfigurationProperty
authConfiguration,
Key
"DisplayName" 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
displayName, Key
"Type" 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
type']
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"ApplicationId" (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)
applicationId,
Key -> CustomPluginConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomPluginConfiguration"
(CustomPluginConfigurationProperty -> (Key, Value))
-> Maybe CustomPluginConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomPluginConfigurationProperty
customPluginConfiguration,
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
"ServerUrl" (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)
serverUrl,
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
"State" (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)
state,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON Plugin where
toJSON :: Plugin -> Value
toJSON Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: 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
"AuthConfiguration" Key -> PluginAuthConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= PluginAuthConfigurationProperty
authConfiguration,
Key
"DisplayName" 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
displayName, Key
"Type" 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
type']
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"ApplicationId" (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)
applicationId,
Key -> CustomPluginConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomPluginConfiguration"
(CustomPluginConfigurationProperty -> (Key, Value))
-> Maybe CustomPluginConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomPluginConfigurationProperty
customPluginConfiguration,
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
"ServerUrl" (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)
serverUrl,
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
"State" (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)
state,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "ApplicationId" Plugin where
type PropertyType "ApplicationId" Plugin = Value Prelude.Text
set :: PropertyType "ApplicationId" Plugin -> Plugin -> Plugin
set PropertyType "ApplicationId" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {applicationId :: Maybe (Value Text)
applicationId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApplicationId" Plugin
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "AuthConfiguration" Plugin where
type PropertyType "AuthConfiguration" Plugin = PluginAuthConfigurationProperty
set :: PropertyType "AuthConfiguration" Plugin -> Plugin -> Plugin
set PropertyType "AuthConfiguration" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {authConfiguration :: PluginAuthConfigurationProperty
authConfiguration = PropertyType "AuthConfiguration" Plugin
PluginAuthConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "CustomPluginConfiguration" Plugin where
type PropertyType "CustomPluginConfiguration" Plugin = CustomPluginConfigurationProperty
set :: PropertyType "CustomPluginConfiguration" Plugin -> Plugin -> Plugin
set PropertyType "CustomPluginConfiguration" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
customPluginConfiguration = CustomPluginConfigurationProperty
-> Maybe CustomPluginConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomPluginConfiguration" Plugin
CustomPluginConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "DisplayName" Plugin where
type PropertyType "DisplayName" Plugin = Value Prelude.Text
set :: PropertyType "DisplayName" Plugin -> Plugin -> Plugin
set PropertyType "DisplayName" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..} = Plugin {displayName :: Value Text
displayName = PropertyType "DisplayName" Plugin
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "ServerUrl" Plugin where
type PropertyType "ServerUrl" Plugin = Value Prelude.Text
set :: PropertyType "ServerUrl" Plugin -> Plugin -> Plugin
set PropertyType "ServerUrl" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {serverUrl :: Maybe (Value Text)
serverUrl = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ServerUrl" Plugin
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "State" Plugin where
type PropertyType "State" Plugin = Value Prelude.Text
set :: PropertyType "State" Plugin -> Plugin -> Plugin
set PropertyType "State" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {state :: Maybe (Value Text)
state = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "State" Plugin
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
instance Property "Tags" Plugin where
type PropertyType "Tags" Plugin = [Tag]
set :: PropertyType "Tags" Plugin -> Plugin -> Plugin
set PropertyType "Tags" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..}
= Plugin {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Plugin
newValue, Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Type" Plugin where
type PropertyType "Type" Plugin = Value Prelude.Text
set :: PropertyType "Type" Plugin -> Plugin -> Plugin
set PropertyType "Type" Plugin
newValue Plugin {Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: Plugin -> ()
applicationId :: Plugin -> Maybe (Value Text)
authConfiguration :: Plugin -> PluginAuthConfigurationProperty
customPluginConfiguration :: Plugin -> Maybe CustomPluginConfigurationProperty
displayName :: Plugin -> Value Text
serverUrl :: Plugin -> Maybe (Value Text)
state :: Plugin -> Maybe (Value Text)
tags :: Plugin -> Maybe [Tag]
type' :: Plugin -> Value Text
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
type' :: Value Text
..} = Plugin {type' :: Value Text
type' = PropertyType "Type" Plugin
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe CustomPluginConfigurationProperty
()
Value Text
PluginAuthConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
applicationId :: Maybe (Value Text)
authConfiguration :: PluginAuthConfigurationProperty
customPluginConfiguration :: Maybe CustomPluginConfigurationProperty
displayName :: Value Text
serverUrl :: Maybe (Value Text)
state :: Maybe (Value Text)
tags :: Maybe [Tag]
..}