summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/WWW/Unfuddle/Project.pm78
1 files changed, 78 insertions, 0 deletions
diff --git a/lib/WWW/Unfuddle/Project.pm b/lib/WWW/Unfuddle/Project.pm
new file mode 100644
index 0000000..5d0d79f
--- /dev/null
+++ b/lib/WWW/Unfuddle/Project.pm
@@ -0,0 +1,78 @@
+package WWW::Unfuddle::Project;
+use Moose;
+use Moose::Util::TypeConstraints; # XXX
+
+has account_id => (
+ is => 'ro',
+ isa => 'Int',
+);
+
+has archived => (
+ is => 'ro',
+ isa => 'Bool',
+);
+
+has assignee_on_resolve => (
+ is => 'ro',
+ isa => enum(qw(reporter none nochange)),
+);
+
+has close_ticket_simultaneously_default => (
+ is => 'ro',
+ isa => 'Bool',
+);
+
+has created_at => (
+ is => 'ro',
+ isa => 'DateTime',
+);
+
+has default_ticket_report_id => (
+ is => 'ro',
+ isa => 'Int',
+);
+
+has description => (
+ is => 'ro',
+ isa => 'Str',
+);
+
+has disk_usage => (
+ is => 'ro',
+ isa => 'Int',
+);
+
+has enable_time_tracking => (
+ is => 'ro',
+ isa => 'Bool',
+);
+
+has id => (
+ is => 'ro',
+ isa => 'Int',
+);
+
+has short_name => (
+ is => 'ro',
+ isa => 'Str',
+);
+
+has theme => (
+ is => 'ro',
+ isa => enum(qw(blue green grey orange purple red teal)),
+);
+
+has title => (
+ is => 'ro',
+ isa => 'Str',
+);
+
+has updated_at => (
+ is => 'ro',
+ isa => 'DateTime',
+);
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
+1;