1RT::Client::REST::QueueU(s3e)r Contributed Perl DocumentaRtTi:o:nClient::REST::Queue(3)
2
3
4

NAME

6       RT::Client::REST::Queue -- queue object representation.
7

SYNOPSIS

9         my $rt = RT::Client::REST->new(server => $ENV{RTSERVER});
10
11         my $queue = RT::Client::REST::Queue->new(
12           rt  => $rt,
13           id  => 'General',
14         )->retrieve;
15

DESCRIPTION

17       RT::Client::REST::Queue is based on RT::Client::REST::Object.  The
18       representation allows to retrieve, edit, comment on, and create queue
19       in RT.
20
21       Note: RT currently does not allow REST client to search queues.
22

ATTRIBUTES

24       id
25         For retrieval, you can specify either the numeric ID of the queue or
26         its name (case-sensitive).  After the retrieval, however, this
27         attribute will be set to the numeric id.
28
29       name
30         This is the name of the queue.
31
32       description
33         Queue description.
34
35       correspond_address
36         Correspond address.
37
38       comment_address
39         Comment address.
40
41       initial_priority
42         Initial priority.
43
44       final_priority
45         Final priority.
46
47       default_due_in
48         Default due in.
49

DB METHODS

51       For full explanation of these, please see "DB METHODS" in
52       RT::Client::REST::Object documentation.
53
54       retrieve
55         Retrieve queue from database.
56
57       store
58         Create or update the queue.
59
60       search
61         Currently RT does not allow REST clients to search queues.
62

QUEUE-SPECIFIC METHODS

64       tickets
65         Get tickets that are in this queue (note: this may be a lot of
66         tickets).  Note: tickets with status "deleted" will not be shown.
67         Object of type RT::Client::REST::SearchResult is returned which then
68         can be used to get to objects of type RT::Client::REST::Ticket.
69

INTERNAL METHODS

71       rt_type
72         Returns 'queue'.
73

SEE ALSO

75       RT::Client::REST, RT::Client::REST::Object,
76       RT::Client::REST::SearchResult, RT::Client::REST::Ticket.
77

AUTHOR

79       Dmitri Tikhonov <dtikhonov@yahoo.com>
80

LICENSE

82       Perl license with the exception of RT::Client::REST, which is GPLed.
83
84
85
86perl v5.12.0                      2007-12-23        RT::Client::REST::Queue(3)
Impressum