module Stratosphere.AmplifyUIBuilder.Form.FileUploaderFieldConfigProperty (
FileUploaderFieldConfigProperty(..),
mkFileUploaderFieldConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FileUploaderFieldConfigProperty
=
FileUploaderFieldConfigProperty {FileUploaderFieldConfigProperty -> ()
haddock_workaround_ :: (),
FileUploaderFieldConfigProperty -> ValueList Text
acceptedFileTypes :: (ValueList Prelude.Text),
FileUploaderFieldConfigProperty -> Value Text
accessLevel :: (Value Prelude.Text),
FileUploaderFieldConfigProperty -> Maybe (Value Bool)
isResumable :: (Prelude.Maybe (Value Prelude.Bool)),
FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxFileCount :: (Prelude.Maybe (Value Prelude.Double)),
FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: (Prelude.Maybe (Value Prelude.Double)),
FileUploaderFieldConfigProperty -> Maybe (Value Bool)
showThumbnails :: (Prelude.Maybe (Value Prelude.Bool))}
deriving stock (FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool
(FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool)
-> (FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool)
-> Eq FileUploaderFieldConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool
== :: FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool
$c/= :: FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool
/= :: FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty -> Bool
Prelude.Eq, Int -> FileUploaderFieldConfigProperty -> ShowS
[FileUploaderFieldConfigProperty] -> ShowS
FileUploaderFieldConfigProperty -> String
(Int -> FileUploaderFieldConfigProperty -> ShowS)
-> (FileUploaderFieldConfigProperty -> String)
-> ([FileUploaderFieldConfigProperty] -> ShowS)
-> Show FileUploaderFieldConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FileUploaderFieldConfigProperty -> ShowS
showsPrec :: Int -> FileUploaderFieldConfigProperty -> ShowS
$cshow :: FileUploaderFieldConfigProperty -> String
show :: FileUploaderFieldConfigProperty -> String
$cshowList :: [FileUploaderFieldConfigProperty] -> ShowS
showList :: [FileUploaderFieldConfigProperty] -> ShowS
Prelude.Show)
mkFileUploaderFieldConfigProperty ::
ValueList Prelude.Text
-> Value Prelude.Text -> FileUploaderFieldConfigProperty
mkFileUploaderFieldConfigProperty :: ValueList Text -> Value Text -> FileUploaderFieldConfigProperty
mkFileUploaderFieldConfigProperty ValueList Text
acceptedFileTypes Value Text
accessLevel
= FileUploaderFieldConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), acceptedFileTypes :: ValueList Text
acceptedFileTypes = ValueList Text
acceptedFileTypes,
accessLevel :: Value Text
accessLevel = Value Text
accessLevel, isResumable :: Maybe (Value Bool)
isResumable = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
maxFileCount :: Maybe (Value Double)
maxFileCount = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, maxSize :: Maybe (Value Double)
maxSize = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
showThumbnails :: Maybe (Value Bool)
showThumbnails = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FileUploaderFieldConfigProperty where
toResourceProperties :: FileUploaderFieldConfigProperty -> ResourceProperties
toResourceProperties FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AmplifyUIBuilder::Form.FileUploaderFieldConfig",
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
"AcceptedFileTypes" 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..= ValueList Text
acceptedFileTypes,
Key
"AccessLevel" 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
accessLevel]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"IsResumable" (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)
isResumable,
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
"MaxFileCount" (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)
maxFileCount,
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
"MaxSize" (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)
maxSize,
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
"ShowThumbnails" (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)
showThumbnails]))}
instance JSON.ToJSON FileUploaderFieldConfigProperty where
toJSON :: FileUploaderFieldConfigProperty -> Value
toJSON FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= [(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
"AcceptedFileTypes" 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..= ValueList Text
acceptedFileTypes,
Key
"AccessLevel" 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
accessLevel]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"IsResumable" (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)
isResumable,
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
"MaxFileCount" (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)
maxFileCount,
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
"MaxSize" (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)
maxSize,
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
"ShowThumbnails" (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)
showThumbnails])))
instance Property "AcceptedFileTypes" FileUploaderFieldConfigProperty where
type PropertyType "AcceptedFileTypes" FileUploaderFieldConfigProperty = ValueList Prelude.Text
set :: PropertyType "AcceptedFileTypes" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "AcceptedFileTypes" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty
{acceptedFileTypes :: ValueList Text
acceptedFileTypes = PropertyType "AcceptedFileTypes" FileUploaderFieldConfigProperty
ValueList Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
Value Text
haddock_workaround_ :: ()
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
haddock_workaround_ :: ()
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
instance Property "AccessLevel" FileUploaderFieldConfigProperty where
type PropertyType "AccessLevel" FileUploaderFieldConfigProperty = Value Prelude.Text
set :: PropertyType "AccessLevel" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "AccessLevel" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty {accessLevel :: Value Text
accessLevel = PropertyType "AccessLevel" FileUploaderFieldConfigProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
instance Property "IsResumable" FileUploaderFieldConfigProperty where
type PropertyType "IsResumable" FileUploaderFieldConfigProperty = Value Prelude.Bool
set :: PropertyType "IsResumable" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "IsResumable" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty
{isResumable :: Maybe (Value Bool)
isResumable = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsResumable" FileUploaderFieldConfigProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
instance Property "MaxFileCount" FileUploaderFieldConfigProperty where
type PropertyType "MaxFileCount" FileUploaderFieldConfigProperty = Value Prelude.Double
set :: PropertyType "MaxFileCount" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "MaxFileCount" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty
{maxFileCount :: Maybe (Value Double)
maxFileCount = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxFileCount" FileUploaderFieldConfigProperty
Value Double
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
instance Property "MaxSize" FileUploaderFieldConfigProperty where
type PropertyType "MaxSize" FileUploaderFieldConfigProperty = Value Prelude.Double
set :: PropertyType "MaxSize" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "MaxSize" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty
{maxSize :: Maybe (Value Double)
maxSize = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxSize" FileUploaderFieldConfigProperty
Value Double
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
instance Property "ShowThumbnails" FileUploaderFieldConfigProperty where
type PropertyType "ShowThumbnails" FileUploaderFieldConfigProperty = Value Prelude.Bool
set :: PropertyType "ShowThumbnails" FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
-> FileUploaderFieldConfigProperty
set PropertyType "ShowThumbnails" FileUploaderFieldConfigProperty
newValue FileUploaderFieldConfigProperty {Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: FileUploaderFieldConfigProperty -> ()
acceptedFileTypes :: FileUploaderFieldConfigProperty -> ValueList Text
accessLevel :: FileUploaderFieldConfigProperty -> Value Text
isResumable :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
maxFileCount :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
maxSize :: FileUploaderFieldConfigProperty -> Maybe (Value Double)
showThumbnails :: FileUploaderFieldConfigProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
showThumbnails :: Maybe (Value Bool)
..}
= FileUploaderFieldConfigProperty
{showThumbnails :: Maybe (Value Bool)
showThumbnails = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ShowThumbnails" FileUploaderFieldConfigProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Double)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
haddock_workaround_ :: ()
acceptedFileTypes :: ValueList Text
accessLevel :: Value Text
isResumable :: Maybe (Value Bool)
maxFileCount :: Maybe (Value Double)
maxSize :: Maybe (Value Double)
..}