1RT::Client::REST::GroupU(s3e)r Contributed Perl DocumentaRtTi:o:nClient::REST::Group(3)
2
3
4
6 RT::Client::REST::Group - group object representation.
7
9 version 0.56
10
12 my $rt = RT::Client::REST->new(server => $ENV{RTSERVER});
13
14 my $group = RT::Client::REST::Group->new(
15 rt => $rt,
16 id => $id,
17 )->retrieve;
18
20 RT::Client::REST::Group is based on RT::Client::REST::Object. The
21 representation allows one to retrieve, edit, and create groups in RT.
22
23 Note: RT currently does not allow REST client to search groups.
24
26 id
27 For retrieval, you can specify either the numeric ID of the group or
28 his group name. After the retrieval, however, this attribute will be
29 set to the numeric id.
30
31 name
32 Name of the group
33
34 description
35 Description
36
37 members
38 List of the members of this group.
39
41 For full explanation of these, please see "DB METHODS" in
42 RT::Client::REST::Object documentation.
43
44 retrieve
45 Retrieve RT group from database.
46
47 store
48 Create or update the group.
49
50 search
51 Currently RT does not allow REST clients to search groups.
52
54 rt_type
55 Returns 'group'.
56
58 RT::Client::REST, RT::Client::REST::Object,
59 RT::Client::REST::SearchResult.
60
62 · Abhijit Menon-Sen <ams@wiw.org>
63
64 · Dmitri Tikhonov <dtikhonov@yahoo.com>
65
66 · Damien "dams" Krotkine <dams@cpan.org>
67
68 · Dean Hamstead <dean@bytefoundry.com.au>
69
70 · Miquel Ruiz <mruiz@cpan.org>
71
72 · JLMARTIN
73
74 · SRVSH
75
77 This software is copyright (c) 2018 by Dmitri Tikhonov.
78
79 This is free software; you can redistribute it and/or modify it under
80 the same terms as the Perl 5 programming language system itself.
81
82
83
84perl v5.30.0 2019-07-26 RT::Client::REST::Group(3)