File Coverage

blib/lib/Yahoo/Marketing/APT/AdGroup.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::AdGroup;
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   55314 use strict; use warnings;
  1     1   2  
  1         38  
  1         5  
  1         2  
  1         31  
6              
7 1     1   5 use base qw/Yahoo::Marketing::ComplexType/;
  1         2  
  1         877  
8              
9             =head1 NAME
10              
11             Yahoo::Marketing::APT::AdGroup - a data object to represent a AdGroup.
12              
13             =cut
14              
15             sub _user_setable_attributes {
16             return ( qw/
17             ID
18             accountID
19             adOptimization
20             buyType
21             createTimestamp
22             lastUpdateTimestamp
23             name
24             nonGuaranteedSettings
25             orderID
26             status
27             / );
28             }
29              
30             sub _read_only_attributes {
31             return ( qw/
32             / );
33             }
34              
35             __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes,
36             __PACKAGE__->_read_only_attributes
37             );
38              
39              
40             1;
41             =head1 SYNOPSIS
42              
43             See L for documentation of the various data objects.
44              
45              
46             =cut
47              
48             =head1 METHODS
49              
50             =head2 new
51              
52             Creates a new instance
53              
54             =head2 get/set methods
55              
56             =over 8
57              
58             ID
59             accountID
60             adOptimization
61             buyType
62             createTimestamp
63             lastUpdateTimestamp
64             name
65             nonGuaranteedSettings
66             orderID
67             status
68              
69             =back
70              
71             =head2 get (read only) methods
72              
73             =over 8
74              
75              
76             =back
77              
78             =cut
79