module Stratosphere.Connect.EvaluationForm.EvaluationFormQuestionProperty (
module Exports, EvaluationFormQuestionProperty(..),
mkEvaluationFormQuestionProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.EvaluationFormItemEnablementConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Connect.EvaluationForm.EvaluationFormQuestionTypePropertiesProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EvaluationFormQuestionProperty
=
EvaluationFormQuestionProperty {EvaluationFormQuestionProperty -> ()
haddock_workaround_ :: (),
EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
enablement :: (Prelude.Maybe EvaluationFormItemEnablementConfigurationProperty),
EvaluationFormQuestionProperty -> Maybe (Value Text)
instructions :: (Prelude.Maybe (Value Prelude.Text)),
EvaluationFormQuestionProperty -> Maybe (Value Bool)
notApplicableEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
EvaluationFormQuestionProperty -> Value Text
questionType :: (Value Prelude.Text),
EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
questionTypeProperties :: (Prelude.Maybe EvaluationFormQuestionTypePropertiesProperty),
EvaluationFormQuestionProperty -> Value Text
refId :: (Value Prelude.Text),
EvaluationFormQuestionProperty -> Value Text
title :: (Value Prelude.Text),
EvaluationFormQuestionProperty -> Maybe (Value Double)
weight :: (Prelude.Maybe (Value Prelude.Double))}
deriving stock (EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool
(EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool)
-> (EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool)
-> Eq EvaluationFormQuestionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool
== :: EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool
$c/= :: EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool
/= :: EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> Bool
Prelude.Eq, Int -> EvaluationFormQuestionProperty -> ShowS
[EvaluationFormQuestionProperty] -> ShowS
EvaluationFormQuestionProperty -> String
(Int -> EvaluationFormQuestionProperty -> ShowS)
-> (EvaluationFormQuestionProperty -> String)
-> ([EvaluationFormQuestionProperty] -> ShowS)
-> Show EvaluationFormQuestionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EvaluationFormQuestionProperty -> ShowS
showsPrec :: Int -> EvaluationFormQuestionProperty -> ShowS
$cshow :: EvaluationFormQuestionProperty -> String
show :: EvaluationFormQuestionProperty -> String
$cshowList :: [EvaluationFormQuestionProperty] -> ShowS
showList :: [EvaluationFormQuestionProperty] -> ShowS
Prelude.Show)
mkEvaluationFormQuestionProperty ::
Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text -> EvaluationFormQuestionProperty
mkEvaluationFormQuestionProperty :: Value Text
-> Value Text -> Value Text -> EvaluationFormQuestionProperty
mkEvaluationFormQuestionProperty Value Text
questionType Value Text
refId Value Text
title
= EvaluationFormQuestionProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), questionType :: Value Text
questionType = Value Text
questionType,
refId :: Value Text
refId = Value Text
refId, title :: Value Text
title = Value Text
title, enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
enablement = Maybe EvaluationFormItemEnablementConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
instructions :: Maybe (Value Text)
instructions = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
notApplicableEnabled :: Maybe (Value Bool)
notApplicableEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
questionTypeProperties = Maybe EvaluationFormQuestionTypePropertiesProperty
forall a. Maybe a
Prelude.Nothing, weight :: Maybe (Value Double)
weight = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EvaluationFormQuestionProperty where
toResourceProperties :: EvaluationFormQuestionProperty -> ResourceProperties
toResourceProperties EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Connect::EvaluationForm.EvaluationFormQuestion",
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
"QuestionType" 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
questionType, Key
"RefId" 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
refId,
Key
"Title" 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
title]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> EvaluationFormItemEnablementConfigurationProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enablement" (EvaluationFormItemEnablementConfigurationProperty -> (Key, Value))
-> Maybe EvaluationFormItemEnablementConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EvaluationFormItemEnablementConfigurationProperty
enablement,
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
"Instructions" (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)
instructions,
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
"NotApplicableEnabled" (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)
notApplicableEnabled,
Key -> EvaluationFormQuestionTypePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QuestionTypeProperties"
(EvaluationFormQuestionTypePropertiesProperty -> (Key, Value))
-> Maybe EvaluationFormQuestionTypePropertiesProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EvaluationFormQuestionTypePropertiesProperty
questionTypeProperties,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Weight" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
weight]))}
instance JSON.ToJSON EvaluationFormQuestionProperty where
toJSON :: EvaluationFormQuestionProperty -> Value
toJSON EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= [(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
"QuestionType" 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
questionType, Key
"RefId" 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
refId,
Key
"Title" 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
title]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> EvaluationFormItemEnablementConfigurationProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enablement" (EvaluationFormItemEnablementConfigurationProperty -> (Key, Value))
-> Maybe EvaluationFormItemEnablementConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EvaluationFormItemEnablementConfigurationProperty
enablement,
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
"Instructions" (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)
instructions,
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
"NotApplicableEnabled" (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)
notApplicableEnabled,
Key -> EvaluationFormQuestionTypePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QuestionTypeProperties"
(EvaluationFormQuestionTypePropertiesProperty -> (Key, Value))
-> Maybe EvaluationFormQuestionTypePropertiesProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EvaluationFormQuestionTypePropertiesProperty
questionTypeProperties,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Weight" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
weight])))
instance Property "Enablement" EvaluationFormQuestionProperty where
type PropertyType "Enablement" EvaluationFormQuestionProperty = EvaluationFormItemEnablementConfigurationProperty
set :: PropertyType "Enablement" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "Enablement" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty
{enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
enablement = EvaluationFormItemEnablementConfigurationProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enablement" EvaluationFormQuestionProperty
EvaluationFormItemEnablementConfigurationProperty
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "Instructions" EvaluationFormQuestionProperty where
type PropertyType "Instructions" EvaluationFormQuestionProperty = Value Prelude.Text
set :: PropertyType "Instructions" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "Instructions" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty
{instructions :: Maybe (Value Text)
instructions = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Instructions" EvaluationFormQuestionProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "NotApplicableEnabled" EvaluationFormQuestionProperty where
type PropertyType "NotApplicableEnabled" EvaluationFormQuestionProperty = Value Prelude.Bool
set :: PropertyType "NotApplicableEnabled" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "NotApplicableEnabled" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty
{notApplicableEnabled :: Maybe (Value Bool)
notApplicableEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NotApplicableEnabled" EvaluationFormQuestionProperty
Value Bool
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "QuestionType" EvaluationFormQuestionProperty where
type PropertyType "QuestionType" EvaluationFormQuestionProperty = Value Prelude.Text
set :: PropertyType "QuestionType" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "QuestionType" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty {questionType :: Value Text
questionType = PropertyType "QuestionType" EvaluationFormQuestionProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "QuestionTypeProperties" EvaluationFormQuestionProperty where
type PropertyType "QuestionTypeProperties" EvaluationFormQuestionProperty = EvaluationFormQuestionTypePropertiesProperty
set :: PropertyType
"QuestionTypeProperties" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType
"QuestionTypeProperties" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty
{questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
questionTypeProperties = EvaluationFormQuestionTypePropertiesProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"QuestionTypeProperties" EvaluationFormQuestionProperty
EvaluationFormQuestionTypePropertiesProperty
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "RefId" EvaluationFormQuestionProperty where
type PropertyType "RefId" EvaluationFormQuestionProperty = Value Prelude.Text
set :: PropertyType "RefId" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "RefId" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty {refId :: Value Text
refId = PropertyType "RefId" EvaluationFormQuestionProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
title :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
title :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "Title" EvaluationFormQuestionProperty where
type PropertyType "Title" EvaluationFormQuestionProperty = Value Prelude.Text
set :: PropertyType "Title" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "Title" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty {title :: Value Text
title = PropertyType "Title" EvaluationFormQuestionProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
weight :: Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
weight :: Maybe (Value Double)
..}
instance Property "Weight" EvaluationFormQuestionProperty where
type PropertyType "Weight" EvaluationFormQuestionProperty = Value Prelude.Double
set :: PropertyType "Weight" EvaluationFormQuestionProperty
-> EvaluationFormQuestionProperty -> EvaluationFormQuestionProperty
set PropertyType "Weight" EvaluationFormQuestionProperty
newValue EvaluationFormQuestionProperty {Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: EvaluationFormQuestionProperty -> ()
enablement :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: EvaluationFormQuestionProperty -> Maybe (Value Text)
notApplicableEnabled :: EvaluationFormQuestionProperty -> Maybe (Value Bool)
questionType :: EvaluationFormQuestionProperty -> Value Text
questionTypeProperties :: EvaluationFormQuestionProperty
-> Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: EvaluationFormQuestionProperty -> Value Text
title :: EvaluationFormQuestionProperty -> Value Text
weight :: EvaluationFormQuestionProperty -> Maybe (Value Double)
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
weight :: Maybe (Value Double)
..}
= EvaluationFormQuestionProperty
{weight :: Maybe (Value Double)
weight = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Weight" EvaluationFormQuestionProperty
Value Double
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe EvaluationFormItemEnablementConfigurationProperty
Maybe EvaluationFormQuestionTypePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
haddock_workaround_ :: ()
enablement :: Maybe EvaluationFormItemEnablementConfigurationProperty
instructions :: Maybe (Value Text)
notApplicableEnabled :: Maybe (Value Bool)
questionType :: Value Text
questionTypeProperties :: Maybe EvaluationFormQuestionTypePropertiesProperty
refId :: Value Text
title :: Value Text
..}