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_Reports_UsageReports extends Google_Collection 19{ 20 protected $collection_key = 'warnings'; 21 public $etag; 22 public $kind; 23 public $nextPageToken; 24 protected $usageReportsType = 'Google_Service_Reports_UsageReport'; 25 protected $usageReportsDataType = 'array'; 26 protected $warningsType = 'Google_Service_Reports_UsageReportsWarnings'; 27 protected $warningsDataType = 'array'; 28 29 public function setEtag($etag) 30 { 31 $this->etag = $etag; 32 } 33 public function getEtag() 34 { 35 return $this->etag; 36 } 37 public function setKind($kind) 38 { 39 $this->kind = $kind; 40 } 41 public function getKind() 42 { 43 return $this->kind; 44 } 45 public function setNextPageToken($nextPageToken) 46 { 47 $this->nextPageToken = $nextPageToken; 48 } 49 public function getNextPageToken() 50 { 51 return $this->nextPageToken; 52 } 53 /** 54 * @param Google_Service_Reports_UsageReport 55 */ 56 public function setUsageReports($usageReports) 57 { 58 $this->usageReports = $usageReports; 59 } 60 /** 61 * @return Google_Service_Reports_UsageReport 62 */ 63 public function getUsageReports() 64 { 65 return $this->usageReports; 66 } 67 /** 68 * @param Google_Service_Reports_UsageReportsWarnings 69 */ 70 public function setWarnings($warnings) 71 { 72 $this->warnings = $warnings; 73 } 74 /** 75 * @return Google_Service_Reports_UsageReportsWarnings 76 */ 77 public function getWarnings() 78 { 79 return $this->warnings; 80 } 81} 82