| 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 |
Amazonka.WorkDocs.Types.Comment
Description
Synopsis
- data Comment = Comment' {}
- newComment :: Text -> Comment
- comment_contributor :: Lens' Comment (Maybe User)
- comment_createdTimestamp :: Lens' Comment (Maybe UTCTime)
- comment_parentId :: Lens' Comment (Maybe Text)
- comment_recipientId :: Lens' Comment (Maybe Text)
- comment_status :: Lens' Comment (Maybe CommentStatusType)
- comment_text :: Lens' Comment (Maybe Text)
- comment_threadId :: Lens' Comment (Maybe Text)
- comment_visibility :: Lens' Comment (Maybe CommentVisibilityType)
- comment_commentId :: Lens' Comment Text
Documentation
Describes a comment.
See: newComment smart constructor.
Constructors
| Comment' | |
Fields
| |
Instances
Create a value of Comment 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:contributor:Comment', comment_contributor - The details of the user who made the comment.
Comment, comment_createdTimestamp - The time that the comment was created.
$sel:parentId:Comment', comment_parentId - The ID of the parent comment.
$sel:recipientId:Comment', comment_recipientId - If the comment is a reply to another user's comment, this field
contains the user ID of the user being replied to.
Comment, comment_status - The status of the comment.
$sel:text:Comment', comment_text - The text of the comment.
$sel:threadId:Comment', comment_threadId - The ID of the root comment in the thread.
$sel:visibility:Comment', comment_visibility - The visibility of the comment. Options are either PRIVATE, where the
comment is visible only to the comment author and document owner and
co-owners, or PUBLIC, where the comment is visible to document owners,
co-owners, and contributors.
$sel:commentId:Comment', comment_commentId - The ID of the comment.
comment_contributor :: Lens' Comment (Maybe User) Source #
The details of the user who made the comment.
comment_createdTimestamp :: Lens' Comment (Maybe UTCTime) Source #
The time that the comment was created.
comment_recipientId :: Lens' Comment (Maybe Text) Source #
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
comment_status :: Lens' Comment (Maybe CommentStatusType) Source #
The status of the comment.
comment_visibility :: Lens' Comment (Maybe CommentVisibilityType) Source #
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.