| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package WebService::TypePad::Object::Group; |
|
2
|
1
|
|
|
1
|
|
1571
|
use strict; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
41
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
32
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use WebService::TypePad::Util::Coerce; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
27
|
|
|
5
|
1
|
|
|
1
|
|
6
|
use base qw(WebService::TypePad::Object::Entity); |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
579
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub display_name { |
|
8
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
9
|
0
|
0
|
|
|
|
|
if (@_) { |
|
10
|
0
|
|
|
|
|
|
$self->{data}{displayName} = WebService::TypePad::Util::Coerce::coerce_string_in($_[0]); |
|
11
|
0
|
|
|
|
|
|
return $_[0]; |
|
12
|
|
|
|
|
|
|
} |
|
13
|
|
|
|
|
|
|
else { |
|
14
|
0
|
|
|
|
|
|
return $self->{data}{displayName}; |
|
15
|
|
|
|
|
|
|
} |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub tagline { |
|
19
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
20
|
0
|
0
|
|
|
|
|
if (@_) { |
|
21
|
0
|
|
|
|
|
|
$self->{data}{tagline} = WebService::TypePad::Util::Coerce::coerce_string_in($_[0]); |
|
22
|
0
|
|
|
|
|
|
return $_[0]; |
|
23
|
|
|
|
|
|
|
} |
|
24
|
|
|
|
|
|
|
else { |
|
25
|
0
|
|
|
|
|
|
return $self->{data}{tagline}; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
} |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub links { |
|
30
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
31
|
0
|
0
|
|
|
|
|
if (@_) { |
|
32
|
0
|
|
|
|
|
|
$self->{data}{links} = WebService::TypePad::Util::Coerce::coerce_list_in($_[0], \&WebService::TypePad::Util::Coerce::coerce_LegacyHyperlink_in); |
|
33
|
0
|
|
|
|
|
|
return $_[0]; |
|
34
|
|
|
|
|
|
|
} |
|
35
|
|
|
|
|
|
|
else { |
|
36
|
0
|
|
|
|
|
|
return WebService::TypePad::Util::Coerce::coerce_array_out($self->{data}{links}, \&WebService::TypePad::Util::Coerce::coerce_LegacyHyperlink_out); |
|
37
|
|
|
|
|
|
|
} |
|
38
|
|
|
|
|
|
|
} |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub object_types { |
|
41
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
42
|
0
|
0
|
|
|
|
|
if (@_) { |
|
43
|
0
|
|
|
|
|
|
$self->{data}{objectTypes} = WebService::TypePad::Util::Coerce::coerce_set_in($_[0], \&WebService::TypePad::Util::Coerce::coerce_string_in); |
|
44
|
0
|
|
|
|
|
|
return $_[0]; |
|
45
|
|
|
|
|
|
|
} |
|
46
|
|
|
|
|
|
|
else { |
|
47
|
0
|
|
|
|
|
|
return WebService::TypePad::Util::Coerce::coerce_set_out($self->{data}{objectTypes}); |
|
48
|
|
|
|
|
|
|
} |
|
49
|
|
|
|
|
|
|
} |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
sub id { |
|
52
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
53
|
0
|
0
|
|
|
|
|
if (@_) { |
|
54
|
0
|
|
|
|
|
|
$self->{data}{id} = WebService::TypePad::Util::Coerce::coerce_string_in($_[0]); |
|
55
|
0
|
|
|
|
|
|
return $_[0]; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
else { |
|
58
|
0
|
|
|
|
|
|
return $self->{data}{id}; |
|
59
|
|
|
|
|
|
|
} |
|
60
|
|
|
|
|
|
|
} |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub url_id { |
|
63
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
64
|
0
|
0
|
|
|
|
|
if (@_) { |
|
65
|
0
|
|
|
|
|
|
$self->{data}{urlId} = WebService::TypePad::Util::Coerce::coerce_string_in($_[0]); |
|
66
|
0
|
|
|
|
|
|
return $_[0]; |
|
67
|
|
|
|
|
|
|
} |
|
68
|
|
|
|
|
|
|
else { |
|
69
|
0
|
|
|
|
|
|
return $self->{data}{urlId}; |
|
70
|
|
|
|
|
|
|
} |
|
71
|
|
|
|
|
|
|
} |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
1; |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 NAME |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
WebService::TypePad::Object::Group - Perl representation of TypePad's Group object type |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
use WebService::TypePad::Object::Group; |
|
82
|
|
|
|
|
|
|
my $group = WebService::TypePad::Object::Group->new(); |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This is a Perl representation of TypePad's Group object type. |
|
87
|
|
|
|
|
|
|
For more information about this type and its parameters, see L. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
This is a subtype of L. |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 PROPERTIES |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Each of these properties has an accessor method which will retrieve the property's value when called with no arguments or set the property's value when called with one argument. |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 $group->display_name |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
The display name set by the group's owner. |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Returns a single C value. |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 $group->id |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
A URI that serves as a globally-unique id for the object. This can be used to recognise where the same user is returned in response to different requests, and as a mapping key for an application's local data store. |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Returns a single C value. |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 $group->links |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The hyperlinks for the group object. |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Returns an array of L objects. |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 $group->object_types |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
An array of object type identifier URIs. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Returns a set of C values. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 $group->tagline |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
A tagline describing the group, set by the group's owner. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Returns a single C value. |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 $group->url_id |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
A string containing the canonical identifier that can be used as the "id" for this object in URLs. However, this should not be used as a database key to avoid collisions when an application is switched to a different backend server; use the "id" property instead. |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Returns a single C value. |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=over 1 |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=item * L |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=item * L |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=back |