Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ExcludePeriodConfiguration = ExcludePeriodConfiguration' {}
- newExcludePeriodConfiguration :: Int -> TimeGranularity -> ExcludePeriodConfiguration
- excludePeriodConfiguration_status :: Lens' ExcludePeriodConfiguration (Maybe WidgetStatus)
- excludePeriodConfiguration_amount :: Lens' ExcludePeriodConfiguration Int
- excludePeriodConfiguration_granularity :: Lens' ExcludePeriodConfiguration TimeGranularity
Documentation
data ExcludePeriodConfiguration Source #
The exclude period of TimeRangeFilter
or RelativeDatesFilter
.
See: newExcludePeriodConfiguration
smart constructor.
ExcludePeriodConfiguration' | |
|
Instances
newExcludePeriodConfiguration Source #
Create a value of ExcludePeriodConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ExcludePeriodConfiguration'
, excludePeriodConfiguration_status
- The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
$sel:amount:ExcludePeriodConfiguration'
, excludePeriodConfiguration_amount
- The amount or number of the exclude period.
$sel:granularity:ExcludePeriodConfiguration'
, excludePeriodConfiguration_granularity
- The granularity or unit (day, month, year) of the exclude period.
excludePeriodConfiguration_status :: Lens' ExcludePeriodConfiguration (Maybe WidgetStatus) Source #
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
excludePeriodConfiguration_amount :: Lens' ExcludePeriodConfiguration Int Source #
The amount or number of the exclude period.
excludePeriodConfiguration_granularity :: Lens' ExcludePeriodConfiguration TimeGranularity Source #
The granularity or unit (day, month, year) of the exclude period.