| 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 Coordinate (v1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* Lets you view and manage jobs in a Coordinate team. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/coordinate/" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Analytify_Google_Service_Coordinate extends Analytify_Google_Service |
| 33 |
{ |
| 34 |
/** View and manage your Google Maps Coordinate jobs. */ |
| 35 |
const COORDINATE = "https://www.googleapis.com/auth/coordinate"; |
| 36 |
/** View your Google Coordinate jobs. */ |
| 37 |
const COORDINATE_READONLY = "https://www.googleapis.com/auth/coordinate.readonly"; |
| 38 |
|
| 39 |
public $customFieldDef; |
| 40 |
public $jobs; |
| 41 |
public $location; |
| 42 |
public $schedule; |
| 43 |
public $worker; |
| 44 |
|
| 45 |
|
| 46 |
/** |
| 47 |
* Constructs the internal representation of the Coordinate service. |
| 48 |
* |
| 49 |
* @param Analytify_Google_Client $client |
| 50 |
*/ |
| 51 |
public function __construct(Analytify_Google_Client $client) |
| 52 |
{ |
| 53 |
parent::__construct($client); |
| 54 |
$this->servicePath = 'coordinate/v1/teams/'; |
| 55 |
$this->version = 'v1'; |
| 56 |
$this->serviceName = 'coordinate'; |
| 57 |
|
| 58 |
$this->customFieldDef = new Analytify_Google_Service_Coordinate_CustomFieldDef_Resource( |
| 59 |
$this, |
| 60 |
$this->serviceName, |
| 61 |
'customFieldDef', |
| 62 |
array( |
| 63 |
'methods' => array( |
| 64 |
'list' => array( |
| 65 |
'path' => '{teamId}/custom_fields', |
| 66 |
'httpMethod' => 'GET', |
| 67 |
'parameters' => array( |
| 68 |
'teamId' => array( |
| 69 |
'location' => 'path', |
| 70 |
'type' => 'string', |
| 71 |
'required' => true, |
| 72 |
), |
| 73 |
), |
| 74 |
), |
| 75 |
) |
| 76 |
) |
| 77 |
); |
| 78 |
$this->jobs = new Analytify_Google_Service_Coordinate_Jobs_Resource( |
| 79 |
$this, |
| 80 |
$this->serviceName, |
| 81 |
'jobs', |
| 82 |
array( |
| 83 |
'methods' => array( |
| 84 |
'get' => array( |
| 85 |
'path' => '{teamId}/jobs/{jobId}', |
| 86 |
'httpMethod' => 'GET', |
| 87 |
'parameters' => array( |
| 88 |
'teamId' => array( |
| 89 |
'location' => 'path', |
| 90 |
'type' => 'string', |
| 91 |
'required' => true, |
| 92 |
), |
| 93 |
'jobId' => array( |
| 94 |
'location' => 'path', |
| 95 |
'type' => 'string', |
| 96 |
'required' => true, |
| 97 |
), |
| 98 |
), |
| 99 |
),'insert' => array( |
| 100 |
'path' => '{teamId}/jobs', |
| 101 |
'httpMethod' => 'POST', |
| 102 |
'parameters' => array( |
| 103 |
'teamId' => array( |
| 104 |
'location' => 'path', |
| 105 |
'type' => 'string', |
| 106 |
'required' => true, |
| 107 |
), |
| 108 |
'address' => array( |
| 109 |
'location' => 'query', |
| 110 |
'type' => 'string', |
| 111 |
'required' => true, |
| 112 |
), |
| 113 |
'lat' => array( |
| 114 |
'location' => 'query', |
| 115 |
'type' => 'number', |
| 116 |
'required' => true, |
| 117 |
), |
| 118 |
'lng' => array( |
| 119 |
'location' => 'query', |
| 120 |
'type' => 'number', |
| 121 |
'required' => true, |
| 122 |
), |
| 123 |
'title' => array( |
| 124 |
'location' => 'query', |
| 125 |
'type' => 'string', |
| 126 |
'required' => true, |
| 127 |
), |
| 128 |
'customerName' => array( |
| 129 |
'location' => 'query', |
| 130 |
'type' => 'string', |
| 131 |
), |
| 132 |
'note' => array( |
| 133 |
'location' => 'query', |
| 134 |
'type' => 'string', |
| 135 |
), |
| 136 |
'assignee' => array( |
| 137 |
'location' => 'query', |
| 138 |
'type' => 'string', |
| 139 |
), |
| 140 |
'customerPhoneNumber' => array( |
| 141 |
'location' => 'query', |
| 142 |
'type' => 'string', |
| 143 |
), |
| 144 |
'customField' => array( |
| 145 |
'location' => 'query', |
| 146 |
'type' => 'string', |
| 147 |
'repeated' => true, |
| 148 |
), |
| 149 |
), |
| 150 |
),'list' => array( |
| 151 |
'path' => '{teamId}/jobs', |
| 152 |
'httpMethod' => 'GET', |
| 153 |
'parameters' => array( |
| 154 |
'teamId' => array( |
| 155 |
'location' => 'path', |
| 156 |
'type' => 'string', |
| 157 |
'required' => true, |
| 158 |
), |
| 159 |
'minModifiedTimestampMs' => array( |
| 160 |
'location' => 'query', |
| 161 |
'type' => 'string', |
| 162 |
), |
| 163 |
'maxResults' => array( |
| 164 |
'location' => 'query', |
| 165 |
'type' => 'integer', |
| 166 |
), |
| 167 |
'pageToken' => array( |
| 168 |
'location' => 'query', |
| 169 |
'type' => 'string', |
| 170 |
), |
| 171 |
), |
| 172 |
),'patch' => array( |
| 173 |
'path' => '{teamId}/jobs/{jobId}', |
| 174 |
'httpMethod' => 'PATCH', |
| 175 |
'parameters' => array( |
| 176 |
'teamId' => array( |
| 177 |
'location' => 'path', |
| 178 |
'type' => 'string', |
| 179 |
'required' => true, |
| 180 |
), |
| 181 |
'jobId' => array( |
| 182 |
'location' => 'path', |
| 183 |
'type' => 'string', |
| 184 |
'required' => true, |
| 185 |
), |
| 186 |
'customerName' => array( |
| 187 |
'location' => 'query', |
| 188 |
'type' => 'string', |
| 189 |
), |
| 190 |
'title' => array( |
| 191 |
'location' => 'query', |
| 192 |
'type' => 'string', |
| 193 |
), |
| 194 |
'note' => array( |
| 195 |
'location' => 'query', |
| 196 |
'type' => 'string', |
| 197 |
), |
| 198 |
'assignee' => array( |
| 199 |
'location' => 'query', |
| 200 |
'type' => 'string', |
| 201 |
), |
| 202 |
'customerPhoneNumber' => array( |
| 203 |
'location' => 'query', |
| 204 |
'type' => 'string', |
| 205 |
), |
| 206 |
'address' => array( |
| 207 |
'location' => 'query', |
| 208 |
'type' => 'string', |
| 209 |
), |
| 210 |
'lat' => array( |
| 211 |
'location' => 'query', |
| 212 |
'type' => 'number', |
| 213 |
), |
| 214 |
'progress' => array( |
| 215 |
'location' => 'query', |
| 216 |
'type' => 'string', |
| 217 |
), |
| 218 |
'lng' => array( |
| 219 |
'location' => 'query', |
| 220 |
'type' => 'number', |
| 221 |
), |
| 222 |
'customField' => array( |
| 223 |
'location' => 'query', |
| 224 |
'type' => 'string', |
| 225 |
'repeated' => true, |
| 226 |
), |
| 227 |
), |
| 228 |
),'update' => array( |
| 229 |
'path' => '{teamId}/jobs/{jobId}', |
| 230 |
'httpMethod' => 'PUT', |
| 231 |
'parameters' => array( |
| 232 |
'teamId' => array( |
| 233 |
'location' => 'path', |
| 234 |
'type' => 'string', |
| 235 |
'required' => true, |
| 236 |
), |
| 237 |
'jobId' => array( |
| 238 |
'location' => 'path', |
| 239 |
'type' => 'string', |
| 240 |
'required' => true, |
| 241 |
), |
| 242 |
'customerName' => array( |
| 243 |
'location' => 'query', |
| 244 |
'type' => 'string', |
| 245 |
), |
| 246 |
'title' => array( |
| 247 |
'location' => 'query', |
| 248 |
'type' => 'string', |
| 249 |
), |
| 250 |
'note' => array( |
| 251 |
'location' => 'query', |
| 252 |
'type' => 'string', |
| 253 |
), |
| 254 |
'assignee' => array( |
| 255 |
'location' => 'query', |
| 256 |
'type' => 'string', |
| 257 |
), |
| 258 |
'customerPhoneNumber' => array( |
| 259 |
'location' => 'query', |
| 260 |
'type' => 'string', |
| 261 |
), |
| 262 |
'address' => array( |
| 263 |
'location' => 'query', |
| 264 |
'type' => 'string', |
| 265 |
), |
| 266 |
'lat' => array( |
| 267 |
'location' => 'query', |
| 268 |
'type' => 'number', |
| 269 |
), |
| 270 |
'progress' => array( |
| 271 |
'location' => 'query', |
| 272 |
'type' => 'string', |
| 273 |
), |
| 274 |
'lng' => array( |
| 275 |
'location' => 'query', |
| 276 |
'type' => 'number', |
| 277 |
), |
| 278 |
'customField' => array( |
| 279 |
'location' => 'query', |
| 280 |
'type' => 'string', |
| 281 |
'repeated' => true, |
| 282 |
), |
| 283 |
), |
| 284 |
), |
| 285 |
) |
| 286 |
) |
| 287 |
); |
| 288 |
$this->location = new Analytify_Google_Service_Coordinate_Location_Resource( |
| 289 |
$this, |
| 290 |
$this->serviceName, |
| 291 |
'location', |
| 292 |
array( |
| 293 |
'methods' => array( |
| 294 |
'list' => array( |
| 295 |
'path' => '{teamId}/workers/{workerEmail}/locations', |
| 296 |
'httpMethod' => 'GET', |
| 297 |
'parameters' => array( |
| 298 |
'teamId' => array( |
| 299 |
'location' => 'path', |
| 300 |
'type' => 'string', |
| 301 |
'required' => true, |
| 302 |
), |
| 303 |
'workerEmail' => array( |
| 304 |
'location' => 'path', |
| 305 |
'type' => 'string', |
| 306 |
'required' => true, |
| 307 |
), |
| 308 |
'startTimestampMs' => array( |
| 309 |
'location' => 'query', |
| 310 |
'type' => 'string', |
| 311 |
'required' => true, |
| 312 |
), |
| 313 |
'pageToken' => array( |
| 314 |
'location' => 'query', |
| 315 |
'type' => 'string', |
| 316 |
), |
| 317 |
'maxResults' => array( |
| 318 |
'location' => 'query', |
| 319 |
'type' => 'integer', |
| 320 |
), |
| 321 |
), |
| 322 |
), |
| 323 |
) |
| 324 |
) |
| 325 |
); |
| 326 |
$this->schedule = new Analytify_Google_Service_Coordinate_Schedule_Resource( |
| 327 |
$this, |
| 328 |
$this->serviceName, |
| 329 |
'schedule', |
| 330 |
array( |
| 331 |
'methods' => array( |
| 332 |
'get' => array( |
| 333 |
'path' => '{teamId}/jobs/{jobId}/schedule', |
| 334 |
'httpMethod' => 'GET', |
| 335 |
'parameters' => array( |
| 336 |
'teamId' => array( |
| 337 |
'location' => 'path', |
| 338 |
'type' => 'string', |
| 339 |
'required' => true, |
| 340 |
), |
| 341 |
'jobId' => array( |
| 342 |
'location' => 'path', |
| 343 |
'type' => 'string', |
| 344 |
'required' => true, |
| 345 |
), |
| 346 |
), |
| 347 |
),'patch' => array( |
| 348 |
'path' => '{teamId}/jobs/{jobId}/schedule', |
| 349 |
'httpMethod' => 'PATCH', |
| 350 |
'parameters' => array( |
| 351 |
'teamId' => array( |
| 352 |
'location' => 'path', |
| 353 |
'type' => 'string', |
| 354 |
'required' => true, |
| 355 |
), |
| 356 |
'jobId' => array( |
| 357 |
'location' => 'path', |
| 358 |
'type' => 'string', |
| 359 |
'required' => true, |
| 360 |
), |
| 361 |
'allDay' => array( |
| 362 |
'location' => 'query', |
| 363 |
'type' => 'boolean', |
| 364 |
), |
| 365 |
'startTime' => array( |
| 366 |
'location' => 'query', |
| 367 |
'type' => 'string', |
| 368 |
), |
| 369 |
'duration' => array( |
| 370 |
'location' => 'query', |
| 371 |
'type' => 'string', |
| 372 |
), |
| 373 |
'endTime' => array( |
| 374 |
'location' => 'query', |
| 375 |
'type' => 'string', |
| 376 |
), |
| 377 |
), |
| 378 |
),'update' => array( |
| 379 |
'path' => '{teamId}/jobs/{jobId}/schedule', |
| 380 |
'httpMethod' => 'PUT', |
| 381 |
'parameters' => array( |
| 382 |
'teamId' => array( |
| 383 |
'location' => 'path', |
| 384 |
'type' => 'string', |
| 385 |
'required' => true, |
| 386 |
), |
| 387 |
'jobId' => array( |
| 388 |
'location' => 'path', |
| 389 |
'type' => 'string', |
| 390 |
'required' => true, |
| 391 |
), |
| 392 |
'allDay' => array( |
| 393 |
'location' => 'query', |
| 394 |
'type' => 'boolean', |
| 395 |
), |
| 396 |
'startTime' => array( |
| 397 |
'location' => 'query', |
| 398 |
'type' => 'string', |
| 399 |
), |
| 400 |
'duration' => array( |
| 401 |
'location' => 'query', |
| 402 |
'type' => 'string', |
| 403 |
), |
| 404 |
'endTime' => array( |
| 405 |
'location' => 'query', |
| 406 |
'type' => 'string', |
| 407 |
), |
| 408 |
), |
| 409 |
), |
| 410 |
) |
| 411 |
) |
| 412 |
); |
| 413 |
$this->worker = new Analytify_Google_Service_Coordinate_Worker_Resource( |
| 414 |
$this, |
| 415 |
$this->serviceName, |
| 416 |
'worker', |
| 417 |
array( |
| 418 |
'methods' => array( |
| 419 |
'list' => array( |
| 420 |
'path' => '{teamId}/workers', |
| 421 |
'httpMethod' => 'GET', |
| 422 |
'parameters' => array( |
| 423 |
'teamId' => array( |
| 424 |
'location' => 'path', |
| 425 |
'type' => 'string', |
| 426 |
'required' => true, |
| 427 |
), |
| 428 |
), |
| 429 |
), |
| 430 |
) |
| 431 |
) |
| 432 |
); |
| 433 |
} |
| 434 |
} |
| 435 |
|
| 436 |
|
| 437 |
/** |
| 438 |
* The "customFieldDef" collection of methods. |
| 439 |
* Typical usage is: |
| 440 |
* <code> |
| 441 |
* $coordinateService = new Analytify_Google_Service_Coordinate(...); |
| 442 |
* $customFieldDef = $coordinateService->customFieldDef; |
| 443 |
* </code> |
| 444 |
*/ |
| 445 |
class Analytify_Google_Service_Coordinate_CustomFieldDef_Resource extends Analytify_Google_Service_Resource |
| 446 |
{ |
| 447 |
|
| 448 |
/** |
| 449 |
* Retrieves a list of custom field definitions for a team. |
| 450 |
* (customFieldDef.listCustomFieldDef) |
| 451 |
* |
| 452 |
* @param string $teamId |
| 453 |
* Team ID |
| 454 |
* @param array $optParams Optional parameters. |
| 455 |
* @return Analytify_Google_Service_Coordinate_CustomFieldDefListResponse |
| 456 |
*/ |
| 457 |
public function listCustomFieldDef($teamId, $optParams = array()) |
| 458 |
{ |
| 459 |
$params = array('teamId' => $teamId); |
| 460 |
$params = array_merge($params, $optParams); |
| 461 |
return $this->call('list', array($params), "Analytify_Google_Service_Coordinate_CustomFieldDefListResponse"); |
| 462 |
} |
| 463 |
} |
| 464 |
|
| 465 |
/** |
| 466 |
* The "jobs" collection of methods. |
| 467 |
* Typical usage is: |
| 468 |
* <code> |
| 469 |
* $coordinateService = new Analytify_Google_Service_Coordinate(...); |
| 470 |
* $jobs = $coordinateService->jobs; |
| 471 |
* </code> |
| 472 |
*/ |
| 473 |
class Analytify_Google_Service_Coordinate_Jobs_Resource extends Analytify_Google_Service_Resource |
| 474 |
{ |
| 475 |
|
| 476 |
/** |
| 477 |
* Retrieves a job, including all the changes made to the job. (jobs.get) |
| 478 |
* |
| 479 |
* @param string $teamId |
| 480 |
* Team ID |
| 481 |
* @param string $jobId |
| 482 |
* Job number |
| 483 |
* @param array $optParams Optional parameters. |
| 484 |
* @return Analytify_Google_Service_Coordinate_Job |
| 485 |
*/ |
| 486 |
public function get($teamId, $jobId, $optParams = array()) |
| 487 |
{ |
| 488 |
$params = array('teamId' => $teamId, 'jobId' => $jobId); |
| 489 |
$params = array_merge($params, $optParams); |
| 490 |
return $this->call('get', array($params), "Analytify_Google_Service_Coordinate_Job"); |
| 491 |
} |
| 492 |
/** |
| 493 |
* Inserts a new job. Only the state field of the job should be set. |
| 494 |
* (jobs.insert) |
| 495 |
* |
| 496 |
* @param string $teamId |
| 497 |
* Team ID |
| 498 |
* @param string $address |
| 499 |
* Job address as newline (Unix) separated string |
| 500 |
* @param double $lat |
| 501 |
* The latitude coordinate of this job's location. |
| 502 |
* @param double $lng |
| 503 |
* The longitude coordinate of this job's location. |
| 504 |
* @param string $title |
| 505 |
* Job title |
| 506 |
* @param Analytify_Google_Job $postBody |
| 507 |
* @param array $optParams Optional parameters. |
| 508 |
* |
| 509 |
* @opt_param string customerName |
| 510 |
* Customer name |
| 511 |
* @opt_param string note |
| 512 |
* Job note as newline (Unix) separated string |
| 513 |
* @opt_param string assignee |
| 514 |
* Assignee email address, or empty string to unassign. |
| 515 |
* @opt_param string customerPhoneNumber |
| 516 |
* Customer phone number |
| 517 |
* @opt_param string customField |
| 518 |
* Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice' |
| 519 |
* @return Analytify_Google_Service_Coordinate_Job |
| 520 |
*/ |
| 521 |
public function insert($teamId, $address, $lat, $lng, $title, Analytify_Google_Service_Coordinate_Job $postBody, $optParams = array()) |
| 522 |
{ |
| 523 |
$params = array('teamId' => $teamId, 'address' => $address, 'lat' => $lat, 'lng' => $lng, 'title' => $title, 'postBody' => $postBody); |
| 524 |
$params = array_merge($params, $optParams); |
| 525 |
return $this->call('insert', array($params), "Analytify_Google_Service_Coordinate_Job"); |
| 526 |
} |
| 527 |
/** |
| 528 |
* Retrieves jobs created or modified since the given timestamp. (jobs.listJobs) |
| 529 |
* |
| 530 |
* @param string $teamId |
| 531 |
* Team ID |
| 532 |
* @param array $optParams Optional parameters. |
| 533 |
* |
| 534 |
* @opt_param string minModifiedTimestampMs |
| 535 |
* Minimum time a job was modified in milliseconds since epoch. |
| 536 |
* @opt_param string maxResults |
| 537 |
* Maximum number of results to return in one page. |
| 538 |
* @opt_param string pageToken |
| 539 |
* Continuation token |
| 540 |
* @return Analytify_Google_Service_Coordinate_JobListResponse |
| 541 |
*/ |
| 542 |
public function listJobs($teamId, $optParams = array()) |
| 543 |
{ |
| 544 |
$params = array('teamId' => $teamId); |
| 545 |
$params = array_merge($params, $optParams); |
| 546 |
return $this->call('list', array($params), "Analytify_Google_Service_Coordinate_JobListResponse"); |
| 547 |
} |
| 548 |
/** |
| 549 |
* Updates a job. Fields that are set in the job state will be updated. This |
| 550 |
* method supports patch semantics. (jobs.patch) |
| 551 |
* |
| 552 |
* @param string $teamId |
| 553 |
* Team ID |
| 554 |
* @param string $jobId |
| 555 |
* Job number |
| 556 |
* @param Analytify_Google_Job $postBody |
| 557 |
* @param array $optParams Optional parameters. |
| 558 |
* |
| 559 |
* @opt_param string customerName |
| 560 |
* Customer name |
| 561 |
* @opt_param string title |
| 562 |
* Job title |
| 563 |
* @opt_param string note |
| 564 |
* Job note as newline (Unix) separated string |
| 565 |
* @opt_param string assignee |
| 566 |
* Assignee email address, or empty string to unassign. |
| 567 |
* @opt_param string customerPhoneNumber |
| 568 |
* Customer phone number |
| 569 |
* @opt_param string address |
| 570 |
* Job address as newline (Unix) separated string |
| 571 |
* @opt_param double lat |
| 572 |
* The latitude coordinate of this job's location. |
| 573 |
* @opt_param string progress |
| 574 |
* Job progress |
| 575 |
* @opt_param double lng |
| 576 |
* The longitude coordinate of this job's location. |
| 577 |
* @opt_param string customField |
| 578 |
* Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice' |
| 579 |
* @return Analytify_Google_Service_Coordinate_Job |
| 580 |
*/ |
| 581 |
public function patch($teamId, $jobId, Analytify_Google_Service_Coordinate_Job $postBody, $optParams = array()) |
| 582 |
{ |
| 583 |
$params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); |
| 584 |
$params = array_merge($params, $optParams); |
| 585 |
return $this->call('patch', array($params), "Analytify_Google_Service_Coordinate_Job"); |
| 586 |
} |
| 587 |
/** |
| 588 |
* Updates a job. Fields that are set in the job state will be updated. |
| 589 |
* (jobs.update) |
| 590 |
* |
| 591 |
* @param string $teamId |
| 592 |
* Team ID |
| 593 |
* @param string $jobId |
| 594 |
* Job number |
| 595 |
* @param Analytify_Google_Job $postBody |
| 596 |
* @param array $optParams Optional parameters. |
| 597 |
* |
| 598 |
* @opt_param string customerName |
| 599 |
* Customer name |
| 600 |
* @opt_param string title |
| 601 |
* Job title |
| 602 |
* @opt_param string note |
| 603 |
* Job note as newline (Unix) separated string |
| 604 |
* @opt_param string assignee |
| 605 |
* Assignee email address, or empty string to unassign. |
| 606 |
* @opt_param string customerPhoneNumber |
| 607 |
* Customer phone number |
| 608 |
* @opt_param string address |
| 609 |
* Job address as newline (Unix) separated string |
| 610 |
* @opt_param double lat |
| 611 |
* The latitude coordinate of this job's location. |
| 612 |
* @opt_param string progress |
| 613 |
* Job progress |
| 614 |
* @opt_param double lng |
| 615 |
* The longitude coordinate of this job's location. |
| 616 |
* @opt_param string customField |
| 617 |
* Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice' |
| 618 |
* @return Analytify_Google_Service_Coordinate_Job |
| 619 |
*/ |
| 620 |
public function update($teamId, $jobId, Analytify_Google_Service_Coordinate_Job $postBody, $optParams = array()) |
| 621 |
{ |
| 622 |
$params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); |
| 623 |
$params = array_merge($params, $optParams); |
| 624 |
return $this->call('update', array($params), "Analytify_Google_Service_Coordinate_Job"); |
| 625 |
} |
| 626 |
} |
| 627 |
|
| 628 |
/** |
| 629 |
* The "location" collection of methods. |
| 630 |
* Typical usage is: |
| 631 |
* <code> |
| 632 |
* $coordinateService = new Analytify_Google_Service_Coordinate(...); |
| 633 |
* $location = $coordinateService->location; |
| 634 |
* </code> |
| 635 |
*/ |
| 636 |
class Analytify_Google_Service_Coordinate_Location_Resource extends Analytify_Google_Service_Resource |
| 637 |
{ |
| 638 |
|
| 639 |
/** |
| 640 |
* Retrieves a list of locations for a worker. (location.listLocation) |
| 641 |
* |
| 642 |
* @param string $teamId |
| 643 |
* Team ID |
| 644 |
* @param string $workerEmail |
| 645 |
* Worker email address. |
| 646 |
* @param string $startTimestampMs |
| 647 |
* Start timestamp in milliseconds since the epoch. |
| 648 |
* @param array $optParams Optional parameters. |
| 649 |
* |
| 650 |
* @opt_param string pageToken |
| 651 |
* Continuation token |
| 652 |
* @opt_param string maxResults |
| 653 |
* Maximum number of results to return in one page. |
| 654 |
* @return Analytify_Google_Service_Coordinate_LocationListResponse |
| 655 |
*/ |
| 656 |
public function listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array()) |
| 657 |
{ |
| 658 |
$params = array('teamId' => $teamId, 'workerEmail' => $workerEmail, 'startTimestampMs' => $startTimestampMs); |
| 659 |
$params = array_merge($params, $optParams); |
| 660 |
return $this->call('list', array($params), "Analytify_Google_Service_Coordinate_LocationListResponse"); |
| 661 |
} |
| 662 |
} |
| 663 |
|
| 664 |
/** |
| 665 |
* The "schedule" collection of methods. |
| 666 |
* Typical usage is: |
| 667 |
* <code> |
| 668 |
* $coordinateService = new Analytify_Google_Service_Coordinate(...); |
| 669 |
* $schedule = $coordinateService->schedule; |
| 670 |
* </code> |
| 671 |
*/ |
| 672 |
class Analytify_Google_Service_Coordinate_Schedule_Resource extends Analytify_Google_Service_Resource |
| 673 |
{ |
| 674 |
|
| 675 |
/** |
| 676 |
* Retrieves the schedule for a job. (schedule.get) |
| 677 |
* |
| 678 |
* @param string $teamId |
| 679 |
* Team ID |
| 680 |
* @param string $jobId |
| 681 |
* Job number |
| 682 |
* @param array $optParams Optional parameters. |
| 683 |
* @return Analytify_Google_Service_Coordinate_Schedule |
| 684 |
*/ |
| 685 |
public function get($teamId, $jobId, $optParams = array()) |
| 686 |
{ |
| 687 |
$params = array('teamId' => $teamId, 'jobId' => $jobId); |
| 688 |
$params = array_merge($params, $optParams); |
| 689 |
return $this->call('get', array($params), "Analytify_Google_Service_Coordinate_Schedule"); |
| 690 |
} |
| 691 |
/** |
| 692 |
* Replaces the schedule of a job with the provided schedule. This method |
| 693 |
* supports patch semantics. (schedule.patch) |
| 694 |
* |
| 695 |
* @param string $teamId |
| 696 |
* Team ID |
| 697 |
* @param string $jobId |
| 698 |
* Job number |
| 699 |
* @param Analytify_Google_Schedule $postBody |
| 700 |
* @param array $optParams Optional parameters. |
| 701 |
* |
| 702 |
* @opt_param bool allDay |
| 703 |
* Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if |
| 704 |
* this is true. |
| 705 |
* @opt_param string startTime |
| 706 |
* Scheduled start time in milliseconds since epoch. |
| 707 |
* @opt_param string duration |
| 708 |
* Job duration in milliseconds. |
| 709 |
* @opt_param string endTime |
| 710 |
* Scheduled end time in milliseconds since epoch. |
| 711 |
* @return Analytify_Google_Service_Coordinate_Schedule |
| 712 |
*/ |
| 713 |
public function patch($teamId, $jobId, Analytify_Google_Service_Coordinate_Schedule $postBody, $optParams = array()) |
| 714 |
{ |
| 715 |
$params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); |
| 716 |
$params = array_merge($params, $optParams); |
| 717 |
return $this->call('patch', array($params), "Analytify_Google_Service_Coordinate_Schedule"); |
| 718 |
} |
| 719 |
/** |
| 720 |
* Replaces the schedule of a job with the provided schedule. (schedule.update) |
| 721 |
* |
| 722 |
* @param string $teamId |
| 723 |
* Team ID |
| 724 |
* @param string $jobId |
| 725 |
* Job number |
| 726 |
* @param Analytify_Google_Schedule $postBody |
| 727 |
* @param array $optParams Optional parameters. |
| 728 |
* |
| 729 |
* @opt_param bool allDay |
| 730 |
* Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if |
| 731 |
* this is true. |
| 732 |
* @opt_param string startTime |
| 733 |
* Scheduled start time in milliseconds since epoch. |
| 734 |
* @opt_param string duration |
| 735 |
* Job duration in milliseconds. |
| 736 |
* @opt_param string endTime |
| 737 |
* Scheduled end time in milliseconds since epoch. |
| 738 |
* @return Analytify_Google_Service_Coordinate_Schedule |
| 739 |
*/ |
| 740 |
public function update($teamId, $jobId, Analytify_Google_Service_Coordinate_Schedule $postBody, $optParams = array()) |
| 741 |
{ |
| 742 |
$params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); |
| 743 |
$params = array_merge($params, $optParams); |
| 744 |
return $this->call('update', array($params), "Analytify_Google_Service_Coordinate_Schedule"); |
| 745 |
} |
| 746 |
} |
| 747 |
|
| 748 |
/** |
| 749 |
* The "worker" collection of methods. |
| 750 |
* Typical usage is: |
| 751 |
* <code> |
| 752 |
* $coordinateService = new Analytify_Google_Service_Coordinate(...); |
| 753 |
* $worker = $coordinateService->worker; |
| 754 |
* </code> |
| 755 |
*/ |
| 756 |
class Analytify_Google_Service_Coordinate_Worker_Resource extends Analytify_Google_Service_Resource |
| 757 |
{ |
| 758 |
|
| 759 |
/** |
| 760 |
* Retrieves a list of workers in a team. (worker.listWorker) |
| 761 |
* |
| 762 |
* @param string $teamId |
| 763 |
* Team ID |
| 764 |
* @param array $optParams Optional parameters. |
| 765 |
* @return Analytify_Google_Service_Coordinate_WorkerListResponse |
| 766 |
*/ |
| 767 |
public function listWorker($teamId, $optParams = array()) |
| 768 |
{ |
| 769 |
$params = array('teamId' => $teamId); |
| 770 |
$params = array_merge($params, $optParams); |
| 771 |
return $this->call('list', array($params), "Analytify_Google_Service_Coordinate_WorkerListResponse"); |
| 772 |
} |
| 773 |
} |
| 774 |
|
| 775 |
|
| 776 |
|
| 777 |
|
| 778 |
class Analytify_Google_Service_Coordinate_CustomField extends Analytify_Google_Model |
| 779 |
{ |
| 780 |
public $customFieldId; |
| 781 |
public $kind; |
| 782 |
public $value; |
| 783 |
|
| 784 |
public function setCustomFieldId($customFieldId) |
| 785 |
{ |
| 786 |
$this->customFieldId = $customFieldId; |
| 787 |
} |
| 788 |
|
| 789 |
public function getCustomFieldId() |
| 790 |
{ |
| 791 |
return $this->customFieldId; |
| 792 |
} |
| 793 |
|
| 794 |
public function setKind($kind) |
| 795 |
{ |
| 796 |
$this->kind = $kind; |
| 797 |
} |
| 798 |
|
| 799 |
public function getKind() |
| 800 |
{ |
| 801 |
return $this->kind; |
| 802 |
} |
| 803 |
|
| 804 |
public function setValue($value) |
| 805 |
{ |
| 806 |
$this->value = $value; |
| 807 |
} |
| 808 |
|
| 809 |
public function getValue() |
| 810 |
{ |
| 811 |
return $this->value; |
| 812 |
} |
| 813 |
} |
| 814 |
|
| 815 |
class Analytify_Google_Service_Coordinate_CustomFieldDef extends Analytify_Google_Model |
| 816 |
{ |
| 817 |
public $enabled; |
| 818 |
public $id; |
| 819 |
public $kind; |
| 820 |
public $name; |
| 821 |
public $requiredForCheckout; |
| 822 |
public $type; |
| 823 |
|
| 824 |
public function setEnabled($enabled) |
| 825 |
{ |
| 826 |
$this->enabled = $enabled; |
| 827 |
} |
| 828 |
|
| 829 |
public function getEnabled() |
| 830 |
{ |
| 831 |
return $this->enabled; |
| 832 |
} |
| 833 |
|
| 834 |
public function setId($id) |
| 835 |
{ |
| 836 |
$this->id = $id; |
| 837 |
} |
| 838 |
|
| 839 |
public function getId() |
| 840 |
{ |
| 841 |
return $this->id; |
| 842 |
} |
| 843 |
|
| 844 |
public function setKind($kind) |
| 845 |
{ |
| 846 |
$this->kind = $kind; |
| 847 |
} |
| 848 |
|
| 849 |
public function getKind() |
| 850 |
{ |
| 851 |
return $this->kind; |
| 852 |
} |
| 853 |
|
| 854 |
public function setName($name) |
| 855 |
{ |
| 856 |
$this->name = $name; |
| 857 |
} |
| 858 |
|
| 859 |
public function getName() |
| 860 |
{ |
| 861 |
return $this->name; |
| 862 |
} |
| 863 |
|
| 864 |
public function setRequiredForCheckout($requiredForCheckout) |
| 865 |
{ |
| 866 |
$this->requiredForCheckout = $requiredForCheckout; |
| 867 |
} |
| 868 |
|
| 869 |
public function getRequiredForCheckout() |
| 870 |
{ |
| 871 |
return $this->requiredForCheckout; |
| 872 |
} |
| 873 |
|
| 874 |
public function setType($type) |
| 875 |
{ |
| 876 |
$this->type = $type; |
| 877 |
} |
| 878 |
|
| 879 |
public function getType() |
| 880 |
{ |
| 881 |
return $this->type; |
| 882 |
} |
| 883 |
} |
| 884 |
|
| 885 |
class Analytify_Google_Service_Coordinate_CustomFieldDefListResponse extends Analytify_Google_Collection |
| 886 |
{ |
| 887 |
protected $itemsType = 'Analytify_Google_Service_Coordinate_CustomFieldDef'; |
| 888 |
protected $itemsDataType = 'array'; |
| 889 |
public $kind; |
| 890 |
|
| 891 |
public function setItems($items) |
| 892 |
{ |
| 893 |
$this->items = $items; |
| 894 |
} |
| 895 |
|
| 896 |
public function getItems() |
| 897 |
{ |
| 898 |
return $this->items; |
| 899 |
} |
| 900 |
|
| 901 |
public function setKind($kind) |
| 902 |
{ |
| 903 |
$this->kind = $kind; |
| 904 |
} |
| 905 |
|
| 906 |
public function getKind() |
| 907 |
{ |
| 908 |
return $this->kind; |
| 909 |
} |
| 910 |
} |
| 911 |
|
| 912 |
class Analytify_Google_Service_Coordinate_CustomFields extends Analytify_Google_Collection |
| 913 |
{ |
| 914 |
protected $customFieldType = 'Analytify_Google_Service_Coordinate_CustomField'; |
| 915 |
protected $customFieldDataType = 'array'; |
| 916 |
public $kind; |
| 917 |
|
| 918 |
public function setCustomField($customField) |
| 919 |
{ |
| 920 |
$this->customField = $customField; |
| 921 |
} |
| 922 |
|
| 923 |
public function getCustomField() |
| 924 |
{ |
| 925 |
return $this->customField; |
| 926 |
} |
| 927 |
|
| 928 |
public function setKind($kind) |
| 929 |
{ |
| 930 |
$this->kind = $kind; |
| 931 |
} |
| 932 |
|
| 933 |
public function getKind() |
| 934 |
{ |
| 935 |
return $this->kind; |
| 936 |
} |
| 937 |
} |
| 938 |
|
| 939 |
class Analytify_Google_Service_Coordinate_Job extends Analytify_Google_Collection |
| 940 |
{ |
| 941 |
public $id; |
| 942 |
protected $jobChangeType = 'Analytify_Google_Service_Coordinate_JobChange'; |
| 943 |
protected $jobChangeDataType = 'array'; |
| 944 |
public $kind; |
| 945 |
protected $stateType = 'Analytify_Google_Service_Coordinate_JobState'; |
| 946 |
protected $stateDataType = ''; |
| 947 |
|
| 948 |
public function setId($id) |
| 949 |
{ |
| 950 |
$this->id = $id; |
| 951 |
} |
| 952 |
|
| 953 |
public function getId() |
| 954 |
{ |
| 955 |
return $this->id; |
| 956 |
} |
| 957 |
|
| 958 |
public function setJobChange($jobChange) |
| 959 |
{ |
| 960 |
$this->jobChange = $jobChange; |
| 961 |
} |
| 962 |
|
| 963 |
public function getJobChange() |
| 964 |
{ |
| 965 |
return $this->jobChange; |
| 966 |
} |
| 967 |
|
| 968 |
public function setKind($kind) |
| 969 |
{ |
| 970 |
$this->kind = $kind; |
| 971 |
} |
| 972 |
|
| 973 |
public function getKind() |
| 974 |
{ |
| 975 |
return $this->kind; |
| 976 |
} |
| 977 |
|
| 978 |
public function setState(Analytify_Google_Service_Coordinate_JobState $state) |
| 979 |
{ |
| 980 |
$this->state = $state; |
| 981 |
} |
| 982 |
|
| 983 |
public function getState() |
| 984 |
{ |
| 985 |
return $this->state; |
| 986 |
} |
| 987 |
} |
| 988 |
|
| 989 |
class Analytify_Google_Service_Coordinate_JobChange extends Analytify_Google_Model |
| 990 |
{ |
| 991 |
public $kind; |
| 992 |
protected $stateType = 'Analytify_Google_Service_Coordinate_JobState'; |
| 993 |
protected $stateDataType = ''; |
| 994 |
public $timestamp; |
| 995 |
|
| 996 |
public function setKind($kind) |
| 997 |
{ |
| 998 |
$this->kind = $kind; |
| 999 |
} |
| 1000 |
|
| 1001 |
public function getKind() |
| 1002 |
{ |
| 1003 |
return $this->kind; |
| 1004 |
} |
| 1005 |
|
| 1006 |
public function setState(Analytify_Google_Service_Coordinate_JobState $state) |
| 1007 |
{ |
| 1008 |
$this->state = $state; |
| 1009 |
} |
| 1010 |
|
| 1011 |
public function getState() |
| 1012 |
{ |
| 1013 |
return $this->state; |
| 1014 |
} |
| 1015 |
|
| 1016 |
public function setTimestamp($timestamp) |
| 1017 |
{ |
| 1018 |
$this->timestamp = $timestamp; |
| 1019 |
} |
| 1020 |
|
| 1021 |
public function getTimestamp() |
| 1022 |
{ |
| 1023 |
return $this->timestamp; |
| 1024 |
} |
| 1025 |
} |
| 1026 |
|
| 1027 |
class Analytify_Google_Service_Coordinate_JobListResponse extends Analytify_Google_Collection |
| 1028 |
{ |
| 1029 |
protected $itemsType = 'Analytify_Google_Service_Coordinate_Job'; |
| 1030 |
protected $itemsDataType = 'array'; |
| 1031 |
public $kind; |
| 1032 |
public $nextPageToken; |
| 1033 |
|
| 1034 |
public function setItems($items) |
| 1035 |
{ |
| 1036 |
$this->items = $items; |
| 1037 |
} |
| 1038 |
|
| 1039 |
public function getItems() |
| 1040 |
{ |
| 1041 |
return $this->items; |
| 1042 |
} |
| 1043 |
|
| 1044 |
public function setKind($kind) |
| 1045 |
{ |
| 1046 |
$this->kind = $kind; |
| 1047 |
} |
| 1048 |
|
| 1049 |
public function getKind() |
| 1050 |
{ |
| 1051 |
return $this->kind; |
| 1052 |
} |
| 1053 |
|
| 1054 |
public function setNextPageToken($nextPageToken) |
| 1055 |
{ |
| 1056 |
$this->nextPageToken = $nextPageToken; |
| 1057 |
} |
| 1058 |
|
| 1059 |
public function getNextPageToken() |
| 1060 |
{ |
| 1061 |
return $this->nextPageToken; |
| 1062 |
} |
| 1063 |
} |
| 1064 |
|
| 1065 |
class Analytify_Google_Service_Coordinate_JobState extends Analytify_Google_Collection |
| 1066 |
{ |
| 1067 |
public $assignee; |
| 1068 |
protected $customFieldsType = 'Analytify_Google_Service_Coordinate_CustomFields'; |
| 1069 |
protected $customFieldsDataType = ''; |
| 1070 |
public $customerName; |
| 1071 |
public $customerPhoneNumber; |
| 1072 |
public $kind; |
| 1073 |
protected $locationType = 'Analytify_Google_Service_Coordinate_Location'; |
| 1074 |
protected $locationDataType = ''; |
| 1075 |
public $note; |
| 1076 |
public $progress; |
| 1077 |
public $title; |
| 1078 |
|
| 1079 |
public function setAssignee($assignee) |
| 1080 |
{ |
| 1081 |
$this->assignee = $assignee; |
| 1082 |
} |
| 1083 |
|
| 1084 |
public function getAssignee() |
| 1085 |
{ |
| 1086 |
return $this->assignee; |
| 1087 |
} |
| 1088 |
|
| 1089 |
public function setCustomFields(Analytify_Google_Service_Coordinate_CustomFields $customFields) |
| 1090 |
{ |
| 1091 |
$this->customFields = $customFields; |
| 1092 |
} |
| 1093 |
|
| 1094 |
public function getCustomFields() |
| 1095 |
{ |
| 1096 |
return $this->customFields; |
| 1097 |
} |
| 1098 |
|
| 1099 |
public function setCustomerName($customerName) |
| 1100 |
{ |
| 1101 |
$this->customerName = $customerName; |
| 1102 |
} |
| 1103 |
|
| 1104 |
public function getCustomerName() |
| 1105 |
{ |
| 1106 |
return $this->customerName; |
| 1107 |
} |
| 1108 |
|
| 1109 |
public function setCustomerPhoneNumber($customerPhoneNumber) |
| 1110 |
{ |
| 1111 |
$this->customerPhoneNumber = $customerPhoneNumber; |
| 1112 |
} |
| 1113 |
|
| 1114 |
public function getCustomerPhoneNumber() |
| 1115 |
{ |
| 1116 |
return $this->customerPhoneNumber; |
| 1117 |
} |
| 1118 |
|
| 1119 |
public function setKind($kind) |
| 1120 |
{ |
| 1121 |
$this->kind = $kind; |
| 1122 |
} |
| 1123 |
|
| 1124 |
public function getKind() |
| 1125 |
{ |
| 1126 |
return $this->kind; |
| 1127 |
} |
| 1128 |
|
| 1129 |
public function setLocation(Analytify_Google_Service_Coordinate_Location $location) |
| 1130 |
{ |
| 1131 |
$this->location = $location; |
| 1132 |
} |
| 1133 |
|
| 1134 |
public function getLocation() |
| 1135 |
{ |
| 1136 |
return $this->location; |
| 1137 |
} |
| 1138 |
|
| 1139 |
public function setNote($note) |
| 1140 |
{ |
| 1141 |
$this->note = $note; |
| 1142 |
} |
| 1143 |
|
| 1144 |
public function getNote() |
| 1145 |
{ |
| 1146 |
return $this->note; |
| 1147 |
} |
| 1148 |
|
| 1149 |
public function setProgress($progress) |
| 1150 |
{ |
| 1151 |
$this->progress = $progress; |
| 1152 |
} |
| 1153 |
|
| 1154 |
public function getProgress() |
| 1155 |
{ |
| 1156 |
return $this->progress; |
| 1157 |
} |
| 1158 |
|
| 1159 |
public function setTitle($title) |
| 1160 |
{ |
| 1161 |
$this->title = $title; |
| 1162 |
} |
| 1163 |
|
| 1164 |
public function getTitle() |
| 1165 |
{ |
| 1166 |
return $this->title; |
| 1167 |
} |
| 1168 |
} |
| 1169 |
|
| 1170 |
class Analytify_Google_Service_Coordinate_Location extends Analytify_Google_Collection |
| 1171 |
{ |
| 1172 |
public $addressLine; |
| 1173 |
public $kind; |
| 1174 |
public $lat; |
| 1175 |
public $lng; |
| 1176 |
|
| 1177 |
public function setAddressLine($addressLine) |
| 1178 |
{ |
| 1179 |
$this->addressLine = $addressLine; |
| 1180 |
} |
| 1181 |
|
| 1182 |
public function getAddressLine() |
| 1183 |
{ |
| 1184 |
return $this->addressLine; |
| 1185 |
} |
| 1186 |
|
| 1187 |
public function setKind($kind) |
| 1188 |
{ |
| 1189 |
$this->kind = $kind; |
| 1190 |
} |
| 1191 |
|
| 1192 |
public function getKind() |
| 1193 |
{ |
| 1194 |
return $this->kind; |
| 1195 |
} |
| 1196 |
|
| 1197 |
public function setLat($lat) |
| 1198 |
{ |
| 1199 |
$this->lat = $lat; |
| 1200 |
} |
| 1201 |
|
| 1202 |
public function getLat() |
| 1203 |
{ |
| 1204 |
return $this->lat; |
| 1205 |
} |
| 1206 |
|
| 1207 |
public function setLng($lng) |
| 1208 |
{ |
| 1209 |
$this->lng = $lng; |
| 1210 |
} |
| 1211 |
|
| 1212 |
public function getLng() |
| 1213 |
{ |
| 1214 |
return $this->lng; |
| 1215 |
} |
| 1216 |
} |
| 1217 |
|
| 1218 |
class Analytify_Google_Service_Coordinate_LocationListResponse extends Analytify_Google_Collection |
| 1219 |
{ |
| 1220 |
protected $itemsType = 'Analytify_Google_Service_Coordinate_LocationRecord'; |
| 1221 |
protected $itemsDataType = 'array'; |
| 1222 |
public $kind; |
| 1223 |
public $nextPageToken; |
| 1224 |
protected $tokenPaginationType = 'Analytify_Google_Service_Coordinate_TokenPagination'; |
| 1225 |
protected $tokenPaginationDataType = ''; |
| 1226 |
|
| 1227 |
public function setItems($items) |
| 1228 |
{ |
| 1229 |
$this->items = $items; |
| 1230 |
} |
| 1231 |
|
| 1232 |
public function getItems() |
| 1233 |
{ |
| 1234 |
return $this->items; |
| 1235 |
} |
| 1236 |
|
| 1237 |
public function setKind($kind) |
| 1238 |
{ |
| 1239 |
$this->kind = $kind; |
| 1240 |
} |
| 1241 |
|
| 1242 |
public function getKind() |
| 1243 |
{ |
| 1244 |
return $this->kind; |
| 1245 |
} |
| 1246 |
|
| 1247 |
public function setNextPageToken($nextPageToken) |
| 1248 |
{ |
| 1249 |
$this->nextPageToken = $nextPageToken; |
| 1250 |
} |
| 1251 |
|
| 1252 |
public function getNextPageToken() |
| 1253 |
{ |
| 1254 |
return $this->nextPageToken; |
| 1255 |
} |
| 1256 |
|
| 1257 |
public function setTokenPagination(Analytify_Google_Service_Coordinate_TokenPagination $tokenPagination) |
| 1258 |
{ |
| 1259 |
$this->tokenPagination = $tokenPagination; |
| 1260 |
} |
| 1261 |
|
| 1262 |
public function getTokenPagination() |
| 1263 |
{ |
| 1264 |
return $this->tokenPagination; |
| 1265 |
} |
| 1266 |
} |
| 1267 |
|
| 1268 |
class Analytify_Google_Service_Coordinate_LocationRecord extends Analytify_Google_Model |
| 1269 |
{ |
| 1270 |
public $collectionTime; |
| 1271 |
public $confidenceRadius; |
| 1272 |
public $kind; |
| 1273 |
public $latitude; |
| 1274 |
public $longitude; |
| 1275 |
|
| 1276 |
public function setCollectionTime($collectionTime) |
| 1277 |
{ |
| 1278 |
$this->collectionTime = $collectionTime; |
| 1279 |
} |
| 1280 |
|
| 1281 |
public function getCollectionTime() |
| 1282 |
{ |
| 1283 |
return $this->collectionTime; |
| 1284 |
} |
| 1285 |
|
| 1286 |
public function setConfidenceRadius($confidenceRadius) |
| 1287 |
{ |
| 1288 |
$this->confidenceRadius = $confidenceRadius; |
| 1289 |
} |
| 1290 |
|
| 1291 |
public function getConfidenceRadius() |
| 1292 |
{ |
| 1293 |
return $this->confidenceRadius; |
| 1294 |
} |
| 1295 |
|
| 1296 |
public function setKind($kind) |
| 1297 |
{ |
| 1298 |
$this->kind = $kind; |
| 1299 |
} |
| 1300 |
|
| 1301 |
public function getKind() |
| 1302 |
{ |
| 1303 |
return $this->kind; |
| 1304 |
} |
| 1305 |
|
| 1306 |
public function setLatitude($latitude) |
| 1307 |
{ |
| 1308 |
$this->latitude = $latitude; |
| 1309 |
} |
| 1310 |
|
| 1311 |
public function getLatitude() |
| 1312 |
{ |
| 1313 |
return $this->latitude; |
| 1314 |
} |
| 1315 |
|
| 1316 |
public function setLongitude($longitude) |
| 1317 |
{ |
| 1318 |
$this->longitude = $longitude; |
| 1319 |
} |
| 1320 |
|
| 1321 |
public function getLongitude() |
| 1322 |
{ |
| 1323 |
return $this->longitude; |
| 1324 |
} |
| 1325 |
} |
| 1326 |
|
| 1327 |
class Analytify_Google_Service_Coordinate_Schedule extends Analytify_Google_Model |
| 1328 |
{ |
| 1329 |
public $allDay; |
| 1330 |
public $duration; |
| 1331 |
public $endTime; |
| 1332 |
public $kind; |
| 1333 |
public $startTime; |
| 1334 |
|
| 1335 |
public function setAllDay($allDay) |
| 1336 |
{ |
| 1337 |
$this->allDay = $allDay; |
| 1338 |
} |
| 1339 |
|
| 1340 |
public function getAllDay() |
| 1341 |
{ |
| 1342 |
return $this->allDay; |
| 1343 |
} |
| 1344 |
|
| 1345 |
public function setDuration($duration) |
| 1346 |
{ |
| 1347 |
$this->duration = $duration; |
| 1348 |
} |
| 1349 |
|
| 1350 |
public function getDuration() |
| 1351 |
{ |
| 1352 |
return $this->duration; |
| 1353 |
} |
| 1354 |
|
| 1355 |
public function setEndTime($endTime) |
| 1356 |
{ |
| 1357 |
$this->endTime = $endTime; |
| 1358 |
} |
| 1359 |
|
| 1360 |
public function getEndTime() |
| 1361 |
{ |
| 1362 |
return $this->endTime; |
| 1363 |
} |
| 1364 |
|
| 1365 |
public function setKind($kind) |
| 1366 |
{ |
| 1367 |
$this->kind = $kind; |
| 1368 |
} |
| 1369 |
|
| 1370 |
public function getKind() |
| 1371 |
{ |
| 1372 |
return $this->kind; |
| 1373 |
} |
| 1374 |
|
| 1375 |
public function setStartTime($startTime) |
| 1376 |
{ |
| 1377 |
$this->startTime = $startTime; |
| 1378 |
} |
| 1379 |
|
| 1380 |
public function getStartTime() |
| 1381 |
{ |
| 1382 |
return $this->startTime; |
| 1383 |
} |
| 1384 |
} |
| 1385 |
|
| 1386 |
class Analytify_Google_Service_Coordinate_TokenPagination extends Analytify_Google_Model |
| 1387 |
{ |
| 1388 |
public $kind; |
| 1389 |
public $nextPageToken; |
| 1390 |
public $previousPageToken; |
| 1391 |
|
| 1392 |
public function setKind($kind) |
| 1393 |
{ |
| 1394 |
$this->kind = $kind; |
| 1395 |
} |
| 1396 |
|
| 1397 |
public function getKind() |
| 1398 |
{ |
| 1399 |
return $this->kind; |
| 1400 |
} |
| 1401 |
|
| 1402 |
public function setNextPageToken($nextPageToken) |
| 1403 |
{ |
| 1404 |
$this->nextPageToken = $nextPageToken; |
| 1405 |
} |
| 1406 |
|
| 1407 |
public function getNextPageToken() |
| 1408 |
{ |
| 1409 |
return $this->nextPageToken; |
| 1410 |
} |
| 1411 |
|
| 1412 |
public function setPreviousPageToken($previousPageToken) |
| 1413 |
{ |
| 1414 |
$this->previousPageToken = $previousPageToken; |
| 1415 |
} |
| 1416 |
|
| 1417 |
public function getPreviousPageToken() |
| 1418 |
{ |
| 1419 |
return $this->previousPageToken; |
| 1420 |
} |
| 1421 |
} |
| 1422 |
|
| 1423 |
class Analytify_Google_Service_Coordinate_Worker extends Analytify_Google_Model |
| 1424 |
{ |
| 1425 |
public $id; |
| 1426 |
public $kind; |
| 1427 |
|
| 1428 |
public function setId($id) |
| 1429 |
{ |
| 1430 |
$this->id = $id; |
| 1431 |
} |
| 1432 |
|
| 1433 |
public function getId() |
| 1434 |
{ |
| 1435 |
return $this->id; |
| 1436 |
} |
| 1437 |
|
| 1438 |
public function setKind($kind) |
| 1439 |
{ |
| 1440 |
$this->kind = $kind; |
| 1441 |
} |
| 1442 |
|
| 1443 |
public function getKind() |
| 1444 |
{ |
| 1445 |
return $this->kind; |
| 1446 |
} |
| 1447 |
} |
| 1448 |
|
| 1449 |
class Analytify_Google_Service_Coordinate_WorkerListResponse extends Analytify_Google_Collection |
| 1450 |
{ |
| 1451 |
protected $itemsType = 'Analytify_Google_Service_Coordinate_Worker'; |
| 1452 |
protected $itemsDataType = 'array'; |
| 1453 |
public $kind; |
| 1454 |
|
| 1455 |
public function setItems($items) |
| 1456 |
{ |
| 1457 |
$this->items = $items; |
| 1458 |
} |
| 1459 |
|
| 1460 |
public function getItems() |
| 1461 |
{ |
| 1462 |
return $this->items; |
| 1463 |
} |
| 1464 |
|
| 1465 |
public function setKind($kind) |
| 1466 |
{ |
| 1467 |
$this->kind = $kind; |
| 1468 |
} |
| 1469 |
|
| 1470 |
public function getKind() |
| 1471 |
{ |
| 1472 |
return $this->kind; |
| 1473 |
} |
| 1474 |
} |
| 1475 |
|