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 ReferenceSummary = ReferenceSummary' {}
- newReferenceSummary :: ReferenceSummary
- referenceSummary_attachment :: Lens' ReferenceSummary (Maybe AttachmentReference)
- referenceSummary_date :: Lens' ReferenceSummary (Maybe DateReference)
- referenceSummary_email :: Lens' ReferenceSummary (Maybe EmailReference)
- referenceSummary_number :: Lens' ReferenceSummary (Maybe NumberReference)
- referenceSummary_string :: Lens' ReferenceSummary (Maybe StringReference)
- referenceSummary_url :: Lens' ReferenceSummary (Maybe UrlReference)
Documentation
data ReferenceSummary Source #
Contains summary information about a reference. ReferenceSummary
contains only one non null field between the URL and attachment based on
the reference type.
See: newReferenceSummary
smart constructor.
ReferenceSummary' | |
|
Instances
newReferenceSummary :: ReferenceSummary Source #
Create a value of ReferenceSummary
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:attachment:ReferenceSummary'
, referenceSummary_attachment
- Information about the reference when the referenceType
is
ATTACHMENT
. Otherwise, null.
$sel:date:ReferenceSummary'
, referenceSummary_date
- Information about a reference when the referenceType
is DATE
.
Otherwise, null.
$sel:email:ReferenceSummary'
, referenceSummary_email
- Information about a reference when the referenceType
is EMAIL
.
Otherwise, null.
$sel:number:ReferenceSummary'
, referenceSummary_number
- Information about a reference when the referenceType
is NUMBER
.
Otherwise, null.
$sel:string:ReferenceSummary'
, referenceSummary_string
- Information about a reference when the referenceType
is STRING
.
Otherwise, null.
$sel:url:ReferenceSummary'
, referenceSummary_url
- Information about the reference when the referenceType
is URL
.
Otherwise, null.
referenceSummary_attachment :: Lens' ReferenceSummary (Maybe AttachmentReference) Source #
Information about the reference when the referenceType
is
ATTACHMENT
. Otherwise, null.
referenceSummary_date :: Lens' ReferenceSummary (Maybe DateReference) Source #
Information about a reference when the referenceType
is DATE
.
Otherwise, null.
referenceSummary_email :: Lens' ReferenceSummary (Maybe EmailReference) Source #
Information about a reference when the referenceType
is EMAIL
.
Otherwise, null.
referenceSummary_number :: Lens' ReferenceSummary (Maybe NumberReference) Source #
Information about a reference when the referenceType
is NUMBER
.
Otherwise, null.
referenceSummary_string :: Lens' ReferenceSummary (Maybe StringReference) Source #
Information about a reference when the referenceType
is STRING
.
Otherwise, null.
referenceSummary_url :: Lens' ReferenceSummary (Maybe UrlReference) Source #
Information about the reference when the referenceType
is URL
.
Otherwise, null.