libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.Types.CommentMetadata

Description

 
Synopsis

Documentation

data CommentMetadata Source #

Describes the metadata of a comment.

See: newCommentMetadata smart constructor.

Constructors

CommentMetadata' 

Fields

Instances

Instances details
Eq CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

Read CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

Show CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

Generic CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

Associated Types

type Rep CommentMetadata :: Type -> Type #

NFData CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

Methods

rnf :: CommentMetadata -> () #

Hashable CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

FromJSON CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

type Rep CommentMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.CommentMetadata

type Rep CommentMetadata = D1 ('MetaData "CommentMetadata" "Amazonka.WorkDocs.Types.CommentMetadata" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "CommentMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CommentStatusType)) :*: S1 ('MetaSel ('Just "contributor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User))) :*: (S1 ('MetaSel ('Just "commentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "recipientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCommentMetadata :: CommentMetadata Source #

Create a value of CommentMetadata 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:commentStatus:CommentMetadata', commentMetadata_commentStatus - The status of the comment.

$sel:contributor:CommentMetadata', commentMetadata_contributor - The user who made the comment.

$sel:commentId:CommentMetadata', commentMetadata_commentId - The ID of the comment.

$sel:createdTimestamp:CommentMetadata', commentMetadata_createdTimestamp - The timestamp that the comment was created.

$sel:recipientId:CommentMetadata', commentMetadata_recipientId - The ID of the user being replied to.

commentMetadata_createdTimestamp :: Lens' CommentMetadata (Maybe UTCTime) Source #

The timestamp that the comment was created.

commentMetadata_recipientId :: Lens' CommentMetadata (Maybe Text) Source #

The ID of the user being replied to.