File Coverage

blib/lib/Yahoo/Marketing/APT/CustomSegment.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Yahoo::Marketing::APT::CustomSegment;
2             # Copyright (c) 2010 Yahoo! Inc. All rights reserved.
3             # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997)
4              
5 1     1   81076 use strict; use warnings;
  1     1   2  
  1         44  
  1         7  
  1         2  
  1         38  
6              
7 1     1   6 use base qw/Yahoo::Marketing::ComplexType/;
  1         2  
  1         1477  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::APT::CustomSegment - a data object to represent a CustomSegment.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             ID
18             accountID
19             activationTimestamp
20             audienceSegmentCategoryID
21             createTimestamp
22             deactivationTimestamp
23             description
24             lastUpdateTimestamp
25             name
26             status
27             visitDefinition
28             visitFrequency
29             / );
30             }
31              
32             sub _read_only_attributes {
33             return ( qw/
34             / );
35             }
36              
37             __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
38             __PACKAGE__->_read_only_attributes
39             );
40              
41              
42             1;
43             =head1 SYNOPSIS
44              
45             See L for documentation of the various data objects.
46              
47              
48             =cut
49              
50             =head1 METHODS
51              
52             =head2 new
53              
54             Creates a new instance
55              
56             =head2 get/set methods
57              
58             =over 8
59              
60             ID
61             accountID
62             activationTimestamp
63             audienceSegmentCategoryID
64             createTimestamp
65             deactivationTimestamp
66             description
67             lastUpdateTimestamp
68             name
69             status
70             visitDefinition
71             visitFrequency
72              
73             =back
74              
75             =head2 get (read only) methods
76              
77             =over 8
78              
79              
80             =back
81              
82             =cut
83