line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::GameLift::AttributeValue; |
2
|
1
|
|
|
1
|
|
414
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
has N => (is => 'ro', isa => 'Num'); |
4
|
|
|
|
|
|
|
has S => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has SDM => (is => 'ro', isa => 'Paws::GameLift::StringDoubleMap'); |
6
|
|
|
|
|
|
|
has SL => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
7
|
|
|
|
|
|
|
1; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
### main pod documentation begin ### |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Paws::GameLift::AttributeValue |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 USAGE |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This class represents one of two things: |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
22
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::GameLift::AttributeValue object: |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { N => $value, ..., SL => $value }); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head3 Results returned from an API call |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::AttributeValue object: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
33
|
|
|
|
|
|
|
$result->Att1->N |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Values for use in Player attribute type:value pairs. This object lets |
38
|
|
|
|
|
|
|
you specify an attribute value using any of the valid data types: |
39
|
|
|
|
|
|
|
string, number, string array or data map. Each C<AttributeValue> object |
40
|
|
|
|
|
|
|
can use only one of the available properties. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 N => Num |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
For number values, expressed as double. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 S => Str |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
For single string values. Maximum string length is 100 characters. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 SDM => L<Paws::GameLift::StringDoubleMap> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
For a map of up to 10 type:value pairs. Maximum length for each string |
58
|
|
|
|
|
|
|
value is 100 characters. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 SL => ArrayRef[Str|Undef] |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
For a list of up to 10 strings. Maximum length for each string is 100 |
64
|
|
|
|
|
|
|
characters. Duplicate values are not recognized; all occurrences of the |
65
|
|
|
|
|
|
|
repeated value after the first of a repeated value are ignored. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 SEE ALSO |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::GameLift> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=cut |
80
|
|
|
|
|
|
|
|