Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 1
<?php
2
/*
3
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4
 * use this file except in compliance with the License. You may obtain a copy of
5
 * the License at
6
 *
7
 * http://www.apache.org/licenses/LICENSE-2.0
8
 *
9
 * Unless required by applicable law or agreed to in writing, software
10
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
 * License for the specific language governing permissions and limitations under
13
 * the License.
14
 */
15
 
16
 
17
  /**
18
   * The "management" collection of methods.
19
   * Typical usage is:
20
   *  <code>
21
   *   $analyticsService = new Google_AnalyticsService(...);
22
   *   $management = $analyticsService->management;
23
   *  </code>
24
   */
25
  class Google_ManagementServiceResource extends Google_ServiceResource {
26
 
27
 
28
  }
29
 
30
  /**
31
   * The "webproperties" collection of methods.
32
   * Typical usage is:
33
   *  <code>
34
   *   $analyticsService = new Google_AnalyticsService(...);
35
   *   $webproperties = $analyticsService->webproperties;
36
   *  </code>
37
   */
38
  class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource {
39
 
40
 
41
    /**
42
     * Lists web properties to which the user has access. (webproperties.list)
43
     *
44
     * @param string $accountId Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
45
     * @param array $optParams Optional parameters.
46
     *
47
     * @opt_param int max-results The maximum number of web properties to include in this response.
48
     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
49
     * @return Google_Webproperties
50
     */
51
    public function listManagementWebproperties($accountId, $optParams = array()) {
52
      $params = array('accountId' => $accountId);
53
      $params = array_merge($params, $optParams);
54
      $data = $this->__call('list', array($params));
55
      if ($this->useObjects()) {
56
        return new Google_Webproperties($data);
57
      } else {
58
        return $data;
59
      }
60
    }
61
  }
62
  /**
63
   * The "segments" collection of methods.
64
   * Typical usage is:
65
   *  <code>
66
   *   $analyticsService = new Google_AnalyticsService(...);
67
   *   $segments = $analyticsService->segments;
68
   *  </code>
69
   */
70
  class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
71
 
72
 
73
    /**
74
     * Lists advanced segments to which the user has access. (segments.list)
75
     *
76
     * @param array $optParams Optional parameters.
77
     *
78
     * @opt_param int max-results The maximum number of advanced segments to include in this response.
79
     * @opt_param int start-index An index of the first advanced segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
80
     * @return Google_Segments
81
     */
82
    public function listManagementSegments($optParams = array()) {
83
      $params = array();
84
      $params = array_merge($params, $optParams);
85
      $data = $this->__call('list', array($params));
86
      if ($this->useObjects()) {
87
        return new Google_Segments($data);
88
      } else {
89
        return $data;
90
      }
91
    }
92
  }
93
  /**
94
   * The "accounts" collection of methods.
95
   * Typical usage is:
96
   *  <code>
97
   *   $analyticsService = new Google_AnalyticsService(...);
98
   *   $accounts = $analyticsService->accounts;
99
   *  </code>
100
   */
101
  class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
102
 
103
 
104
    /**
105
     * Lists all accounts to which the user has access. (accounts.list)
106
     *
107
     * @param array $optParams Optional parameters.
108
     *
109
     * @opt_param int max-results The maximum number of accounts to include in this response.
110
     * @opt_param int start-index An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
111
     * @return Google_Accounts
112
     */
113
    public function listManagementAccounts($optParams = array()) {
114
      $params = array();
115
      $params = array_merge($params, $optParams);
116
      $data = $this->__call('list', array($params));
117
      if ($this->useObjects()) {
118
        return new Google_Accounts($data);
119
      } else {
120
        return $data;
121
      }
122
    }
123
  }
124
  /**
125
   * The "goals" collection of methods.
126
   * Typical usage is:
127
   *  <code>
128
   *   $analyticsService = new Google_AnalyticsService(...);
129
   *   $goals = $analyticsService->goals;
130
   *  </code>
131
   */
132
  class Google_ManagementGoalsServiceResource extends Google_ServiceResource {
133
 
134
 
135
    /**
136
     * Lists goals to which the user has access. (goals.list)
137
     *
138
     * @param string $accountId Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
139
     * @param string $webPropertyId Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.
140
     * @param string $profileId Profile ID to retrieve goals for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.
141
     * @param array $optParams Optional parameters.
142
     *
143
     * @opt_param int max-results The maximum number of goals to include in this response.
144
     * @opt_param int start-index An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
145
     * @return Google_Goals
146
     */
147
    public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) {
148
      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
149
      $params = array_merge($params, $optParams);
150
      $data = $this->__call('list', array($params));
151
      if ($this->useObjects()) {
152
        return new Google_Goals($data);
153
      } else {
154
        return $data;
155
      }
156
    }
157
  }
158
  /**
159
   * The "profiles" collection of methods.
160
   * Typical usage is:
161
   *  <code>
162
   *   $analyticsService = new Google_AnalyticsService(...);
163
   *   $profiles = $analyticsService->profiles;
164
   *  </code>
165
   */
166
  class Google_ManagementProfilesServiceResource extends Google_ServiceResource {
167
 
168
 
169
    /**
170
     * Lists profiles to which the user has access. (profiles.list)
171
     *
172
     * @param string $accountId Account ID for the profiles to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.
173
     * @param string $webPropertyId Web property ID for the profiles to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access.
174
     * @param array $optParams Optional parameters.
175
     *
176
     * @opt_param int max-results The maximum number of profiles to include in this response.
177
     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
178
     * @return Google_Profiles
179
     */
180
    public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) {
181
      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
182
      $params = array_merge($params, $optParams);
183
      $data = $this->__call('list', array($params));
184
      if ($this->useObjects()) {
185
        return new Google_Profiles($data);
186
      } else {
187
        return $data;
188
      }
189
    }
190
  }
191
 
192
  /**
193
   * The "data" collection of methods.
194
   * Typical usage is:
195
   *  <code>
196
   *   $analyticsService = new Google_AnalyticsService(...);
197
   *   $data = $analyticsService->data;
198
   *  </code>
199
   */
200
  class Google_DataServiceResource extends Google_ServiceResource {
201
 
202
 
203
  }
204
 
205
  /**
206
   * The "mcf" collection of methods.
207
   * Typical usage is:
208
   *  <code>
209
   *   $analyticsService = new Google_AnalyticsService(...);
210
   *   $mcf = $analyticsService->mcf;
211
   *  </code>
212
   */
213
  class Google_DataMcfServiceResource extends Google_ServiceResource {
214
 
215
 
216
    /**
217
     * Returns Analytics Multi-Channel Funnels data for a profile. (mcf.get)
218
     *
219
     * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics profile ID.
220
     * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
221
     * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
222
     * @param string $metrics A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
223
     * @param array $optParams Optional parameters.
224
     *
225
     * @opt_param int max-results The maximum number of entries to include in this feed.
226
     * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
227
     * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
228
     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
229
     * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
230
     * @return Google_McfData
231
     */
232
    public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
233
      $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
234
      $params = array_merge($params, $optParams);
235
      $data = $this->__call('get', array($params));
236
      if ($this->useObjects()) {
237
        return new Google_McfData($data);
238
      } else {
239
        return $data;
240
      }
241
    }
242
  }
243
  /**
244
   * The "ga" collection of methods.
245
   * Typical usage is:
246
   *  <code>
247
   *   $analyticsService = new Google_AnalyticsService(...);
248
   *   $ga = $analyticsService->ga;
249
   *  </code>
250
   */
251
  class Google_DataGaServiceResource extends Google_ServiceResource {
252
 
253
 
254
    /**
255
     * Returns Analytics data for a profile. (ga.get)
256
     *
257
     * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics profile ID.
258
     * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
259
     * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
260
     * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
261
     * @param array $optParams Optional parameters.
262
     *
263
     * @opt_param int max-results The maximum number of entries to include in this feed.
264
     * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
265
     * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
266
     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
267
     * @opt_param string segment An Analytics advanced segment to be applied to data.
268
     * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
269
     * @return Google_GaData
270
     */
271
    public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
272
      $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
273
      $params = array_merge($params, $optParams);
274
      $data = $this->__call('get', array($params));
275
      if ($this->useObjects()) {
276
        return new Google_GaData($data);
277
      } else {
278
        return $data;
279
      }
280
    }
281
  }
282
 
283
/**
284
 * Service definition for Google_Analytics (v3).
285
 *
286
 * <p>
287
 * View and manage your Google Analytics data
288
 * </p>
289
 *
290
 * <p>
291
 * For more information about this service, see the
292
 * <a href="http://code.google.com/apis/analytics" target="_blank">API Documentation</a>
293
 * </p>
294
 *
295
 * @author Google, Inc.
296
 */
297
class Google_AnalyticsService extends Google_Service {
298
  public $management_webproperties;
299
  public $management_segments;
300
  public $management_accounts;
301
  public $management_goals;
302
  public $management_profiles;
303
  public $data_mcf;
304
  public $data_ga;
305
  /**
306
   * Constructs the internal representation of the Analytics service.
307
   *
308
   * @param Google_Client $client
309
   */
310
  public function __construct(Google_Client $client) {
311
    $this->servicePath = 'analytics/v3/';
312
    $this->version = 'v3';
313
    $this->serviceName = 'analytics';
314
 
315
    $client->addService($this->serviceName, $this->version);
316
    $this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.webproperties.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties", "response": {"$ref": "Webproperties"}}}}', true));
317
    $this->management_segments = new Google_ManagementSegmentsServiceResource($this, $this->serviceName, 'segments', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Segments"}, "httpMethod": "GET", "path": "management/segments", "id": "analytics.management.segments.list"}}}', true));
318
    $this->management_accounts = new Google_ManagementAccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Accounts"}, "httpMethod": "GET", "path": "management/accounts", "id": "analytics.management.accounts.list"}}}', true));
319
    $this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "profileId": {"required": true, "type": "string", "location": "path"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.goals.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "response": {"$ref": "Goals"}}}}', true));
320
    $this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.profiles.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "response": {"$ref": "Profiles"}}}}', true));
321
    $this->data_mcf = new Google_DataMcfServiceResource($this, $this->serviceName, 'mcf', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.mcf.get", "httpMethod": "GET", "path": "data/mcf", "response": {"$ref": "McfData"}}}}', true));
322
    $this->data_ga = new Google_DataGaServiceResource($this, $this->serviceName, 'ga', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "segment": {"type": "string", "location": "query"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.ga.get", "httpMethod": "GET", "path": "data/ga", "response": {"$ref": "GaData"}}}}', true));
323
 
324
  }
325
}
326
 
327
class Google_Account extends Google_Model {
328
  public $kind;
329
  public $name;
330
  public $created;
331
  public $updated;
332
  protected $__childLinkType = 'Google_AccountChildLink';
333
  protected $__childLinkDataType = '';
334
  public $childLink;
335
  public $id;
336
  public $selfLink;
337
  public function setKind($kind) {
338
    $this->kind = $kind;
339
  }
340
  public function getKind() {
341
    return $this->kind;
342
  }
343
  public function setName($name) {
344
    $this->name = $name;
345
  }
346
  public function getName() {
347
    return $this->name;
348
  }
349
  public function setCreated($created) {
350
    $this->created = $created;
351
  }
352
  public function getCreated() {
353
    return $this->created;
354
  }
355
  public function setUpdated($updated) {
356
    $this->updated = $updated;
357
  }
358
  public function getUpdated() {
359
    return $this->updated;
360
  }
361
  public function setChildLink(Google_AccountChildLink $childLink) {
362
    $this->childLink = $childLink;
363
  }
364
  public function getChildLink() {
365
    return $this->childLink;
366
  }
367
  public function setId($id) {
368
    $this->id = $id;
369
  }
370
  public function getId() {
371
    return $this->id;
372
  }
373
  public function setSelfLink($selfLink) {
374
    $this->selfLink = $selfLink;
375
  }
376
  public function getSelfLink() {
377
    return $this->selfLink;
378
  }
379
}
380
 
381
class Google_AccountChildLink extends Google_Model {
382
  public $href;
383
  public $type;
384
  public function setHref($href) {
385
    $this->href = $href;
386
  }
387
  public function getHref() {
388
    return $this->href;
389
  }
390
  public function setType($type) {
391
    $this->type = $type;
392
  }
393
  public function getType() {
394
    return $this->type;
395
  }
396
}
397
 
398
class Google_Accounts extends Google_Model {
399
  public $username;
400
  public $kind;
401
  protected $__itemsType = 'Google_Account';
402
  protected $__itemsDataType = 'array';
403
  public $items;
404
  public $itemsPerPage;
405
  public $previousLink;
406
  public $startIndex;
407
  public $nextLink;
408
  public $totalResults;
409
  public function setUsername($username) {
410
    $this->username = $username;
411
  }
412
  public function getUsername() {
413
    return $this->username;
414
  }
415
  public function setKind($kind) {
416
    $this->kind = $kind;
417
  }
418
  public function getKind() {
419
    return $this->kind;
420
  }
421
  public function setItems(/* array(Google_Account) */ $items) {
422
    $this->assertIsArray($items, 'Google_Account', __METHOD__);
423
    $this->items = $items;
424
  }
425
  public function getItems() {
426
    return $this->items;
427
  }
428
  public function setItemsPerPage($itemsPerPage) {
429
    $this->itemsPerPage = $itemsPerPage;
430
  }
431
  public function getItemsPerPage() {
432
    return $this->itemsPerPage;
433
  }
434
  public function setPreviousLink($previousLink) {
435
    $this->previousLink = $previousLink;
436
  }
437
  public function getPreviousLink() {
438
    return $this->previousLink;
439
  }
440
  public function setStartIndex($startIndex) {
441
    $this->startIndex = $startIndex;
442
  }
443
  public function getStartIndex() {
444
    return $this->startIndex;
445
  }
446
  public function setNextLink($nextLink) {
447
    $this->nextLink = $nextLink;
448
  }
449
  public function getNextLink() {
450
    return $this->nextLink;
451
  }
452
  public function setTotalResults($totalResults) {
453
    $this->totalResults = $totalResults;
454
  }
455
  public function getTotalResults() {
456
    return $this->totalResults;
457
  }
458
}
459
 
460
class Google_GaData extends Google_Model {
461
  public $kind;
462
  public $rows;
463
  public $containsSampledData;
464
  public $totalResults;
465
  public $itemsPerPage;
466
  public $totalsForAllResults;
467
  public $nextLink;
468
  public $id;
469
  protected $__queryType = 'Google_GaDataQuery';
470
  protected $__queryDataType = '';
471
  public $query;
472
  public $previousLink;
473
  protected $__profileInfoType = 'Google_GaDataProfileInfo';
474
  protected $__profileInfoDataType = '';
475
  public $profileInfo;
476
  protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
477
  protected $__columnHeadersDataType = 'array';
478
  public $columnHeaders;
479
  public $selfLink;
480
  public function setKind($kind) {
481
    $this->kind = $kind;
482
  }
483
  public function getKind() {
484
    return $this->kind;
485
  }
486
  public function setRows(/* array(Google_string) */ $rows) {
487
    $this->assertIsArray($rows, 'Google_string', __METHOD__);
488
    $this->rows = $rows;
489
  }
490
  public function getRows() {
491
    return $this->rows;
492
  }
493
  public function setContainsSampledData($containsSampledData) {
494
    $this->containsSampledData = $containsSampledData;
495
  }
496
  public function getContainsSampledData() {
497
    return $this->containsSampledData;
498
  }
499
  public function setTotalResults($totalResults) {
500
    $this->totalResults = $totalResults;
501
  }
502
  public function getTotalResults() {
503
    return $this->totalResults;
504
  }
505
  public function setItemsPerPage($itemsPerPage) {
506
    $this->itemsPerPage = $itemsPerPage;
507
  }
508
  public function getItemsPerPage() {
509
    return $this->itemsPerPage;
510
  }
511
  public function setTotalsForAllResults($totalsForAllResults) {
512
    $this->totalsForAllResults = $totalsForAllResults;
513
  }
514
  public function getTotalsForAllResults() {
515
    return $this->totalsForAllResults;
516
  }
517
  public function setNextLink($nextLink) {
518
    $this->nextLink = $nextLink;
519
  }
520
  public function getNextLink() {
521
    return $this->nextLink;
522
  }
523
  public function setId($id) {
524
    $this->id = $id;
525
  }
526
  public function getId() {
527
    return $this->id;
528
  }
529
  public function setQuery(Google_GaDataQuery $query) {
530
    $this->query = $query;
531
  }
532
  public function getQuery() {
533
    return $this->query;
534
  }
535
  public function setPreviousLink($previousLink) {
536
    $this->previousLink = $previousLink;
537
  }
538
  public function getPreviousLink() {
539
    return $this->previousLink;
540
  }
541
  public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) {
542
    $this->profileInfo = $profileInfo;
543
  }
544
  public function getProfileInfo() {
545
    return $this->profileInfo;
546
  }
547
  public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) {
548
    $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
549
    $this->columnHeaders = $columnHeaders;
550
  }
551
  public function getColumnHeaders() {
552
    return $this->columnHeaders;
553
  }
554
  public function setSelfLink($selfLink) {
555
    $this->selfLink = $selfLink;
556
  }
557
  public function getSelfLink() {
558
    return $this->selfLink;
559
  }
560
}
561
 
562
class Google_GaDataColumnHeaders extends Google_Model {
563
  public $dataType;
564
  public $columnType;
565
  public $name;
566
  public function setDataType($dataType) {
567
    $this->dataType = $dataType;
568
  }
569
  public function getDataType() {
570
    return $this->dataType;
571
  }
572
  public function setColumnType($columnType) {
573
    $this->columnType = $columnType;
574
  }
575
  public function getColumnType() {
576
    return $this->columnType;
577
  }
578
  public function setName($name) {
579
    $this->name = $name;
580
  }
581
  public function getName() {
582
    return $this->name;
583
  }
584
}
585
 
586
class Google_GaDataProfileInfo extends Google_Model {
587
  public $webPropertyId;
588
  public $internalWebPropertyId;
589
  public $tableId;
590
  public $profileId;
591
  public $profileName;
592
  public $accountId;
593
  public function setWebPropertyId($webPropertyId) {
594
    $this->webPropertyId = $webPropertyId;
595
  }
596
  public function getWebPropertyId() {
597
    return $this->webPropertyId;
598
  }
599
  public function setInternalWebPropertyId($internalWebPropertyId) {
600
    $this->internalWebPropertyId = $internalWebPropertyId;
601
  }
602
  public function getInternalWebPropertyId() {
603
    return $this->internalWebPropertyId;
604
  }
605
  public function setTableId($tableId) {
606
    $this->tableId = $tableId;
607
  }
608
  public function getTableId() {
609
    return $this->tableId;
610
  }
611
  public function setProfileId($profileId) {
612
    $this->profileId = $profileId;
613
  }
614
  public function getProfileId() {
615
    return $this->profileId;
616
  }
617
  public function setProfileName($profileName) {
618
    $this->profileName = $profileName;
619
  }
620
  public function getProfileName() {
621
    return $this->profileName;
622
  }
623
  public function setAccountId($accountId) {
624
    $this->accountId = $accountId;
625
  }
626
  public function getAccountId() {
627
    return $this->accountId;
628
  }
629
}
630
 
631
class Google_GaDataQuery extends Google_Model {
632
  public $max_results;
633
  public $sort;
634
  public $dimensions;
635
  public $start_date;
636
  public $start_index;
637
  public $segment;
638
  public $ids;
639
  public $metrics;
640
  public $filters;
641
  public $end_date;
642
  public function setMax_results($max_results) {
643
    $this->max_results = $max_results;
644
  }
645
  public function getMax_results() {
646
    return $this->max_results;
647
  }
648
  public function setSort(/* array(Google_string) */ $sort) {
649
    $this->assertIsArray($sort, 'Google_string', __METHOD__);
650
    $this->sort = $sort;
651
  }
652
  public function getSort() {
653
    return $this->sort;
654
  }
655
  public function setDimensions($dimensions) {
656
    $this->dimensions = $dimensions;
657
  }
658
  public function getDimensions() {
659
    return $this->dimensions;
660
  }
661
  public function setStart_date($start_date) {
662
    $this->start_date = $start_date;
663
  }
664
  public function getStart_date() {
665
    return $this->start_date;
666
  }
667
  public function setStart_index($start_index) {
668
    $this->start_index = $start_index;
669
  }
670
  public function getStart_index() {
671
    return $this->start_index;
672
  }
673
  public function setSegment($segment) {
674
    $this->segment = $segment;
675
  }
676
  public function getSegment() {
677
    return $this->segment;
678
  }
679
  public function setIds($ids) {
680
    $this->ids = $ids;
681
  }
682
  public function getIds() {
683
    return $this->ids;
684
  }
685
  public function setMetrics(/* array(Google_string) */ $metrics) {
686
    $this->assertIsArray($metrics, 'Google_string', __METHOD__);
687
    $this->metrics = $metrics;
688
  }
689
  public function getMetrics() {
690
    return $this->metrics;
691
  }
692
  public function setFilters($filters) {
693
    $this->filters = $filters;
694
  }
695
  public function getFilters() {
696
    return $this->filters;
697
  }
698
  public function setEnd_date($end_date) {
699
    $this->end_date = $end_date;
700
  }
701
  public function getEnd_date() {
702
    return $this->end_date;
703
  }
704
}
705
 
706
class Google_Goal extends Google_Model {
707
  public $kind;
708
  protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
709
  protected $__visitTimeOnSiteDetailsDataType = '';
710
  public $visitTimeOnSiteDetails;
711
  public $name;
712
  public $created;
713
  protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
714
  protected $__urlDestinationDetailsDataType = '';
715
  public $urlDestinationDetails;
716
  public $updated;
717
  public $value;
718
  protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
719
  protected $__visitNumPagesDetailsDataType = '';
720
  public $visitNumPagesDetails;
721
  public $internalWebPropertyId;
722
  protected $__eventDetailsType = 'Google_GoalEventDetails';
723
  protected $__eventDetailsDataType = '';
724
  public $eventDetails;
725
  public $webPropertyId;
726
  public $active;
727
  public $profileId;
728
  protected $__parentLinkType = 'Google_GoalParentLink';
729
  protected $__parentLinkDataType = '';
730
  public $parentLink;
731
  public $type;
732
  public $id;
733
  public $selfLink;
734
  public $accountId;
735
  public function setKind($kind) {
736
    $this->kind = $kind;
737
  }
738
  public function getKind() {
739
    return $this->kind;
740
  }
741
  public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) {
742
    $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
743
  }
744
  public function getVisitTimeOnSiteDetails() {
745
    return $this->visitTimeOnSiteDetails;
746
  }
747
  public function setName($name) {
748
    $this->name = $name;
749
  }
750
  public function getName() {
751
    return $this->name;
752
  }
753
  public function setCreated($created) {
754
    $this->created = $created;
755
  }
756
  public function getCreated() {
757
    return $this->created;
758
  }
759
  public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) {
760
    $this->urlDestinationDetails = $urlDestinationDetails;
761
  }
762
  public function getUrlDestinationDetails() {
763
    return $this->urlDestinationDetails;
764
  }
765
  public function setUpdated($updated) {
766
    $this->updated = $updated;
767
  }
768
  public function getUpdated() {
769
    return $this->updated;
770
  }
771
  public function setValue($value) {
772
    $this->value = $value;
773
  }
774
  public function getValue() {
775
    return $this->value;
776
  }
777
  public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) {
778
    $this->visitNumPagesDetails = $visitNumPagesDetails;
779
  }
780
  public function getVisitNumPagesDetails() {
781
    return $this->visitNumPagesDetails;
782
  }
783
  public function setInternalWebPropertyId($internalWebPropertyId) {
784
    $this->internalWebPropertyId = $internalWebPropertyId;
785
  }
786
  public function getInternalWebPropertyId() {
787
    return $this->internalWebPropertyId;
788
  }
789
  public function setEventDetails(Google_GoalEventDetails $eventDetails) {
790
    $this->eventDetails = $eventDetails;
791
  }
792
  public function getEventDetails() {
793
    return $this->eventDetails;
794
  }
795
  public function setWebPropertyId($webPropertyId) {
796
    $this->webPropertyId = $webPropertyId;
797
  }
798
  public function getWebPropertyId() {
799
    return $this->webPropertyId;
800
  }
801
  public function setActive($active) {
802
    $this->active = $active;
803
  }
804
  public function getActive() {
805
    return $this->active;
806
  }
807
  public function setProfileId($profileId) {
808
    $this->profileId = $profileId;
809
  }
810
  public function getProfileId() {
811
    return $this->profileId;
812
  }
813
  public function setParentLink(Google_GoalParentLink $parentLink) {
814
    $this->parentLink = $parentLink;
815
  }
816
  public function getParentLink() {
817
    return $this->parentLink;
818
  }
819
  public function setType($type) {
820
    $this->type = $type;
821
  }
822
  public function getType() {
823
    return $this->type;
824
  }
825
  public function setId($id) {
826
    $this->id = $id;
827
  }
828
  public function getId() {
829
    return $this->id;
830
  }
831
  public function setSelfLink($selfLink) {
832
    $this->selfLink = $selfLink;
833
  }
834
  public function getSelfLink() {
835
    return $this->selfLink;
836
  }
837
  public function setAccountId($accountId) {
838
    $this->accountId = $accountId;
839
  }
840
  public function getAccountId() {
841
    return $this->accountId;
842
  }
843
}
844
 
845
class Google_GoalEventDetails extends Google_Model {
846
  protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
847
  protected $__eventConditionsDataType = 'array';
848
  public $eventConditions;
849
  public $useEventValue;
850
  public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) {
851
    $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
852
    $this->eventConditions = $eventConditions;
853
  }
854
  public function getEventConditions() {
855
    return $this->eventConditions;
856
  }
857
  public function setUseEventValue($useEventValue) {
858
    $this->useEventValue = $useEventValue;
859
  }
860
  public function getUseEventValue() {
861
    return $this->useEventValue;
862
  }
863
}
864
 
865
class Google_GoalEventDetailsEventConditions extends Google_Model {
866
  public $type;
867
  public $matchType;
868
  public $expression;
869
  public $comparisonType;
870
  public $comparisonValue;
871
  public function setType($type) {
872
    $this->type = $type;
873
  }
874
  public function getType() {
875
    return $this->type;
876
  }
877
  public function setMatchType($matchType) {
878
    $this->matchType = $matchType;
879
  }
880
  public function getMatchType() {
881
    return $this->matchType;
882
  }
883
  public function setExpression($expression) {
884
    $this->expression = $expression;
885
  }
886
  public function getExpression() {
887
    return $this->expression;
888
  }
889
  public function setComparisonType($comparisonType) {
890
    $this->comparisonType = $comparisonType;
891
  }
892
  public function getComparisonType() {
893
    return $this->comparisonType;
894
  }
895
  public function setComparisonValue($comparisonValue) {
896
    $this->comparisonValue = $comparisonValue;
897
  }
898
  public function getComparisonValue() {
899
    return $this->comparisonValue;
900
  }
901
}
902
 
903
class Google_GoalParentLink extends Google_Model {
904
  public $href;
905
  public $type;
906
  public function setHref($href) {
907
    $this->href = $href;
908
  }
909
  public function getHref() {
910
    return $this->href;
911
  }
912
  public function setType($type) {
913
    $this->type = $type;
914
  }
915
  public function getType() {
916
    return $this->type;
917
  }
918
}
919
 
920
class Google_GoalUrlDestinationDetails extends Google_Model {
921
  public $url;
922
  public $caseSensitive;
923
  public $matchType;
924
  protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
925
  protected $__stepsDataType = 'array';
926
  public $steps;
927
  public $firstStepRequired;
928
  public function setUrl($url) {
929
    $this->url = $url;
930
  }
931
  public function getUrl() {
932
    return $this->url;
933
  }
934
  public function setCaseSensitive($caseSensitive) {
935
    $this->caseSensitive = $caseSensitive;
936
  }
937
  public function getCaseSensitive() {
938
    return $this->caseSensitive;
939
  }
940
  public function setMatchType($matchType) {
941
    $this->matchType = $matchType;
942
  }
943
  public function getMatchType() {
944
    return $this->matchType;
945
  }
946
  public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) {
947
    $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
948
    $this->steps = $steps;
949
  }
950
  public function getSteps() {
951
    return $this->steps;
952
  }
953
  public function setFirstStepRequired($firstStepRequired) {
954
    $this->firstStepRequired = $firstStepRequired;
955
  }
956
  public function getFirstStepRequired() {
957
    return $this->firstStepRequired;
958
  }
959
}
960
 
961
class Google_GoalUrlDestinationDetailsSteps extends Google_Model {
962
  public $url;
963
  public $name;
964
  public $number;
965
  public function setUrl($url) {
966
    $this->url = $url;
967
  }
968
  public function getUrl() {
969
    return $this->url;
970
  }
971
  public function setName($name) {
972
    $this->name = $name;
973
  }
974
  public function getName() {
975
    return $this->name;
976
  }
977
  public function setNumber($number) {
978
    $this->number = $number;
979
  }
980
  public function getNumber() {
981
    return $this->number;
982
  }
983
}
984
 
985
class Google_GoalVisitNumPagesDetails extends Google_Model {
986
  public $comparisonType;
987
  public $comparisonValue;
988
  public function setComparisonType($comparisonType) {
989
    $this->comparisonType = $comparisonType;
990
  }
991
  public function getComparisonType() {
992
    return $this->comparisonType;
993
  }
994
  public function setComparisonValue($comparisonValue) {
995
    $this->comparisonValue = $comparisonValue;
996
  }
997
  public function getComparisonValue() {
998
    return $this->comparisonValue;
999
  }
1000
}
1001
 
1002
class Google_GoalVisitTimeOnSiteDetails extends Google_Model {
1003
  public $comparisonType;
1004
  public $comparisonValue;
1005
  public function setComparisonType($comparisonType) {
1006
    $this->comparisonType = $comparisonType;
1007
  }
1008
  public function getComparisonType() {
1009
    return $this->comparisonType;
1010
  }
1011
  public function setComparisonValue($comparisonValue) {
1012
    $this->comparisonValue = $comparisonValue;
1013
  }
1014
  public function getComparisonValue() {
1015
    return $this->comparisonValue;
1016
  }
1017
}
1018
 
1019
class Google_Goals extends Google_Model {
1020
  public $username;
1021
  public $kind;
1022
  protected $__itemsType = 'Google_Goal';
1023
  protected $__itemsDataType = 'array';
1024
  public $items;
1025
  public $itemsPerPage;
1026
  public $previousLink;
1027
  public $startIndex;
1028
  public $nextLink;
1029
  public $totalResults;
1030
  public function setUsername($username) {
1031
    $this->username = $username;
1032
  }
1033
  public function getUsername() {
1034
    return $this->username;
1035
  }
1036
  public function setKind($kind) {
1037
    $this->kind = $kind;
1038
  }
1039
  public function getKind() {
1040
    return $this->kind;
1041
  }
1042
  public function setItems(/* array(Google_Goal) */ $items) {
1043
    $this->assertIsArray($items, 'Google_Goal', __METHOD__);
1044
    $this->items = $items;
1045
  }
1046
  public function getItems() {
1047
    return $this->items;
1048
  }
1049
  public function setItemsPerPage($itemsPerPage) {
1050
    $this->itemsPerPage = $itemsPerPage;
1051
  }
1052
  public function getItemsPerPage() {
1053
    return $this->itemsPerPage;
1054
  }
1055
  public function setPreviousLink($previousLink) {
1056
    $this->previousLink = $previousLink;
1057
  }
1058
  public function getPreviousLink() {
1059
    return $this->previousLink;
1060
  }
1061
  public function setStartIndex($startIndex) {
1062
    $this->startIndex = $startIndex;
1063
  }
1064
  public function getStartIndex() {
1065
    return $this->startIndex;
1066
  }
1067
  public function setNextLink($nextLink) {
1068
    $this->nextLink = $nextLink;
1069
  }
1070
  public function getNextLink() {
1071
    return $this->nextLink;
1072
  }
1073
  public function setTotalResults($totalResults) {
1074
    $this->totalResults = $totalResults;
1075
  }
1076
  public function getTotalResults() {
1077
    return $this->totalResults;
1078
  }
1079
}
1080
 
1081
class Google_McfData extends Google_Model {
1082
  public $kind;
1083
  protected $__rowsType = 'Google_McfDataRows';
1084
  protected $__rowsDataType = 'array';
1085
  public $rows;
1086
  public $containsSampledData;
1087
  public $totalResults;
1088
  public $itemsPerPage;
1089
  public $totalsForAllResults;
1090
  public $nextLink;
1091
  public $id;
1092
  protected $__queryType = 'Google_McfDataQuery';
1093
  protected $__queryDataType = '';
1094
  public $query;
1095
  public $previousLink;
1096
  protected $__profileInfoType = 'Google_McfDataProfileInfo';
1097
  protected $__profileInfoDataType = '';
1098
  public $profileInfo;
1099
  protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
1100
  protected $__columnHeadersDataType = 'array';
1101
  public $columnHeaders;
1102
  public $selfLink;
1103
  public function setKind($kind) {
1104
    $this->kind = $kind;
1105
  }
1106
  public function getKind() {
1107
    return $this->kind;
1108
  }
1109
  public function setRows(/* array(Google_McfDataRows) */ $rows) {
1110
    $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
1111
    $this->rows = $rows;
1112
  }
1113
  public function getRows() {
1114
    return $this->rows;
1115
  }
1116
  public function setContainsSampledData($containsSampledData) {
1117
    $this->containsSampledData = $containsSampledData;
1118
  }
1119
  public function getContainsSampledData() {
1120
    return $this->containsSampledData;
1121
  }
1122
  public function setTotalResults($totalResults) {
1123
    $this->totalResults = $totalResults;
1124
  }
1125
  public function getTotalResults() {
1126
    return $this->totalResults;
1127
  }
1128
  public function setItemsPerPage($itemsPerPage) {
1129
    $this->itemsPerPage = $itemsPerPage;
1130
  }
1131
  public function getItemsPerPage() {
1132
    return $this->itemsPerPage;
1133
  }
1134
  public function setTotalsForAllResults($totalsForAllResults) {
1135
    $this->totalsForAllResults = $totalsForAllResults;
1136
  }
1137
  public function getTotalsForAllResults() {
1138
    return $this->totalsForAllResults;
1139
  }
1140
  public function setNextLink($nextLink) {
1141
    $this->nextLink = $nextLink;
1142
  }
1143
  public function getNextLink() {
1144
    return $this->nextLink;
1145
  }
1146
  public function setId($id) {
1147
    $this->id = $id;
1148
  }
1149
  public function getId() {
1150
    return $this->id;
1151
  }
1152
  public function setQuery(Google_McfDataQuery $query) {
1153
    $this->query = $query;
1154
  }
1155
  public function getQuery() {
1156
    return $this->query;
1157
  }
1158
  public function setPreviousLink($previousLink) {
1159
    $this->previousLink = $previousLink;
1160
  }
1161
  public function getPreviousLink() {
1162
    return $this->previousLink;
1163
  }
1164
  public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) {
1165
    $this->profileInfo = $profileInfo;
1166
  }
1167
  public function getProfileInfo() {
1168
    return $this->profileInfo;
1169
  }
1170
  public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) {
1171
    $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
1172
    $this->columnHeaders = $columnHeaders;
1173
  }
1174
  public function getColumnHeaders() {
1175
    return $this->columnHeaders;
1176
  }
1177
  public function setSelfLink($selfLink) {
1178
    $this->selfLink = $selfLink;
1179
  }
1180
  public function getSelfLink() {
1181
    return $this->selfLink;
1182
  }
1183
}
1184
 
1185
class Google_McfDataColumnHeaders extends Google_Model {
1186
  public $dataType;
1187
  public $columnType;
1188
  public $name;
1189
  public function setDataType($dataType) {
1190
    $this->dataType = $dataType;
1191
  }
1192
  public function getDataType() {
1193
    return $this->dataType;
1194
  }
1195
  public function setColumnType($columnType) {
1196
    $this->columnType = $columnType;
1197
  }
1198
  public function getColumnType() {
1199
    return $this->columnType;
1200
  }
1201
  public function setName($name) {
1202
    $this->name = $name;
1203
  }
1204
  public function getName() {
1205
    return $this->name;
1206
  }
1207
}
1208
 
1209
class Google_McfDataProfileInfo extends Google_Model {
1210
  public $webPropertyId;
1211
  public $internalWebPropertyId;
1212
  public $tableId;
1213
  public $profileId;
1214
  public $profileName;
1215
  public $accountId;
1216
  public function setWebPropertyId($webPropertyId) {
1217
    $this->webPropertyId = $webPropertyId;
1218
  }
1219
  public function getWebPropertyId() {
1220
    return $this->webPropertyId;
1221
  }
1222
  public function setInternalWebPropertyId($internalWebPropertyId) {
1223
    $this->internalWebPropertyId = $internalWebPropertyId;
1224
  }
1225
  public function getInternalWebPropertyId() {
1226
    return $this->internalWebPropertyId;
1227
  }
1228
  public function setTableId($tableId) {
1229
    $this->tableId = $tableId;
1230
  }
1231
  public function getTableId() {
1232
    return $this->tableId;
1233
  }
1234
  public function setProfileId($profileId) {
1235
    $this->profileId = $profileId;
1236
  }
1237
  public function getProfileId() {
1238
    return $this->profileId;
1239
  }
1240
  public function setProfileName($profileName) {
1241
    $this->profileName = $profileName;
1242
  }
1243
  public function getProfileName() {
1244
    return $this->profileName;
1245
  }
1246
  public function setAccountId($accountId) {
1247
    $this->accountId = $accountId;
1248
  }
1249
  public function getAccountId() {
1250
    return $this->accountId;
1251
  }
1252
}
1253
 
1254
class Google_McfDataQuery extends Google_Model {
1255
  public $max_results;
1256
  public $sort;
1257
  public $dimensions;
1258
  public $start_date;
1259
  public $start_index;
1260
  public $segment;
1261
  public $ids;
1262
  public $metrics;
1263
  public $filters;
1264
  public $end_date;
1265
  public function setMax_results($max_results) {
1266
    $this->max_results = $max_results;
1267
  }
1268
  public function getMax_results() {
1269
    return $this->max_results;
1270
  }
1271
  public function setSort(/* array(Google_string) */ $sort) {
1272
    $this->assertIsArray($sort, 'Google_string', __METHOD__);
1273
    $this->sort = $sort;
1274
  }
1275
  public function getSort() {
1276
    return $this->sort;
1277
  }
1278
  public function setDimensions($dimensions) {
1279
    $this->dimensions = $dimensions;
1280
  }
1281
  public function getDimensions() {
1282
    return $this->dimensions;
1283
  }
1284
  public function setStart_date($start_date) {
1285
    $this->start_date = $start_date;
1286
  }
1287
  public function getStart_date() {
1288
    return $this->start_date;
1289
  }
1290
  public function setStart_index($start_index) {
1291
    $this->start_index = $start_index;
1292
  }
1293
  public function getStart_index() {
1294
    return $this->start_index;
1295
  }
1296
  public function setSegment($segment) {
1297
    $this->segment = $segment;
1298
  }
1299
  public function getSegment() {
1300
    return $this->segment;
1301
  }
1302
  public function setIds($ids) {
1303
    $this->ids = $ids;
1304
  }
1305
  public function getIds() {
1306
    return $this->ids;
1307
  }
1308
  public function setMetrics(/* array(Google_string) */ $metrics) {
1309
    $this->assertIsArray($metrics, 'Google_string', __METHOD__);
1310
    $this->metrics = $metrics;
1311
  }
1312
  public function getMetrics() {
1313
    return $this->metrics;
1314
  }
1315
  public function setFilters($filters) {
1316
    $this->filters = $filters;
1317
  }
1318
  public function getFilters() {
1319
    return $this->filters;
1320
  }
1321
  public function setEnd_date($end_date) {
1322
    $this->end_date = $end_date;
1323
  }
1324
  public function getEnd_date() {
1325
    return $this->end_date;
1326
  }
1327
}
1328
 
1329
class Google_McfDataRows extends Google_Model {
1330
  public $primitiveValue;
1331
  protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
1332
  protected $__conversionPathValueDataType = 'array';
1333
  public $conversionPathValue;
1334
  public function setPrimitiveValue($primitiveValue) {
1335
    $this->primitiveValue = $primitiveValue;
1336
  }
1337
  public function getPrimitiveValue() {
1338
    return $this->primitiveValue;
1339
  }
1340
  public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) {
1341
    $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
1342
    $this->conversionPathValue = $conversionPathValue;
1343
  }
1344
  public function getConversionPathValue() {
1345
    return $this->conversionPathValue;
1346
  }
1347
}
1348
 
1349
class Google_McfDataRowsConversionPathValue extends Google_Model {
1350
  public $nodeValue;
1351
  public $interactionType;
1352
  public function setNodeValue($nodeValue) {
1353
    $this->nodeValue = $nodeValue;
1354
  }
1355
  public function getNodeValue() {
1356
    return $this->nodeValue;
1357
  }
1358
  public function setInteractionType($interactionType) {
1359
    $this->interactionType = $interactionType;
1360
  }
1361
  public function getInteractionType() {
1362
    return $this->interactionType;
1363
  }
1364
}
1365
 
1366
class Google_Profile extends Google_Model {
1367
  public $defaultPage;
1368
  public $kind;
1369
  public $excludeQueryParameters;
1370
  public $name;
1371
  public $created;
1372
  public $webPropertyId;
1373
  public $updated;
1374
  public $siteSearchQueryParameters;
1375
  public $currency;
1376
  public $internalWebPropertyId;
1377
  protected $__childLinkType = 'Google_ProfileChildLink';
1378
  protected $__childLinkDataType = '';
1379
  public $childLink;
1380
  public $timezone;
1381
  public $siteSearchCategoryParameters;
1382
  protected $__parentLinkType = 'Google_ProfileParentLink';
1383
  protected $__parentLinkDataType = '';
1384
  public $parentLink;
1385
  public $id;
1386
  public $selfLink;
1387
  public $accountId;
1388
  public function setDefaultPage($defaultPage) {
1389
    $this->defaultPage = $defaultPage;
1390
  }
1391
  public function getDefaultPage() {
1392
    return $this->defaultPage;
1393
  }
1394
  public function setKind($kind) {
1395
    $this->kind = $kind;
1396
  }
1397
  public function getKind() {
1398
    return $this->kind;
1399
  }
1400
  public function setExcludeQueryParameters($excludeQueryParameters) {
1401
    $this->excludeQueryParameters = $excludeQueryParameters;
1402
  }
1403
  public function getExcludeQueryParameters() {
1404
    return $this->excludeQueryParameters;
1405
  }
1406
  public function setName($name) {
1407
    $this->name = $name;
1408
  }
1409
  public function getName() {
1410
    return $this->name;
1411
  }
1412
  public function setCreated($created) {
1413
    $this->created = $created;
1414
  }
1415
  public function getCreated() {
1416
    return $this->created;
1417
  }
1418
  public function setWebPropertyId($webPropertyId) {
1419
    $this->webPropertyId = $webPropertyId;
1420
  }
1421
  public function getWebPropertyId() {
1422
    return $this->webPropertyId;
1423
  }
1424
  public function setUpdated($updated) {
1425
    $this->updated = $updated;
1426
  }
1427
  public function getUpdated() {
1428
    return $this->updated;
1429
  }
1430
  public function setSiteSearchQueryParameters($siteSearchQueryParameters) {
1431
    $this->siteSearchQueryParameters = $siteSearchQueryParameters;
1432
  }
1433
  public function getSiteSearchQueryParameters() {
1434
    return $this->siteSearchQueryParameters;
1435
  }
1436
  public function setCurrency($currency) {
1437
    $this->currency = $currency;
1438
  }
1439
  public function getCurrency() {
1440
    return $this->currency;
1441
  }
1442
  public function setInternalWebPropertyId($internalWebPropertyId) {
1443
    $this->internalWebPropertyId = $internalWebPropertyId;
1444
  }
1445
  public function getInternalWebPropertyId() {
1446
    return $this->internalWebPropertyId;
1447
  }
1448
  public function setChildLink(Google_ProfileChildLink $childLink) {
1449
    $this->childLink = $childLink;
1450
  }
1451
  public function getChildLink() {
1452
    return $this->childLink;
1453
  }
1454
  public function setTimezone($timezone) {
1455
    $this->timezone = $timezone;
1456
  }
1457
  public function getTimezone() {
1458
    return $this->timezone;
1459
  }
1460
  public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) {
1461
    $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
1462
  }
1463
  public function getSiteSearchCategoryParameters() {
1464
    return $this->siteSearchCategoryParameters;
1465
  }
1466
  public function setParentLink(Google_ProfileParentLink $parentLink) {
1467
    $this->parentLink = $parentLink;
1468
  }
1469
  public function getParentLink() {
1470
    return $this->parentLink;
1471
  }
1472
  public function setId($id) {
1473
    $this->id = $id;
1474
  }
1475
  public function getId() {
1476
    return $this->id;
1477
  }
1478
  public function setSelfLink($selfLink) {
1479
    $this->selfLink = $selfLink;
1480
  }
1481
  public function getSelfLink() {
1482
    return $this->selfLink;
1483
  }
1484
  public function setAccountId($accountId) {
1485
    $this->accountId = $accountId;
1486
  }
1487
  public function getAccountId() {
1488
    return $this->accountId;
1489
  }
1490
}
1491
 
1492
class Google_ProfileChildLink extends Google_Model {
1493
  public $href;
1494
  public $type;
1495
  public function setHref($href) {
1496
    $this->href = $href;
1497
  }
1498
  public function getHref() {
1499
    return $this->href;
1500
  }
1501
  public function setType($type) {
1502
    $this->type = $type;
1503
  }
1504
  public function getType() {
1505
    return $this->type;
1506
  }
1507
}
1508
 
1509
class Google_ProfileParentLink extends Google_Model {
1510
  public $href;
1511
  public $type;
1512
  public function setHref($href) {
1513
    $this->href = $href;
1514
  }
1515
  public function getHref() {
1516
    return $this->href;
1517
  }
1518
  public function setType($type) {
1519
    $this->type = $type;
1520
  }
1521
  public function getType() {
1522
    return $this->type;
1523
  }
1524
}
1525
 
1526
class Google_Profiles extends Google_Model {
1527
  public $username;
1528
  public $kind;
1529
  protected $__itemsType = 'Google_Profile';
1530
  protected $__itemsDataType = 'array';
1531
  public $items;
1532
  public $itemsPerPage;
1533
  public $previousLink;
1534
  public $startIndex;
1535
  public $nextLink;
1536
  public $totalResults;
1537
  public function setUsername($username) {
1538
    $this->username = $username;
1539
  }
1540
  public function getUsername() {
1541
    return $this->username;
1542
  }
1543
  public function setKind($kind) {
1544
    $this->kind = $kind;
1545
  }
1546
  public function getKind() {
1547
    return $this->kind;
1548
  }
1549
  public function setItems(/* array(Google_Profile) */ $items) {
1550
    $this->assertIsArray($items, 'Google_Profile', __METHOD__);
1551
    $this->items = $items;
1552
  }
1553
  public function getItems() {
1554
    return $this->items;
1555
  }
1556
  public function setItemsPerPage($itemsPerPage) {
1557
    $this->itemsPerPage = $itemsPerPage;
1558
  }
1559
  public function getItemsPerPage() {
1560
    return $this->itemsPerPage;
1561
  }
1562
  public function setPreviousLink($previousLink) {
1563
    $this->previousLink = $previousLink;
1564
  }
1565
  public function getPreviousLink() {
1566
    return $this->previousLink;
1567
  }
1568
  public function setStartIndex($startIndex) {
1569
    $this->startIndex = $startIndex;
1570
  }
1571
  public function getStartIndex() {
1572
    return $this->startIndex;
1573
  }
1574
  public function setNextLink($nextLink) {
1575
    $this->nextLink = $nextLink;
1576
  }
1577
  public function getNextLink() {
1578
    return $this->nextLink;
1579
  }
1580
  public function setTotalResults($totalResults) {
1581
    $this->totalResults = $totalResults;
1582
  }
1583
  public function getTotalResults() {
1584
    return $this->totalResults;
1585
  }
1586
}
1587
 
1588
class Google_Segment extends Google_Model {
1589
  public $definition;
1590
  public $kind;
1591
  public $segmentId;
1592
  public $created;
1593
  public $updated;
1594
  public $id;
1595
  public $selfLink;
1596
  public $name;
1597
  public function setDefinition($definition) {
1598
    $this->definition = $definition;
1599
  }
1600
  public function getDefinition() {
1601
    return $this->definition;
1602
  }
1603
  public function setKind($kind) {
1604
    $this->kind = $kind;
1605
  }
1606
  public function getKind() {
1607
    return $this->kind;
1608
  }
1609
  public function setSegmentId($segmentId) {
1610
    $this->segmentId = $segmentId;
1611
  }
1612
  public function getSegmentId() {
1613
    return $this->segmentId;
1614
  }
1615
  public function setCreated($created) {
1616
    $this->created = $created;
1617
  }
1618
  public function getCreated() {
1619
    return $this->created;
1620
  }
1621
  public function setUpdated($updated) {
1622
    $this->updated = $updated;
1623
  }
1624
  public function getUpdated() {
1625
    return $this->updated;
1626
  }
1627
  public function setId($id) {
1628
    $this->id = $id;
1629
  }
1630
  public function getId() {
1631
    return $this->id;
1632
  }
1633
  public function setSelfLink($selfLink) {
1634
    $this->selfLink = $selfLink;
1635
  }
1636
  public function getSelfLink() {
1637
    return $this->selfLink;
1638
  }
1639
  public function setName($name) {
1640
    $this->name = $name;
1641
  }
1642
  public function getName() {
1643
    return $this->name;
1644
  }
1645
}
1646
 
1647
class Google_Segments extends Google_Model {
1648
  public $username;
1649
  public $kind;
1650
  protected $__itemsType = 'Google_Segment';
1651
  protected $__itemsDataType = 'array';
1652
  public $items;
1653
  public $itemsPerPage;
1654
  public $previousLink;
1655
  public $startIndex;
1656
  public $nextLink;
1657
  public $totalResults;
1658
  public function setUsername($username) {
1659
    $this->username = $username;
1660
  }
1661
  public function getUsername() {
1662
    return $this->username;
1663
  }
1664
  public function setKind($kind) {
1665
    $this->kind = $kind;
1666
  }
1667
  public function getKind() {
1668
    return $this->kind;
1669
  }
1670
  public function setItems(/* array(Google_Segment) */ $items) {
1671
    $this->assertIsArray($items, 'Google_Segment', __METHOD__);
1672
    $this->items = $items;
1673
  }
1674
  public function getItems() {
1675
    return $this->items;
1676
  }
1677
  public function setItemsPerPage($itemsPerPage) {
1678
    $this->itemsPerPage = $itemsPerPage;
1679
  }
1680
  public function getItemsPerPage() {
1681
    return $this->itemsPerPage;
1682
  }
1683
  public function setPreviousLink($previousLink) {
1684
    $this->previousLink = $previousLink;
1685
  }
1686
  public function getPreviousLink() {
1687
    return $this->previousLink;
1688
  }
1689
  public function setStartIndex($startIndex) {
1690
    $this->startIndex = $startIndex;
1691
  }
1692
  public function getStartIndex() {
1693
    return $this->startIndex;
1694
  }
1695
  public function setNextLink($nextLink) {
1696
    $this->nextLink = $nextLink;
1697
  }
1698
  public function getNextLink() {
1699
    return $this->nextLink;
1700
  }
1701
  public function setTotalResults($totalResults) {
1702
    $this->totalResults = $totalResults;
1703
  }
1704
  public function getTotalResults() {
1705
    return $this->totalResults;
1706
  }
1707
}
1708
 
1709
class Google_Webproperties extends Google_Model {
1710
  public $username;
1711
  public $kind;
1712
  protected $__itemsType = 'Google_Webproperty';
1713
  protected $__itemsDataType = 'array';
1714
  public $items;
1715
  public $itemsPerPage;
1716
  public $previousLink;
1717
  public $startIndex;
1718
  public $nextLink;
1719
  public $totalResults;
1720
  public function setUsername($username) {
1721
    $this->username = $username;
1722
  }
1723
  public function getUsername() {
1724
    return $this->username;
1725
  }
1726
  public function setKind($kind) {
1727
    $this->kind = $kind;
1728
  }
1729
  public function getKind() {
1730
    return $this->kind;
1731
  }
1732
  public function setItems(/* array(Google_Webproperty) */ $items) {
1733
    $this->assertIsArray($items, 'Google_Webproperty', __METHOD__);
1734
    $this->items = $items;
1735
  }
1736
  public function getItems() {
1737
    return $this->items;
1738
  }
1739
  public function setItemsPerPage($itemsPerPage) {
1740
    $this->itemsPerPage = $itemsPerPage;
1741
  }
1742
  public function getItemsPerPage() {
1743
    return $this->itemsPerPage;
1744
  }
1745
  public function setPreviousLink($previousLink) {
1746
    $this->previousLink = $previousLink;
1747
  }
1748
  public function getPreviousLink() {
1749
    return $this->previousLink;
1750
  }
1751
  public function setStartIndex($startIndex) {
1752
    $this->startIndex = $startIndex;
1753
  }
1754
  public function getStartIndex() {
1755
    return $this->startIndex;
1756
  }
1757
  public function setNextLink($nextLink) {
1758
    $this->nextLink = $nextLink;
1759
  }
1760
  public function getNextLink() {
1761
    return $this->nextLink;
1762
  }
1763
  public function setTotalResults($totalResults) {
1764
    $this->totalResults = $totalResults;
1765
  }
1766
  public function getTotalResults() {
1767
    return $this->totalResults;
1768
  }
1769
}
1770
 
1771
class Google_Webproperty extends Google_Model {
1772
  public $kind;
1773
  public $name;
1774
  public $created;
1775
  public $updated;
1776
  public $websiteUrl;
1777
  public $internalWebPropertyId;
1778
  protected $__childLinkType = 'Google_WebpropertyChildLink';
1779
  protected $__childLinkDataType = '';
1780
  public $childLink;
1781
  protected $__parentLinkType = 'Google_WebpropertyParentLink';
1782
  protected $__parentLinkDataType = '';
1783
  public $parentLink;
1784
  public $id;
1785
  public $selfLink;
1786
  public $accountId;
1787
  public function setKind($kind) {
1788
    $this->kind = $kind;
1789
  }
1790
  public function getKind() {
1791
    return $this->kind;
1792
  }
1793
  public function setName($name) {
1794
    $this->name = $name;
1795
  }
1796
  public function getName() {
1797
    return $this->name;
1798
  }
1799
  public function setCreated($created) {
1800
    $this->created = $created;
1801
  }
1802
  public function getCreated() {
1803
    return $this->created;
1804
  }
1805
  public function setUpdated($updated) {
1806
    $this->updated = $updated;
1807
  }
1808
  public function getUpdated() {
1809
    return $this->updated;
1810
  }
1811
  public function setWebsiteUrl($websiteUrl) {
1812
    $this->websiteUrl = $websiteUrl;
1813
  }
1814
  public function getWebsiteUrl() {
1815
    return $this->websiteUrl;
1816
  }
1817
  public function setInternalWebPropertyId($internalWebPropertyId) {
1818
    $this->internalWebPropertyId = $internalWebPropertyId;
1819
  }
1820
  public function getInternalWebPropertyId() {
1821
    return $this->internalWebPropertyId;
1822
  }
1823
  public function setChildLink(Google_WebpropertyChildLink $childLink) {
1824
    $this->childLink = $childLink;
1825
  }
1826
  public function getChildLink() {
1827
    return $this->childLink;
1828
  }
1829
  public function setParentLink(Google_WebpropertyParentLink $parentLink) {
1830
    $this->parentLink = $parentLink;
1831
  }
1832
  public function getParentLink() {
1833
    return $this->parentLink;
1834
  }
1835
  public function setId($id) {
1836
    $this->id = $id;
1837
  }
1838
  public function getId() {
1839
    return $this->id;
1840
  }
1841
  public function setSelfLink($selfLink) {
1842
    $this->selfLink = $selfLink;
1843
  }
1844
  public function getSelfLink() {
1845
    return $this->selfLink;
1846
  }
1847
  public function setAccountId($accountId) {
1848
    $this->accountId = $accountId;
1849
  }
1850
  public function getAccountId() {
1851
    return $this->accountId;
1852
  }
1853
}
1854
 
1855
class Google_WebpropertyChildLink extends Google_Model {
1856
  public $href;
1857
  public $type;
1858
  public function setHref($href) {
1859
    $this->href = $href;
1860
  }
1861
  public function getHref() {
1862
    return $this->href;
1863
  }
1864
  public function setType($type) {
1865
    $this->type = $type;
1866
  }
1867
  public function getType() {
1868
    return $this->type;
1869
  }
1870
}
1871
 
1872
class Google_WebpropertyParentLink extends Google_Model {
1873
  public $href;
1874
  public $type;
1875
  public function setHref($href) {
1876
    $this->href = $href;
1877
  }
1878
  public function getHref() {
1879
    return $this->href;
1880
  }
1881
  public function setType($type) {
1882
    $this->type = $type;
1883
  }
1884
  public function getType() {
1885
    return $this->type;
1886
  }
1887
}