File Coverage

blib/lib/Paws/CloudSearch/DoubleOptions.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudSearch::DoubleOptions;
2 1     1   332 use Moose;
  1         3  
  1         6  
3             has DefaultValue => (is => 'ro', isa => 'Num');
4             has FacetEnabled => (is => 'ro', isa => 'Bool');
5             has ReturnEnabled => (is => 'ro', isa => 'Bool');
6             has SearchEnabled => (is => 'ro', isa => 'Bool');
7             has SortEnabled => (is => 'ro', isa => 'Bool');
8             has SourceField => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudSearch::DoubleOptions
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CloudSearch::DoubleOptions object:
27              
28             $service_obj->Method(Att1 => { DefaultValue => $value, ..., SourceField => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudSearch::DoubleOptions object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->DefaultValue
36              
37             =head1 DESCRIPTION
38              
39             Options for a double-precision 64-bit floating point field. Present if
40             C<IndexFieldType> specifies the field is of type C<double>. All options
41             are enabled by default.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 DefaultValue => Num
47              
48             A value to use for the field if the field isn't specified for a
49             document. This can be important if you are using the field in an
50             expression and that field is not present in every document.
51              
52              
53             =head2 FacetEnabled => Bool
54              
55             Whether facet information can be returned for the field.
56              
57              
58             =head2 ReturnEnabled => Bool
59              
60             Whether the contents of the field can be returned in the search
61             results.
62              
63              
64             =head2 SearchEnabled => Bool
65              
66             Whether the contents of the field are searchable.
67              
68              
69             =head2 SortEnabled => Bool
70              
71             Whether the field can be used to sort the search results.
72              
73              
74             =head2 SourceField => Str
75              
76             The name of the source field to map to the field.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::CloudSearch>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91