File Coverage

blib/lib/Paws/Pinpoint/SegmentResponse.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::Pinpoint::SegmentResponse;
2 1     1   581 use Moose;
  1         5  
  1         13  
3             has ApplicationId => (is => 'ro', isa => 'Str');
4             has CreationDate => (is => 'ro', isa => 'Str');
5             has Dimensions => (is => 'ro', isa => 'Paws::Pinpoint::SegmentDimensions');
6             has Id => (is => 'ro', isa => 'Str');
7             has ImportDefinition => (is => 'ro', isa => 'Paws::Pinpoint::SegmentImportResource');
8             has LastModifiedDate => (is => 'ro', isa => 'Str');
9             has Name => (is => 'ro', isa => 'Str');
10             has SegmentType => (is => 'ro', isa => 'Str');
11             has Version => (is => 'ro', isa => 'Int');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::Pinpoint::SegmentResponse
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::Pinpoint::SegmentResponse object:
30              
31             $service_obj->Method(Att1 => { ApplicationId => $value, ..., Version => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::SegmentResponse object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->ApplicationId
39              
40             =head1 DESCRIPTION
41              
42             Segment definition.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 ApplicationId => Str
48              
49             The ID of the application to which the segment applies.
50              
51              
52             =head2 CreationDate => Str
53              
54             The date the segment was created in ISO 8601 format.
55              
56              
57             =head2 Dimensions => L<Paws::Pinpoint::SegmentDimensions>
58              
59             The segment dimensions attributes.
60              
61              
62             =head2 Id => Str
63              
64             The unique segment ID.
65              
66              
67             =head2 ImportDefinition => L<Paws::Pinpoint::SegmentImportResource>
68              
69             The import job settings.
70              
71              
72             =head2 LastModifiedDate => Str
73              
74             The date the segment was last updated in ISO 8601 format.
75              
76              
77             =head2 Name => Str
78              
79             The name of segment
80              
81              
82             =head2 SegmentType => Str
83              
84             The segment type: DIMENSIONAL - A dynamic segment built from selection
85             criteria based on endpoint data reported by your app. You create this
86             type of segment by using the segment builder in the Amazon Pinpoint
87             console or by making a POST request to the segments resource. IMPORT -
88             A static segment built from an imported set of endpoint definitions.
89             You create this type of segment by importing a segment in the Amazon
90             Pinpoint console or by making a POST request to the jobs/import
91             resource.
92              
93              
94             =head2 Version => Int
95              
96             The segment version number.
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111