summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-06-16 20:18:40 -0500
committerJesse Luehrs <doy@tozt.net>2009-06-16 21:23:25 -0500
commit27117318b1bddcaa16e795041e5d26fb7bfcd8d9 (patch)
tree4880af6481f4245656bebd1074bd89cb18e883a4 /lib
parent15086113f27d6ba6eb1837f54e80a8f267902174 (diff)
downloadwww-unfuddle-27117318b1bddcaa16e795041e5d26fb7bfcd8d9.tar.gz
www-unfuddle-27117318b1bddcaa16e795041e5d26fb7bfcd8d9.zip
project class
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;