module Stratosphere.QuickSight.Template.BarChartSortConfigurationProperty (
        module Exports, BarChartSortConfigurationProperty(..),
        mkBarChartSortConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.FieldSortOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.ItemsLimitConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data BarChartSortConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html>
    BarChartSortConfigurationProperty {BarChartSortConfigurationProperty -> ()
haddock_workaround_ :: (),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-categoryitemslimit>
                                       BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit :: (Prelude.Maybe ItemsLimitConfigurationProperty),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-categorysort>
                                       BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
categorySort :: (Prelude.Maybe [FieldSortOptionsProperty]),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-coloritemslimit>
                                       BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: (Prelude.Maybe ItemsLimitConfigurationProperty),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-colorsort>
                                       BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorSort :: (Prelude.Maybe [FieldSortOptionsProperty]),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-smallmultipleslimitconfiguration>
                                       BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration :: (Prelude.Maybe ItemsLimitConfigurationProperty),
                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartsortconfiguration.html#cfn-quicksight-template-barchartsortconfiguration-smallmultiplessort>
                                       BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesSort :: (Prelude.Maybe [FieldSortOptionsProperty])}
  deriving stock (BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty -> Bool
(BarChartSortConfigurationProperty
 -> BarChartSortConfigurationProperty -> Bool)
-> (BarChartSortConfigurationProperty
    -> BarChartSortConfigurationProperty -> Bool)
-> Eq BarChartSortConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty -> Bool
== :: BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty -> Bool
$c/= :: BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty -> Bool
/= :: BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty -> Bool
Prelude.Eq, Int -> BarChartSortConfigurationProperty -> ShowS
[BarChartSortConfigurationProperty] -> ShowS
BarChartSortConfigurationProperty -> String
(Int -> BarChartSortConfigurationProperty -> ShowS)
-> (BarChartSortConfigurationProperty -> String)
-> ([BarChartSortConfigurationProperty] -> ShowS)
-> Show BarChartSortConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BarChartSortConfigurationProperty -> ShowS
showsPrec :: Int -> BarChartSortConfigurationProperty -> ShowS
$cshow :: BarChartSortConfigurationProperty -> String
show :: BarChartSortConfigurationProperty -> String
$cshowList :: [BarChartSortConfigurationProperty] -> ShowS
showList :: [BarChartSortConfigurationProperty] -> ShowS
Prelude.Show)
mkBarChartSortConfigurationProperty ::
  BarChartSortConfigurationProperty
mkBarChartSortConfigurationProperty :: BarChartSortConfigurationProperty
mkBarChartSortConfigurationProperty
  = BarChartSortConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categoryItemsLimit = Maybe ItemsLimitConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       categorySort :: Maybe [FieldSortOptionsProperty]
categorySort = Maybe [FieldSortOptionsProperty]
forall a. Maybe a
Prelude.Nothing, colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit = Maybe ItemsLimitConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       colorSort :: Maybe [FieldSortOptionsProperty]
colorSort = Maybe [FieldSortOptionsProperty]
forall a. Maybe a
Prelude.Nothing,
       smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration = Maybe ItemsLimitConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesSort = Maybe [FieldSortOptionsProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BarChartSortConfigurationProperty where
  toResourceProperties :: BarChartSortConfigurationProperty -> ResourceProperties
toResourceProperties BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Template.BarChartSortConfiguration",
         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 -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategoryItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit,
                            Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategorySort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
categorySort,
                            Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
colorItemsLimit,
                            Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
colorSort,
                            Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallMultiplesLimitConfiguration"
                              (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration,
                            Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallMultiplesSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
smallMultiplesSort])}
instance JSON.ToJSON BarChartSortConfigurationProperty where
  toJSON :: BarChartSortConfigurationProperty -> Value
toJSON BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = [(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 -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategoryItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit,
               Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategorySort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
categorySort,
               Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
colorItemsLimit,
               Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
colorSort,
               Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallMultiplesLimitConfiguration"
                 (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration,
               Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SmallMultiplesSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
smallMultiplesSort]))
instance Property "CategoryItemsLimit" BarChartSortConfigurationProperty where
  type PropertyType "CategoryItemsLimit" BarChartSortConfigurationProperty = ItemsLimitConfigurationProperty
  set :: PropertyType "CategoryItemsLimit" BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType "CategoryItemsLimit" BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categoryItemsLimit = ItemsLimitConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CategoryItemsLimit" BarChartSortConfigurationProperty
ItemsLimitConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "CategorySort" BarChartSortConfigurationProperty where
  type PropertyType "CategorySort" BarChartSortConfigurationProperty = [FieldSortOptionsProperty]
  set :: PropertyType "CategorySort" BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType "CategorySort" BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {categorySort :: Maybe [FieldSortOptionsProperty]
categorySort = [FieldSortOptionsProperty] -> Maybe [FieldSortOptionsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FieldSortOptionsProperty]
PropertyType "CategorySort" BarChartSortConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "ColorItemsLimit" BarChartSortConfigurationProperty where
  type PropertyType "ColorItemsLimit" BarChartSortConfigurationProperty = ItemsLimitConfigurationProperty
  set :: PropertyType "ColorItemsLimit" BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType "ColorItemsLimit" BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit = ItemsLimitConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ColorItemsLimit" BarChartSortConfigurationProperty
ItemsLimitConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "ColorSort" BarChartSortConfigurationProperty where
  type PropertyType "ColorSort" BarChartSortConfigurationProperty = [FieldSortOptionsProperty]
  set :: PropertyType "ColorSort" BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType "ColorSort" BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {colorSort :: Maybe [FieldSortOptionsProperty]
colorSort = [FieldSortOptionsProperty] -> Maybe [FieldSortOptionsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FieldSortOptionsProperty]
PropertyType "ColorSort" BarChartSortConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "SmallMultiplesLimitConfiguration" BarChartSortConfigurationProperty where
  type PropertyType "SmallMultiplesLimitConfiguration" BarChartSortConfigurationProperty = ItemsLimitConfigurationProperty
  set :: PropertyType
  "SmallMultiplesLimitConfiguration"
  BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType
  "SmallMultiplesLimitConfiguration"
  BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesLimitConfiguration = ItemsLimitConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SmallMultiplesLimitConfiguration"
  BarChartSortConfigurationProperty
ItemsLimitConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "SmallMultiplesSort" BarChartSortConfigurationProperty where
  type PropertyType "SmallMultiplesSort" BarChartSortConfigurationProperty = [FieldSortOptionsProperty]
  set :: PropertyType "SmallMultiplesSort" BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
-> BarChartSortConfigurationProperty
set PropertyType "SmallMultiplesSort" BarChartSortConfigurationProperty
newValue BarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: BarChartSortConfigurationProperty -> ()
categoryItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: BarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: BarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
..}
    = BarChartSortConfigurationProperty
        {smallMultiplesSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesSort = [FieldSortOptionsProperty] -> Maybe [FieldSortOptionsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FieldSortOptionsProperty]
PropertyType "SmallMultiplesSort" BarChartSortConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
smallMultiplesLimitConfiguration :: Maybe ItemsLimitConfigurationProperty
..}