This file is indexed.

/usr/share/php/google-api-php-client/src/contrib/Google_CoordinateService.php is in php-google-api-php-client 0.6.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
<?php
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */


  /**
   * The "customFieldDef" collection of methods.
   * Typical usage is:
   *  <code>
   *   $coordinateService = new Google_CoordinateService(...);
   *   $customFieldDef = $coordinateService->customFieldDef;
   *  </code>
   */
  class Google_CustomFieldDefServiceResource extends Google_ServiceResource {

    /**
     * Retrieves a list of custom field definitions for a team. (customFieldDef.list)
     *
     * @param string $teamId Team ID
     * @param array $optParams Optional parameters.
     * @return Google_CustomFieldDefListResponse
     */
    public function listCustomFieldDef($teamId, $optParams = array()) {
      $params = array('teamId' => $teamId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_CustomFieldDefListResponse($data);
      } else {
        return $data;
      }
    }
  }

  /**
   * The "jobs" collection of methods.
   * Typical usage is:
   *  <code>
   *   $coordinateService = new Google_CoordinateService(...);
   *   $jobs = $coordinateService->jobs;
   *  </code>
   */
  class Google_JobsServiceResource extends Google_ServiceResource {

    /**
     * Retrieves a job, including all the changes made to the job. (jobs.get)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param array $optParams Optional parameters.
     * @return Google_Job
     */
    public function get($teamId, $jobId, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('get', array($params));
      if ($this->useObjects()) {
        return new Google_Job($data);
      } else {
        return $data;
      }
    }
    /**
     * Inserts a new job. Only the state field of the job should be set. (jobs.insert)
     *
     * @param string $teamId Team ID
     * @param string $address Job address as newline (Unix) separated string
     * @param double $lat The latitude coordinate of this job's location.
     * @param double $lng The longitude coordinate of this job's location.
     * @param string $title Job title
     * @param Google_Job $postBody
     * @param array $optParams Optional parameters.
     *
     * @opt_param string assignee Assignee email address, or empty string to unassign.
     * @opt_param string customField Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'
     * @opt_param string customerName Customer name
     * @opt_param string customerPhoneNumber Customer phone number
     * @opt_param string note Job note as newline (Unix) separated string
     * @return Google_Job
     */
    public function insert($teamId, $address, $lat, $lng, $title, Google_Job $postBody, $optParams = array()) {
      $params = array('teamId' => $teamId, 'address' => $address, 'lat' => $lat, 'lng' => $lng, 'title' => $title, 'postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('insert', array($params));
      if ($this->useObjects()) {
        return new Google_Job($data);
      } else {
        return $data;
      }
    }
    /**
     * Retrieves jobs created or modified since the given timestamp. (jobs.list)
     *
     * @param string $teamId Team ID
     * @param array $optParams Optional parameters.
     *
     * @opt_param string maxResults Maximum number of results to return in one page.
     * @opt_param string minModifiedTimestampMs Minimum time a job was modified in milliseconds since epoch.
     * @opt_param string pageToken Continuation token
     * @return Google_JobListResponse
     */
    public function listJobs($teamId, $optParams = array()) {
      $params = array('teamId' => $teamId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_JobListResponse($data);
      } else {
        return $data;
      }
    }
    /**
     * Updates a job. Fields that are set in the job state will be updated. This method supports patch
     * semantics. (jobs.patch)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param Google_Job $postBody
     * @param array $optParams Optional parameters.
     *
     * @opt_param string address Job address as newline (Unix) separated string
     * @opt_param string assignee Assignee email address, or empty string to unassign.
     * @opt_param string customField Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'
     * @opt_param string customerName Customer name
     * @opt_param string customerPhoneNumber Customer phone number
     * @opt_param double lat The latitude coordinate of this job's location.
     * @opt_param double lng The longitude coordinate of this job's location.
     * @opt_param string note Job note as newline (Unix) separated string
     * @opt_param string progress Job progress
     * @opt_param string title Job title
     * @return Google_Job
     */
    public function patch($teamId, $jobId, Google_Job $postBody, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('patch', array($params));
      if ($this->useObjects()) {
        return new Google_Job($data);
      } else {
        return $data;
      }
    }
    /**
     * Updates a job. Fields that are set in the job state will be updated. (jobs.update)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param Google_Job $postBody
     * @param array $optParams Optional parameters.
     *
     * @opt_param string address Job address as newline (Unix) separated string
     * @opt_param string assignee Assignee email address, or empty string to unassign.
     * @opt_param string customField Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'
     * @opt_param string customerName Customer name
     * @opt_param string customerPhoneNumber Customer phone number
     * @opt_param double lat The latitude coordinate of this job's location.
     * @opt_param double lng The longitude coordinate of this job's location.
     * @opt_param string note Job note as newline (Unix) separated string
     * @opt_param string progress Job progress
     * @opt_param string title Job title
     * @return Google_Job
     */
    public function update($teamId, $jobId, Google_Job $postBody, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('update', array($params));
      if ($this->useObjects()) {
        return new Google_Job($data);
      } else {
        return $data;
      }
    }
  }

  /**
   * The "location" collection of methods.
   * Typical usage is:
   *  <code>
   *   $coordinateService = new Google_CoordinateService(...);
   *   $location = $coordinateService->location;
   *  </code>
   */
  class Google_LocationServiceResource extends Google_ServiceResource {

    /**
     * Retrieves a list of locations for a worker. (location.list)
     *
     * @param string $teamId Team ID
     * @param string $workerEmail Worker email address.
     * @param string $startTimestampMs Start timestamp in milliseconds since the epoch.
     * @param array $optParams Optional parameters.
     *
     * @opt_param string maxResults Maximum number of results to return in one page.
     * @opt_param string pageToken Continuation token
     * @return Google_LocationListResponse
     */
    public function listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array()) {
      $params = array('teamId' => $teamId, 'workerEmail' => $workerEmail, 'startTimestampMs' => $startTimestampMs);
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_LocationListResponse($data);
      } else {
        return $data;
      }
    }
  }

  /**
   * The "schedule" collection of methods.
   * Typical usage is:
   *  <code>
   *   $coordinateService = new Google_CoordinateService(...);
   *   $schedule = $coordinateService->schedule;
   *  </code>
   */
  class Google_ScheduleServiceResource extends Google_ServiceResource {

    /**
     * Retrieves the schedule for a job. (schedule.get)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param array $optParams Optional parameters.
     * @return Google_Schedule
     */
    public function get($teamId, $jobId, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('get', array($params));
      if ($this->useObjects()) {
        return new Google_Schedule($data);
      } else {
        return $data;
      }
    }
    /**
     * Replaces the schedule of a job with the provided schedule. This method supports patch semantics.
     * (schedule.patch)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param Google_Schedule $postBody
     * @param array $optParams Optional parameters.
     *
     * @opt_param bool allDay Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.
     * @opt_param string duration Job duration in milliseconds.
     * @opt_param string endTime Scheduled end time in milliseconds since epoch.
     * @opt_param string startTime Scheduled start time in milliseconds since epoch.
     * @return Google_Schedule
     */
    public function patch($teamId, $jobId, Google_Schedule $postBody, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('patch', array($params));
      if ($this->useObjects()) {
        return new Google_Schedule($data);
      } else {
        return $data;
      }
    }
    /**
     * Replaces the schedule of a job with the provided schedule. (schedule.update)
     *
     * @param string $teamId Team ID
     * @param string $jobId Job number
     * @param Google_Schedule $postBody
     * @param array $optParams Optional parameters.
     *
     * @opt_param bool allDay Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.
     * @opt_param string duration Job duration in milliseconds.
     * @opt_param string endTime Scheduled end time in milliseconds since epoch.
     * @opt_param string startTime Scheduled start time in milliseconds since epoch.
     * @return Google_Schedule
     */
    public function update($teamId, $jobId, Google_Schedule $postBody, $optParams = array()) {
      $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('update', array($params));
      if ($this->useObjects()) {
        return new Google_Schedule($data);
      } else {
        return $data;
      }
    }
  }

  /**
   * The "worker" collection of methods.
   * Typical usage is:
   *  <code>
   *   $coordinateService = new Google_CoordinateService(...);
   *   $worker = $coordinateService->worker;
   *  </code>
   */
  class Google_WorkerServiceResource extends Google_ServiceResource {

    /**
     * Retrieves a list of workers in a team. (worker.list)
     *
     * @param string $teamId Team ID
     * @param array $optParams Optional parameters.
     * @return Google_WorkerListResponse
     */
    public function listWorker($teamId, $optParams = array()) {
      $params = array('teamId' => $teamId);
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_WorkerListResponse($data);
      } else {
        return $data;
      }
    }
  }

/**
 * Service definition for Google_Coordinate (v1).
 *
 * <p>
 * Lets you view and manage jobs in a Coordinate team.
 * </p>
 *
 * <p>
 * For more information about this service, see the
 * <a href="https://developers.google.com/coordinate/" target="_blank">API Documentation</a>
 * </p>
 *
 * @author Google, Inc.
 */
class Google_CoordinateService extends Google_Service {
  public $customFieldDef;
  public $jobs;
  public $location;
  public $schedule;
  public $worker;
  /**
   * Constructs the internal representation of the Coordinate service.
   *
   * @param Google_Client $client
   */
  public function __construct(Google_Client $client) {
    $this->servicePath = 'coordinate/v1/teams/';
    $this->version = 'v1';
    $this->serviceName = 'coordinate';

    $client->addService($this->serviceName, $this->version);
    $this->customFieldDef = new Google_CustomFieldDefServiceResource($this, $this->serviceName, 'customFieldDef', json_decode('{"methods": {"list": {"id": "coordinate.customFieldDef.list", "path": "{teamId}/custom_fields", "httpMethod": "GET", "parameters": {"teamId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CustomFieldDefListResponse"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}}}', true));
    $this->jobs = new Google_JobsServiceResource($this, $this->serviceName, 'jobs', json_decode('{"methods": {"get": {"id": "coordinate.jobs.get", "path": "{teamId}/jobs/{jobId}", "httpMethod": "GET", "parameters": {"jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "teamId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Job"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}, "insert": {"id": "coordinate.jobs.insert", "path": "{teamId}/jobs", "httpMethod": "POST", "parameters": {"address": {"type": "string", "required": true, "location": "query"}, "assignee": {"type": "string", "location": "query"}, "customField": {"type": "string", "repeated": true, "location": "query"}, "customerName": {"type": "string", "location": "query"}, "customerPhoneNumber": {"type": "string", "location": "query"}, "lat": {"type": "number", "required": true, "format": "double", "location": "query"}, "lng": {"type": "number", "required": true, "format": "double", "location": "query"}, "note": {"type": "string", "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}, "title": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Job"}, "response": {"$ref": "Job"}, "scopes": ["https://www.googleapis.com/auth/coordinate"]}, "list": {"id": "coordinate.jobs.list", "path": "{teamId}/jobs", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "format": "uint32", "location": "query"}, "minModifiedTimestampMs": {"type": "string", "format": "uint64", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "JobListResponse"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}, "patch": {"id": "coordinate.jobs.patch", "path": "{teamId}/jobs/{jobId}", "httpMethod": "PATCH", "parameters": {"address": {"type": "string", "location": "query"}, "assignee": {"type": "string", "location": "query"}, "customField": {"type": "string", "repeated": true, "location": "query"}, "customerName": {"type": "string", "location": "query"}, "customerPhoneNumber": {"type": "string", "location": "query"}, "jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "lat": {"type": "number", "format": "double", "location": "query"}, "lng": {"type": "number", "format": "double", "location": "query"}, "note": {"type": "string", "location": "query"}, "progress": {"type": "string", "enum": ["COMPLETED", "IN_PROGRESS", "NOT_ACCEPTED", "NOT_STARTED", "OBSOLETE"], "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}, "title": {"type": "string", "location": "query"}}, "request": {"$ref": "Job"}, "response": {"$ref": "Job"}, "scopes": ["https://www.googleapis.com/auth/coordinate"]}, "update": {"id": "coordinate.jobs.update", "path": "{teamId}/jobs/{jobId}", "httpMethod": "PUT", "parameters": {"address": {"type": "string", "location": "query"}, "assignee": {"type": "string", "location": "query"}, "customField": {"type": "string", "repeated": true, "location": "query"}, "customerName": {"type": "string", "location": "query"}, "customerPhoneNumber": {"type": "string", "location": "query"}, "jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "lat": {"type": "number", "format": "double", "location": "query"}, "lng": {"type": "number", "format": "double", "location": "query"}, "note": {"type": "string", "location": "query"}, "progress": {"type": "string", "enum": ["COMPLETED", "IN_PROGRESS", "NOT_ACCEPTED", "NOT_STARTED", "OBSOLETE"], "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}, "title": {"type": "string", "location": "query"}}, "request": {"$ref": "Job"}, "response": {"$ref": "Job"}, "scopes": ["https://www.googleapis.com/auth/coordinate"]}}}', true));
    $this->location = new Google_LocationServiceResource($this, $this->serviceName, 'location', json_decode('{"methods": {"list": {"id": "coordinate.location.list", "path": "{teamId}/workers/{workerEmail}/locations", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "format": "uint32", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "startTimestampMs": {"type": "string", "required": true, "format": "uint64", "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}, "workerEmail": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "LocationListResponse"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}}}', true));
    $this->schedule = new Google_ScheduleServiceResource($this, $this->serviceName, 'schedule', json_decode('{"methods": {"get": {"id": "coordinate.schedule.get", "path": "{teamId}/jobs/{jobId}/schedule", "httpMethod": "GET", "parameters": {"jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "teamId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Schedule"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}, "patch": {"id": "coordinate.schedule.patch", "path": "{teamId}/jobs/{jobId}/schedule", "httpMethod": "PATCH", "parameters": {"allDay": {"type": "boolean", "location": "query"}, "duration": {"type": "string", "format": "uint64", "location": "query"}, "endTime": {"type": "string", "format": "uint64", "location": "query"}, "jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "startTime": {"type": "string", "format": "uint64", "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Schedule"}, "response": {"$ref": "Schedule"}, "scopes": ["https://www.googleapis.com/auth/coordinate"]}, "update": {"id": "coordinate.schedule.update", "path": "{teamId}/jobs/{jobId}/schedule", "httpMethod": "PUT", "parameters": {"allDay": {"type": "boolean", "location": "query"}, "duration": {"type": "string", "format": "uint64", "location": "query"}, "endTime": {"type": "string", "format": "uint64", "location": "query"}, "jobId": {"type": "string", "required": true, "format": "uint64", "location": "path"}, "startTime": {"type": "string", "format": "uint64", "location": "query"}, "teamId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Schedule"}, "response": {"$ref": "Schedule"}, "scopes": ["https://www.googleapis.com/auth/coordinate"]}}}', true));
    $this->worker = new Google_WorkerServiceResource($this, $this->serviceName, 'worker', json_decode('{"methods": {"list": {"id": "coordinate.worker.list", "path": "{teamId}/workers", "httpMethod": "GET", "parameters": {"teamId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "WorkerListResponse"}, "scopes": ["https://www.googleapis.com/auth/coordinate", "https://www.googleapis.com/auth/coordinate.readonly"]}}}', true));

  }
}



class Google_CustomField extends Google_Model {
  public $customFieldId;
  public $kind;
  public $value;
  public function setCustomFieldId( $customFieldId) {
    $this->customFieldId = $customFieldId;
  }
  public function getCustomFieldId() {
    return $this->customFieldId;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setValue( $value) {
    $this->value = $value;
  }
  public function getValue() {
    return $this->value;
  }
}

class Google_CustomFieldDef extends Google_Model {
  public $enabled;
  public $id;
  public $kind;
  public $name;
  public $requiredForCheckout;
  public $type;
  public function setEnabled( $enabled) {
    $this->enabled = $enabled;
  }
  public function getEnabled() {
    return $this->enabled;
  }
  public function setId( $id) {
    $this->id = $id;
  }
  public function getId() {
    return $this->id;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setName( $name) {
    $this->name = $name;
  }
  public function getName() {
    return $this->name;
  }
  public function setRequiredForCheckout( $requiredForCheckout) {
    $this->requiredForCheckout = $requiredForCheckout;
  }
  public function getRequiredForCheckout() {
    return $this->requiredForCheckout;
  }
  public function setType( $type) {
    $this->type = $type;
  }
  public function getType() {
    return $this->type;
  }
}

class Google_CustomFieldDefListResponse extends Google_Model {
  protected $__itemsType = 'Google_CustomFieldDef';
  protected $__itemsDataType = 'array';
  public $items;
  public $kind;
  public function setItems(/* array(Google_CustomFieldDef) */ $items) {
    $this->assertIsArray($items, 'Google_CustomFieldDef', __METHOD__);
    $this->items = $items;
  }
  public function getItems() {
    return $this->items;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
}

class Google_CustomFields extends Google_Model {
  protected $__customFieldType = 'Google_CustomField';
  protected $__customFieldDataType = 'array';
  public $customField;
  public $kind;
  public function setCustomField(/* array(Google_CustomField) */ $customField) {
    $this->assertIsArray($customField, 'Google_CustomField', __METHOD__);
    $this->customField = $customField;
  }
  public function getCustomField() {
    return $this->customField;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
}

class Google_Job extends Google_Model {
  public $id;
  protected $__jobChangeType = 'Google_JobChange';
  protected $__jobChangeDataType = 'array';
  public $jobChange;
  public $kind;
  protected $__stateType = 'Google_JobState';
  protected $__stateDataType = '';
  public $state;
  public function setId( $id) {
    $this->id = $id;
  }
  public function getId() {
    return $this->id;
  }
  public function setJobChange(/* array(Google_JobChange) */ $jobChange) {
    $this->assertIsArray($jobChange, 'Google_JobChange', __METHOD__);
    $this->jobChange = $jobChange;
  }
  public function getJobChange() {
    return $this->jobChange;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setState(Google_JobState $state) {
    $this->state = $state;
  }
  public function getState() {
    return $this->state;
  }
}

class Google_JobChange extends Google_Model {
  public $kind;
  protected $__stateType = 'Google_JobState';
  protected $__stateDataType = '';
  public $state;
  public $timestamp;
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setState(Google_JobState $state) {
    $this->state = $state;
  }
  public function getState() {
    return $this->state;
  }
  public function setTimestamp( $timestamp) {
    $this->timestamp = $timestamp;
  }
  public function getTimestamp() {
    return $this->timestamp;
  }
}

class Google_JobListResponse extends Google_Model {
  protected $__itemsType = 'Google_Job';
  protected $__itemsDataType = 'array';
  public $items;
  public $kind;
  public $nextPageToken;
  public function setItems(/* array(Google_Job) */ $items) {
    $this->assertIsArray($items, 'Google_Job', __METHOD__);
    $this->items = $items;
  }
  public function getItems() {
    return $this->items;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setNextPageToken( $nextPageToken) {
    $this->nextPageToken = $nextPageToken;
  }
  public function getNextPageToken() {
    return $this->nextPageToken;
  }
}

class Google_JobState extends Google_Model {
  public $assignee;
  protected $__customFieldsType = 'Google_CustomFields';
  protected $__customFieldsDataType = '';
  public $customFields;
  public $customerName;
  public $customerPhoneNumber;
  public $kind;
  protected $__locationType = 'Google_Location';
  protected $__locationDataType = '';
  public $location;
  public $note;
  public $progress;
  public $title;
  public function setAssignee( $assignee) {
    $this->assignee = $assignee;
  }
  public function getAssignee() {
    return $this->assignee;
  }
  public function setCustomFields(Google_CustomFields $customFields) {
    $this->customFields = $customFields;
  }
  public function getCustomFields() {
    return $this->customFields;
  }
  public function setCustomerName( $customerName) {
    $this->customerName = $customerName;
  }
  public function getCustomerName() {
    return $this->customerName;
  }
  public function setCustomerPhoneNumber( $customerPhoneNumber) {
    $this->customerPhoneNumber = $customerPhoneNumber;
  }
  public function getCustomerPhoneNumber() {
    return $this->customerPhoneNumber;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setLocation(Google_Location $location) {
    $this->location = $location;
  }
  public function getLocation() {
    return $this->location;
  }
  public function setNote(/* array(Google_string) */ $note) {
    $this->assertIsArray($note, 'Google_string', __METHOD__);
    $this->note = $note;
  }
  public function getNote() {
    return $this->note;
  }
  public function setProgress( $progress) {
    $this->progress = $progress;
  }
  public function getProgress() {
    return $this->progress;
  }
  public function setTitle( $title) {
    $this->title = $title;
  }
  public function getTitle() {
    return $this->title;
  }
}

class Google_Location extends Google_Model {
  public $addressLine;
  public $kind;
  public $lat;
  public $lng;
  public function setAddressLine(/* array(Google_string) */ $addressLine) {
    $this->assertIsArray($addressLine, 'Google_string', __METHOD__);
    $this->addressLine = $addressLine;
  }
  public function getAddressLine() {
    return $this->addressLine;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setLat( $lat) {
    $this->lat = $lat;
  }
  public function getLat() {
    return $this->lat;
  }
  public function setLng( $lng) {
    $this->lng = $lng;
  }
  public function getLng() {
    return $this->lng;
  }
}

class Google_LocationListResponse extends Google_Model {
  protected $__itemsType = 'Google_LocationRecord';
  protected $__itemsDataType = 'array';
  public $items;
  public $kind;
  public $nextPageToken;
  protected $__tokenPaginationType = 'Google_TokenPagination';
  protected $__tokenPaginationDataType = '';
  public $tokenPagination;
  public function setItems(/* array(Google_LocationRecord) */ $items) {
    $this->assertIsArray($items, 'Google_LocationRecord', __METHOD__);
    $this->items = $items;
  }
  public function getItems() {
    return $this->items;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setNextPageToken( $nextPageToken) {
    $this->nextPageToken = $nextPageToken;
  }
  public function getNextPageToken() {
    return $this->nextPageToken;
  }
  public function setTokenPagination(Google_TokenPagination $tokenPagination) {
    $this->tokenPagination = $tokenPagination;
  }
  public function getTokenPagination() {
    return $this->tokenPagination;
  }
}

class Google_LocationRecord extends Google_Model {
  public $collectionTime;
  public $confidenceRadius;
  public $kind;
  public $latitude;
  public $longitude;
  public function setCollectionTime( $collectionTime) {
    $this->collectionTime = $collectionTime;
  }
  public function getCollectionTime() {
    return $this->collectionTime;
  }
  public function setConfidenceRadius( $confidenceRadius) {
    $this->confidenceRadius = $confidenceRadius;
  }
  public function getConfidenceRadius() {
    return $this->confidenceRadius;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setLatitude( $latitude) {
    $this->latitude = $latitude;
  }
  public function getLatitude() {
    return $this->latitude;
  }
  public function setLongitude( $longitude) {
    $this->longitude = $longitude;
  }
  public function getLongitude() {
    return $this->longitude;
  }
}

class Google_Schedule extends Google_Model {
  public $allDay;
  public $duration;
  public $endTime;
  public $kind;
  public $startTime;
  public function setAllDay( $allDay) {
    $this->allDay = $allDay;
  }
  public function getAllDay() {
    return $this->allDay;
  }
  public function setDuration( $duration) {
    $this->duration = $duration;
  }
  public function getDuration() {
    return $this->duration;
  }
  public function setEndTime( $endTime) {
    $this->endTime = $endTime;
  }
  public function getEndTime() {
    return $this->endTime;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setStartTime( $startTime) {
    $this->startTime = $startTime;
  }
  public function getStartTime() {
    return $this->startTime;
  }
}

class Google_TokenPagination extends Google_Model {
  public $kind;
  public $nextPageToken;
  public $previousPageToken;
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
  public function setNextPageToken( $nextPageToken) {
    $this->nextPageToken = $nextPageToken;
  }
  public function getNextPageToken() {
    return $this->nextPageToken;
  }
  public function setPreviousPageToken( $previousPageToken) {
    $this->previousPageToken = $previousPageToken;
  }
  public function getPreviousPageToken() {
    return $this->previousPageToken;
  }
}

class Google_Worker extends Google_Model {
  public $id;
  public $kind;
  public function setId( $id) {
    $this->id = $id;
  }
  public function getId() {
    return $this->id;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
}

class Google_WorkerListResponse extends Google_Model {
  protected $__itemsType = 'Google_Worker';
  protected $__itemsDataType = 'array';
  public $items;
  public $kind;
  public function setItems(/* array(Google_Worker) */ $items) {
    $this->assertIsArray($items, 'Google_Worker', __METHOD__);
    $this->items = $items;
  }
  public function getItems() {
    return $this->items;
  }
  public function setKind( $kind) {
    $this->kind = $kind;
  }
  public function getKind() {
    return $this->kind;
  }
}