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

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< applicationKeys >>

Deprecated, do not use.

=cut

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

=head2 C<< displayName >>

This property is no longer available. If the user has an Atlassian account, their display name is not changed. If the user does not have an Atlassian account, they are sent an email asking them set up an account.

=cut

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

=head2 C<< emailAddress >>

The email address for the user.

=cut

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

=head2 C<< key >>

This property is no longer available. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.

=cut

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

=head2 C<< name >>

This property is no longer available. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.

=cut

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

=head2 C<< password >>

This property is no longer available. If the user has an Atlassian account, their password is not changed. If the user does not have an Atlassian account, they are sent an email asking them set up an account.

=cut

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

=head2 C<< self >>

The URL of the user.

=cut

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


1;
