package JIRA::API::ParsedJqlQuery 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::ParsedJqlQuery -

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< errors >>

The list of syntax or validation errors.

=cut

has 'errors' => (
    is       => 'ro',
    isa      => ArrayRef[Str],
);

=head2 C<< query >>

The JQL query that was parsed and validated.

=cut

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

=head2 C<< structure >>

The syntax tree of the query. Empty if the query was invalid.

=cut

has 'structure' => (
    is       => 'ro',
);


1;
