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_PhotosLibrary_MediaMetadata extends Google_Model 19{ 20 public $creationTime; 21 public $height; 22 protected $photoType = 'Google_Service_PhotosLibrary_Photo'; 23 protected $photoDataType = ''; 24 protected $videoType = 'Google_Service_PhotosLibrary_Video'; 25 protected $videoDataType = ''; 26 public $width; 27 28 public function setCreationTime($creationTime) 29 { 30 $this->creationTime = $creationTime; 31 } 32 public function getCreationTime() 33 { 34 return $this->creationTime; 35 } 36 public function setHeight($height) 37 { 38 $this->height = $height; 39 } 40 public function getHeight() 41 { 42 return $this->height; 43 } 44 /** 45 * @param Google_Service_PhotosLibrary_Photo 46 */ 47 public function setPhoto(Google_Service_PhotosLibrary_Photo $photo) 48 { 49 $this->photo = $photo; 50 } 51 /** 52 * @return Google_Service_PhotosLibrary_Photo 53 */ 54 public function getPhoto() 55 { 56 return $this->photo; 57 } 58 /** 59 * @param Google_Service_PhotosLibrary_Video 60 */ 61 public function setVideo(Google_Service_PhotosLibrary_Video $video) 62 { 63 $this->video = $video; 64 } 65 /** 66 * @return Google_Service_PhotosLibrary_Video 67 */ 68 public function getVideo() 69 { 70 return $this->video; 71 } 72 public function setWidth($width) 73 { 74 $this->width = $width; 75 } 76 public function getWidth() 77 { 78 return $this->width; 79 } 80} 81