1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18class Google_Service_Dfareporting_CustomEvent extends Google_Collection
19{
20  protected $collection_key = 'customVariables';
21  protected $annotateClickEventType = 'Google_Service_Dfareporting_CustomEventClickAnnotation';
22  protected $annotateClickEventDataType = '';
23  protected $annotateImpressionEventType = 'Google_Service_Dfareporting_CustomEventImpressionAnnotation';
24  protected $annotateImpressionEventDataType = '';
25  protected $customVariablesType = 'Google_Service_Dfareporting_CustomVariable';
26  protected $customVariablesDataType = 'array';
27  public $eventType;
28  public $floodlightConfigurationId;
29  protected $insertEventType = 'Google_Service_Dfareporting_CustomEventInsert';
30  protected $insertEventDataType = '';
31  public $kind;
32  public $ordinal;
33  public $timestampMicros;
34
35  /**
36   * @param Google_Service_Dfareporting_CustomEventClickAnnotation
37   */
38  public function setAnnotateClickEvent(Google_Service_Dfareporting_CustomEventClickAnnotation $annotateClickEvent)
39  {
40    $this->annotateClickEvent = $annotateClickEvent;
41  }
42  /**
43   * @return Google_Service_Dfareporting_CustomEventClickAnnotation
44   */
45  public function getAnnotateClickEvent()
46  {
47    return $this->annotateClickEvent;
48  }
49  /**
50   * @param Google_Service_Dfareporting_CustomEventImpressionAnnotation
51   */
52  public function setAnnotateImpressionEvent(Google_Service_Dfareporting_CustomEventImpressionAnnotation $annotateImpressionEvent)
53  {
54    $this->annotateImpressionEvent = $annotateImpressionEvent;
55  }
56  /**
57   * @return Google_Service_Dfareporting_CustomEventImpressionAnnotation
58   */
59  public function getAnnotateImpressionEvent()
60  {
61    return $this->annotateImpressionEvent;
62  }
63  /**
64   * @param Google_Service_Dfareporting_CustomVariable[]
65   */
66  public function setCustomVariables($customVariables)
67  {
68    $this->customVariables = $customVariables;
69  }
70  /**
71   * @return Google_Service_Dfareporting_CustomVariable[]
72   */
73  public function getCustomVariables()
74  {
75    return $this->customVariables;
76  }
77  public function setEventType($eventType)
78  {
79    $this->eventType = $eventType;
80  }
81  public function getEventType()
82  {
83    return $this->eventType;
84  }
85  public function setFloodlightConfigurationId($floodlightConfigurationId)
86  {
87    $this->floodlightConfigurationId = $floodlightConfigurationId;
88  }
89  public function getFloodlightConfigurationId()
90  {
91    return $this->floodlightConfigurationId;
92  }
93  /**
94   * @param Google_Service_Dfareporting_CustomEventInsert
95   */
96  public function setInsertEvent(Google_Service_Dfareporting_CustomEventInsert $insertEvent)
97  {
98    $this->insertEvent = $insertEvent;
99  }
100  /**
101   * @return Google_Service_Dfareporting_CustomEventInsert
102   */
103  public function getInsertEvent()
104  {
105    return $this->insertEvent;
106  }
107  public function setKind($kind)
108  {
109    $this->kind = $kind;
110  }
111  public function getKind()
112  {
113    return $this->kind;
114  }
115  public function setOrdinal($ordinal)
116  {
117    $this->ordinal = $ordinal;
118  }
119  public function getOrdinal()
120  {
121    return $this->ordinal;
122  }
123  public function setTimestampMicros($timestampMicros)
124  {
125    $this->timestampMicros = $timestampMicros;
126  }
127  public function getTimestampMicros()
128  {
129    return $this->timestampMicros;
130  }
131}
132