line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::PictureManagerPictureDisplayType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1180
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. PictureManagerPictureDisplayType.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::PictureManagerPictureDisplayType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Defines various styles of picture display for images in Picture Manager albums. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::PictureManagerPictureDisplayType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
36
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::PictureManagerPictureDisplayTypeCodeType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DisplayType', 'ns:PictureManagerPictureDisplayTypeCodeType', '' |
46
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::PictureManagerPictureDisplayTypeCodeType', '' ] |
47
|
|
|
|
|
|
|
, [ 'Height', 'xs:int', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'Size', 'xs:int', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'URL', 'xs:anyURI', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'Width', 'xs:int', '', '', '' ] |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
my @gaAttributes = ( |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Subroutines: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub new { |
63
|
|
|
|
|
|
|
my $classname = shift; |
64
|
|
|
|
|
|
|
my %args = @_; |
65
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
66
|
|
|
|
|
|
|
return $self; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub isScalar { |
70
|
|
|
|
|
|
|
return 0; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 setDisplayType() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The style of picture display, with a maximum size. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
80
|
|
|
|
|
|
|
RequiredInput: Conditionally |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'ns:PictureManagerPictureDisplayTypeCodeType' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setDisplayType { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'DisplayType'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getDisplayType() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetPictureManagerOptions |
94
|
|
|
|
|
|
|
Returned: Always |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
97
|
|
|
|
|
|
|
Returned: Conditionally |
98
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
# Returns: 'ns:PictureManagerPictureDisplayTypeCodeType' |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
sub getDisplayType { |
105
|
|
|
|
|
|
|
my $self = shift; |
106
|
|
|
|
|
|
|
return $self->{'DisplayType'}; |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 setHeight() |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The height of a specific image, or the maximum allowed height, in pixels. |
113
|
|
|
|
|
|
|
Varies for different calls. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
116
|
|
|
|
|
|
|
RequiredInput: Conditionally |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# Argument: 'xs:int' |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
sub setHeight { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
$self->{'Height'} = shift |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 getHeight() |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Calls: GetPictureManagerOptions |
130
|
|
|
|
|
|
|
Returned: Always |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
133
|
|
|
|
|
|
|
Returned: Conditionally |
134
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
# Returns: 'xs:int' |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub getHeight { |
141
|
|
|
|
|
|
|
my $self = shift; |
142
|
|
|
|
|
|
|
return $self->{'Height'}; |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 setSize() |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The total file size of the picture, in bytes. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
151
|
|
|
|
|
|
|
RequiredInput: Conditionally |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# Argument: 'xs:int' |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
sub setSize { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
$self->{'Size'} = shift |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 getSize() |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
165
|
|
|
|
|
|
|
Returned: Conditionally |
166
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
# Returns: 'xs:int' |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=cut |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
sub getSize { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
return $self->{'Size'}; |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 setURL() |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
The URL to the image in the Picture Manager album. |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
183
|
|
|
|
|
|
|
RequiredInput: Conditionally |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub setURL { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
$self->{'URL'} = shift |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head2 getURL() |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
197
|
|
|
|
|
|
|
Returned: Conditionally |
198
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=cut |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
sub getURL { |
205
|
|
|
|
|
|
|
my $self = shift; |
206
|
|
|
|
|
|
|
return $self->{'URL'}; |
207
|
|
|
|
|
|
|
} |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=head2 setWidth() |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
The width of a specific image, or the maximum allowed width, in pixels. |
213
|
|
|
|
|
|
|
Varies for different calls. |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Calls: SetPictureManagerDetails |
216
|
|
|
|
|
|
|
RequiredInput: Conditionally |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
# Argument: 'xs:int' |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=cut |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
sub setWidth { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
$self->{'Width'} = shift |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=head2 getWidth() |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
Calls: GetPictureManagerOptions |
230
|
|
|
|
|
|
|
Returned: Always |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
Calls: GetPictureManagerDetails |
233
|
|
|
|
|
|
|
Returned: Conditionally |
234
|
|
|
|
|
|
|
Details: PictureManagerDetailLevel: none, ReturnPicture, ReturnAll |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
# Returns: 'xs:int' |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
=cut |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
sub getWidth { |
241
|
|
|
|
|
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
return $self->{'Width'}; |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
## Attribute and Property lists |
250
|
|
|
|
|
|
|
sub getPropertiesList { |
251
|
|
|
|
|
|
|
my $self = shift; |
252
|
|
|
|
|
|
|
return \@gaProperties; |
253
|
|
|
|
|
|
|
} |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
sub getAttributesList { |
256
|
|
|
|
|
|
|
my $self = shift; |
257
|
|
|
|
|
|
|
return \@gaAttributes; |
258
|
|
|
|
|
|
|
} |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
1; |