File Coverage

blib/lib/Paws/CloudSearch/TextOptions.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::TextOptions;
2 1     1   336 use Moose;
  1         3  
  1         6  
3             has AnalysisScheme => (is => 'ro', isa => 'Str');
4             has DefaultValue => (is => 'ro', isa => 'Str');
5             has HighlightEnabled => (is => 'ro', isa => 'Bool');
6             has ReturnEnabled => (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::TextOptions
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::TextOptions object:
27              
28             $service_obj->Method(Att1 => { AnalysisScheme => $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::TextOptions object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AnalysisScheme
36              
37             =head1 DESCRIPTION
38              
39             Options for text field. Present if C<IndexFieldType> specifies the
40             field is of type C<text>. A C<text> field is always searchable. All
41             options are enabled by default.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AnalysisScheme => Str
47              
48             The name of an analysis scheme for a C<text> field.
49              
50              
51             =head2 DefaultValue => Str
52              
53             A value to use for the field if the field isn't specified for a
54             document.
55              
56              
57             =head2 HighlightEnabled => Bool
58              
59             Whether highlights can be returned for the field.
60              
61              
62             =head2 ReturnEnabled => Bool
63              
64             Whether the contents of the field can be returned in the search
65             results.
66              
67              
68             =head2 SortEnabled => Bool
69              
70             Whether the field can be used to sort the search results.
71              
72              
73             =head2 SourceField => Str
74              
75            
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, describing an object used in L<Paws::CloudSearch>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut
90