1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_GKEHub_ConfigManagementSyncState extends Google_Collection 19{ 20 protected $collection_key = 'errors'; 21 public $code; 22 protected $errorsType = 'Google_Service_GKEHub_ConfigManagementSyncError'; 23 protected $errorsDataType = 'array'; 24 public $importToken; 25 public $lastSync; 26 public $lastSyncTime; 27 public $sourceToken; 28 public $syncToken; 29 30 public function setCode($code) 31 { 32 $this->code = $code; 33 } 34 public function getCode() 35 { 36 return $this->code; 37 } 38 /** 39 * @param Google_Service_GKEHub_ConfigManagementSyncError[] 40 */ 41 public function setErrors($errors) 42 { 43 $this->errors = $errors; 44 } 45 /** 46 * @return Google_Service_GKEHub_ConfigManagementSyncError[] 47 */ 48 public function getErrors() 49 { 50 return $this->errors; 51 } 52 public function setImportToken($importToken) 53 { 54 $this->importToken = $importToken; 55 } 56 public function getImportToken() 57 { 58 return $this->importToken; 59 } 60 public function setLastSync($lastSync) 61 { 62 $this->lastSync = $lastSync; 63 } 64 public function getLastSync() 65 { 66 return $this->lastSync; 67 } 68 public function setLastSyncTime($lastSyncTime) 69 { 70 $this->lastSyncTime = $lastSyncTime; 71 } 72 public function getLastSyncTime() 73 { 74 return $this->lastSyncTime; 75 } 76 public function setSourceToken($sourceToken) 77 { 78 $this->sourceToken = $sourceToken; 79 } 80 public function getSourceToken() 81 { 82 return $this->sourceToken; 83 } 84 public function setSyncToken($syncToken) 85 { 86 $this->syncToken = $syncToken; 87 } 88 public function getSyncToken() 89 { 90 return $this->syncToken; 91 } 92} 93