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 Change = Change' {
- changeName :: Maybe Text
- entityTags :: Maybe (NonEmpty Tag)
- changeType :: Text
- entity :: Entity
- details :: Text
- newChange :: Text -> Entity -> Text -> Change
- change_changeName :: Lens' Change (Maybe Text)
- change_entityTags :: Lens' Change (Maybe (NonEmpty Tag))
- change_changeType :: Lens' Change Text
- change_entity :: Lens' Change Entity
- change_details :: Lens' Change Text
Documentation
An object that contains the ChangeType
, Details
, and Entity
.
See: newChange
smart constructor.
Change' | |
|
Instances
Create a value of Change
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:changeName:Change'
, change_changeName
- Optional name for the change.
$sel:entityTags:Change'
, change_entityTags
- The tags associated with the change.
$sel:changeType:Change'
, change_changeType
- Change types are single string values that describe your intention for
the change. Each change type is unique for each EntityType
provided in
the change's scope.
$sel:entity:Change'
, change_entity
- The entity to be changed.
$sel:details:Change'
, change_details
- This object contains details specific to the change type of the
requested change.
change_entityTags :: Lens' Change (Maybe (NonEmpty Tag)) Source #
The tags associated with the change.