package Net::Async::Github::Comment;

use strict;
use warnings;

our $VERSION = '0.013'; # VERSION

use parent qw(Net::Async::Github::Common);

=head1 NAME

Net::Async::Github::Comment

=head1 DESCRIPTION

Autogenerated module.

=cut

=head1 METHODS

=cut

=head2 url

Provides an accessor for C<url>.

=cut

sub url {
    shift->{url}
}

=head2 id

Provides an accessor for C<id>.

=cut

sub id {
    shift->{id}
}

=head2 node_id

Provides an accessor for C<node_id>.

=cut

sub node_id {
    shift->{node_id}
}

=head2 user

Provides an accessor for C<user>.

=cut

sub user {
    $_[0]->{user} =
     Net::Async::Github::User->new($_[0]->{user})
        unless ref $_[0]->{user};
    shift->{user}
}

=head2 body

Provides an accessor for C<body>.

=cut

sub body {
    shift->{body}
}

=head2 created_at

Provides an accessor for C<created_at>.

=cut

sub created_at {
    shift->{created_at}
}

=head2 updated_at

Provides an accessor for C<updated_at>.

=cut

sub updated_at {
    shift->{updated_at}
}

sub reactions { shift->{reactions} }

1;

