NAME

WebService::PivotalTracker::Comment - A story comment

VERSION

version 0.12

SYNOPSIS

DESCRIPTION

This class represents a single comment on a story or epic.

  my $comment = $story->comments->[0];
  say $comment->text;

ATTRIBUTES

This class provides the following attribute accessor methods. Each one corresponds to a property defined by the PT REST API V5 comment resource docs.

id

story_id

This will be undef for epic comments.

epic_id

This will be undef for story comments.

text

The text in Markdown.

person_id

created_at

This will be returned as a DateTime object.

updated_at

This will be returned as a DateTime object.

file_attachment_ids

An arrayref of ids.

google_attachment_ids

An arrayref of ids.

commit_identifier

commit_type

kind

raw_content

The raw JSON used to create this object.

SUPPORT

Bugs may be submitted through https://github.com/maxmind/WebService-PivotalTracker/issues.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 - 2020 by MaxMind, Inc.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)