Google_Media

The Google Books Importer Google Media class.

Defined (1)

The class is defined in the following location(s).

/src/contrib/Google_PlusDomainsService.php  
  1. class Google_Media extends Google_Model { 
  2. protected $__authorType = 'Google_MediaAuthor'; 
  3. protected $__authorDataType = ''; 
  4. public $author; 
  5. public $displayName; 
  6. public $etag; 
  7. protected $__exifType = 'Google_MediaExif'; 
  8. protected $__exifDataType = ''; 
  9. public $exif; 
  10. public $height; 
  11. public $id; 
  12. public $kind; 
  13. public $mediaUrl; 
  14. public $published; 
  15. public $sizeBytes; 
  16. protected $__streamsType = 'Google_Videostream'; 
  17. protected $__streamsDataType = 'array'; 
  18. public $streams; 
  19. public $summary; 
  20. public $updated; 
  21. public $url; 
  22. public $videoDuration; 
  23. public $videoStatus; 
  24. public $width; 
  25. public function setAuthor(Google_MediaAuthor $author) { 
  26. $this->author = $author; 
  27. public function getAuthor() { 
  28. return $this->author; 
  29. public function setDisplayName( $displayName) { 
  30. $this->displayName = $displayName; 
  31. public function getDisplayName() { 
  32. return $this->displayName; 
  33. public function setEtag( $etag) { 
  34. $this->etag = $etag; 
  35. public function getEtag() { 
  36. return $this->etag; 
  37. public function setExif(Google_MediaExif $exif) { 
  38. $this->exif = $exif; 
  39. public function getExif() { 
  40. return $this->exif; 
  41. public function setHeight( $height) { 
  42. $this->height = $height; 
  43. public function getHeight() { 
  44. return $this->height; 
  45. public function setId( $id) { 
  46. $this->id = $id; 
  47. public function getId() { 
  48. return $this->id; 
  49. public function setKind( $kind) { 
  50. $this->kind = $kind; 
  51. public function getKind() { 
  52. return $this->kind; 
  53. public function setMediaUrl( $mediaUrl) { 
  54. $this->mediaUrl = $mediaUrl; 
  55. public function getMediaUrl() { 
  56. return $this->mediaUrl; 
  57. public function setPublished( $published) { 
  58. $this->published = $published; 
  59. public function getPublished() { 
  60. return $this->published; 
  61. public function setSizeBytes( $sizeBytes) { 
  62. $this->sizeBytes = $sizeBytes; 
  63. public function getSizeBytes() { 
  64. return $this->sizeBytes; 
  65. public function setStreams(/** array(Google_Videostream) */ $streams) { 
  66. $this->assertIsArray($streams, 'Google_Videostream', __METHOD__); 
  67. $this->streams = $streams; 
  68. public function getStreams() { 
  69. return $this->streams; 
  70. public function setSummary( $summary) { 
  71. $this->summary = $summary; 
  72. public function getSummary() { 
  73. return $this->summary; 
  74. public function setUpdated( $updated) { 
  75. $this->updated = $updated; 
  76. public function getUpdated() { 
  77. return $this->updated; 
  78. public function setUrl( $url) { 
  79. $this->url = $url; 
  80. public function getUrl() { 
  81. return $this->url; 
  82. public function setVideoDuration( $videoDuration) { 
  83. $this->videoDuration = $videoDuration; 
  84. public function getVideoDuration() { 
  85. return $this->videoDuration; 
  86. public function setVideoStatus( $videoStatus) { 
  87. $this->videoStatus = $videoStatus; 
  88. public function getVideoStatus() { 
  89. return $this->videoStatus; 
  90. public function setWidth( $width) { 
  91. $this->width = $width; 
  92. public function getWidth() { 
  93. return $this->width;