« blib/lib/Google/Ads/AdWords/v201402/AdSchedule.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201402/AdScheduleTargetList.pm »
| 1 | package Google::Ads::AdWords::v201402::AdScheduleTarget; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }; | ||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | sub __get_attr_class { | ||
| 14 | return $XML_ATTRIBUTE_CLASS; | ||
| 15 | } | ||
| 16 | |||
| 17 | |||
| 18 | use base qw(Google::Ads::AdWords::v201402::Target); | ||
| 19 | # Variety: sequence | ||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 22 | |||
| 23 | Class::Std::initialize(); | ||
| 24 | |||
| 25 | { # BLOCK to scope variables | ||
| 26 | |||
| 27 | my %Target__Type_of :ATTR(:get<Target__Type>); | ||
| 28 | my %dayOfWeek_of :ATTR(:get<dayOfWeek>); | ||
| 29 | my %startHour_of :ATTR(:get<startHour>); | ||
| 30 | my %startMinute_of :ATTR(:get<startMinute>); | ||
| 31 | my %endHour_of :ATTR(:get<endHour>); | ||
| 32 | my %endMinute_of :ATTR(:get<endMinute>); | ||
| 33 | my %bidMultiplier_of :ATTR(:get<bidMultiplier>); | ||
| 34 | |||
| 35 | __PACKAGE__->_factory( | ||
| 36 | [ qw( Target__Type | ||
| 37 | dayOfWeek | ||
| 38 | startHour | ||
| 39 | startMinute | ||
| 40 | endHour | ||
| 41 | endMinute | ||
| 42 | bidMultiplier | ||
| 43 | |||
| 44 | ) ], | ||
| 45 | { | ||
| 46 | 'Target__Type' => \%Target__Type_of, | ||
| 47 | 'dayOfWeek' => \%dayOfWeek_of, | ||
| 48 | 'startHour' => \%startHour_of, | ||
| 49 | 'startMinute' => \%startMinute_of, | ||
| 50 | 'endHour' => \%endHour_of, | ||
| 51 | 'endMinute' => \%endMinute_of, | ||
| 52 | 'bidMultiplier' => \%bidMultiplier_of, | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | 'Target__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 56 | 'dayOfWeek' => 'Google::Ads::AdWords::v201402::DayOfWeek', | ||
| 57 | 'startHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 58 | 'startMinute' => 'Google::Ads::AdWords::v201402::MinuteOfHour', | ||
| 59 | 'endHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 60 | 'endMinute' => 'Google::Ads::AdWords::v201402::MinuteOfHour', | ||
| 61 | 'bidMultiplier' => 'SOAP::WSDL::XSD::Typelib::Builtin::double', | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | |||
| 65 | 'Target__Type' => 'Target.Type', | ||
| 66 | 'dayOfWeek' => 'dayOfWeek', | ||
| 67 | 'startHour' => 'startHour', | ||
| 68 | 'startMinute' => 'startMinute', | ||
| 69 | 'endHour' => 'endHour', | ||
| 70 | 'endMinute' => 'endMinute', | ||
| 71 | 'bidMultiplier' => 'bidMultiplier', | ||
| 72 | } | ||
| 73 | ); | ||
| 74 | |||
| 75 | } # end BLOCK | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | 1; | ||
| 84 | |||
| 85 | |||
| 86 | =pod | ||
| 87 | |||
| 88 | =head1 NAME | ||
| 89 | |||
| 90 | Google::Ads::AdWords::v201402::AdScheduleTarget | ||
| 91 | |||
| 92 | =head1 DESCRIPTION | ||
| 93 | |||
| 94 | Perl data type class for the XML Schema defined complexType | ||
| 95 | AdScheduleTarget from the namespace https://adwords.google.com/api/adwords/cm/v201402. | ||
| 96 | |||
| 97 | Immutable structure to hold an ad schedule target. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 PROPERTIES | ||
| 103 | |||
| 104 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 105 | methods: | ||
| 106 | |||
| 107 | =over | ||
| 108 | |||
| 109 | =item * dayOfWeek | ||
| 110 | |||
| 111 | |||
| 112 | =item * startHour | ||
| 113 | |||
| 114 | |||
| 115 | =item * startMinute | ||
| 116 | |||
| 117 | |||
| 118 | =item * endHour | ||
| 119 | |||
| 120 | |||
| 121 | =item * endMinute | ||
| 122 | |||
| 123 | |||
| 124 | =item * bidMultiplier | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | =back | ||
| 130 | |||
| 131 | |||
| 132 | =head1 METHODS | ||
| 133 | |||
| 134 | =head2 new | ||
| 135 | |||
| 136 | Constructor. The following data structure may be passed to new(): | ||
| 137 | |||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | =head1 AUTHOR | ||
| 144 | |||
| 145 | Generated by SOAP::WSDL | ||
| 146 | |||
| 147 | =cut | ||
| 148 |