File Coverage

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