Test Failed
Push — master ( d99c6b...fb4ca3 )
by Stiofan
15:44
created

getQuantityMillis()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * Copyright 2010 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
18
/**
19
 * Service definition for Doubleclicksearch (v2).
20
 *
21
 * <p>
22
 * Report and modify your advertising data in DoubleClick Search (for example,
23
 * campaigns, ad groups, keywords, and conversions).</p>
24
 *
25
 * <p>
26
 * For more information about this service, see the API
27
 * <a href="https://developers.google.com/doubleclick-search/" target="_blank">Documentation</a>
28
 * </p>
29
 *
30
 * @author Google, Inc.
31
 */
32
class Google_Service_Doubleclicksearch extends Google_Service
33
{
34
  /** View and manage your advertising data in DoubleClick Search. */
35
  const DOUBLECLICKSEARCH =
36
      "https://www.googleapis.com/auth/doubleclicksearch";
37
38
  public $conversion;
39
  public $reports;
40
  public $savedColumns;
41
  
42
43
  /**
44
   * Constructs the internal representation of the Doubleclicksearch service.
45
   *
46
   * @param Google_Client $client
47
   */
48
  public function __construct(Google_Client $client)
49
  {
50
    parent::__construct($client);
51
    $this->rootUrl = 'https://www.googleapis.com/';
52
    $this->servicePath = 'doubleclicksearch/v2/';
53
    $this->version = 'v2';
54
    $this->serviceName = 'doubleclicksearch';
0 ignored issues
show
Bug introduced by
The property serviceName does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
55
56
    $this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource(
57
        $this,
58
        $this->serviceName,
59
        'conversion',
60
        array(
61
          'methods' => array(
62
            'get' => array(
63
              'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion',
64
              'httpMethod' => 'GET',
65
              'parameters' => array(
66
                'agencyId' => array(
67
                  'location' => 'path',
68
                  'type' => 'string',
69
                  'required' => true,
70
                ),
71
                'advertiserId' => array(
72
                  'location' => 'path',
73
                  'type' => 'string',
74
                  'required' => true,
75
                ),
76
                'engineAccountId' => array(
77
                  'location' => 'path',
78
                  'type' => 'string',
79
                  'required' => true,
80
                ),
81
                'endDate' => array(
82
                  'location' => 'query',
83
                  'type' => 'integer',
84
                  'required' => true,
85
                ),
86
                'rowCount' => array(
87
                  'location' => 'query',
88
                  'type' => 'integer',
89
                  'required' => true,
90
                ),
91
                'startDate' => array(
92
                  'location' => 'query',
93
                  'type' => 'integer',
94
                  'required' => true,
95
                ),
96
                'startRow' => array(
97
                  'location' => 'query',
98
                  'type' => 'integer',
99
                  'required' => true,
100
                ),
101
                'adGroupId' => array(
102
                  'location' => 'query',
103
                  'type' => 'string',
104
                ),
105
                'campaignId' => array(
106
                  'location' => 'query',
107
                  'type' => 'string',
108
                ),
109
                'adId' => array(
110
                  'location' => 'query',
111
                  'type' => 'string',
112
                ),
113
                'criterionId' => array(
114
                  'location' => 'query',
115
                  'type' => 'string',
116
                ),
117
              ),
118
            ),'insert' => array(
119
              'path' => 'conversion',
120
              'httpMethod' => 'POST',
121
              'parameters' => array(),
122
            ),'patch' => array(
123
              'path' => 'conversion',
124
              'httpMethod' => 'PATCH',
125
              'parameters' => array(
126
                'advertiserId' => array(
127
                  'location' => 'query',
128
                  'type' => 'string',
129
                  'required' => true,
130
                ),
131
                'agencyId' => array(
132
                  'location' => 'query',
133
                  'type' => 'string',
134
                  'required' => true,
135
                ),
136
                'endDate' => array(
137
                  'location' => 'query',
138
                  'type' => 'integer',
139
                  'required' => true,
140
                ),
141
                'engineAccountId' => array(
142
                  'location' => 'query',
143
                  'type' => 'string',
144
                  'required' => true,
145
                ),
146
                'rowCount' => array(
147
                  'location' => 'query',
148
                  'type' => 'integer',
149
                  'required' => true,
150
                ),
151
                'startDate' => array(
152
                  'location' => 'query',
153
                  'type' => 'integer',
154
                  'required' => true,
155
                ),
156
                'startRow' => array(
157
                  'location' => 'query',
158
                  'type' => 'integer',
159
                  'required' => true,
160
                ),
161
              ),
162
            ),'update' => array(
163
              'path' => 'conversion',
164
              'httpMethod' => 'PUT',
165
              'parameters' => array(),
166
            ),'updateAvailability' => array(
167
              'path' => 'conversion/updateAvailability',
168
              'httpMethod' => 'POST',
169
              'parameters' => array(),
170
            ),
171
          )
172
        )
173
    );
174
    $this->reports = new Google_Service_Doubleclicksearch_Reports_Resource(
175
        $this,
176
        $this->serviceName,
177
        'reports',
178
        array(
179
          'methods' => array(
180
            'generate' => array(
181
              'path' => 'reports/generate',
182
              'httpMethod' => 'POST',
183
              'parameters' => array(),
184
            ),'get' => array(
185
              'path' => 'reports/{reportId}',
186
              'httpMethod' => 'GET',
187
              'parameters' => array(
188
                'reportId' => array(
189
                  'location' => 'path',
190
                  'type' => 'string',
191
                  'required' => true,
192
                ),
193
              ),
194
            ),'getFile' => array(
195
              'path' => 'reports/{reportId}/files/{reportFragment}',
196
              'httpMethod' => 'GET',
197
              'parameters' => array(
198
                'reportId' => array(
199
                  'location' => 'path',
200
                  'type' => 'string',
201
                  'required' => true,
202
                ),
203
                'reportFragment' => array(
204
                  'location' => 'path',
205
                  'type' => 'integer',
206
                  'required' => true,
207
                ),
208
              ),
209
            ),'request' => array(
210
              'path' => 'reports',
211
              'httpMethod' => 'POST',
212
              'parameters' => array(),
213
            ),
214
          )
215
        )
216
    );
217
    $this->savedColumns = new Google_Service_Doubleclicksearch_SavedColumns_Resource(
218
        $this,
219
        $this->serviceName,
220
        'savedColumns',
221
        array(
222
          'methods' => array(
223
            'list' => array(
224
              'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns',
225
              'httpMethod' => 'GET',
226
              'parameters' => array(
227
                'agencyId' => array(
228
                  'location' => 'path',
229
                  'type' => 'string',
230
                  'required' => true,
231
                ),
232
                'advertiserId' => array(
233
                  'location' => 'path',
234
                  'type' => 'string',
235
                  'required' => true,
236
                ),
237
              ),
238
            ),
239
          )
240
        )
241
    );
242
  }
243
}
244
245
246
/**
247
 * The "conversion" collection of methods.
248
 * Typical usage is:
249
 *  <code>
250
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
251
 *   $conversion = $doubleclicksearchService->conversion;
252
 *  </code>
253
 */
254
class Google_Service_Doubleclicksearch_Conversion_Resource extends Google_Service_Resource
255
{
256
257
  /**
258
   * Retrieves a list of conversions from a DoubleClick Search engine account.
259
   * (conversion.get)
260
   *
261
   * @param string $agencyId Numeric ID of the agency.
262
   * @param string $advertiserId Numeric ID of the advertiser.
263
   * @param string $engineAccountId Numeric ID of the engine account.
264
   * @param int $endDate Last date (inclusive) on which to retrieve conversions.
265
   * Format is yyyymmdd.
266
   * @param int $rowCount The number of conversions to return per call.
267
   * @param int $startDate First date (inclusive) on which to retrieve
268
   * conversions. Format is yyyymmdd.
269
   * @param string $startRow The 0-based starting index for retrieving conversions
270
   * results.
271
   * @param array $optParams Optional parameters.
272
   *
273
   * @opt_param string adGroupId Numeric ID of the ad group.
274
   * @opt_param string campaignId Numeric ID of the campaign.
275
   * @opt_param string adId Numeric ID of the ad.
276
   * @opt_param string criterionId Numeric ID of the criterion.
277
   * @return Google_Service_Doubleclicksearch_ConversionList
278
   */
279
  public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array())
280
  {
281
    $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow);
282
    $params = array_merge($params, $optParams);
283
    return $this->call('get', array($params), "Google_Service_Doubleclicksearch_ConversionList");
284
  }
285
286
  /**
287
   * Inserts a batch of new conversions into DoubleClick Search.
288
   * (conversion.insert)
289
   *
290
   * @param Google_ConversionList $postBody
291
   * @param array $optParams Optional parameters.
292
   * @return Google_Service_Doubleclicksearch_ConversionList
293
   */
294
  public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
295
  {
296
    $params = array('postBody' => $postBody);
297
    $params = array_merge($params, $optParams);
298
    return $this->call('insert', array($params), "Google_Service_Doubleclicksearch_ConversionList");
299
  }
300
301
  /**
302
   * Updates a batch of conversions in DoubleClick Search. This method supports
303
   * patch semantics. (conversion.patch)
304
   *
305
   * @param string $advertiserId Numeric ID of the advertiser.
306
   * @param string $agencyId Numeric ID of the agency.
307
   * @param int $endDate Last date (inclusive) on which to retrieve conversions.
308
   * Format is yyyymmdd.
309
   * @param string $engineAccountId Numeric ID of the engine account.
310
   * @param int $rowCount The number of conversions to return per call.
311
   * @param int $startDate First date (inclusive) on which to retrieve
312
   * conversions. Format is yyyymmdd.
313
   * @param string $startRow The 0-based starting index for retrieving conversions
314
   * results.
315
   * @param Google_ConversionList $postBody
316
   * @param array $optParams Optional parameters.
317
   * @return Google_Service_Doubleclicksearch_ConversionList
318
   */
319
  public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
320
  {
321
    $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody);
322
    $params = array_merge($params, $optParams);
323
    return $this->call('patch', array($params), "Google_Service_Doubleclicksearch_ConversionList");
324
  }
325
326
  /**
327
   * Updates a batch of conversions in DoubleClick Search. (conversion.update)
328
   *
329
   * @param Google_ConversionList $postBody
330
   * @param array $optParams Optional parameters.
331
   * @return Google_Service_Doubleclicksearch_ConversionList
332
   */
333
  public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
334
  {
335
    $params = array('postBody' => $postBody);
336
    $params = array_merge($params, $optParams);
337
    return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList");
338
  }
339
340
  /**
341
   * Updates the availabilities of a batch of floodlight activities in DoubleClick
342
   * Search. (conversion.updateAvailability)
343
   *
344
   * @param Google_UpdateAvailabilityRequest $postBody
345
   * @param array $optParams Optional parameters.
346
   * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
347
   */
348
  public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
349
  {
350
    $params = array('postBody' => $postBody);
351
    $params = array_merge($params, $optParams);
352
    return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
353
  }
354
}
355
356
/**
357
 * The "reports" collection of methods.
358
 * Typical usage is:
359
 *  <code>
360
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
361
 *   $reports = $doubleclicksearchService->reports;
362
 *  </code>
363
 */
364
class Google_Service_Doubleclicksearch_Reports_Resource extends Google_Service_Resource
365
{
366
367
  /**
368
   * Generates and returns a report immediately. (reports.generate)
369
   *
370
   * @param Google_ReportRequest $postBody
371
   * @param array $optParams Optional parameters.
372
   * @return Google_Service_Doubleclicksearch_Report
373
   */
374
  public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
375
  {
376
    $params = array('postBody' => $postBody);
377
    $params = array_merge($params, $optParams);
378
    return $this->call('generate', array($params), "Google_Service_Doubleclicksearch_Report");
379
  }
380
381
  /**
382
   * Polls for the status of a report request. (reports.get)
383
   *
384
   * @param string $reportId ID of the report request being polled.
385
   * @param array $optParams Optional parameters.
386
   * @return Google_Service_Doubleclicksearch_Report
387
   */
388
  public function get($reportId, $optParams = array())
389
  {
390
    $params = array('reportId' => $reportId);
391
    $params = array_merge($params, $optParams);
392
    return $this->call('get', array($params), "Google_Service_Doubleclicksearch_Report");
393
  }
394
395
  /**
396
   * Downloads a report file encoded in UTF-8. (reports.getFile)
397
   *
398
   * @param string $reportId ID of the report.
399
   * @param int $reportFragment The index of the report fragment to download.
400
   * @param array $optParams Optional parameters.
401
   */
402
  public function getFile($reportId, $reportFragment, $optParams = array())
403
  {
404
    $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment);
405
    $params = array_merge($params, $optParams);
406
    return $this->call('getFile', array($params));
407
  }
408
409
  /**
410
   * Inserts a report request into the reporting system. (reports.request)
411
   *
412
   * @param Google_ReportRequest $postBody
413
   * @param array $optParams Optional parameters.
414
   * @return Google_Service_Doubleclicksearch_Report
415
   */
416
  public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
417
  {
418
    $params = array('postBody' => $postBody);
419
    $params = array_merge($params, $optParams);
420
    return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report");
421
  }
422
}
423
424
/**
425
 * The "savedColumns" collection of methods.
426
 * Typical usage is:
427
 *  <code>
428
 *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
429
 *   $savedColumns = $doubleclicksearchService->savedColumns;
430
 *  </code>
431
 */
432
class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource
433
{
434
435
  /**
436
   * Retrieve the list of saved columns for a specified advertiser.
437
   * (savedColumns.listSavedColumns)
438
   *
439
   * @param string $agencyId DS ID of the agency.
440
   * @param string $advertiserId DS ID of the advertiser.
441
   * @param array $optParams Optional parameters.
442
   * @return Google_Service_Doubleclicksearch_SavedColumnList
443
   */
444
  public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
445
  {
446
    $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
447
    $params = array_merge($params, $optParams);
448
    return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList");
449
  }
450
}
451
452
453
454
455
class Google_Service_Doubleclicksearch_Availability extends Google_Model
456
{
457
  protected $internal_gapi_mappings = array(
458
  );
459
  public $advertiserId;
460
  public $agencyId;
461
  public $availabilityTimestamp;
462
  public $segmentationId;
463
  public $segmentationName;
464
  public $segmentationType;
465
466
467
  public function setAdvertiserId($advertiserId)
468
  {
469
    $this->advertiserId = $advertiserId;
470
  }
471
  public function getAdvertiserId()
472
  {
473
    return $this->advertiserId;
474
  }
475
  public function setAgencyId($agencyId)
476
  {
477
    $this->agencyId = $agencyId;
478
  }
479
  public function getAgencyId()
480
  {
481
    return $this->agencyId;
482
  }
483
  public function setAvailabilityTimestamp($availabilityTimestamp)
484
  {
485
    $this->availabilityTimestamp = $availabilityTimestamp;
486
  }
487
  public function getAvailabilityTimestamp()
488
  {
489
    return $this->availabilityTimestamp;
490
  }
491
  public function setSegmentationId($segmentationId)
492
  {
493
    $this->segmentationId = $segmentationId;
494
  }
495
  public function getSegmentationId()
496
  {
497
    return $this->segmentationId;
498
  }
499
  public function setSegmentationName($segmentationName)
500
  {
501
    $this->segmentationName = $segmentationName;
502
  }
503
  public function getSegmentationName()
504
  {
505
    return $this->segmentationName;
506
  }
507
  public function setSegmentationType($segmentationType)
508
  {
509
    $this->segmentationType = $segmentationType;
510
  }
511
  public function getSegmentationType()
512
  {
513
    return $this->segmentationType;
514
  }
515
}
516
517
class Google_Service_Doubleclicksearch_Conversion extends Google_Collection
518
{
519
  protected $collection_key = 'customMetric';
520
  protected $internal_gapi_mappings = array(
521
  );
522
  public $adGroupId;
523
  public $adId;
524
  public $advertiserId;
525
  public $agencyId;
526
  public $attributionModel;
527
  public $campaignId;
528
  public $channel;
529
  public $clickId;
530
  public $conversionId;
531
  public $conversionModifiedTimestamp;
532
  public $conversionTimestamp;
533
  public $countMillis;
534
  public $criterionId;
535
  public $currencyCode;
536
  protected $customDimensionType = 'Google_Service_Doubleclicksearch_CustomDimension';
537
  protected $customDimensionDataType = 'array';
538
  protected $customMetricType = 'Google_Service_Doubleclicksearch_CustomMetric';
539
  protected $customMetricDataType = 'array';
540
  public $deviceType;
541
  public $dsConversionId;
542
  public $engineAccountId;
543
  public $floodlightOrderId;
544
  public $inventoryAccountId;
545
  public $productCountry;
546
  public $productGroupId;
547
  public $productId;
548
  public $productLanguage;
549
  public $quantityMillis;
550
  public $revenueMicros;
551
  public $segmentationId;
552
  public $segmentationName;
553
  public $segmentationType;
554
  public $state;
555
  public $storeId;
556
  public $type;
557
558
559
  public function setAdGroupId($adGroupId)
560
  {
561
    $this->adGroupId = $adGroupId;
562
  }
563
  public function getAdGroupId()
564
  {
565
    return $this->adGroupId;
566
  }
567
  public function setAdId($adId)
568
  {
569
    $this->adId = $adId;
570
  }
571
  public function getAdId()
572
  {
573
    return $this->adId;
574
  }
575
  public function setAdvertiserId($advertiserId)
576
  {
577
    $this->advertiserId = $advertiserId;
578
  }
579
  public function getAdvertiserId()
580
  {
581
    return $this->advertiserId;
582
  }
583
  public function setAgencyId($agencyId)
584
  {
585
    $this->agencyId = $agencyId;
586
  }
587
  public function getAgencyId()
588
  {
589
    return $this->agencyId;
590
  }
591
  public function setAttributionModel($attributionModel)
592
  {
593
    $this->attributionModel = $attributionModel;
594
  }
595
  public function getAttributionModel()
596
  {
597
    return $this->attributionModel;
598
  }
599
  public function setCampaignId($campaignId)
600
  {
601
    $this->campaignId = $campaignId;
602
  }
603
  public function getCampaignId()
604
  {
605
    return $this->campaignId;
606
  }
607
  public function setChannel($channel)
608
  {
609
    $this->channel = $channel;
610
  }
611
  public function getChannel()
612
  {
613
    return $this->channel;
614
  }
615
  public function setClickId($clickId)
616
  {
617
    $this->clickId = $clickId;
618
  }
619
  public function getClickId()
620
  {
621
    return $this->clickId;
622
  }
623
  public function setConversionId($conversionId)
624
  {
625
    $this->conversionId = $conversionId;
626
  }
627
  public function getConversionId()
628
  {
629
    return $this->conversionId;
630
  }
631
  public function setConversionModifiedTimestamp($conversionModifiedTimestamp)
632
  {
633
    $this->conversionModifiedTimestamp = $conversionModifiedTimestamp;
634
  }
635
  public function getConversionModifiedTimestamp()
636
  {
637
    return $this->conversionModifiedTimestamp;
638
  }
639
  public function setConversionTimestamp($conversionTimestamp)
640
  {
641
    $this->conversionTimestamp = $conversionTimestamp;
642
  }
643
  public function getConversionTimestamp()
644
  {
645
    return $this->conversionTimestamp;
646
  }
647
  public function setCountMillis($countMillis)
648
  {
649
    $this->countMillis = $countMillis;
650
  }
651
  public function getCountMillis()
652
  {
653
    return $this->countMillis;
654
  }
655
  public function setCriterionId($criterionId)
656
  {
657
    $this->criterionId = $criterionId;
658
  }
659
  public function getCriterionId()
660
  {
661
    return $this->criterionId;
662
  }
663
  public function setCurrencyCode($currencyCode)
664
  {
665
    $this->currencyCode = $currencyCode;
666
  }
667
  public function getCurrencyCode()
668
  {
669
    return $this->currencyCode;
670
  }
671
  public function setCustomDimension($customDimension)
672
  {
673
    $this->customDimension = $customDimension;
674
  }
675
  public function getCustomDimension()
676
  {
677
    return $this->customDimension;
678
  }
679
  public function setCustomMetric($customMetric)
680
  {
681
    $this->customMetric = $customMetric;
682
  }
683
  public function getCustomMetric()
684
  {
685
    return $this->customMetric;
686
  }
687
  public function setDeviceType($deviceType)
688
  {
689
    $this->deviceType = $deviceType;
690
  }
691
  public function getDeviceType()
692
  {
693
    return $this->deviceType;
694
  }
695
  public function setDsConversionId($dsConversionId)
696
  {
697
    $this->dsConversionId = $dsConversionId;
698
  }
699
  public function getDsConversionId()
700
  {
701
    return $this->dsConversionId;
702
  }
703
  public function setEngineAccountId($engineAccountId)
704
  {
705
    $this->engineAccountId = $engineAccountId;
706
  }
707
  public function getEngineAccountId()
708
  {
709
    return $this->engineAccountId;
710
  }
711
  public function setFloodlightOrderId($floodlightOrderId)
712
  {
713
    $this->floodlightOrderId = $floodlightOrderId;
714
  }
715
  public function getFloodlightOrderId()
716
  {
717
    return $this->floodlightOrderId;
718
  }
719
  public function setInventoryAccountId($inventoryAccountId)
720
  {
721
    $this->inventoryAccountId = $inventoryAccountId;
722
  }
723
  public function getInventoryAccountId()
724
  {
725
    return $this->inventoryAccountId;
726
  }
727
  public function setProductCountry($productCountry)
728
  {
729
    $this->productCountry = $productCountry;
730
  }
731
  public function getProductCountry()
732
  {
733
    return $this->productCountry;
734
  }
735
  public function setProductGroupId($productGroupId)
736
  {
737
    $this->productGroupId = $productGroupId;
738
  }
739
  public function getProductGroupId()
740
  {
741
    return $this->productGroupId;
742
  }
743
  public function setProductId($productId)
744
  {
745
    $this->productId = $productId;
746
  }
747
  public function getProductId()
748
  {
749
    return $this->productId;
750
  }
751
  public function setProductLanguage($productLanguage)
752
  {
753
    $this->productLanguage = $productLanguage;
754
  }
755
  public function getProductLanguage()
756
  {
757
    return $this->productLanguage;
758
  }
759
  public function setQuantityMillis($quantityMillis)
760
  {
761
    $this->quantityMillis = $quantityMillis;
762
  }
763
  public function getQuantityMillis()
764
  {
765
    return $this->quantityMillis;
766
  }
767
  public function setRevenueMicros($revenueMicros)
768
  {
769
    $this->revenueMicros = $revenueMicros;
770
  }
771
  public function getRevenueMicros()
772
  {
773
    return $this->revenueMicros;
774
  }
775
  public function setSegmentationId($segmentationId)
776
  {
777
    $this->segmentationId = $segmentationId;
778
  }
779
  public function getSegmentationId()
780
  {
781
    return $this->segmentationId;
782
  }
783
  public function setSegmentationName($segmentationName)
784
  {
785
    $this->segmentationName = $segmentationName;
786
  }
787
  public function getSegmentationName()
788
  {
789
    return $this->segmentationName;
790
  }
791
  public function setSegmentationType($segmentationType)
792
  {
793
    $this->segmentationType = $segmentationType;
794
  }
795
  public function getSegmentationType()
796
  {
797
    return $this->segmentationType;
798
  }
799
  public function setState($state)
800
  {
801
    $this->state = $state;
802
  }
803
  public function getState()
804
  {
805
    return $this->state;
806
  }
807
  public function setStoreId($storeId)
808
  {
809
    $this->storeId = $storeId;
810
  }
811
  public function getStoreId()
812
  {
813
    return $this->storeId;
814
  }
815
  public function setType($type)
816
  {
817
    $this->type = $type;
818
  }
819
  public function getType()
820
  {
821
    return $this->type;
822
  }
823
}
824
825
class Google_Service_Doubleclicksearch_ConversionList extends Google_Collection
826
{
827
  protected $collection_key = 'conversion';
828
  protected $internal_gapi_mappings = array(
829
  );
830
  protected $conversionType = 'Google_Service_Doubleclicksearch_Conversion';
831
  protected $conversionDataType = 'array';
832
  public $kind;
833
834
835
  public function setConversion($conversion)
836
  {
837
    $this->conversion = $conversion;
838
  }
839
  public function getConversion()
840
  {
841
    return $this->conversion;
842
  }
843
  public function setKind($kind)
844
  {
845
    $this->kind = $kind;
846
  }
847
  public function getKind()
848
  {
849
    return $this->kind;
850
  }
851
}
852
853 View Code Duplication
class Google_Service_Doubleclicksearch_CustomDimension extends Google_Model
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
854
{
855
  protected $internal_gapi_mappings = array(
856
  );
857
  public $name;
858
  public $value;
859
860
861
  public function setName($name)
862
  {
863
    $this->name = $name;
864
  }
865
  public function getName()
866
  {
867
    return $this->name;
868
  }
869
  public function setValue($value)
870
  {
871
    $this->value = $value;
872
  }
873
  public function getValue()
874
  {
875
    return $this->value;
876
  }
877
}
878
879 View Code Duplication
class Google_Service_Doubleclicksearch_CustomMetric extends Google_Model
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
880
{
881
  protected $internal_gapi_mappings = array(
882
  );
883
  public $name;
884
  public $value;
885
886
887
  public function setName($name)
888
  {
889
    $this->name = $name;
890
  }
891
  public function getName()
892
  {
893
    return $this->name;
894
  }
895
  public function setValue($value)
896
  {
897
    $this->value = $value;
898
  }
899
  public function getValue()
900
  {
901
    return $this->value;
902
  }
903
}
904
905
class Google_Service_Doubleclicksearch_Report extends Google_Collection
906
{
907
  protected $collection_key = 'rows';
908
  protected $internal_gapi_mappings = array(
909
  );
910
  protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles';
911
  protected $filesDataType = 'array';
912
  public $id;
913
  public $isReportReady;
914
  public $kind;
915
  protected $requestType = 'Google_Service_Doubleclicksearch_ReportRequest';
916
  protected $requestDataType = '';
917
  public $rowCount;
918
  public $rows;
919
  public $statisticsCurrencyCode;
920
  public $statisticsTimeZone;
921
922
923
  public function setFiles($files)
924
  {
925
    $this->files = $files;
0 ignored issues
show
Bug introduced by
The property files does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
926
  }
927
  public function getFiles()
928
  {
929
    return $this->files;
930
  }
931
  public function setId($id)
932
  {
933
    $this->id = $id;
934
  }
935
  public function getId()
936
  {
937
    return $this->id;
938
  }
939
  public function setIsReportReady($isReportReady)
940
  {
941
    $this->isReportReady = $isReportReady;
942
  }
943
  public function getIsReportReady()
944
  {
945
    return $this->isReportReady;
946
  }
947
  public function setKind($kind)
948
  {
949
    $this->kind = $kind;
950
  }
951
  public function getKind()
952
  {
953
    return $this->kind;
954
  }
955
  public function setRequest(Google_Service_Doubleclicksearch_ReportRequest $request)
956
  {
957
    $this->request = $request;
958
  }
959
  public function getRequest()
960
  {
961
    return $this->request;
962
  }
963
  public function setRowCount($rowCount)
964
  {
965
    $this->rowCount = $rowCount;
966
  }
967
  public function getRowCount()
968
  {
969
    return $this->rowCount;
970
  }
971
  public function setRows($rows)
972
  {
973
    $this->rows = $rows;
974
  }
975
  public function getRows()
976
  {
977
    return $this->rows;
978
  }
979
  public function setStatisticsCurrencyCode($statisticsCurrencyCode)
980
  {
981
    $this->statisticsCurrencyCode = $statisticsCurrencyCode;
982
  }
983
  public function getStatisticsCurrencyCode()
984
  {
985
    return $this->statisticsCurrencyCode;
986
  }
987
  public function setStatisticsTimeZone($statisticsTimeZone)
988
  {
989
    $this->statisticsTimeZone = $statisticsTimeZone;
990
  }
991
  public function getStatisticsTimeZone()
992
  {
993
    return $this->statisticsTimeZone;
994
  }
995
}
996
997
class Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Google_Model
998
{
999
  protected $internal_gapi_mappings = array(
1000
  );
1001
  public $columnName;
1002
  public $customDimensionName;
1003
  public $customMetricName;
1004
  public $endDate;
1005
  public $groupByColumn;
1006
  public $headerText;
1007
  public $platformSource;
1008
  public $savedColumnName;
1009
  public $startDate;
1010
1011
1012
  public function setColumnName($columnName)
1013
  {
1014
    $this->columnName = $columnName;
1015
  }
1016
  public function getColumnName()
1017
  {
1018
    return $this->columnName;
1019
  }
1020
  public function setCustomDimensionName($customDimensionName)
1021
  {
1022
    $this->customDimensionName = $customDimensionName;
1023
  }
1024
  public function getCustomDimensionName()
1025
  {
1026
    return $this->customDimensionName;
1027
  }
1028
  public function setCustomMetricName($customMetricName)
1029
  {
1030
    $this->customMetricName = $customMetricName;
1031
  }
1032
  public function getCustomMetricName()
1033
  {
1034
    return $this->customMetricName;
1035
  }
1036
  public function setEndDate($endDate)
1037
  {
1038
    $this->endDate = $endDate;
1039
  }
1040
  public function getEndDate()
1041
  {
1042
    return $this->endDate;
1043
  }
1044
  public function setGroupByColumn($groupByColumn)
1045
  {
1046
    $this->groupByColumn = $groupByColumn;
1047
  }
1048
  public function getGroupByColumn()
1049
  {
1050
    return $this->groupByColumn;
1051
  }
1052
  public function setHeaderText($headerText)
1053
  {
1054
    $this->headerText = $headerText;
1055
  }
1056
  public function getHeaderText()
1057
  {
1058
    return $this->headerText;
1059
  }
1060
  public function setPlatformSource($platformSource)
1061
  {
1062
    $this->platformSource = $platformSource;
1063
  }
1064
  public function getPlatformSource()
1065
  {
1066
    return $this->platformSource;
1067
  }
1068
  public function setSavedColumnName($savedColumnName)
1069
  {
1070
    $this->savedColumnName = $savedColumnName;
1071
  }
1072
  public function getSavedColumnName()
1073
  {
1074
    return $this->savedColumnName;
1075
  }
1076
  public function setStartDate($startDate)
1077
  {
1078
    $this->startDate = $startDate;
1079
  }
1080
  public function getStartDate()
1081
  {
1082
    return $this->startDate;
1083
  }
1084
}
1085
1086
class Google_Service_Doubleclicksearch_ReportFiles extends Google_Model
1087
{
1088
  protected $internal_gapi_mappings = array(
1089
  );
1090
  public $byteCount;
1091
  public $url;
1092
1093
1094
  public function setByteCount($byteCount)
1095
  {
1096
    $this->byteCount = $byteCount;
1097
  }
1098
  public function getByteCount()
1099
  {
1100
    return $this->byteCount;
1101
  }
1102
  public function setUrl($url)
1103
  {
1104
    $this->url = $url;
1105
  }
1106
  public function getUrl()
1107
  {
1108
    return $this->url;
1109
  }
1110
}
1111
1112
class Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection
1113
{
1114
  protected $collection_key = 'orderBy';
1115
  protected $internal_gapi_mappings = array(
1116
  );
1117
  protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1118
  protected $columnsDataType = 'array';
1119
  public $downloadFormat;
1120
  protected $filtersType = 'Google_Service_Doubleclicksearch_ReportRequestFilters';
1121
  protected $filtersDataType = 'array';
1122
  public $includeDeletedEntities;
1123
  public $includeRemovedEntities;
1124
  public $maxRowsPerFile;
1125
  protected $orderByType = 'Google_Service_Doubleclicksearch_ReportRequestOrderBy';
1126
  protected $orderByDataType = 'array';
1127
  protected $reportScopeType = 'Google_Service_Doubleclicksearch_ReportRequestReportScope';
1128
  protected $reportScopeDataType = '';
1129
  public $reportType;
1130
  public $rowCount;
1131
  public $startRow;
1132
  public $statisticsCurrency;
1133
  protected $timeRangeType = 'Google_Service_Doubleclicksearch_ReportRequestTimeRange';
1134
  protected $timeRangeDataType = '';
1135
  public $verifySingleTimeZone;
1136
1137
1138
  public function setColumns($columns)
1139
  {
1140
    $this->columns = $columns;
1141
  }
1142
  public function getColumns()
1143
  {
1144
    return $this->columns;
1145
  }
1146
  public function setDownloadFormat($downloadFormat)
1147
  {
1148
    $this->downloadFormat = $downloadFormat;
1149
  }
1150
  public function getDownloadFormat()
1151
  {
1152
    return $this->downloadFormat;
1153
  }
1154
  public function setFilters($filters)
1155
  {
1156
    $this->filters = $filters;
1157
  }
1158
  public function getFilters()
1159
  {
1160
    return $this->filters;
1161
  }
1162
  public function setIncludeDeletedEntities($includeDeletedEntities)
1163
  {
1164
    $this->includeDeletedEntities = $includeDeletedEntities;
1165
  }
1166
  public function getIncludeDeletedEntities()
1167
  {
1168
    return $this->includeDeletedEntities;
1169
  }
1170
  public function setIncludeRemovedEntities($includeRemovedEntities)
1171
  {
1172
    $this->includeRemovedEntities = $includeRemovedEntities;
1173
  }
1174
  public function getIncludeRemovedEntities()
1175
  {
1176
    return $this->includeRemovedEntities;
1177
  }
1178
  public function setMaxRowsPerFile($maxRowsPerFile)
1179
  {
1180
    $this->maxRowsPerFile = $maxRowsPerFile;
1181
  }
1182
  public function getMaxRowsPerFile()
1183
  {
1184
    return $this->maxRowsPerFile;
1185
  }
1186
  public function setOrderBy($orderBy)
1187
  {
1188
    $this->orderBy = $orderBy;
1189
  }
1190
  public function getOrderBy()
1191
  {
1192
    return $this->orderBy;
1193
  }
1194
  public function setReportScope(Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope)
1195
  {
1196
    $this->reportScope = $reportScope;
1197
  }
1198
  public function getReportScope()
1199
  {
1200
    return $this->reportScope;
1201
  }
1202
  public function setReportType($reportType)
1203
  {
1204
    $this->reportType = $reportType;
1205
  }
1206
  public function getReportType()
1207
  {
1208
    return $this->reportType;
1209
  }
1210
  public function setRowCount($rowCount)
1211
  {
1212
    $this->rowCount = $rowCount;
1213
  }
1214
  public function getRowCount()
1215
  {
1216
    return $this->rowCount;
1217
  }
1218
  public function setStartRow($startRow)
1219
  {
1220
    $this->startRow = $startRow;
1221
  }
1222
  public function getStartRow()
1223
  {
1224
    return $this->startRow;
1225
  }
1226
  public function setStatisticsCurrency($statisticsCurrency)
1227
  {
1228
    $this->statisticsCurrency = $statisticsCurrency;
1229
  }
1230
  public function getStatisticsCurrency()
1231
  {
1232
    return $this->statisticsCurrency;
1233
  }
1234
  public function setTimeRange(Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange)
1235
  {
1236
    $this->timeRange = $timeRange;
1237
  }
1238
  public function getTimeRange()
1239
  {
1240
    return $this->timeRange;
1241
  }
1242
  public function setVerifySingleTimeZone($verifySingleTimeZone)
1243
  {
1244
    $this->verifySingleTimeZone = $verifySingleTimeZone;
1245
  }
1246
  public function getVerifySingleTimeZone()
1247
  {
1248
    return $this->verifySingleTimeZone;
1249
  }
1250
}
1251
1252
class Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection
1253
{
1254
  protected $collection_key = 'values';
1255
  protected $internal_gapi_mappings = array(
1256
  );
1257
  protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1258
  protected $columnDataType = '';
1259
  public $operator;
1260
  public $values;
1261
1262
1263
  public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1264
  {
1265
    $this->column = $column;
1266
  }
1267
  public function getColumn()
1268
  {
1269
    return $this->column;
1270
  }
1271
  public function setOperator($operator)
1272
  {
1273
    $this->operator = $operator;
1274
  }
1275
  public function getOperator()
1276
  {
1277
    return $this->operator;
1278
  }
1279
  public function setValues($values)
1280
  {
1281
    $this->values = $values;
1282
  }
1283
  public function getValues()
1284
  {
1285
    return $this->values;
1286
  }
1287
}
1288
1289
class Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Google_Model
1290
{
1291
  protected $internal_gapi_mappings = array(
1292
  );
1293
  protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1294
  protected $columnDataType = '';
1295
  public $sortOrder;
1296
1297
1298
  public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1299
  {
1300
    $this->column = $column;
1301
  }
1302
  public function getColumn()
1303
  {
1304
    return $this->column;
1305
  }
1306
  public function setSortOrder($sortOrder)
1307
  {
1308
    $this->sortOrder = $sortOrder;
1309
  }
1310
  public function getSortOrder()
1311
  {
1312
    return $this->sortOrder;
1313
  }
1314
}
1315
1316
class Google_Service_Doubleclicksearch_ReportRequestReportScope extends Google_Model
1317
{
1318
  protected $internal_gapi_mappings = array(
1319
  );
1320
  public $adGroupId;
1321
  public $adId;
1322
  public $advertiserId;
1323
  public $agencyId;
1324
  public $campaignId;
1325
  public $engineAccountId;
1326
  public $keywordId;
1327
1328
1329
  public function setAdGroupId($adGroupId)
1330
  {
1331
    $this->adGroupId = $adGroupId;
1332
  }
1333
  public function getAdGroupId()
1334
  {
1335
    return $this->adGroupId;
1336
  }
1337
  public function setAdId($adId)
1338
  {
1339
    $this->adId = $adId;
1340
  }
1341
  public function getAdId()
1342
  {
1343
    return $this->adId;
1344
  }
1345
  public function setAdvertiserId($advertiserId)
1346
  {
1347
    $this->advertiserId = $advertiserId;
1348
  }
1349
  public function getAdvertiserId()
1350
  {
1351
    return $this->advertiserId;
1352
  }
1353
  public function setAgencyId($agencyId)
1354
  {
1355
    $this->agencyId = $agencyId;
1356
  }
1357
  public function getAgencyId()
1358
  {
1359
    return $this->agencyId;
1360
  }
1361
  public function setCampaignId($campaignId)
1362
  {
1363
    $this->campaignId = $campaignId;
1364
  }
1365
  public function getCampaignId()
1366
  {
1367
    return $this->campaignId;
1368
  }
1369
  public function setEngineAccountId($engineAccountId)
1370
  {
1371
    $this->engineAccountId = $engineAccountId;
1372
  }
1373
  public function getEngineAccountId()
1374
  {
1375
    return $this->engineAccountId;
1376
  }
1377
  public function setKeywordId($keywordId)
1378
  {
1379
    $this->keywordId = $keywordId;
1380
  }
1381
  public function getKeywordId()
1382
  {
1383
    return $this->keywordId;
1384
  }
1385
}
1386
1387
class Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Google_Model
1388
{
1389
  protected $internal_gapi_mappings = array(
1390
  );
1391
  public $changedAttributesSinceTimestamp;
1392
  public $changedMetricsSinceTimestamp;
1393
  public $endDate;
1394
  public $startDate;
1395
1396
1397
  public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp)
1398
  {
1399
    $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp;
1400
  }
1401
  public function getChangedAttributesSinceTimestamp()
1402
  {
1403
    return $this->changedAttributesSinceTimestamp;
1404
  }
1405
  public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp)
1406
  {
1407
    $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp;
1408
  }
1409
  public function getChangedMetricsSinceTimestamp()
1410
  {
1411
    return $this->changedMetricsSinceTimestamp;
1412
  }
1413
  public function setEndDate($endDate)
1414
  {
1415
    $this->endDate = $endDate;
1416
  }
1417
  public function getEndDate()
1418
  {
1419
    return $this->endDate;
1420
  }
1421
  public function setStartDate($startDate)
1422
  {
1423
    $this->startDate = $startDate;
1424
  }
1425
  public function getStartDate()
1426
  {
1427
    return $this->startDate;
1428
  }
1429
}
1430
1431
class Google_Service_Doubleclicksearch_ReportRow extends Google_Model
1432
{
1433
}
1434
1435
class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
1436
{
1437
  protected $internal_gapi_mappings = array(
1438
  );
1439
  public $kind;
1440
  public $savedColumnName;
1441
  public $type;
1442
1443
1444
  public function setKind($kind)
1445
  {
1446
    $this->kind = $kind;
1447
  }
1448
  public function getKind()
1449
  {
1450
    return $this->kind;
1451
  }
1452
  public function setSavedColumnName($savedColumnName)
1453
  {
1454
    $this->savedColumnName = $savedColumnName;
1455
  }
1456
  public function getSavedColumnName()
1457
  {
1458
    return $this->savedColumnName;
1459
  }
1460
  public function setType($type)
1461
  {
1462
    $this->type = $type;
1463
  }
1464
  public function getType()
1465
  {
1466
    return $this->type;
1467
  }
1468
}
1469
1470 View Code Duplication
class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
1471
{
1472
  protected $collection_key = 'items';
1473
  protected $internal_gapi_mappings = array(
1474
  );
1475
  protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
1476
  protected $itemsDataType = 'array';
1477
  public $kind;
1478
1479
1480
  public function setItems($items)
1481
  {
1482
    $this->items = $items;
0 ignored issues
show
Bug introduced by
The property items does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
1483
  }
1484
  public function getItems()
1485
  {
1486
    return $this->items;
1487
  }
1488
  public function setKind($kind)
1489
  {
1490
    $this->kind = $kind;
1491
  }
1492
  public function getKind()
1493
  {
1494
    return $this->kind;
1495
  }
1496
}
1497
1498 View Code Duplication
class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
1499
{
1500
  protected $collection_key = 'availabilities';
1501
  protected $internal_gapi_mappings = array(
1502
  );
1503
  protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1504
  protected $availabilitiesDataType = 'array';
1505
1506
1507
  public function setAvailabilities($availabilities)
1508
  {
1509
    $this->availabilities = $availabilities;
1510
  }
1511
  public function getAvailabilities()
1512
  {
1513
    return $this->availabilities;
1514
  }
1515
}
1516
1517 View Code Duplication
class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
1518
{
1519
  protected $collection_key = 'availabilities';
1520
  protected $internal_gapi_mappings = array(
1521
  );
1522
  protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1523
  protected $availabilitiesDataType = 'array';
1524
1525
1526
  public function setAvailabilities($availabilities)
1527
  {
1528
    $this->availabilities = $availabilities;
1529
  }
1530
  public function getAvailabilities()
1531
  {
1532
    return $this->availabilities;
1533
  }
1534
}
1535