Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,178 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Annotation extends Google_Collection
{
protected $collection_key = 'pageIds';
public $afterSelectedText;
public $beforeSelectedText;
protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
protected $clientVersionRangesDataType = '';
public $created;
protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
protected $currentVersionRangesDataType = '';
public $data;
public $deleted;
public $highlightStyle;
public $id;
public $kind;
public $layerId;
protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
protected $layerSummaryDataType = '';
public $pageIds;
public $selectedText;
public $selfLink;
public $updated;
public $volumeId;
public function setAfterSelectedText($afterSelectedText)
{
$this->afterSelectedText = $afterSelectedText;
}
public function getAfterSelectedText()
{
return $this->afterSelectedText;
}
public function setBeforeSelectedText($beforeSelectedText)
{
$this->beforeSelectedText = $beforeSelectedText;
}
public function getBeforeSelectedText()
{
return $this->beforeSelectedText;
}
public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
{
$this->clientVersionRanges = $clientVersionRanges;
}
public function getClientVersionRanges()
{
return $this->clientVersionRanges;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
{
$this->currentVersionRanges = $currentVersionRanges;
}
public function getCurrentVersionRanges()
{
return $this->currentVersionRanges;
}
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
public function getDeleted()
{
return $this->deleted;
}
public function setHighlightStyle($highlightStyle)
{
$this->highlightStyle = $highlightStyle;
}
public function getHighlightStyle()
{
return $this->highlightStyle;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
public function getLayerId()
{
return $this->layerId;
}
public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
{
$this->layerSummary = $layerSummary;
}
public function getLayerSummary()
{
return $this->layerSummary;
}
public function setPageIds($pageIds)
{
$this->pageIds = $pageIds;
}
public function getPageIds()
{
return $this->pageIds;
}
public function setSelectedText($selectedText)
{
$this->selectedText = $selectedText;
}
public function getSelectedText()
{
return $this->selectedText;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
{
protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $cfiRangeDataType = '';
public $contentVersion;
protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $gbImageRangeDataType = '';
protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $gbTextRangeDataType = '';
protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $imageCfiRangeDataType = '';
public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
{
$this->cfiRange = $cfiRange;
}
public function getCfiRange()
{
return $this->cfiRange;
}
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
public function getContentVersion()
{
return $this->contentVersion;
}
public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
{
$this->gbImageRange = $gbImageRange;
}
public function getGbImageRange()
{
return $this->gbImageRange;
}
public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
{
$this->gbTextRange = $gbTextRange;
}
public function getGbTextRange()
{
return $this->gbTextRange;
}
public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
{
$this->imageCfiRange = $imageCfiRange;
}
public function getImageCfiRange()
{
return $this->imageCfiRange;
}
}

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
{
protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $cfiRangeDataType = '';
public $contentVersion;
protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $gbImageRangeDataType = '';
protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $gbTextRangeDataType = '';
protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
protected $imageCfiRangeDataType = '';
public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
{
$this->cfiRange = $cfiRange;
}
public function getCfiRange()
{
return $this->cfiRange;
}
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
public function getContentVersion()
{
return $this->contentVersion;
}
public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
{
$this->gbImageRange = $gbImageRange;
}
public function getGbImageRange()
{
return $this->gbImageRange;
}
public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
{
$this->gbTextRange = $gbTextRange;
}
public function getGbTextRange()
{
return $this->gbTextRange;
}
public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
{
$this->imageCfiRange = $imageCfiRange;
}
public function getImageCfiRange()
{
return $this->imageCfiRange;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_AnnotationLayerSummary extends Google_Model
{
public $allowedCharacterCount;
public $limitType;
public $remainingCharacterCount;
public function setAllowedCharacterCount($allowedCharacterCount)
{
$this->allowedCharacterCount = $allowedCharacterCount;
}
public function getAllowedCharacterCount()
{
return $this->allowedCharacterCount;
}
public function setLimitType($limitType)
{
$this->limitType = $limitType;
}
public function getLimitType()
{
return $this->limitType;
}
public function setRemainingCharacterCount($remainingCharacterCount)
{
$this->remainingCharacterCount = $remainingCharacterCount;
}
public function getRemainingCharacterCount()
{
return $this->remainingCharacterCount;
}
}

View File

@@ -0,0 +1,105 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Annotationdata extends Google_Model
{
protected $internal_gapi_mappings = array(
"encodedData" => "encoded_data",
);
public $annotationType;
public $data;
public $encodedData;
public $id;
public $kind;
public $layerId;
public $selfLink;
public $updated;
public $volumeId;
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
public function getAnnotationType()
{
return $this->annotationType;
}
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setEncodedData($encodedData)
{
$this->encodedData = $encodedData;
}
public function getEncodedData()
{
return $this->encodedData;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
public function getLayerId()
{
return $this->layerId;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Annotations extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Annotation';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $totalItems;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
public function getTotalItems()
{
return $this->totalItems;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_AnnotationsSummary extends Google_Collection
{
protected $collection_key = 'layers';
public $kind;
protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
protected $layersDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLayers($layers)
{
$this->layers = $layers;
}
public function getLayers()
{
return $this->layers;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
{
public $allowedCharacterCount;
public $layerId;
public $limitType;
public $remainingCharacterCount;
public $updated;
public function setAllowedCharacterCount($allowedCharacterCount)
{
$this->allowedCharacterCount = $allowedCharacterCount;
}
public function getAllowedCharacterCount()
{
return $this->allowedCharacterCount;
}
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
public function getLayerId()
{
return $this->layerId;
}
public function setLimitType($limitType)
{
$this->limitType = $limitType;
}
public function getLimitType()
{
return $this->limitType;
}
public function setRemainingCharacterCount($remainingCharacterCount)
{
$this->remainingCharacterCount = $remainingCharacterCount;
}
public function getRemainingCharacterCount()
{
return $this->remainingCharacterCount;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
}

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Annotationsdata extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Annotationdata';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $totalItems;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
public function getTotalItems()
{
return $this->totalItems;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_BooksAnnotationsRange extends Google_Model
{
public $endOffset;
public $endPosition;
public $startOffset;
public $startPosition;
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
public function getEndOffset()
{
return $this->endOffset;
}
public function setEndPosition($endPosition)
{
$this->endPosition = $endPosition;
}
public function getEndPosition()
{
return $this->endPosition;
}
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
public function getStartOffset()
{
return $this->startOffset;
}
public function setStartPosition($startPosition)
{
$this->startPosition = $startPosition;
}
public function getStartPosition()
{
return $this->startPosition;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_BooksCloudloadingResource extends Google_Model
{
public $author;
public $processingState;
public $title;
public $volumeId;
public function setAuthor($author)
{
$this->author = $author;
}
public function getAuthor()
{
return $this->author;
}
public function setProcessingState($processingState)
{
$this->processingState = $processingState;
}
public function getProcessingState()
{
return $this->processingState;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model
{
protected $internal_gapi_mappings = array(
"consistencyToken" => "consistency_token",
);
public $consistencyToken;
public function setConsistencyToken($consistencyToken)
{
$this->consistencyToken = $consistencyToken;
}
public function getConsistencyToken()
{
return $this->consistencyToken;
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Bookshelf extends Google_Model
{
public $access;
public $created;
public $description;
public $id;
public $kind;
public $selfLink;
public $title;
public $updated;
public $volumeCount;
public $volumesLastUpdated;
public function setAccess($access)
{
$this->access = $access;
}
public function getAccess()
{
return $this->access;
}
public function setCreated($created)
{
$this->created = $created;
}
public function getCreated()
{
return $this->created;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVolumeCount($volumeCount)
{
$this->volumeCount = $volumeCount;
}
public function getVolumeCount()
{
return $this->volumeCount;
}
public function setVolumesLastUpdated($volumesLastUpdated)
{
$this->volumesLastUpdated = $volumesLastUpdated;
}
public function getVolumesLastUpdated()
{
return $this->volumesLastUpdated;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Bookshelves extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Bookshelf';
protected $itemsDataType = 'array';
public $kind;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Category extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_CategoryItems';
protected $itemsDataType = 'array';
public $kind;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_CategoryItems extends Google_Model
{
public $badgeUrl;
public $categoryId;
public $name;
public function setBadgeUrl($badgeUrl)
{
$this->badgeUrl = $badgeUrl;
}
public function getBadgeUrl()
{
return $this->badgeUrl;
}
public function setCategoryId($categoryId)
{
$this->categoryId = $categoryId;
}
public function getCategoryId()
{
return $this->categoryId;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
{
public $deviceAllowed;
public $kind;
public $maxConcurrentDevices;
public $message;
public $nonce;
public $reasonCode;
public $restricted;
public $signature;
public $source;
public $timeWindowSeconds;
public $volumeId;
public function setDeviceAllowed($deviceAllowed)
{
$this->deviceAllowed = $deviceAllowed;
}
public function getDeviceAllowed()
{
return $this->deviceAllowed;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaxConcurrentDevices($maxConcurrentDevices)
{
$this->maxConcurrentDevices = $maxConcurrentDevices;
}
public function getMaxConcurrentDevices()
{
return $this->maxConcurrentDevices;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
public function setNonce($nonce)
{
$this->nonce = $nonce;
}
public function getNonce()
{
return $this->nonce;
}
public function setReasonCode($reasonCode)
{
$this->reasonCode = $reasonCode;
}
public function getReasonCode()
{
return $this->reasonCode;
}
public function setRestricted($restricted)
{
$this->restricted = $restricted;
}
public function getRestricted()
{
return $this->restricted;
}
public function setSignature($signature)
{
$this->signature = $signature;
}
public function getSignature()
{
return $this->signature;
}
public function setSource($source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setTimeWindowSeconds($timeWindowSeconds)
{
$this->timeWindowSeconds = $timeWindowSeconds;
}
public function getTimeWindowSeconds()
{
return $this->timeWindowSeconds;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Dictlayerdata extends Google_Model
{
protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
protected $commonDataType = '';
protected $dictType = 'Google_Service_Books_DictlayerdataDict';
protected $dictDataType = '';
public $kind;
public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
{
$this->common = $common;
}
public function getCommon()
{
return $this->common;
}
public function setDict(Google_Service_Books_DictlayerdataDict $dict)
{
$this->dict = $dict;
}
public function getDict()
{
return $this->dict;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataCommon extends Google_Model
{
public $title;
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDict extends Google_Collection
{
protected $collection_key = 'words';
protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
protected $sourceDataType = '';
protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
protected $wordsDataType = 'array';
public function setSource(Google_Service_Books_DictlayerdataDictSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setWords($words)
{
$this->words = $words;
}
public function getWords()
{
return $this->words;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
{
protected $collection_key = 'senses';
protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
protected $derivativesDataType = 'array';
protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
protected $examplesDataType = 'array';
protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
protected $sensesDataType = 'array';
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource';
protected $sourceDataType = '';
public function setDerivatives($derivatives)
{
$this->derivatives = $derivatives;
}
public function getDerivatives()
{
return $this->derivatives;
}
public function setExamples($examples)
{
$this->examples = $examples;
}
public function getExamples()
{
return $this->examples;
}
public function setSenses($senses)
{
$this->senses = $senses;
}
public function getSenses()
{
return $this->senses;
}
public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
{
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
protected $sourceDataType = '';
public $text;
public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
{
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
protected $sourceDataType = '';
public $text;
public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
{
protected $collection_key = 'synonyms';
protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
protected $conjugationsDataType = 'array';
protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
protected $definitionsDataType = 'array';
public $partOfSpeech;
public $pronunciation;
public $pronunciationUrl;
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
protected $sourceDataType = '';
public $syllabification;
protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
protected $synonymsDataType = 'array';
public function setConjugations($conjugations)
{
$this->conjugations = $conjugations;
}
public function getConjugations()
{
return $this->conjugations;
}
public function setDefinitions($definitions)
{
$this->definitions = $definitions;
}
public function getDefinitions()
{
return $this->definitions;
}
public function setPartOfSpeech($partOfSpeech)
{
$this->partOfSpeech = $partOfSpeech;
}
public function getPartOfSpeech()
{
return $this->partOfSpeech;
}
public function setPronunciation($pronunciation)
{
$this->pronunciation = $pronunciation;
}
public function getPronunciation()
{
return $this->pronunciation;
}
public function setPronunciationUrl($pronunciationUrl)
{
$this->pronunciationUrl = $pronunciationUrl;
}
public function getPronunciationUrl()
{
return $this->pronunciationUrl;
}
public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setSyllabification($syllabification)
{
$this->syllabification = $syllabification;
}
public function getSyllabification()
{
return $this->syllabification;
}
public function setSynonyms($synonyms)
{
$this->synonyms = $synonyms;
}
public function getSynonyms()
{
return $this->synonyms;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
{
public $type;
public $value;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
{
protected $collection_key = 'examples';
public $definition;
protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
protected $examplesDataType = 'array';
public function setDefinition($definition)
{
$this->definition = $definition;
}
public function getDefinition()
{
return $this->definition;
}
public function setExamples($examples)
{
$this->examples = $examples;
}
public function getExamples()
{
return $this->examples;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
{
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
protected $sourceDataType = '';
public $text;
public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
{
protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
protected $sourceDataType = '';
public $text;
public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
{
public $attribution;
public $url;
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
public function getAttribution()
{
return $this->attribution;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Discoveryclusters extends Google_Collection
{
protected $collection_key = 'clusters';
protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters';
protected $clustersDataType = 'array';
public $kind;
public $totalClusters;
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
public function getClusters()
{
return $this->clusters;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setTotalClusters($totalClusters)
{
$this->totalClusters = $totalClusters;
}
public function getTotalClusters()
{
return $this->totalClusters;
}
}

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
{
protected $collection_key = 'volumes';
protected $internal_gapi_mappings = array(
"bannerWithContentContainer" => "banner_with_content_container",
);
protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
protected $bannerWithContentContainerDataType = '';
public $subTitle;
public $title;
public $totalVolumes;
public $uid;
protected $volumesType = 'Google_Service_Books_Volume';
protected $volumesDataType = 'array';
public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
{
$this->bannerWithContentContainer = $bannerWithContentContainer;
}
public function getBannerWithContentContainer()
{
return $this->bannerWithContentContainer;
}
public function setSubTitle($subTitle)
{
$this->subTitle = $subTitle;
}
public function getSubTitle()
{
return $this->subTitle;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setTotalVolumes($totalVolumes)
{
$this->totalVolumes = $totalVolumes;
}
public function getTotalVolumes()
{
return $this->totalVolumes;
}
public function setUid($uid)
{
$this->uid = $uid;
}
public function getUid()
{
return $this->uid;
}
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
public function getVolumes()
{
return $this->volumes;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model
{
public $fillColorArgb;
public $imageUrl;
public $maskColorArgb;
public $moreButtonText;
public $moreButtonUrl;
public $textColorArgb;
public function setFillColorArgb($fillColorArgb)
{
$this->fillColorArgb = $fillColorArgb;
}
public function getFillColorArgb()
{
return $this->fillColorArgb;
}
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
}
public function getImageUrl()
{
return $this->imageUrl;
}
public function setMaskColorArgb($maskColorArgb)
{
$this->maskColorArgb = $maskColorArgb;
}
public function getMaskColorArgb()
{
return $this->maskColorArgb;
}
public function setMoreButtonText($moreButtonText)
{
$this->moreButtonText = $moreButtonText;
}
public function getMoreButtonText()
{
return $this->moreButtonText;
}
public function setMoreButtonUrl($moreButtonUrl)
{
$this->moreButtonUrl = $moreButtonUrl;
}
public function getMoreButtonUrl()
{
return $this->moreButtonUrl;
}
public function setTextColorArgb($textColorArgb)
{
$this->textColorArgb = $textColorArgb;
}
public function getTextColorArgb()
{
return $this->textColorArgb;
}
}

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DownloadAccessRestriction extends Google_Model
{
public $deviceAllowed;
public $downloadsAcquired;
public $justAcquired;
public $kind;
public $maxDownloadDevices;
public $message;
public $nonce;
public $reasonCode;
public $restricted;
public $signature;
public $source;
public $volumeId;
public function setDeviceAllowed($deviceAllowed)
{
$this->deviceAllowed = $deviceAllowed;
}
public function getDeviceAllowed()
{
return $this->deviceAllowed;
}
public function setDownloadsAcquired($downloadsAcquired)
{
$this->downloadsAcquired = $downloadsAcquired;
}
public function getDownloadsAcquired()
{
return $this->downloadsAcquired;
}
public function setJustAcquired($justAcquired)
{
$this->justAcquired = $justAcquired;
}
public function getJustAcquired()
{
return $this->justAcquired;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaxDownloadDevices($maxDownloadDevices)
{
$this->maxDownloadDevices = $maxDownloadDevices;
}
public function getMaxDownloadDevices()
{
return $this->maxDownloadDevices;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
public function setNonce($nonce)
{
$this->nonce = $nonce;
}
public function getNonce()
{
return $this->nonce;
}
public function setReasonCode($reasonCode)
{
$this->reasonCode = $reasonCode;
}
public function getReasonCode()
{
return $this->reasonCode;
}
public function setRestricted($restricted)
{
$this->restricted = $restricted;
}
public function getRestricted()
{
return $this->restricted;
}
public function setSignature($signature)
{
$this->signature = $signature;
}
public function getSignature()
{
return $this->signature;
}
public function setSource($source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_DownloadAccesses extends Google_Collection
{
protected $collection_key = 'downloadAccessList';
protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
protected $downloadAccessListDataType = 'array';
public $kind;
public function setDownloadAccessList($downloadAccessList)
{
$this->downloadAccessList = $downloadAccessList;
}
public function getDownloadAccessList()
{
return $this->downloadAccessList;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Geolayerdata extends Google_Model
{
protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
protected $commonDataType = '';
protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
protected $geoDataType = '';
public $kind;
public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
{
$this->common = $common;
}
public function getCommon()
{
return $this->common;
}
public function setGeo(Google_Service_Books_GeolayerdataGeo $geo)
{
$this->geo = $geo;
}
public function getGeo()
{
return $this->geo;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataCommon extends Google_Model
{
public $lang;
public $previewImageUrl;
public $snippet;
public $snippetUrl;
public $title;
public function setLang($lang)
{
$this->lang = $lang;
}
public function getLang()
{
return $this->lang;
}
public function setPreviewImageUrl($previewImageUrl)
{
$this->previewImageUrl = $previewImageUrl;
}
public function getPreviewImageUrl()
{
return $this->previewImageUrl;
}
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
public function getSnippet()
{
return $this->snippet;
}
public function setSnippetUrl($snippetUrl)
{
$this->snippetUrl = $snippetUrl;
}
public function getSnippetUrl()
{
return $this->snippetUrl;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataGeo extends Google_Collection
{
protected $collection_key = 'boundary';
protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
protected $boundaryDataType = 'array';
public $cachePolicy;
public $countryCode;
public $latitude;
public $longitude;
public $mapType;
protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport';
protected $viewportDataType = '';
public $zoom;
public function setBoundary($boundary)
{
$this->boundary = $boundary;
}
public function getBoundary()
{
return $this->boundary;
}
public function setCachePolicy($cachePolicy)
{
$this->cachePolicy = $cachePolicy;
}
public function getCachePolicy()
{
return $this->cachePolicy;
}
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
public function getCountryCode()
{
return $this->countryCode;
}
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
public function setMapType($mapType)
{
$this->mapType = $mapType;
}
public function getMapType()
{
return $this->mapType;
}
public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport)
{
$this->viewport = $viewport;
}
public function getViewport()
{
return $this->viewport;
}
public function setZoom($zoom)
{
$this->zoom = $zoom;
}
public function getZoom()
{
return $this->zoom;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataGeoViewport extends Google_Model
{
protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi';
protected $hiDataType = '';
protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo';
protected $loDataType = '';
public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi)
{
$this->hi = $hi;
}
public function getHi()
{
return $this->hi;
}
public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo)
{
$this->lo = $lo;
}
public function getLo()
{
return $this->lo;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Layersummaries extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Layersummary';
protected $itemsDataType = 'array';
public $kind;
public $totalItems;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
public function getTotalItems()
{
return $this->totalItems;
}
}

View File

@@ -0,0 +1,139 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Layersummary extends Google_Collection
{
protected $collection_key = 'annotationTypes';
public $annotationCount;
public $annotationTypes;
public $annotationsDataLink;
public $annotationsLink;
public $contentVersion;
public $dataCount;
public $id;
public $kind;
public $layerId;
public $selfLink;
public $updated;
public $volumeAnnotationsVersion;
public $volumeId;
public function setAnnotationCount($annotationCount)
{
$this->annotationCount = $annotationCount;
}
public function getAnnotationCount()
{
return $this->annotationCount;
}
public function setAnnotationTypes($annotationTypes)
{
$this->annotationTypes = $annotationTypes;
}
public function getAnnotationTypes()
{
return $this->annotationTypes;
}
public function setAnnotationsDataLink($annotationsDataLink)
{
$this->annotationsDataLink = $annotationsDataLink;
}
public function getAnnotationsDataLink()
{
return $this->annotationsDataLink;
}
public function setAnnotationsLink($annotationsLink)
{
$this->annotationsLink = $annotationsLink;
}
public function getAnnotationsLink()
{
return $this->annotationsLink;
}
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
public function getContentVersion()
{
return $this->contentVersion;
}
public function setDataCount($dataCount)
{
$this->dataCount = $dataCount;
}
public function getDataCount()
{
return $this->dataCount;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
public function getLayerId()
{
return $this->layerId;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
{
$this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
}
public function getVolumeAnnotationsVersion()
{
return $this->volumeAnnotationsVersion;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Metadata extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_MetadataItems';
protected $itemsDataType = 'array';
public $kind;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_MetadataItems extends Google_Model
{
protected $internal_gapi_mappings = array(
"downloadUrl" => "download_url",
"encryptedKey" => "encrypted_key",
);
public $downloadUrl;
public $encryptedKey;
public $language;
public $size;
public $version;
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
public function getDownloadUrl()
{
return $this->downloadUrl;
}
public function setEncryptedKey($encryptedKey)
{
$this->encryptedKey = $encryptedKey;
}
public function getEncryptedKey()
{
return $this->encryptedKey;
}
public function setLanguage($language)
{
$this->language = $language;
}
public function getLanguage()
{
return $this->language;
}
public function setSize($size)
{
$this->size = $size;
}
public function getSize()
{
return $this->size;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,156 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Notification extends Google_Collection
{
protected $collection_key = 'crmExperimentIds';
protected $internal_gapi_mappings = array(
"docId" => "doc_id",
"docType" => "doc_type",
"dontShowNotification" => "dont_show_notification",
"notificationType" => "notification_type",
"pcampaignId" => "pcampaign_id",
"showNotificationSettingsAction" => "show_notification_settings_action",
);
public $body;
public $crmExperimentIds;
public $docId;
public $docType;
public $dontShowNotification;
public $iconUrl;
public $kind;
public $notificationGroup;
public $notificationType;
public $pcampaignId;
public $reason;
public $showNotificationSettingsAction;
public $targetUrl;
public $title;
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
public function setCrmExperimentIds($crmExperimentIds)
{
$this->crmExperimentIds = $crmExperimentIds;
}
public function getCrmExperimentIds()
{
return $this->crmExperimentIds;
}
public function setDocId($docId)
{
$this->docId = $docId;
}
public function getDocId()
{
return $this->docId;
}
public function setDocType($docType)
{
$this->docType = $docType;
}
public function getDocType()
{
return $this->docType;
}
public function setDontShowNotification($dontShowNotification)
{
$this->dontShowNotification = $dontShowNotification;
}
public function getDontShowNotification()
{
return $this->dontShowNotification;
}
public function setIconUrl($iconUrl)
{
$this->iconUrl = $iconUrl;
}
public function getIconUrl()
{
return $this->iconUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNotificationGroup($notificationGroup)
{
$this->notificationGroup = $notificationGroup;
}
public function getNotificationGroup()
{
return $this->notificationGroup;
}
public function setNotificationType($notificationType)
{
$this->notificationType = $notificationType;
}
public function getNotificationType()
{
return $this->notificationType;
}
public function setPcampaignId($pcampaignId)
{
$this->pcampaignId = $pcampaignId;
}
public function getPcampaignId()
{
return $this->pcampaignId;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
public function setShowNotificationSettingsAction($showNotificationSettingsAction)
{
$this->showNotificationSettingsAction = $showNotificationSettingsAction;
}
public function getShowNotificationSettingsAction()
{
return $this->showNotificationSettingsAction;
}
public function setTargetUrl($targetUrl)
{
$this->targetUrl = $targetUrl;
}
public function getTargetUrl()
{
return $this->targetUrl;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Offers extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_OffersItems';
protected $itemsDataType = 'array';
public $kind;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_OffersItems extends Google_Collection
{
protected $collection_key = 'items';
public $artUrl;
public $gservicesKey;
public $id;
protected $itemsType = 'Google_Service_Books_OffersItemsItems';
protected $itemsDataType = 'array';
public function setArtUrl($artUrl)
{
$this->artUrl = $artUrl;
}
public function getArtUrl()
{
return $this->artUrl;
}
public function setGservicesKey($gservicesKey)
{
$this->gservicesKey = $gservicesKey;
}
public function getGservicesKey()
{
return $this->gservicesKey;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
}

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_OffersItemsItems extends Google_Model
{
public $author;
public $canonicalVolumeLink;
public $coverUrl;
public $description;
public $title;
public $volumeId;
public function setAuthor($author)
{
$this->author = $author;
}
public function getAuthor()
{
return $this->author;
}
public function setCanonicalVolumeLink($canonicalVolumeLink)
{
$this->canonicalVolumeLink = $canonicalVolumeLink;
}
public function getCanonicalVolumeLink()
{
return $this->canonicalVolumeLink;
}
public function setCoverUrl($coverUrl)
{
$this->coverUrl = $coverUrl;
}
public function getCoverUrl()
{
return $this->coverUrl;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,84 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_ReadingPosition extends Google_Model
{
public $epubCfiPosition;
public $gbImagePosition;
public $gbTextPosition;
public $kind;
public $pdfPosition;
public $updated;
public $volumeId;
public function setEpubCfiPosition($epubCfiPosition)
{
$this->epubCfiPosition = $epubCfiPosition;
}
public function getEpubCfiPosition()
{
return $this->epubCfiPosition;
}
public function setGbImagePosition($gbImagePosition)
{
$this->gbImagePosition = $gbImagePosition;
}
public function getGbImagePosition()
{
return $this->gbImagePosition;
}
public function setGbTextPosition($gbTextPosition)
{
$this->gbTextPosition = $gbTextPosition;
}
public function getGbTextPosition()
{
return $this->gbTextPosition;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setPdfPosition($pdfPosition)
{
$this->pdfPosition = $pdfPosition;
}
public function getPdfPosition()
{
return $this->pdfPosition;
}
public function setUpdated($updated)
{
$this->updated = $updated;
}
public function getUpdated()
{
return $this->updated;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_RequestAccess extends Google_Model
{
protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction';
protected $concurrentAccessDataType = '';
protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
protected $downloadAccessDataType = '';
public $kind;
public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
{
$this->concurrentAccess = $concurrentAccess;
}
public function getConcurrentAccess()
{
return $this->concurrentAccess;
}
public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
{
$this->downloadAccess = $downloadAccess;
}
public function getDownloadAccess()
{
return $this->downloadAccess;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "bookshelves" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $bookshelves = $booksService->bookshelves;
* </code>
*/
class Google_Service_Books_Resource_Bookshelves extends Google_Service_Resource
{
/**
* Retrieves metadata for a specific bookshelf for the specified user.
* (bookshelves.get)
*
* @param string $userId ID of user for whom to retrieve bookshelves.
* @param string $shelf ID of bookshelf to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Bookshelf
*/
public function get($userId, $shelf, $optParams = array())
{
$params = array('userId' => $userId, 'shelf' => $shelf);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
}
/**
* Retrieves a list of public bookshelves for the specified user.
* (bookshelves.listBookshelves)
*
* @param string $userId ID of user for whom to retrieve bookshelves.
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Bookshelves
*/
public function listBookshelves($userId, $optParams = array())
{
$params = array('userId' => $userId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $volumes = $booksService->volumes;
* </code>
*/
class Google_Service_Books_Resource_BookshelvesVolumes extends Google_Service_Resource
{
/**
* Retrieves volumes in a specific bookshelf for the specified user.
* (volumes.listBookshelvesVolumes)
*
* @param string $userId ID of user for whom to retrieve bookshelf volumes.
* @param string $shelf ID of bookshelf to retrieve volumes.
* @param array $optParams Optional parameters.
*
* @opt_param string maxResults Maximum number of results to return
* @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
* to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first element to return (starts at
* 0)
* @return Google_Service_Books_Volumes
*/
public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
{
$params = array('userId' => $userId, 'shelf' => $shelf);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "cloudloading" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $cloudloading = $booksService->cloudloading;
* </code>
*/
class Google_Service_Books_Resource_Cloudloading extends Google_Service_Resource
{
/**
* (cloudloading.addBook)
*
* @param array $optParams Optional parameters.
*
* @opt_param string drive_document_id A drive document id. The
* upload_client_token must not be set.
* @opt_param string mime_type The document MIME type. It can be set only if the
* drive_document_id is set.
* @opt_param string name The document name. It can be set only if the
* drive_document_id is set.
* @opt_param string upload_client_token
* @return Google_Service_Books_BooksCloudloadingResource
*/
public function addBook($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
}
/**
* Remove the book and its contents (cloudloading.deleteBook)
*
* @param string $volumeId The id of the book to be removed.
* @param array $optParams Optional parameters.
*/
public function deleteBook($volumeId, $optParams = array())
{
$params = array('volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('deleteBook', array($params));
}
/**
* (cloudloading.updateBook)
*
* @param Google_Service_Books_BooksCloudloadingResource $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Books_BooksCloudloadingResource
*/
public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "dictionary" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $dictionary = $booksService->dictionary;
* </code>
*/
class Google_Service_Books_Resource_Dictionary extends Google_Service_Resource
{
/**
* Returns a list of offline dictionary metadata available
* (dictionary.listOfflineMetadata)
*
* @param string $cpksver The device/version ID from which to request the data.
* @param array $optParams Optional parameters.
* @return Google_Service_Books_Metadata
*/
public function listOfflineMetadata($cpksver, $optParams = array())
{
$params = array('cpksver' => $cpksver);
$params = array_merge($params, $optParams);
return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata");
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "layers" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $layers = $booksService->layers;
* </code>
*/
class Google_Service_Books_Resource_Layers extends Google_Service_Resource
{
/**
* Gets the layer summary for a volume. (layers.get)
*
* @param string $volumeId The volume to retrieve layers for.
* @param string $summaryId The ID for the layer to get the summary for.
* @param array $optParams Optional parameters.
*
* @opt_param string contentVersion The content version for the requested
* volume.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Layersummary
*/
public function get($volumeId, $summaryId, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Layersummary");
}
/**
* List the layer summaries for a volume. (layers.listLayers)
*
* @param string $volumeId The volume to retrieve layers for.
* @param array $optParams Optional parameters.
*
* @opt_param string contentVersion The content version for the requested
* volume.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Layersummaries
*/
public function listLayers($volumeId, $optParams = array())
{
$params = array('volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Layersummaries");
}
}

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "annotationData" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $annotationData = $booksService->annotationData;
* </code>
*/
class Google_Service_Books_Resource_LayersAnnotationData extends Google_Service_Resource
{
/**
* Gets the annotation data. (annotationData.get)
*
* @param string $volumeId The volume to retrieve annotations for.
* @param string $layerId The ID for the layer to get the annotations.
* @param string $annotationDataId The ID of the annotation data to retrieve.
* @param string $contentVersion The content version for the volume you are
* trying to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
* to allow web definitions.
* @opt_param int h The requested pixel height for any images. If height is
* provided width must also be provided.
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param int scale The requested scale for the image.
* @opt_param string source String to identify the originator of this request.
* @opt_param int w The requested pixel width for any images. If width is
* provided height must also be provided.
* @return Google_Service_Books_Annotationdata
*/
public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Annotationdata");
}
/**
* Gets the annotation data for a volume and layer.
* (annotationData.listLayersAnnotationData)
*
* @param string $volumeId The volume to retrieve annotation data for.
* @param string $layerId The ID for the layer to get the annotation data.
* @param string $contentVersion The content version for the requested volume.
* @param array $optParams Optional parameters.
*
* @opt_param string annotationDataId The list of Annotation Data Ids to
* retrieve. Pagination is ignored if this is set.
* @opt_param int h The requested pixel height for any images. If height is
* provided width must also be provided.
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @opt_param int scale The requested scale for the image.
* @opt_param string source String to identify the originator of this request.
* @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
* prior to this timestamp (exclusive).
* @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
* since this timestamp (inclusive).
* @opt_param int w The requested pixel width for any images. If width is
* provided height must also be provided.
* @return Google_Service_Books_Annotationsdata
*/
public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Annotationsdata");
}
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "volumeAnnotations" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $volumeAnnotations = $booksService->volumeAnnotations;
* </code>
*/
class Google_Service_Books_Resource_LayersVolumeAnnotations extends Google_Service_Resource
{
/**
* Gets the volume annotation. (volumeAnnotations.get)
*
* @param string $volumeId The volume to retrieve annotations for.
* @param string $layerId The ID for the layer to get the annotations.
* @param string $annotationId The ID of the volume annotation to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Volumeannotation
*/
public function get($volumeId, $layerId, $annotationId, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Volumeannotation");
}
/**
* Gets the volume annotations for a volume and layer.
* (volumeAnnotations.listLayersVolumeAnnotations)
*
* @param string $volumeId The volume to retrieve annotations for.
* @param string $layerId The ID for the layer to get the annotations.
* @param string $contentVersion The content version for the requested volume.
* @param array $optParams Optional parameters.
*
* @opt_param string endOffset The end offset to end retrieving data from.
* @opt_param string endPosition The end position to end retrieving data from.
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @opt_param bool showDeleted Set to true to return deleted annotations.
* updatedMin must be in the request to use this. Defaults to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startOffset The start offset to start retrieving data from.
* @opt_param string startPosition The start position to start retrieving data
* from.
* @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
* prior to this timestamp (exclusive).
* @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
* since this timestamp (inclusive).
* @opt_param string volumeAnnotationsVersion The version of the volume
* annotations that you are requesting.
* @return Google_Service_Books_Volumeannotations
*/
public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumeannotations");
}
}

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "myconfig" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $myconfig = $booksService->myconfig;
* </code>
*/
class Google_Service_Books_Resource_Myconfig extends Google_Service_Resource
{
/**
* Gets the current settings for the user. (myconfig.getUserSettings)
*
* @param array $optParams Optional parameters.
* @return Google_Service_Books_Usersettings
*/
public function getUserSettings($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings");
}
/**
* Release downloaded content access restriction.
* (myconfig.releaseDownloadAccess)
*
* @param string|array $volumeIds The volume(s) to release restrictions for.
* @param string $cpksver The device/version ID from which to release the
* restriction.
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
* localization, i.e. en_US.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_DownloadAccesses
*/
public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
{
$params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
$params = array_merge($params, $optParams);
return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses");
}
/**
* Request concurrent and download access restrictions. (myconfig.requestAccess)
*
* @param string $source String to identify the originator of this request.
* @param string $volumeId The volume to request concurrent/download
* restrictions for.
* @param string $nonce The client nonce value.
* @param string $cpksver The device/version ID from which to request the
* restrictions.
* @param array $optParams Optional parameters.
*
* @opt_param string licenseTypes The type of access license to request. If not
* specified, the default is BOTH.
* @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
* localization, i.e. en_US.
* @return Google_Service_Books_RequestAccess
*/
public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
{
$params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
$params = array_merge($params, $optParams);
return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess");
}
/**
* Request downloaded content access for specified volumes on the My eBooks
* shelf. (myconfig.syncVolumeLicenses)
*
* @param string $source String to identify the originator of this request.
* @param string $nonce The client nonce value.
* @param string $cpksver The device/version ID from which to release the
* restriction.
* @param array $optParams Optional parameters.
*
* @opt_param string features List of features supported by the client, i.e.,
* 'RENTALS'
* @opt_param bool includeNonComicsSeries Set to true to include non-comics
* series. Defaults to false.
* @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
* localization, i.e. en_US.
* @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
* to false.
* @opt_param string volumeIds The volume(s) to request download restrictions
* for.
* @return Google_Service_Books_Volumes
*/
public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
{
$params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
$params = array_merge($params, $optParams);
return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes");
}
/**
* Sets the settings for the user. If a sub-object is specified, it will
* overwrite the existing sub-object stored in the server. Unspecified sub-
* objects will retain the existing value. (myconfig.updateUserSettings)
*
* @param Google_Service_Books_Usersettings $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Books_Usersettings
*/
public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings");
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "mylibrary" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $mylibrary = $booksService->mylibrary;
* </code>
*/
class Google_Service_Books_Resource_Mylibrary extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,119 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "annotations" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $annotations = $booksService->annotations;
* </code>
*/
class Google_Service_Books_Resource_MylibraryAnnotations extends Google_Service_Resource
{
/**
* Deletes an annotation. (annotations.delete)
*
* @param string $annotationId The ID for the annotation to delete.
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
*/
public function delete($annotationId, $optParams = array())
{
$params = array('annotationId' => $annotationId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Inserts a new annotation. (annotations.insert)
*
* @param Google_Service_Books_Annotation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string country ISO-3166-1 code to override the IP-based location.
* @opt_param bool showOnlySummaryInResponse Requests that only the summary of
* the specified layer be provided in the response.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Annotation
*/
public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Books_Annotation");
}
/**
* Retrieves a list of annotations, possibly filtered.
* (annotations.listMylibraryAnnotations)
*
* @param array $optParams Optional parameters.
*
* @opt_param string contentVersion The content version for the requested
* volume.
* @opt_param string layerId The layer ID to limit annotation by.
* @opt_param string layerIds The layer ID(s) to limit annotation by.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @opt_param bool showDeleted Set to true to return deleted annotations.
* updatedMin must be in the request to use this. Defaults to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
* prior to this timestamp (exclusive).
* @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
* since this timestamp (inclusive).
* @opt_param string volumeId The volume to restrict annotations to.
* @return Google_Service_Books_Annotations
*/
public function listMylibraryAnnotations($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Annotations");
}
/**
* Gets the summary of specified layers. (annotations.summary)
*
* @param string|array $layerIds Array of layer IDs to get the summary for.
* @param string $volumeId Volume id to get the summary for.
* @param array $optParams Optional parameters.
* @return Google_Service_Books_AnnotationsSummary
*/
public function summary($layerIds, $volumeId, $optParams = array())
{
$params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary");
}
/**
* Updates an existing annotation. (annotations.update)
*
* @param string $annotationId The ID for the annotation to update.
* @param Google_Service_Books_Annotation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Annotation
*/
public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
{
$params = array('annotationId' => $annotationId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Books_Annotation");
}
}

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "bookshelves" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $bookshelves = $booksService->bookshelves;
* </code>
*/
class Google_Service_Books_Resource_MylibraryBookshelves extends Google_Service_Resource
{
/**
* Adds a volume to a bookshelf. (bookshelves.addVolume)
*
* @param string $shelf ID of bookshelf to which to add a volume.
* @param string $volumeId ID of volume to add.
* @param array $optParams Optional parameters.
*
* @opt_param string reason The reason for which the book is added to the
* library.
* @opt_param string source String to identify the originator of this request.
*/
public function addVolume($shelf, $volumeId, $optParams = array())
{
$params = array('shelf' => $shelf, 'volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('addVolume', array($params));
}
/**
* Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
*
* @param string $shelf ID of bookshelf from which to remove a volume.
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
*/
public function clearVolumes($shelf, $optParams = array())
{
$params = array('shelf' => $shelf);
$params = array_merge($params, $optParams);
return $this->call('clearVolumes', array($params));
}
/**
* Retrieves metadata for a specific bookshelf belonging to the authenticated
* user. (bookshelves.get)
*
* @param string $shelf ID of bookshelf to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Bookshelf
*/
public function get($shelf, $optParams = array())
{
$params = array('shelf' => $shelf);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
}
/**
* Retrieves a list of bookshelves belonging to the authenticated user.
* (bookshelves.listMylibraryBookshelves)
*
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Bookshelves
*/
public function listMylibraryBookshelves($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
}
/**
* Moves a volume within a bookshelf. (bookshelves.moveVolume)
*
* @param string $shelf ID of bookshelf with the volume.
* @param string $volumeId ID of volume to move.
* @param int $volumePosition Position on shelf to move the item (0 puts the
* item before the current first item, 1 puts it between the first and the
* second and so on.)
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
*/
public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
{
$params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
$params = array_merge($params, $optParams);
return $this->call('moveVolume', array($params));
}
/**
* Removes a volume from a bookshelf. (bookshelves.removeVolume)
*
* @param string $shelf ID of bookshelf from which to remove a volume.
* @param string $volumeId ID of volume to remove.
* @param array $optParams Optional parameters.
*
* @opt_param string reason The reason for which the book is removed from the
* library.
* @opt_param string source String to identify the originator of this request.
*/
public function removeVolume($shelf, $volumeId, $optParams = array())
{
$params = array('shelf' => $shelf, 'volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('removeVolume', array($params));
}
}

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $volumes = $booksService->volumes;
* </code>
*/
class Google_Service_Books_Resource_MylibraryBookshelvesVolumes extends Google_Service_Resource
{
/**
* Gets volume information for volumes on a bookshelf.
* (volumes.listMylibraryBookshelvesVolumes)
*
* @param string $shelf The bookshelf ID or name retrieve volumes for.
* @param array $optParams Optional parameters.
*
* @opt_param string country ISO-3166-1 code to override the IP-based location.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string projection Restrict information returned to a set of
* selected fields.
* @opt_param string q Full-text search query string in this bookshelf.
* @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
* to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first element to return (starts at
* 0)
* @return Google_Service_Books_Volumes
*/
public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
{
$params = array('shelf' => $shelf);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "readingpositions" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $readingpositions = $booksService->readingpositions;
* </code>
*/
class Google_Service_Books_Resource_MylibraryReadingpositions extends Google_Service_Resource
{
/**
* Retrieves my reading position information for a volume.
* (readingpositions.get)
*
* @param string $volumeId ID of volume for which to retrieve a reading
* position.
* @param array $optParams Optional parameters.
*
* @opt_param string contentVersion Volume content version for which this
* reading position is requested.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_ReadingPosition
*/
public function get($volumeId, $optParams = array())
{
$params = array('volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_ReadingPosition");
}
/**
* Sets my reading position information for a volume.
* (readingpositions.setPosition)
*
* @param string $volumeId ID of volume for which to update the reading
* position.
* @param string $timestamp RFC 3339 UTC format timestamp associated with this
* reading position.
* @param string $position Position string for the new volume reading position.
* @param array $optParams Optional parameters.
*
* @opt_param string action Action that caused this reading position to be set.
* @opt_param string contentVersion Volume content version for which this
* reading position applies.
* @opt_param string deviceCookie Random persistent device cookie optional on
* set position.
* @opt_param string source String to identify the originator of this request.
*/
public function setPosition($volumeId, $timestamp, $position, $optParams = array())
{
$params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
$params = array_merge($params, $optParams);
return $this->call('setPosition', array($params));
}
}

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "notification" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $notification = $booksService->notification;
* </code>
*/
class Google_Service_Books_Resource_Notification extends Google_Service_Resource
{
/**
* Returns notification details for a given notification id. (notification.get)
*
* @param string $notificationId String to identify the notification.
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating notification title and body.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Notification
*/
public function get($notificationId, $optParams = array())
{
$params = array('notification_id' => $notificationId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Notification");
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "onboarding" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $onboarding = $booksService->onboarding;
* </code>
*/
class Google_Service_Books_Resource_Onboarding extends Google_Service_Resource
{
/**
* List categories for onboarding experience. (onboarding.listCategories)
*
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
* Default is en-US if unset.
* @return Google_Service_Books_Category
*/
public function listCategories($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('listCategories', array($params), "Google_Service_Books_Category");
}
/**
* List available volumes under categories for onboarding experience.
* (onboarding.listCategoryVolumes)
*
* @param array $optParams Optional parameters.
*
* @opt_param string categoryId List of category ids requested.
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
* Default is en-US if unset.
* @opt_param string maxAllowedMaturityRating The maximum allowed maturity
* rating of returned volumes. Books with a higher maturity rating are filtered
* out.
* @opt_param string pageSize Number of maximum results per page to be included
* in the response.
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @return Google_Service_Books_Volume2
*/
public function listCategoryVolumes($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2");
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "personalizedstream" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $personalizedstream = $booksService->personalizedstream;
* </code>
*/
class Google_Service_Books_Resource_Personalizedstream extends Google_Service_Resource
{
/**
* Returns a stream of personalized book clusters (personalizedstream.get)
*
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating recommendations.
* @opt_param string maxAllowedMaturityRating The maximum allowed maturity
* rating of returned recommendations. Books with a higher maturity rating are
* filtered out.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Discoveryclusters
*/
public function get($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters");
}
}

View File

@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "promooffer" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $promooffer = $booksService->promooffer;
* </code>
*/
class Google_Service_Books_Resource_Promooffer extends Google_Service_Resource
{
/**
* (promooffer.accept)
*
* @param array $optParams Optional parameters.
*
* @opt_param string androidId device android_id
* @opt_param string device device device
* @opt_param string manufacturer device manufacturer
* @opt_param string model device model
* @opt_param string offerId
* @opt_param string product device product
* @opt_param string serial device serial
* @opt_param string volumeId Volume id to exercise the offer
*/
public function accept($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('accept', array($params));
}
/**
* (promooffer.dismiss)
*
* @param array $optParams Optional parameters.
*
* @opt_param string androidId device android_id
* @opt_param string device device device
* @opt_param string manufacturer device manufacturer
* @opt_param string model device model
* @opt_param string offerId Offer to dimiss
* @opt_param string product device product
* @opt_param string serial device serial
*/
public function dismiss($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params));
}
/**
* Returns a list of promo offers available to the user (promooffer.get)
*
* @param array $optParams Optional parameters.
*
* @opt_param string androidId device android_id
* @opt_param string device device device
* @opt_param string manufacturer device manufacturer
* @opt_param string model device model
* @opt_param string product device product
* @opt_param string serial device serial
* @return Google_Service_Books_Offers
*/
public function get($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Offers");
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "series" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $series = $booksService->series;
* </code>
*/
class Google_Service_Books_Resource_Series extends Google_Service_Resource
{
/**
* Returns Series metadata for the given series ids. (series.get)
*
* @param string|array $seriesId String that identifies the series
* @param array $optParams Optional parameters.
* @return Google_Service_Books_Series
*/
public function get($seriesId, $optParams = array())
{
$params = array('series_id' => $seriesId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Series");
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "membership" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $membership = $booksService->membership;
* </code>
*/
class Google_Service_Books_Resource_SeriesMembership extends Google_Service_Resource
{
/**
* Returns Series membership data given the series id. (membership.get)
*
* @param string $seriesId String that identifies the series
* @param array $optParams Optional parameters.
*
* @opt_param string page_size Number of maximum results per page to be included
* in the response.
* @opt_param string page_token The value of the nextToken from the previous
* page.
* @return Google_Service_Books_Seriesmembership
*/
public function get($seriesId, $optParams = array())
{
$params = array('series_id' => $seriesId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Seriesmembership");
}
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $volumes = $booksService->volumes;
* </code>
*/
class Google_Service_Books_Resource_Volumes extends Google_Service_Resource
{
/**
* Gets volume information for a single volume. (volumes.get)
*
* @param string $volumeId ID of volume to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param string country ISO-3166-1 code to override the IP-based location.
* @opt_param bool includeNonComicsSeries Set to true to include non-comics
* series. Defaults to false.
* @opt_param string partner Brand results for partner ID.
* @opt_param string projection Restrict information returned to a set of
* selected fields.
* @opt_param string source String to identify the originator of this request.
* @opt_param bool user_library_consistent_read
* @return Google_Service_Books_Volume
*/
public function get($volumeId, $optParams = array())
{
$params = array('volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Books_Volume");
}
/**
* Performs a book search. (volumes.listVolumes)
*
* @param string $q Full-text search query string.
* @param array $optParams Optional parameters.
*
* @opt_param string download Restrict to volumes by download availability.
* @opt_param string filter Filter search results.
* @opt_param string langRestrict Restrict results to books with this language
* code.
* @opt_param string libraryRestrict Restrict search to this user's library.
* @opt_param string maxAllowedMaturityRating The maximum allowed maturity
* rating of returned recommendations. Books with a higher maturity rating are
* filtered out.
* @opt_param string maxResults Maximum number of results to return.
* @opt_param string orderBy Sort search results.
* @opt_param string partner Restrict and brand results for partner ID.
* @opt_param string printType Restrict to books or magazines.
* @opt_param string projection Restrict information returned to a set of
* selected fields.
* @opt_param bool showPreorders Set to true to show books available for
* preorder. Defaults to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first result to return (starts at
* 0)
* @return Google_Service_Books_Volumes
*/
public function listVolumes($q, $optParams = array())
{
$params = array('q' => $q);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "associated" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $associated = $booksService->associated;
* </code>
*/
class Google_Service_Books_Resource_VolumesAssociated extends Google_Service_Resource
{
/**
* Return a list of associated books. (associated.listVolumesAssociated)
*
* @param string $volumeId ID of the source volume.
* @param array $optParams Optional parameters.
*
* @opt_param string association Association type.
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating recommendations.
* @opt_param string maxAllowedMaturityRating The maximum allowed maturity
* rating of returned recommendations. Books with a higher maturity rating are
* filtered out.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Volumes
*/
public function listVolumesAssociated($volumeId, $optParams = array())
{
$params = array('volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "mybooks" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $mybooks = $booksService->mybooks;
* </code>
*/
class Google_Service_Books_Resource_VolumesMybooks extends Google_Service_Resource
{
/**
* Return a list of books in My Library. (mybooks.listVolumesMybooks)
*
* @param array $optParams Optional parameters.
*
* @opt_param string acquireMethod How the book was acquired
* @opt_param string country ISO-3166-1 code to override the IP-based location.
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
* Ex:'en_US'. Used for generating recommendations.
* @opt_param string maxResults Maximum number of results to return.
* @opt_param string processingState The processing state of the user uploaded
* volumes to be returned. Applicable only if the UPLOADED is specified in the
* acquireMethod.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first result to return (starts at
* 0)
* @return Google_Service_Books_Volumes
*/
public function listVolumesMybooks($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "recommended" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $recommended = $booksService->recommended;
* </code>
*/
class Google_Service_Books_Resource_VolumesRecommended extends Google_Service_Resource
{
/**
* Return a list of recommended books for the current user.
* (recommended.listVolumesRecommended)
*
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating recommendations.
* @opt_param string maxAllowedMaturityRating The maximum allowed maturity
* rating of returned recommendations. Books with a higher maturity rating are
* filtered out.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_Volumes
*/
public function listVolumesRecommended($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
/**
* Rate a recommended book for the current user. (recommended.rate)
*
* @param string $rating Rating to be given to the volume.
* @param string $volumeId ID of the source volume.
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating recommendations.
* @opt_param string source String to identify the originator of this request.
* @return Google_Service_Books_BooksVolumesRecommendedRateResponse
*/
public function rate($rating, $volumeId, $optParams = array())
{
$params = array('rating' => $rating, 'volumeId' => $volumeId);
$params = array_merge($params, $optParams);
return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
}
}

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "useruploaded" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google_Service_Books(...);
* $useruploaded = $booksService->useruploaded;
* </code>
*/
class Google_Service_Books_Resource_VolumesUseruploaded extends Google_Service_Resource
{
/**
* Return a list of books uploaded by the current user.
* (useruploaded.listVolumesUseruploaded)
*
* @param array $optParams Optional parameters.
*
* @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
* 'en_US'. Used for generating recommendations.
* @opt_param string maxResults Maximum number of results to return.
* @opt_param string processingState The processing state of the user uploaded
* volumes to be returned.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first result to return (starts at
* 0)
* @opt_param string volumeId The ids of the volumes to be returned. If not
* specified all that match the processingState are returned.
* @return Google_Service_Books_Volumes
*/
public function listVolumesUseruploaded($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Books_Volumes");
}
}

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Review extends Google_Model
{
protected $authorType = 'Google_Service_Books_ReviewAuthor';
protected $authorDataType = '';
public $content;
public $date;
public $fullTextUrl;
public $kind;
public $rating;
protected $sourceType = 'Google_Service_Books_ReviewSource';
protected $sourceDataType = '';
public $title;
public $type;
public $volumeId;
public function setAuthor(Google_Service_Books_ReviewAuthor $author)
{
$this->author = $author;
}
public function getAuthor()
{
return $this->author;
}
public function setContent($content)
{
$this->content = $content;
}
public function getContent()
{
return $this->content;
}
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
public function setFullTextUrl($fullTextUrl)
{
$this->fullTextUrl = $fullTextUrl;
}
public function getFullTextUrl()
{
return $this->fullTextUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setRating($rating)
{
$this->rating = $rating;
}
public function getRating()
{
return $this->rating;
}
public function setSource(Google_Service_Books_ReviewSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
public function getVolumeId()
{
return $this->volumeId;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_ReviewAuthor extends Google_Model
{
public $displayName;
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_ReviewSource extends Google_Model
{
public $description;
public $extraDescription;
public $url;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setExtraDescription($extraDescription)
{
$this->extraDescription = $extraDescription;
}
public function getExtraDescription()
{
return $this->extraDescription;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Series extends Google_Collection
{
protected $collection_key = 'series';
public $kind;
protected $seriesType = 'Google_Service_Books_SeriesSeries';
protected $seriesDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setSeries($series)
{
$this->series = $series;
}
public function getSeries()
{
return $this->series;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_SeriesSeries extends Google_Model
{
public $bannerImageUrl;
public $imageUrl;
public $seriesId;
public $seriesType;
public $title;
public function setBannerImageUrl($bannerImageUrl)
{
$this->bannerImageUrl = $bannerImageUrl;
}
public function getBannerImageUrl()
{
return $this->bannerImageUrl;
}
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
}
public function getImageUrl()
{
return $this->imageUrl;
}
public function setSeriesId($seriesId)
{
$this->seriesId = $seriesId;
}
public function getSeriesId()
{
return $this->seriesId;
}
public function setSeriesType($seriesType)
{
$this->seriesType = $seriesType;
}
public function getSeriesType()
{
return $this->seriesType;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Seriesmembership extends Google_Collection
{
protected $collection_key = 'member';
public $kind;
protected $memberType = 'Google_Service_Books_Volume';
protected $memberDataType = 'array';
public $nextPageToken;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMember($member)
{
$this->member = $member;
}
public function getMember()
{
return $this->member;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Usersettings extends Google_Model
{
public $kind;
protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport';
protected $notesExportDataType = '';
protected $notificationType = 'Google_Service_Books_UsersettingsNotification';
protected $notificationDataType = '';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport)
{
$this->notesExport = $notesExport;
}
public function getNotesExport()
{
return $this->notesExport;
}
public function setNotification(Google_Service_Books_UsersettingsNotification $notification)
{
$this->notification = $notification;
}
public function getNotification()
{
return $this->notification;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_UsersettingsNotesExport extends Google_Model
{
public $folderName;
public $isEnabled;
public function setFolderName($folderName)
{
$this->folderName = $folderName;
}
public function getFolderName()
{
return $this->folderName;
}
public function setIsEnabled($isEnabled)
{
$this->isEnabled = $isEnabled;
}
public function getIsEnabled()
{
return $this->isEnabled;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_UsersettingsNotification extends Google_Model
{
protected $moreFromAuthorsType = 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors';
protected $moreFromAuthorsDataType = '';
protected $moreFromSeriesType = 'Google_Service_Books_UsersettingsNotificationMoreFromSeries';
protected $moreFromSeriesDataType = '';
public function setMoreFromAuthors(Google_Service_Books_UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
{
$this->moreFromAuthors = $moreFromAuthors;
}
public function getMoreFromAuthors()
{
return $this->moreFromAuthors;
}
public function setMoreFromSeries(Google_Service_Books_UsersettingsNotificationMoreFromSeries $moreFromSeries)
{
$this->moreFromSeries = $moreFromSeries;
}
public function getMoreFromSeries()
{
return $this->moreFromSeries;
}
}

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_UsersettingsNotificationMoreFromAuthors extends Google_Model
{
protected $internal_gapi_mappings = array(
"optedState" => "opted_state",
);
public $optedState;
public function setOptedState($optedState)
{
$this->optedState = $optedState;
}
public function getOptedState()
{
return $this->optedState;
}
}

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_UsersettingsNotificationMoreFromSeries extends Google_Model
{
protected $internal_gapi_mappings = array(
"optedState" => "opted_state",
);
public $optedState;
public function setOptedState($optedState)
{
$this->optedState = $optedState;
}
public function getOptedState()
{
return $this->optedState;
}
}

View File

@@ -0,0 +1,127 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Volume extends Google_Model
{
protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo';
protected $accessInfoDataType = '';
public $etag;
public $id;
public $kind;
protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo';
protected $layerInfoDataType = '';
protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo';
protected $recommendedInfoDataType = '';
protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo';
protected $saleInfoDataType = '';
protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo';
protected $searchInfoDataType = '';
public $selfLink;
protected $userInfoType = 'Google_Service_Books_VolumeUserInfo';
protected $userInfoDataType = '';
protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo';
protected $volumeInfoDataType = '';
public function setAccessInfo(Google_Service_Books_VolumeAccessInfo $accessInfo)
{
$this->accessInfo = $accessInfo;
}
public function getAccessInfo()
{
return $this->accessInfo;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo)
{
$this->layerInfo = $layerInfo;
}
public function getLayerInfo()
{
return $this->layerInfo;
}
public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
{
$this->recommendedInfo = $recommendedInfo;
}
public function getRecommendedInfo()
{
return $this->recommendedInfo;
}
public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo)
{
$this->saleInfo = $saleInfo;
}
public function getSaleInfo()
{
return $this->saleInfo;
}
public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo)
{
$this->searchInfo = $searchInfo;
}
public function getSearchInfo()
{
return $this->searchInfo;
}
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
public function getSelfLink()
{
return $this->selfLink;
}
public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo)
{
$this->userInfo = $userInfo;
}
public function getUserInfo()
{
return $this->userInfo;
}
public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo)
{
$this->volumeInfo = $volumeInfo;
}
public function getVolumeInfo()
{
return $this->volumeInfo;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_Volume2 extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Volume';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,150 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeAccessInfo extends Google_Model
{
public $accessViewStatus;
public $country;
protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
protected $downloadAccessDataType = '';
public $driveImportedContentLink;
public $embeddable;
protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
protected $epubDataType = '';
public $explicitOfflineLicenseManagement;
protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf';
protected $pdfDataType = '';
public $publicDomain;
public $quoteSharingAllowed;
public $textToSpeechPermission;
public $viewOrderUrl;
public $viewability;
public $webReaderLink;
public function setAccessViewStatus($accessViewStatus)
{
$this->accessViewStatus = $accessViewStatus;
}
public function getAccessViewStatus()
{
return $this->accessViewStatus;
}
public function setCountry($country)
{
$this->country = $country;
}
public function getCountry()
{
return $this->country;
}
public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
{
$this->downloadAccess = $downloadAccess;
}
public function getDownloadAccess()
{
return $this->downloadAccess;
}
public function setDriveImportedContentLink($driveImportedContentLink)
{
$this->driveImportedContentLink = $driveImportedContentLink;
}
public function getDriveImportedContentLink()
{
return $this->driveImportedContentLink;
}
public function setEmbeddable($embeddable)
{
$this->embeddable = $embeddable;
}
public function getEmbeddable()
{
return $this->embeddable;
}
public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub)
{
$this->epub = $epub;
}
public function getEpub()
{
return $this->epub;
}
public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
{
$this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
}
public function getExplicitOfflineLicenseManagement()
{
return $this->explicitOfflineLicenseManagement;
}
public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf)
{
$this->pdf = $pdf;
}
public function getPdf()
{
return $this->pdf;
}
public function setPublicDomain($publicDomain)
{
$this->publicDomain = $publicDomain;
}
public function getPublicDomain()
{
return $this->publicDomain;
}
public function setQuoteSharingAllowed($quoteSharingAllowed)
{
$this->quoteSharingAllowed = $quoteSharingAllowed;
}
public function getQuoteSharingAllowed()
{
return $this->quoteSharingAllowed;
}
public function setTextToSpeechPermission($textToSpeechPermission)
{
$this->textToSpeechPermission = $textToSpeechPermission;
}
public function getTextToSpeechPermission()
{
return $this->textToSpeechPermission;
}
public function setViewOrderUrl($viewOrderUrl)
{
$this->viewOrderUrl = $viewOrderUrl;
}
public function getViewOrderUrl()
{
return $this->viewOrderUrl;
}
public function setViewability($viewability)
{
$this->viewability = $viewability;
}
public function getViewability()
{
return $this->viewability;
}
public function setWebReaderLink($webReaderLink)
{
$this->webReaderLink = $webReaderLink;
}
public function getWebReaderLink()
{
return $this->webReaderLink;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeAccessInfoEpub extends Google_Model
{
public $acsTokenLink;
public $downloadLink;
public $isAvailable;
public function setAcsTokenLink($acsTokenLink)
{
$this->acsTokenLink = $acsTokenLink;
}
public function getAcsTokenLink()
{
return $this->acsTokenLink;
}
public function setDownloadLink($downloadLink)
{
$this->downloadLink = $downloadLink;
}
public function getDownloadLink()
{
return $this->downloadLink;
}
public function setIsAvailable($isAvailable)
{
$this->isAvailable = $isAvailable;
}
public function getIsAvailable()
{
return $this->isAvailable;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeAccessInfoPdf extends Google_Model
{
public $acsTokenLink;
public $downloadLink;
public $isAvailable;
public function setAcsTokenLink($acsTokenLink)
{
$this->acsTokenLink = $acsTokenLink;
}
public function getAcsTokenLink()
{
return $this->acsTokenLink;
}
public function setDownloadLink($downloadLink)
{
$this->downloadLink = $downloadLink;
}
public function getDownloadLink()
{
return $this->downloadLink;
}
public function setIsAvailable($isAvailable)
{
$this->isAvailable = $isAvailable;
}
public function getIsAvailable()
{
return $this->isAvailable;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeLayerInfo extends Google_Collection
{
protected $collection_key = 'layers';
protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
protected $layersDataType = 'array';
public function setLayers($layers)
{
$this->layers = $layers;
}
public function getLayers()
{
return $this->layers;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeLayerInfoLayers extends Google_Model
{
public $layerId;
public $volumeAnnotationsVersion;
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
public function getLayerId()
{
return $this->layerId;
}
public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
{
$this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
}
public function getVolumeAnnotationsVersion()
{
return $this->volumeAnnotationsVersion;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Books_VolumeRecommendedInfo extends Google_Model
{
public $explanation;
public function setExplanation($explanation)
{
$this->explanation = $explanation;
}
public function getExplanation()
{
return $this->explanation;
}
}

Some files were not shown because too many files have changed in this diff Show More