module Stratosphere.QuickSight.Template.TableCellStyleProperty (
module Exports, TableCellStyleProperty(..),
mkTableCellStyleProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.FontConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.GlobalTableBorderOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TableCellStyleProperty
=
TableCellStyleProperty {TableCellStyleProperty -> ()
haddock_workaround_ :: (),
TableCellStyleProperty -> Maybe (Value Text)
backgroundColor :: (Prelude.Maybe (Value Prelude.Text)),
TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
border :: (Prelude.Maybe GlobalTableBorderOptionsProperty),
TableCellStyleProperty -> Maybe FontConfigurationProperty
fontConfiguration :: (Prelude.Maybe FontConfigurationProperty),
TableCellStyleProperty -> Maybe (Value Double)
height :: (Prelude.Maybe (Value Prelude.Double)),
TableCellStyleProperty -> Maybe (Value Text)
horizontalTextAlignment :: (Prelude.Maybe (Value Prelude.Text)),
TableCellStyleProperty -> Maybe (Value Text)
textWrap :: (Prelude.Maybe (Value Prelude.Text)),
TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: (Prelude.Maybe (Value Prelude.Text)),
TableCellStyleProperty -> Maybe Object
visibility :: (Prelude.Maybe JSON.Object)}
deriving stock (TableCellStyleProperty -> TableCellStyleProperty -> Bool
(TableCellStyleProperty -> TableCellStyleProperty -> Bool)
-> (TableCellStyleProperty -> TableCellStyleProperty -> Bool)
-> Eq TableCellStyleProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TableCellStyleProperty -> TableCellStyleProperty -> Bool
== :: TableCellStyleProperty -> TableCellStyleProperty -> Bool
$c/= :: TableCellStyleProperty -> TableCellStyleProperty -> Bool
/= :: TableCellStyleProperty -> TableCellStyleProperty -> Bool
Prelude.Eq, Int -> TableCellStyleProperty -> ShowS
[TableCellStyleProperty] -> ShowS
TableCellStyleProperty -> String
(Int -> TableCellStyleProperty -> ShowS)
-> (TableCellStyleProperty -> String)
-> ([TableCellStyleProperty] -> ShowS)
-> Show TableCellStyleProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TableCellStyleProperty -> ShowS
showsPrec :: Int -> TableCellStyleProperty -> ShowS
$cshow :: TableCellStyleProperty -> String
show :: TableCellStyleProperty -> String
$cshowList :: [TableCellStyleProperty] -> ShowS
showList :: [TableCellStyleProperty] -> ShowS
Prelude.Show)
mkTableCellStyleProperty :: TableCellStyleProperty
mkTableCellStyleProperty :: TableCellStyleProperty
mkTableCellStyleProperty
= TableCellStyleProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), backgroundColor :: Maybe (Value Text)
backgroundColor = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
border :: Maybe GlobalTableBorderOptionsProperty
border = Maybe GlobalTableBorderOptionsProperty
forall a. Maybe a
Prelude.Nothing, fontConfiguration :: Maybe FontConfigurationProperty
fontConfiguration = Maybe FontConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
height :: Maybe (Value Double)
height = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
horizontalTextAlignment :: Maybe (Value Text)
horizontalTextAlignment = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
textWrap :: Maybe (Value Text)
textWrap = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
verticalTextAlignment :: Maybe (Value Text)
verticalTextAlignment = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
visibility :: Maybe Object
visibility = Maybe Object
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TableCellStyleProperty where
toResourceProperties :: TableCellStyleProperty -> ResourceProperties
toResourceProperties TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Template.TableCellStyle",
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 -> 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
"BackgroundColor" (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)
backgroundColor,
Key -> GlobalTableBorderOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Border" (GlobalTableBorderOptionsProperty -> (Key, Value))
-> Maybe GlobalTableBorderOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GlobalTableBorderOptionsProperty
border,
Key -> FontConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FontConfiguration" (FontConfigurationProperty -> (Key, Value))
-> Maybe FontConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FontConfigurationProperty
fontConfiguration,
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
"Height" (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)
height,
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
"HorizontalTextAlignment"
(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)
horizontalTextAlignment,
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
"TextWrap" (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)
textWrap,
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
"VerticalTextAlignment"
(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)
verticalTextAlignment,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Visibility" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
visibility])}
instance JSON.ToJSON TableCellStyleProperty where
toJSON :: TableCellStyleProperty -> Value
toJSON TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= [(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 -> 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
"BackgroundColor" (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)
backgroundColor,
Key -> GlobalTableBorderOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Border" (GlobalTableBorderOptionsProperty -> (Key, Value))
-> Maybe GlobalTableBorderOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe GlobalTableBorderOptionsProperty
border,
Key -> FontConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FontConfiguration" (FontConfigurationProperty -> (Key, Value))
-> Maybe FontConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FontConfigurationProperty
fontConfiguration,
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
"Height" (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)
height,
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
"HorizontalTextAlignment"
(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)
horizontalTextAlignment,
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
"TextWrap" (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)
textWrap,
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
"VerticalTextAlignment"
(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)
verticalTextAlignment,
Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Visibility" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
visibility]))
instance Property "BackgroundColor" TableCellStyleProperty where
type PropertyType "BackgroundColor" TableCellStyleProperty = Value Prelude.Text
set :: PropertyType "BackgroundColor" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "BackgroundColor" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty
{backgroundColor :: Maybe (Value Text)
backgroundColor = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BackgroundColor" TableCellStyleProperty
Value Text
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "Border" TableCellStyleProperty where
type PropertyType "Border" TableCellStyleProperty = GlobalTableBorderOptionsProperty
set :: PropertyType "Border" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "Border" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty {border :: Maybe GlobalTableBorderOptionsProperty
border = GlobalTableBorderOptionsProperty
-> Maybe GlobalTableBorderOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Border" TableCellStyleProperty
GlobalTableBorderOptionsProperty
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "FontConfiguration" TableCellStyleProperty where
type PropertyType "FontConfiguration" TableCellStyleProperty = FontConfigurationProperty
set :: PropertyType "FontConfiguration" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "FontConfiguration" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty
{fontConfiguration :: Maybe FontConfigurationProperty
fontConfiguration = FontConfigurationProperty -> Maybe FontConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FontConfiguration" TableCellStyleProperty
FontConfigurationProperty
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "Height" TableCellStyleProperty where
type PropertyType "Height" TableCellStyleProperty = Value Prelude.Double
set :: PropertyType "Height" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "Height" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty {height :: Maybe (Value Double)
height = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Height" TableCellStyleProperty
Value Double
newValue, Maybe Object
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "HorizontalTextAlignment" TableCellStyleProperty where
type PropertyType "HorizontalTextAlignment" TableCellStyleProperty = Value Prelude.Text
set :: PropertyType "HorizontalTextAlignment" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "HorizontalTextAlignment" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty
{horizontalTextAlignment :: Maybe (Value Text)
horizontalTextAlignment = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HorizontalTextAlignment" TableCellStyleProperty
Value Text
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "TextWrap" TableCellStyleProperty where
type PropertyType "TextWrap" TableCellStyleProperty = Value Prelude.Text
set :: PropertyType "TextWrap" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "TextWrap" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty {textWrap :: Maybe (Value Text)
textWrap = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TextWrap" TableCellStyleProperty
Value Text
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "VerticalTextAlignment" TableCellStyleProperty where
type PropertyType "VerticalTextAlignment" TableCellStyleProperty = Value Prelude.Text
set :: PropertyType "VerticalTextAlignment" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "VerticalTextAlignment" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty
{verticalTextAlignment :: Maybe (Value Text)
verticalTextAlignment = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VerticalTextAlignment" TableCellStyleProperty
Value Text
newValue, Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
visibility :: Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
visibility :: Maybe Object
..}
instance Property "Visibility" TableCellStyleProperty where
type PropertyType "Visibility" TableCellStyleProperty = JSON.Object
set :: PropertyType "Visibility" TableCellStyleProperty
-> TableCellStyleProperty -> TableCellStyleProperty
set PropertyType "Visibility" TableCellStyleProperty
newValue TableCellStyleProperty {Maybe Object
Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: TableCellStyleProperty -> ()
backgroundColor :: TableCellStyleProperty -> Maybe (Value Text)
border :: TableCellStyleProperty -> Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: TableCellStyleProperty -> Maybe FontConfigurationProperty
height :: TableCellStyleProperty -> Maybe (Value Double)
horizontalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
textWrap :: TableCellStyleProperty -> Maybe (Value Text)
verticalTextAlignment :: TableCellStyleProperty -> Maybe (Value Text)
visibility :: TableCellStyleProperty -> Maybe Object
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
visibility :: Maybe Object
..}
= TableCellStyleProperty {visibility :: Maybe Object
visibility = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Visibility" TableCellStyleProperty
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe GlobalTableBorderOptionsProperty
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
border :: Maybe GlobalTableBorderOptionsProperty
fontConfiguration :: Maybe FontConfigurationProperty
height :: Maybe (Value Double)
horizontalTextAlignment :: Maybe (Value Text)
textWrap :: Maybe (Value Text)
verticalTextAlignment :: Maybe (Value Text)
..}