package JIRA::API::FailedWebhook 0.01;
# DO NOT EDIT! This is an autogenerated file.
use 5.020;
use Moo 2;
use experimental 'signatures';
use Types::Standard qw(Str Bool Num Int Object ArrayRef);
use MooX::TypeTiny;

=head1 NAME

JIRA::API::FailedWebhook -

=head1 SYNOPSIS

  my $obj = JIRA::API::FailedWebhook->new();
  ...

=cut

sub as_hash( $self ) {
    return { $self->%* }
}

=head1 PROPERTIES

=head2 C<< body >>

The webhook body.

=cut

has 'body' => (
    is       => 'ro',
    isa      => Str,
);

=head2 C<< failureTime >>

The time the webhook was added to the list of failed webhooks (that is, the time of the last failed retry).

=cut

has 'failureTime' => (
    is       => 'ro',
    isa      => Int,
    required => 1,
);

=head2 C<< id >>

The webhook ID, as sent in the `X-Atlassian-Webhook-Identifier` header with the webhook.

=cut

has 'id' => (
    is       => 'ro',
    isa      => Str,
    required => 1,
);

=head2 C<< url >>

The original webhook destination.

=cut

has 'url' => (
    is       => 'ro',
    isa      => Str,
    required => 1,
);


1;
