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

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< customFieldReplacementList >>

An array of custom field IDs (`customFieldId`) and version IDs (`moveTo`) to update when the fields contain the deleted version.

=cut

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

=head2 C<< moveAffectedIssuesTo >>

The ID of the version to update `affectedVersion` to when the field contains the deleted version.

=cut

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

=head2 C<< moveFixIssuesTo >>

The ID of the version to update `fixVersion` to when the field contains the deleted version.

=cut

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


1;
