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 Chunk = Chunk' {}
- newChunk :: Integer -> Integer -> Text -> DataChecksumAlgorithm -> Text -> Chunk
- chunk_index :: Lens' Chunk Integer
- chunk_length :: Lens' Chunk Integer
- chunk_checksum :: Lens' Chunk Text
- chunk_checksumAlgorithm :: Lens' Chunk DataChecksumAlgorithm
- chunk_chunkToken :: Lens' Chunk Text
Documentation
Chunk
See: newChunk
smart constructor.
Chunk' | |
|
Instances
Create a value of Chunk
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:index:Chunk'
, chunk_index
- Chunk index
$sel:length:Chunk'
, chunk_length
- Chunk length
$sel:checksum:Chunk'
, chunk_checksum
- Chunk checksum
$sel:checksumAlgorithm:Chunk'
, chunk_checksumAlgorithm
- Checksum algorithm
$sel:chunkToken:Chunk'
, chunk_chunkToken
- Chunk token
chunk_checksumAlgorithm :: Lens' Chunk DataChecksumAlgorithm Source #
Checksum algorithm