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_UsageReport extends Google_Collection 19{ 20 protected $collection_key = 'parameters'; 21 public $date; 22 protected $entityType = 'Google_Service_Reports_UsageReportEntity'; 23 protected $entityDataType = ''; 24 public $etag; 25 public $kind; 26 protected $parametersType = 'Google_Service_Reports_UsageReportParameters'; 27 protected $parametersDataType = 'array'; 28 29 public function setDate($date) 30 { 31 $this->date = $date; 32 } 33 public function getDate() 34 { 35 return $this->date; 36 } 37 /** 38 * @param Google_Service_Reports_UsageReportEntity 39 */ 40 public function setEntity(Google_Service_Reports_UsageReportEntity $entity) 41 { 42 $this->entity = $entity; 43 } 44 /** 45 * @return Google_Service_Reports_UsageReportEntity 46 */ 47 public function getEntity() 48 { 49 return $this->entity; 50 } 51 public function setEtag($etag) 52 { 53 $this->etag = $etag; 54 } 55 public function getEtag() 56 { 57 return $this->etag; 58 } 59 public function setKind($kind) 60 { 61 $this->kind = $kind; 62 } 63 public function getKind() 64 { 65 return $this->kind; 66 } 67 /** 68 * @param Google_Service_Reports_UsageReportParameters 69 */ 70 public function setParameters($parameters) 71 { 72 $this->parameters = $parameters; 73 } 74 /** 75 * @return Google_Service_Reports_UsageReportParameters 76 */ 77 public function getParameters() 78 { 79 return $this->parameters; 80 } 81} 82