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

=head1 SYNOPSIS

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

=cut

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

=head1 PROPERTIES

=head2 C<< defaultUnit >>

The default unit of time applied to logged time.

=cut

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

=head2 C<< timeFormat >>

The format that will appear on an issue's *Time Spent* field.

=cut

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

=head2 C<< workingDaysPerWeek >>

The number of days in a working week.

=cut

has 'workingDaysPerWeek' => (
    is       => 'ro',
    isa      => Num,
    required => 1,
);

=head2 C<< workingHoursPerDay >>

The number of hours in a working day.

=cut

has 'workingHoursPerDay' => (
    is       => 'ro',
    isa      => Num,
    required => 1,
);


1;
