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

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< baseLevelId >>

The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/).

=cut

has 'baseLevelId' => (
    is       => 'ro',
    isa      => Int,
);

=head2 C<< levels >>

Details about the hierarchy level.

=cut

has 'levels' => (
    is       => 'ro',
    isa      => ArrayRef[Object],
);


1;
