File Coverage

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