line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::PictureManagerDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1021
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. PictureManagerDetailsType.pm |
12
|
|
|
|
|
|
|
# Generated by: ......... genEBayApiDataTypes.pl |
13
|
|
|
|
|
|
|
# Last Generated: ....... 08/24/2008 16:44 |
14
|
|
|
|
|
|
|
# API Release Number: ... 579 |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
########################################################################## |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
eBay::API::XML::DataType::PictureManagerDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::DataType::PictureManagerDetailsType inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::DataType::PictureManagerFolderType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::PictureManagerSubscriptionLevelCodeType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Folder', 'ns:PictureManagerFolderType', '1' |
45
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::PictureManagerFolderType', '1' ] |
46
|
|
|
|
|
|
|
, [ 'KeepOriginal', 'xs:boolean', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'StorageUsed', 'xs:int', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'SubscriptionLevel', 'ns:PictureManagerSubscriptionLevelCodeType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::PictureManagerSubscriptionLevelCodeType', '' ] |
50
|
|
|
|
|
|
|
, [ 'TotalStorageAvailable', 'xs:int', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'WatermarkEPS', 'xs:boolean', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'WatermarkUserID', 'xs:boolean', '', '', '' ] |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
my @gaAttributes = ( |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 Subroutines: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub new { |
65
|
|
|
|
|
|
|
my $classname = shift; |
66
|
|
|
|
|
|
|
my %args = @_; |
67
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
68
|
|
|
|
|
|
|
return $self; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub isScalar { |
72
|
|
|
|
|
|
|
return 0; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 setFolder() |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The folder requested in the album. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
82
|
|
|
|
|
|
|
RequiredInput: Yes |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
# Argument: reference to an array |
85
|
|
|
|
|
|
|
of 'ns:PictureManagerFolderType' |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
sub setFolder { |
90
|
|
|
|
|
|
|
my $self = shift; |
91
|
|
|
|
|
|
|
$self->{'Folder'} = |
92
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 getFolder() |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
98
|
|
|
|
|
|
|
Returned: Always |
99
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
# Returns: reference to an array |
102
|
|
|
|
|
|
|
of 'ns:PictureManagerFolderType' |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
sub getFolder { |
107
|
|
|
|
|
|
|
my $self = shift; |
108
|
|
|
|
|
|
|
return $self->_getDataTypeArray('Folder'); |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 setKeepOriginal() |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Whether to keep a copy of the original picture without resizing. |
115
|
|
|
|
|
|
|
Default is false. true = keep originals. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=cut |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
sub setKeepOriginal { |
122
|
|
|
|
|
|
|
my $self = shift; |
123
|
|
|
|
|
|
|
$self->{'KeepOriginal'} = shift |
124
|
|
|
|
|
|
|
} |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 isKeepOriginal() |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
129
|
|
|
|
|
|
|
Returned: Always |
130
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub isKeepOriginal { |
137
|
|
|
|
|
|
|
my $self = shift; |
138
|
|
|
|
|
|
|
return $self->{'KeepOriginal'}; |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setStorageUsed() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
The amount of storage already in use. Measured in bytes. Read-only value. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
# Argument: 'xs:int' |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=cut |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
sub setStorageUsed { |
151
|
|
|
|
|
|
|
my $self = shift; |
152
|
|
|
|
|
|
|
$self->{'StorageUsed'} = shift |
153
|
|
|
|
|
|
|
} |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 getStorageUsed() |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
158
|
|
|
|
|
|
|
Returned: Always |
159
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnSubscription, ReturnAll |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# Returns: 'xs:int' |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub getStorageUsed { |
166
|
|
|
|
|
|
|
my $self = shift; |
167
|
|
|
|
|
|
|
return $self->{'StorageUsed'}; |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setSubscriptionLevel() |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
The level of Picture Manager subscription. Each level has a monthly fee |
174
|
|
|
|
|
|
|
and provides a certain amount of storage space. |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
# Argument: 'ns:PictureManagerSubscriptionLevelCodeType' |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=cut |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
sub setSubscriptionLevel { |
181
|
|
|
|
|
|
|
my $self = shift; |
182
|
|
|
|
|
|
|
$self->{'SubscriptionLevel'} = shift |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head2 getSubscriptionLevel() |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
188
|
|
|
|
|
|
|
Returned: Always |
189
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnSubscription, ReturnAll |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
# Returns: 'ns:PictureManagerSubscriptionLevelCodeType' |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=cut |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
sub getSubscriptionLevel { |
196
|
|
|
|
|
|
|
my $self = shift; |
197
|
|
|
|
|
|
|
return $self->{'SubscriptionLevel'}; |
198
|
|
|
|
|
|
|
} |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head2 setTotalStorageAvailable() |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
The amount of storage space remaining in the authenticated user's album. |
204
|
|
|
|
|
|
|
Measured in bytes. Read-only value. |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
# Argument: 'xs:int' |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
sub setTotalStorageAvailable { |
211
|
|
|
|
|
|
|
my $self = shift; |
212
|
|
|
|
|
|
|
$self->{'TotalStorageAvailable'} = shift |
213
|
|
|
|
|
|
|
} |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head2 getTotalStorageAvailable() |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
218
|
|
|
|
|
|
|
Returned: Always |
219
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnSubscription, ReturnAll |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
# Returns: 'xs:int' |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=cut |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
sub getTotalStorageAvailable { |
226
|
|
|
|
|
|
|
my $self = shift; |
227
|
|
|
|
|
|
|
return $self->{'TotalStorageAvailable'}; |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=head2 setWatermarkEPS() |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Whether to show the EPS watermark when photos are displayed. |
234
|
|
|
|
|
|
|
Default is false. true = show. |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
=cut |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
sub setWatermarkEPS { |
241
|
|
|
|
|
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
$self->{'WatermarkEPS'} = shift |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
=head2 isWatermarkEPS() |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
248
|
|
|
|
|
|
|
Returned: Always |
249
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
=cut |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
sub isWatermarkEPS { |
256
|
|
|
|
|
|
|
my $self = shift; |
257
|
|
|
|
|
|
|
return $self->{'WatermarkEPS'}; |
258
|
|
|
|
|
|
|
} |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=head2 setWatermarkUserID() |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
Whether to show the user ID watermark when photos are displayed. |
264
|
|
|
|
|
|
|
Default is false. true = show. |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
=cut |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
sub setWatermarkUserID { |
271
|
|
|
|
|
|
|
my $self = shift; |
272
|
|
|
|
|
|
|
$self->{'WatermarkUserID'} = shift |
273
|
|
|
|
|
|
|
} |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
=head2 isWatermarkUserID() |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
278
|
|
|
|
|
|
|
Returned: Always |
279
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
=cut |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
sub isWatermarkUserID { |
286
|
|
|
|
|
|
|
my $self = shift; |
287
|
|
|
|
|
|
|
return $self->{'WatermarkUserID'}; |
288
|
|
|
|
|
|
|
} |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
## Attribute and Property lists |
295
|
|
|
|
|
|
|
sub getPropertiesList { |
296
|
|
|
|
|
|
|
my $self = shift; |
297
|
|
|
|
|
|
|
return \@gaProperties; |
298
|
|
|
|
|
|
|
} |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
sub getAttributesList { |
301
|
|
|
|
|
|
|
my $self = shift; |
302
|
|
|
|
|
|
|
return \@gaAttributes; |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
1; |