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 ItemSource = ItemSource' {
- assets :: Maybe (HashMap Text AssetValue)
- properties :: Maybe Properties
- dateTime :: POSIX
- geometry :: Geometry
- id :: Text
- newItemSource :: UTCTime -> Geometry -> Text -> ItemSource
- itemSource_assets :: Lens' ItemSource (Maybe (HashMap Text AssetValue))
- itemSource_properties :: Lens' ItemSource (Maybe Properties)
- itemSource_dateTime :: Lens' ItemSource UTCTime
- itemSource_geometry :: Lens' ItemSource Geometry
- itemSource_id :: Lens' ItemSource Text
Documentation
data ItemSource Source #
Structure representing the items in the response for SearchRasterDataCollection.
See: newItemSource
smart constructor.
ItemSource' | |
|
Instances
:: UTCTime | |
-> Geometry | |
-> Text | |
-> ItemSource |
Create a value of ItemSource
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:assets:ItemSource'
, itemSource_assets
-
$sel:properties:ItemSource'
, itemSource_properties
-
$sel:dateTime:ItemSource'
, itemSource_dateTime
-
$sel:geometry:ItemSource'
, itemSource_geometry
-
$sel:id:ItemSource'
, itemSource_id
- A unique Id for the source item.
itemSource_id :: Lens' ItemSource Text Source #
A unique Id for the source item.