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 PeriodToDateComputation = PeriodToDateComputation' {}
- newPeriodToDateComputation :: Text -> DimensionField -> PeriodToDateComputation
- periodToDateComputation_name :: Lens' PeriodToDateComputation (Maybe Text)
- periodToDateComputation_periodTimeGranularity :: Lens' PeriodToDateComputation (Maybe TimeGranularity)
- periodToDateComputation_value :: Lens' PeriodToDateComputation (Maybe MeasureField)
- periodToDateComputation_computationId :: Lens' PeriodToDateComputation Text
- periodToDateComputation_time :: Lens' PeriodToDateComputation DimensionField
Documentation
data PeriodToDateComputation Source #
The period to date computation configuration.
See: newPeriodToDateComputation
smart constructor.
PeriodToDateComputation' | |
|
Instances
newPeriodToDateComputation Source #
Create a value of PeriodToDateComputation
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:name:PeriodToDateComputation'
, periodToDateComputation_name
- The name of a computation.
$sel:periodTimeGranularity:PeriodToDateComputation'
, periodToDateComputation_periodTimeGranularity
- The time granularity setup of period to date computation. Choose from
the following options:
- YEAR: Year to date.
- MONTH: Month to date.
$sel:value:PeriodToDateComputation'
, periodToDateComputation_value
- The value field that is used in a computation.
$sel:computationId:PeriodToDateComputation'
, periodToDateComputation_computationId
- The ID for a computation.
$sel:time:PeriodToDateComputation'
, periodToDateComputation_time
- The time field that is used in a computation.
periodToDateComputation_name :: Lens' PeriodToDateComputation (Maybe Text) Source #
The name of a computation.
periodToDateComputation_periodTimeGranularity :: Lens' PeriodToDateComputation (Maybe TimeGranularity) Source #
The time granularity setup of period to date computation. Choose from the following options:
- YEAR: Year to date.
- MONTH: Month to date.
periodToDateComputation_value :: Lens' PeriodToDateComputation (Maybe MeasureField) Source #
The value field that is used in a computation.
periodToDateComputation_computationId :: Lens' PeriodToDateComputation Text Source #
The ID for a computation.
periodToDateComputation_time :: Lens' PeriodToDateComputation DimensionField Source #
The time field that is used in a computation.