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

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< global >>

Defines the behavior of the option within the global context. If this property is set, even if set to an empty object, then the option is available in all projects.

=cut

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

=head2 C<< projects >>

DEPRECATED

=cut

has 'projects' => (
    is       => 'ro',
    isa      => ArrayRef[Int],
);

=head2 C<< projects2 >>

Defines the projects in which the option is available and the behavior of the option within each project. Specify one object per project. The behavior of the option in a project context overrides the behavior in the global context.

=cut

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


1;
