Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,327 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Annotation extends \Google\Collection
{
protected $collection_key = 'pageIds';
/**
* @var string
*/
public $afterSelectedText;
/**
* @var string
*/
public $beforeSelectedText;
protected $clientVersionRangesType = AnnotationClientVersionRanges::class;
protected $clientVersionRangesDataType = '';
/**
* @var string
*/
public $created;
protected $currentVersionRangesType = AnnotationCurrentVersionRanges::class;
protected $currentVersionRangesDataType = '';
/**
* @var string
*/
public $data;
/**
* @var bool
*/
public $deleted;
/**
* @var string
*/
public $highlightStyle;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $layerId;
protected $layerSummaryType = AnnotationLayerSummary::class;
protected $layerSummaryDataType = '';
/**
* @var string[]
*/
public $pageIds;
/**
* @var string
*/
public $selectedText;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setAfterSelectedText($afterSelectedText)
{
$this->afterSelectedText = $afterSelectedText;
}
/**
* @return string
*/
public function getAfterSelectedText()
{
return $this->afterSelectedText;
}
/**
* @param string
*/
public function setBeforeSelectedText($beforeSelectedText)
{
$this->beforeSelectedText = $beforeSelectedText;
}
/**
* @return string
*/
public function getBeforeSelectedText()
{
return $this->beforeSelectedText;
}
/**
* @param AnnotationClientVersionRanges
*/
public function setClientVersionRanges(AnnotationClientVersionRanges $clientVersionRanges)
{
$this->clientVersionRanges = $clientVersionRanges;
}
/**
* @return AnnotationClientVersionRanges
*/
public function getClientVersionRanges()
{
return $this->clientVersionRanges;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param AnnotationCurrentVersionRanges
*/
public function setCurrentVersionRanges(AnnotationCurrentVersionRanges $currentVersionRanges)
{
$this->currentVersionRanges = $currentVersionRanges;
}
/**
* @return AnnotationCurrentVersionRanges
*/
public function getCurrentVersionRanges()
{
return $this->currentVersionRanges;
}
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param bool
*/
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
/**
* @return bool
*/
public function getDeleted()
{
return $this->deleted;
}
/**
* @param string
*/
public function setHighlightStyle($highlightStyle)
{
$this->highlightStyle = $highlightStyle;
}
/**
* @return string
*/
public function getHighlightStyle()
{
return $this->highlightStyle;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
/**
* @return string
*/
public function getLayerId()
{
return $this->layerId;
}
/**
* @param AnnotationLayerSummary
*/
public function setLayerSummary(AnnotationLayerSummary $layerSummary)
{
$this->layerSummary = $layerSummary;
}
/**
* @return AnnotationLayerSummary
*/
public function getLayerSummary()
{
return $this->layerSummary;
}
/**
* @param string[]
*/
public function setPageIds($pageIds)
{
$this->pageIds = $pageIds;
}
/**
* @return string[]
*/
public function getPageIds()
{
return $this->pageIds;
}
/**
* @param string
*/
public function setSelectedText($selectedText)
{
$this->selectedText = $selectedText;
}
/**
* @return string
*/
public function getSelectedText()
{
return $this->selectedText;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Annotation::class, 'Google_Service_Books_Annotation');

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class AnnotationClientVersionRanges extends \Google\Model
{
protected $cfiRangeType = BooksAnnotationsRange::class;
protected $cfiRangeDataType = '';
/**
* @var string
*/
public $contentVersion;
protected $gbImageRangeType = BooksAnnotationsRange::class;
protected $gbImageRangeDataType = '';
protected $gbTextRangeType = BooksAnnotationsRange::class;
protected $gbTextRangeDataType = '';
protected $imageCfiRangeType = BooksAnnotationsRange::class;
protected $imageCfiRangeDataType = '';
/**
* @param BooksAnnotationsRange
*/
public function setCfiRange(BooksAnnotationsRange $cfiRange)
{
$this->cfiRange = $cfiRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getCfiRange()
{
return $this->cfiRange;
}
/**
* @param string
*/
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
/**
* @return string
*/
public function getContentVersion()
{
return $this->contentVersion;
}
/**
* @param BooksAnnotationsRange
*/
public function setGbImageRange(BooksAnnotationsRange $gbImageRange)
{
$this->gbImageRange = $gbImageRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getGbImageRange()
{
return $this->gbImageRange;
}
/**
* @param BooksAnnotationsRange
*/
public function setGbTextRange(BooksAnnotationsRange $gbTextRange)
{
$this->gbTextRange = $gbTextRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getGbTextRange()
{
return $this->gbTextRange;
}
/**
* @param BooksAnnotationsRange
*/
public function setImageCfiRange(BooksAnnotationsRange $imageCfiRange)
{
$this->imageCfiRange = $imageCfiRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getImageCfiRange()
{
return $this->imageCfiRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotationClientVersionRanges::class, 'Google_Service_Books_AnnotationClientVersionRanges');

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class AnnotationCurrentVersionRanges extends \Google\Model
{
protected $cfiRangeType = BooksAnnotationsRange::class;
protected $cfiRangeDataType = '';
/**
* @var string
*/
public $contentVersion;
protected $gbImageRangeType = BooksAnnotationsRange::class;
protected $gbImageRangeDataType = '';
protected $gbTextRangeType = BooksAnnotationsRange::class;
protected $gbTextRangeDataType = '';
protected $imageCfiRangeType = BooksAnnotationsRange::class;
protected $imageCfiRangeDataType = '';
/**
* @param BooksAnnotationsRange
*/
public function setCfiRange(BooksAnnotationsRange $cfiRange)
{
$this->cfiRange = $cfiRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getCfiRange()
{
return $this->cfiRange;
}
/**
* @param string
*/
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
/**
* @return string
*/
public function getContentVersion()
{
return $this->contentVersion;
}
/**
* @param BooksAnnotationsRange
*/
public function setGbImageRange(BooksAnnotationsRange $gbImageRange)
{
$this->gbImageRange = $gbImageRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getGbImageRange()
{
return $this->gbImageRange;
}
/**
* @param BooksAnnotationsRange
*/
public function setGbTextRange(BooksAnnotationsRange $gbTextRange)
{
$this->gbTextRange = $gbTextRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getGbTextRange()
{
return $this->gbTextRange;
}
/**
* @param BooksAnnotationsRange
*/
public function setImageCfiRange(BooksAnnotationsRange $imageCfiRange)
{
$this->imageCfiRange = $imageCfiRange;
}
/**
* @return BooksAnnotationsRange
*/
public function getImageCfiRange()
{
return $this->imageCfiRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotationCurrentVersionRanges::class, 'Google_Service_Books_AnnotationCurrentVersionRanges');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class AnnotationLayerSummary extends \Google\Model
{
/**
* @var int
*/
public $allowedCharacterCount;
/**
* @var string
*/
public $limitType;
/**
* @var int
*/
public $remainingCharacterCount;
/**
* @param int
*/
public function setAllowedCharacterCount($allowedCharacterCount)
{
$this->allowedCharacterCount = $allowedCharacterCount;
}
/**
* @return int
*/
public function getAllowedCharacterCount()
{
return $this->allowedCharacterCount;
}
/**
* @param string
*/
public function setLimitType($limitType)
{
$this->limitType = $limitType;
}
/**
* @return string
*/
public function getLimitType()
{
return $this->limitType;
}
/**
* @param int
*/
public function setRemainingCharacterCount($remainingCharacterCount)
{
$this->remainingCharacterCount = $remainingCharacterCount;
}
/**
* @return int
*/
public function getRemainingCharacterCount()
{
return $this->remainingCharacterCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotationLayerSummary::class, 'Google_Service_Books_AnnotationLayerSummary');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Annotations extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Annotation::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalItems;
/**
* @param Annotation[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Annotation[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
/**
* @return int
*/
public function getTotalItems()
{
return $this->totalItems;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Annotations::class, 'Google_Service_Books_Annotations');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class AnnotationsSummary extends \Google\Collection
{
protected $collection_key = 'layers';
/**
* @var string
*/
public $kind;
protected $layersType = AnnotationsSummaryLayers::class;
protected $layersDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param AnnotationsSummaryLayers[]
*/
public function setLayers($layers)
{
$this->layers = $layers;
}
/**
* @return AnnotationsSummaryLayers[]
*/
public function getLayers()
{
return $this->layers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotationsSummary::class, 'Google_Service_Books_AnnotationsSummary');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class AnnotationsSummaryLayers extends \Google\Model
{
/**
* @var int
*/
public $allowedCharacterCount;
/**
* @var string
*/
public $layerId;
/**
* @var string
*/
public $limitType;
/**
* @var int
*/
public $remainingCharacterCount;
/**
* @var string
*/
public $updated;
/**
* @param int
*/
public function setAllowedCharacterCount($allowedCharacterCount)
{
$this->allowedCharacterCount = $allowedCharacterCount;
}
/**
* @return int
*/
public function getAllowedCharacterCount()
{
return $this->allowedCharacterCount;
}
/**
* @param string
*/
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
/**
* @return string
*/
public function getLayerId()
{
return $this->layerId;
}
/**
* @param string
*/
public function setLimitType($limitType)
{
$this->limitType = $limitType;
}
/**
* @return string
*/
public function getLimitType()
{
return $this->limitType;
}
/**
* @param int
*/
public function setRemainingCharacterCount($remainingCharacterCount)
{
$this->remainingCharacterCount = $remainingCharacterCount;
}
/**
* @return int
*/
public function getRemainingCharacterCount()
{
return $this->remainingCharacterCount;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotationsSummaryLayers::class, 'Google_Service_Books_AnnotationsSummaryLayers');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Annotationsdata extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = GeoAnnotationdata::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalItems;
/**
* @param GeoAnnotationdata[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return GeoAnnotationdata[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
/**
* @return int
*/
public function getTotalItems()
{
return $this->totalItems;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Annotationsdata::class, 'Google_Service_Books_Annotationsdata');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class BooksAnnotationsRange extends \Google\Model
{
/**
* @var string
*/
public $endOffset;
/**
* @var string
*/
public $endPosition;
/**
* @var string
*/
public $startOffset;
/**
* @var string
*/
public $startPosition;
/**
* @param string
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return string
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param string
*/
public function setEndPosition($endPosition)
{
$this->endPosition = $endPosition;
}
/**
* @return string
*/
public function getEndPosition()
{
return $this->endPosition;
}
/**
* @param string
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return string
*/
public function getStartOffset()
{
return $this->startOffset;
}
/**
* @param string
*/
public function setStartPosition($startPosition)
{
$this->startPosition = $startPosition;
}
/**
* @return string
*/
public function getStartPosition()
{
return $this->startPosition;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BooksAnnotationsRange::class, 'Google_Service_Books_BooksAnnotationsRange');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class BooksCloudloadingResource extends \Google\Model
{
/**
* @var string
*/
public $author;
/**
* @var string
*/
public $processingState;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setAuthor($author)
{
$this->author = $author;
}
/**
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setProcessingState($processingState)
{
$this->processingState = $processingState;
}
/**
* @return string
*/
public function getProcessingState()
{
return $this->processingState;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BooksCloudloadingResource::class, 'Google_Service_Books_BooksCloudloadingResource');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class BooksEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BooksEmpty::class, 'Google_Service_Books_BooksEmpty');

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class BooksVolumesRecommendedRateResponse extends \Google\Model
{
protected $internal_gapi_mappings = [
"consistencyToken" => "consistency_token",
];
/**
* @var string
*/
public $consistencyToken;
/**
* @param string
*/
public function setConsistencyToken($consistencyToken)
{
$this->consistencyToken = $consistencyToken;
}
/**
* @return string
*/
public function getConsistencyToken()
{
return $this->consistencyToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BooksVolumesRecommendedRateResponse::class, 'Google_Service_Books_BooksVolumesRecommendedRateResponse');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Bookshelf extends \Google\Model
{
/**
* @var string
*/
public $access;
/**
* @var string
*/
public $created;
/**
* @var string
*/
public $description;
/**
* @var int
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $updated;
/**
* @var int
*/
public $volumeCount;
/**
* @var string
*/
public $volumesLastUpdated;
/**
* @param string
*/
public function setAccess($access)
{
$this->access = $access;
}
/**
* @return string
*/
public function getAccess()
{
return $this->access;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param int
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param int
*/
public function setVolumeCount($volumeCount)
{
$this->volumeCount = $volumeCount;
}
/**
* @return int
*/
public function getVolumeCount()
{
return $this->volumeCount;
}
/**
* @param string
*/
public function setVolumesLastUpdated($volumesLastUpdated)
{
$this->volumesLastUpdated = $volumesLastUpdated;
}
/**
* @return string
*/
public function getVolumesLastUpdated()
{
return $this->volumesLastUpdated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Bookshelf::class, 'Google_Service_Books_Bookshelf');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Bookshelves extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Bookshelf::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param Bookshelf[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Bookshelf[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Bookshelves::class, 'Google_Service_Books_Bookshelves');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Category extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = CategoryItems::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param CategoryItems[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CategoryItems[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Category::class, 'Google_Service_Books_Category');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class CategoryItems extends \Google\Model
{
/**
* @var string
*/
public $badgeUrl;
/**
* @var string
*/
public $categoryId;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setBadgeUrl($badgeUrl)
{
$this->badgeUrl = $badgeUrl;
}
/**
* @return string
*/
public function getBadgeUrl()
{
return $this->badgeUrl;
}
/**
* @param string
*/
public function setCategoryId($categoryId)
{
$this->categoryId = $categoryId;
}
/**
* @return string
*/
public function getCategoryId()
{
return $this->categoryId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CategoryItems::class, 'Google_Service_Books_CategoryItems');

View File

@@ -0,0 +1,224 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class ConcurrentAccessRestriction extends \Google\Model
{
/**
* @var bool
*/
public $deviceAllowed;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $maxConcurrentDevices;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $nonce;
/**
* @var string
*/
public $reasonCode;
/**
* @var bool
*/
public $restricted;
/**
* @var string
*/
public $signature;
/**
* @var string
*/
public $source;
/**
* @var int
*/
public $timeWindowSeconds;
/**
* @var string
*/
public $volumeId;
/**
* @param bool
*/
public function setDeviceAllowed($deviceAllowed)
{
$this->deviceAllowed = $deviceAllowed;
}
/**
* @return bool
*/
public function getDeviceAllowed()
{
return $this->deviceAllowed;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setMaxConcurrentDevices($maxConcurrentDevices)
{
$this->maxConcurrentDevices = $maxConcurrentDevices;
}
/**
* @return int
*/
public function getMaxConcurrentDevices()
{
return $this->maxConcurrentDevices;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setNonce($nonce)
{
$this->nonce = $nonce;
}
/**
* @return string
*/
public function getNonce()
{
return $this->nonce;
}
/**
* @param string
*/
public function setReasonCode($reasonCode)
{
$this->reasonCode = $reasonCode;
}
/**
* @return string
*/
public function getReasonCode()
{
return $this->reasonCode;
}
/**
* @param bool
*/
public function setRestricted($restricted)
{
$this->restricted = $restricted;
}
/**
* @return bool
*/
public function getRestricted()
{
return $this->restricted;
}
/**
* @param string
*/
public function setSignature($signature)
{
$this->signature = $signature;
}
/**
* @return string
*/
public function getSignature()
{
return $this->signature;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* @param int
*/
public function setTimeWindowSeconds($timeWindowSeconds)
{
$this->timeWindowSeconds = $timeWindowSeconds;
}
/**
* @return int
*/
public function getTimeWindowSeconds()
{
return $this->timeWindowSeconds;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConcurrentAccessRestriction::class, 'Google_Service_Books_ConcurrentAccessRestriction');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictionaryAnnotationdata extends \Google\Model
{
/**
* @var string
*/
public $annotationType;
protected $dataType = Dictlayerdata::class;
protected $dataDataType = '';
/**
* @var string
*/
public $encodedData;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $layerId;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
/**
* @return string
*/
public function getAnnotationType()
{
return $this->annotationType;
}
/**
* @param Dictlayerdata
*/
public function setData(Dictlayerdata $data)
{
$this->data = $data;
}
/**
* @return Dictlayerdata
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setEncodedData($encodedData)
{
$this->encodedData = $encodedData;
}
/**
* @return string
*/
public function getEncodedData()
{
return $this->encodedData;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
/**
* @return string
*/
public function getLayerId()
{
return $this->layerId;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictionaryAnnotationdata::class, 'Google_Service_Books_DictionaryAnnotationdata');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Dictlayerdata extends \Google\Model
{
protected $commonType = DictlayerdataCommon::class;
protected $commonDataType = '';
protected $dictType = DictlayerdataDict::class;
protected $dictDataType = '';
/**
* @var string
*/
public $kind;
/**
* @param DictlayerdataCommon
*/
public function setCommon(DictlayerdataCommon $common)
{
$this->common = $common;
}
/**
* @return DictlayerdataCommon
*/
public function getCommon()
{
return $this->common;
}
/**
* @param DictlayerdataDict
*/
public function setDict(DictlayerdataDict $dict)
{
$this->dict = $dict;
}
/**
* @return DictlayerdataDict
*/
public function getDict()
{
return $this->dict;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Dictlayerdata::class, 'Google_Service_Books_Dictlayerdata');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataCommon extends \Google\Model
{
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataCommon::class, 'Google_Service_Books_DictlayerdataCommon');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDict extends \Google\Collection
{
protected $collection_key = 'words';
protected $sourceType = DictlayerdataDictSource::class;
protected $sourceDataType = '';
protected $wordsType = DictlayerdataDictWords::class;
protected $wordsDataType = 'array';
/**
* @param DictlayerdataDictSource
*/
public function setSource(DictlayerdataDictSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param DictlayerdataDictWords[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return DictlayerdataDictWords[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDict::class, 'Google_Service_Books_DictlayerdataDict');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictSource::class, 'Google_Service_Books_DictlayerdataDictSource');

View File

@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWords extends \Google\Collection
{
protected $collection_key = 'senses';
protected $derivativesType = DictlayerdataDictWordsDerivatives::class;
protected $derivativesDataType = 'array';
protected $examplesType = DictlayerdataDictWordsExamples::class;
protected $examplesDataType = 'array';
protected $sensesType = DictlayerdataDictWordsSenses::class;
protected $sensesDataType = 'array';
protected $sourceType = DictlayerdataDictWordsSource::class;
protected $sourceDataType = '';
/**
* @param DictlayerdataDictWordsDerivatives[]
*/
public function setDerivatives($derivatives)
{
$this->derivatives = $derivatives;
}
/**
* @return DictlayerdataDictWordsDerivatives[]
*/
public function getDerivatives()
{
return $this->derivatives;
}
/**
* @param DictlayerdataDictWordsExamples[]
*/
public function setExamples($examples)
{
$this->examples = $examples;
}
/**
* @return DictlayerdataDictWordsExamples[]
*/
public function getExamples()
{
return $this->examples;
}
/**
* @param DictlayerdataDictWordsSenses[]
*/
public function setSenses($senses)
{
$this->senses = $senses;
}
/**
* @return DictlayerdataDictWordsSenses[]
*/
public function getSenses()
{
return $this->senses;
}
/**
* @param DictlayerdataDictWordsSource
*/
public function setSource(DictlayerdataDictWordsSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsSource
*/
public function getSource()
{
return $this->source;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWords::class, 'Google_Service_Books_DictlayerdataDictWords');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsDerivatives extends \Google\Model
{
protected $sourceType = DictlayerdataDictWordsDerivativesSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $text;
/**
* @param DictlayerdataDictWordsDerivativesSource
*/
public function setSource(DictlayerdataDictWordsDerivativesSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsDerivativesSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsDerivatives::class, 'Google_Service_Books_DictlayerdataDictWordsDerivatives');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsDerivativesSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsDerivativesSource::class, 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsExamples extends \Google\Model
{
protected $sourceType = DictlayerdataDictWordsExamplesSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $text;
/**
* @param DictlayerdataDictWordsExamplesSource
*/
public function setSource(DictlayerdataDictWordsExamplesSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsExamplesSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsExamples::class, 'Google_Service_Books_DictlayerdataDictWordsExamples');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsExamplesSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsExamplesSource::class, 'Google_Service_Books_DictlayerdataDictWordsExamplesSource');

View File

@@ -0,0 +1,163 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSenses extends \Google\Collection
{
protected $collection_key = 'synonyms';
protected $conjugationsType = DictlayerdataDictWordsSensesConjugations::class;
protected $conjugationsDataType = 'array';
protected $definitionsType = DictlayerdataDictWordsSensesDefinitions::class;
protected $definitionsDataType = 'array';
/**
* @var string
*/
public $partOfSpeech;
/**
* @var string
*/
public $pronunciation;
/**
* @var string
*/
public $pronunciationUrl;
protected $sourceType = DictlayerdataDictWordsSensesSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $syllabification;
protected $synonymsType = DictlayerdataDictWordsSensesSynonyms::class;
protected $synonymsDataType = 'array';
/**
* @param DictlayerdataDictWordsSensesConjugations[]
*/
public function setConjugations($conjugations)
{
$this->conjugations = $conjugations;
}
/**
* @return DictlayerdataDictWordsSensesConjugations[]
*/
public function getConjugations()
{
return $this->conjugations;
}
/**
* @param DictlayerdataDictWordsSensesDefinitions[]
*/
public function setDefinitions($definitions)
{
$this->definitions = $definitions;
}
/**
* @return DictlayerdataDictWordsSensesDefinitions[]
*/
public function getDefinitions()
{
return $this->definitions;
}
/**
* @param string
*/
public function setPartOfSpeech($partOfSpeech)
{
$this->partOfSpeech = $partOfSpeech;
}
/**
* @return string
*/
public function getPartOfSpeech()
{
return $this->partOfSpeech;
}
/**
* @param string
*/
public function setPronunciation($pronunciation)
{
$this->pronunciation = $pronunciation;
}
/**
* @return string
*/
public function getPronunciation()
{
return $this->pronunciation;
}
/**
* @param string
*/
public function setPronunciationUrl($pronunciationUrl)
{
$this->pronunciationUrl = $pronunciationUrl;
}
/**
* @return string
*/
public function getPronunciationUrl()
{
return $this->pronunciationUrl;
}
/**
* @param DictlayerdataDictWordsSensesSource
*/
public function setSource(DictlayerdataDictWordsSensesSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsSensesSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setSyllabification($syllabification)
{
$this->syllabification = $syllabification;
}
/**
* @return string
*/
public function getSyllabification()
{
return $this->syllabification;
}
/**
* @param DictlayerdataDictWordsSensesSynonyms[]
*/
public function setSynonyms($synonyms)
{
$this->synonyms = $synonyms;
}
/**
* @return DictlayerdataDictWordsSensesSynonyms[]
*/
public function getSynonyms()
{
return $this->synonyms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSenses::class, 'Google_Service_Books_DictlayerdataDictWordsSenses');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesConjugations extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesConjugations::class, 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesDefinitions extends \Google\Collection
{
protected $collection_key = 'examples';
/**
* @var string
*/
public $definition;
protected $examplesType = DictlayerdataDictWordsSensesDefinitionsExamples::class;
protected $examplesDataType = 'array';
/**
* @param string
*/
public function setDefinition($definition)
{
$this->definition = $definition;
}
/**
* @return string
*/
public function getDefinition()
{
return $this->definition;
}
/**
* @param DictlayerdataDictWordsSensesDefinitionsExamples[]
*/
public function setExamples($examples)
{
$this->examples = $examples;
}
/**
* @return DictlayerdataDictWordsSensesDefinitionsExamples[]
*/
public function getExamples()
{
return $this->examples;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesDefinitions::class, 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesDefinitionsExamples extends \Google\Model
{
protected $sourceType = DictlayerdataDictWordsSensesDefinitionsExamplesSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $text;
/**
* @param DictlayerdataDictWordsSensesDefinitionsExamplesSource
*/
public function setSource(DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsSensesDefinitionsExamplesSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesDefinitionsExamples::class, 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesDefinitionsExamplesSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesDefinitionsExamplesSource::class, 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesSource::class, 'Google_Service_Books_DictlayerdataDictWordsSensesSource');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesSynonyms extends \Google\Model
{
protected $sourceType = DictlayerdataDictWordsSensesSynonymsSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $text;
/**
* @param DictlayerdataDictWordsSensesSynonymsSource
*/
public function setSource(DictlayerdataDictWordsSensesSynonymsSource $source)
{
$this->source = $source;
}
/**
* @return DictlayerdataDictWordsSensesSynonymsSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesSynonyms::class, 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSensesSynonymsSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSensesSynonymsSource::class, 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DictlayerdataDictWordsSource extends \Google\Model
{
/**
* @var string
*/
public $attribution;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAttribution($attribution)
{
$this->attribution = $attribution;
}
/**
* @return string
*/
public function getAttribution()
{
return $this->attribution;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DictlayerdataDictWordsSource::class, 'Google_Service_Books_DictlayerdataDictWordsSource');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Discoveryclusters extends \Google\Collection
{
protected $collection_key = 'clusters';
protected $clustersType = DiscoveryclustersClusters::class;
protected $clustersDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $totalClusters;
/**
* @param DiscoveryclustersClusters[]
*/
public function setClusters($clusters)
{
$this->clusters = $clusters;
}
/**
* @return DiscoveryclustersClusters[]
*/
public function getClusters()
{
return $this->clusters;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setTotalClusters($totalClusters)
{
$this->totalClusters = $totalClusters;
}
/**
* @return int
*/
public function getTotalClusters()
{
return $this->totalClusters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Discoveryclusters::class, 'Google_Service_Books_Discoveryclusters');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DiscoveryclustersClusters extends \Google\Collection
{
protected $collection_key = 'volumes';
protected $internal_gapi_mappings = [
"bannerWithContentContainer" => "banner_with_content_container",
];
protected $bannerWithContentContainerType = DiscoveryclustersClustersBannerWithContentContainer::class;
protected $bannerWithContentContainerDataType = '';
/**
* @var string
*/
public $subTitle;
/**
* @var string
*/
public $title;
/**
* @var int
*/
public $totalVolumes;
/**
* @var string
*/
public $uid;
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
/**
* @param DiscoveryclustersClustersBannerWithContentContainer
*/
public function setBannerWithContentContainer(DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
{
$this->bannerWithContentContainer = $bannerWithContentContainer;
}
/**
* @return DiscoveryclustersClustersBannerWithContentContainer
*/
public function getBannerWithContentContainer()
{
return $this->bannerWithContentContainer;
}
/**
* @param string
*/
public function setSubTitle($subTitle)
{
$this->subTitle = $subTitle;
}
/**
* @return string
*/
public function getSubTitle()
{
return $this->subTitle;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param int
*/
public function setTotalVolumes($totalVolumes)
{
$this->totalVolumes = $totalVolumes;
}
/**
* @return int
*/
public function getTotalVolumes()
{
return $this->totalVolumes;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoveryclustersClusters::class, 'Google_Service_Books_DiscoveryclustersClusters');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DiscoveryclustersClustersBannerWithContentContainer extends \Google\Model
{
/**
* @var string
*/
public $fillColorArgb;
/**
* @var string
*/
public $imageUrl;
/**
* @var string
*/
public $maskColorArgb;
/**
* @var string
*/
public $moreButtonText;
/**
* @var string
*/
public $moreButtonUrl;
/**
* @var string
*/
public $textColorArgb;
/**
* @param string
*/
public function setFillColorArgb($fillColorArgb)
{
$this->fillColorArgb = $fillColorArgb;
}
/**
* @return string
*/
public function getFillColorArgb()
{
return $this->fillColorArgb;
}
/**
* @param string
*/
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
}
/**
* @return string
*/
public function getImageUrl()
{
return $this->imageUrl;
}
/**
* @param string
*/
public function setMaskColorArgb($maskColorArgb)
{
$this->maskColorArgb = $maskColorArgb;
}
/**
* @return string
*/
public function getMaskColorArgb()
{
return $this->maskColorArgb;
}
/**
* @param string
*/
public function setMoreButtonText($moreButtonText)
{
$this->moreButtonText = $moreButtonText;
}
/**
* @return string
*/
public function getMoreButtonText()
{
return $this->moreButtonText;
}
/**
* @param string
*/
public function setMoreButtonUrl($moreButtonUrl)
{
$this->moreButtonUrl = $moreButtonUrl;
}
/**
* @return string
*/
public function getMoreButtonUrl()
{
return $this->moreButtonUrl;
}
/**
* @param string
*/
public function setTextColorArgb($textColorArgb)
{
$this->textColorArgb = $textColorArgb;
}
/**
* @return string
*/
public function getTextColorArgb()
{
return $this->textColorArgb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiscoveryclustersClustersBannerWithContentContainer::class, 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer');

View File

@@ -0,0 +1,242 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DownloadAccessRestriction extends \Google\Model
{
/**
* @var bool
*/
public $deviceAllowed;
/**
* @var int
*/
public $downloadsAcquired;
/**
* @var bool
*/
public $justAcquired;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $maxDownloadDevices;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $nonce;
/**
* @var string
*/
public $reasonCode;
/**
* @var bool
*/
public $restricted;
/**
* @var string
*/
public $signature;
/**
* @var string
*/
public $source;
/**
* @var string
*/
public $volumeId;
/**
* @param bool
*/
public function setDeviceAllowed($deviceAllowed)
{
$this->deviceAllowed = $deviceAllowed;
}
/**
* @return bool
*/
public function getDeviceAllowed()
{
return $this->deviceAllowed;
}
/**
* @param int
*/
public function setDownloadsAcquired($downloadsAcquired)
{
$this->downloadsAcquired = $downloadsAcquired;
}
/**
* @return int
*/
public function getDownloadsAcquired()
{
return $this->downloadsAcquired;
}
/**
* @param bool
*/
public function setJustAcquired($justAcquired)
{
$this->justAcquired = $justAcquired;
}
/**
* @return bool
*/
public function getJustAcquired()
{
return $this->justAcquired;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setMaxDownloadDevices($maxDownloadDevices)
{
$this->maxDownloadDevices = $maxDownloadDevices;
}
/**
* @return int
*/
public function getMaxDownloadDevices()
{
return $this->maxDownloadDevices;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setNonce($nonce)
{
$this->nonce = $nonce;
}
/**
* @return string
*/
public function getNonce()
{
return $this->nonce;
}
/**
* @param string
*/
public function setReasonCode($reasonCode)
{
$this->reasonCode = $reasonCode;
}
/**
* @return string
*/
public function getReasonCode()
{
return $this->reasonCode;
}
/**
* @param bool
*/
public function setRestricted($restricted)
{
$this->restricted = $restricted;
}
/**
* @return bool
*/
public function getRestricted()
{
return $this->restricted;
}
/**
* @param string
*/
public function setSignature($signature)
{
$this->signature = $signature;
}
/**
* @return string
*/
public function getSignature()
{
return $this->signature;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DownloadAccessRestriction::class, 'Google_Service_Books_DownloadAccessRestriction');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class DownloadAccesses extends \Google\Collection
{
protected $collection_key = 'downloadAccessList';
protected $downloadAccessListType = DownloadAccessRestriction::class;
protected $downloadAccessListDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param DownloadAccessRestriction[]
*/
public function setDownloadAccessList($downloadAccessList)
{
$this->downloadAccessList = $downloadAccessList;
}
/**
* @return DownloadAccessRestriction[]
*/
public function getDownloadAccessList()
{
return $this->downloadAccessList;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DownloadAccesses::class, 'Google_Service_Books_DownloadAccesses');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class FamilyInfo extends \Google\Model
{
/**
* @var string
*/
public $kind;
protected $membershipType = FamilyInfoMembership::class;
protected $membershipDataType = '';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param FamilyInfoMembership
*/
public function setMembership(FamilyInfoMembership $membership)
{
$this->membership = $membership;
}
/**
* @return FamilyInfoMembership
*/
public function getMembership()
{
return $this->membership;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FamilyInfo::class, 'Google_Service_Books_FamilyInfo');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class FamilyInfoMembership extends \Google\Model
{
/**
* @var string
*/
public $acquirePermission;
/**
* @var string
*/
public $ageGroup;
/**
* @var string
*/
public $allowedMaturityRating;
/**
* @var bool
*/
public $isInFamily;
/**
* @var string
*/
public $role;
/**
* @param string
*/
public function setAcquirePermission($acquirePermission)
{
$this->acquirePermission = $acquirePermission;
}
/**
* @return string
*/
public function getAcquirePermission()
{
return $this->acquirePermission;
}
/**
* @param string
*/
public function setAgeGroup($ageGroup)
{
$this->ageGroup = $ageGroup;
}
/**
* @return string
*/
public function getAgeGroup()
{
return $this->ageGroup;
}
/**
* @param string
*/
public function setAllowedMaturityRating($allowedMaturityRating)
{
$this->allowedMaturityRating = $allowedMaturityRating;
}
/**
* @return string
*/
public function getAllowedMaturityRating()
{
return $this->allowedMaturityRating;
}
/**
* @param bool
*/
public function setIsInFamily($isInFamily)
{
$this->isInFamily = $isInFamily;
}
/**
* @return bool
*/
public function getIsInFamily()
{
return $this->isInFamily;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FamilyInfoMembership::class, 'Google_Service_Books_FamilyInfoMembership');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class GeoAnnotationdata extends \Google\Model
{
/**
* @var string
*/
public $annotationType;
protected $dataType = Geolayerdata::class;
protected $dataDataType = '';
/**
* @var string
*/
public $encodedData;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $layerId;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
/**
* @return string
*/
public function getAnnotationType()
{
return $this->annotationType;
}
/**
* @param Geolayerdata
*/
public function setData(Geolayerdata $data)
{
$this->data = $data;
}
/**
* @return Geolayerdata
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setEncodedData($encodedData)
{
$this->encodedData = $encodedData;
}
/**
* @return string
*/
public function getEncodedData()
{
return $this->encodedData;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
/**
* @return string
*/
public function getLayerId()
{
return $this->layerId;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeoAnnotationdata::class, 'Google_Service_Books_GeoAnnotationdata');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Geolayerdata extends \Google\Model
{
protected $commonType = GeolayerdataCommon::class;
protected $commonDataType = '';
protected $geoType = GeolayerdataGeo::class;
protected $geoDataType = '';
/**
* @var string
*/
public $kind;
/**
* @param GeolayerdataCommon
*/
public function setCommon(GeolayerdataCommon $common)
{
$this->common = $common;
}
/**
* @return GeolayerdataCommon
*/
public function getCommon()
{
return $this->common;
}
/**
* @param GeolayerdataGeo
*/
public function setGeo(GeolayerdataGeo $geo)
{
$this->geo = $geo;
}
/**
* @return GeolayerdataGeo
*/
public function getGeo()
{
return $this->geo;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Geolayerdata::class, 'Google_Service_Books_Geolayerdata');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class GeolayerdataCommon extends \Google\Model
{
/**
* @var string
*/
public $lang;
/**
* @var string
*/
public $previewImageUrl;
/**
* @var string
*/
public $snippet;
/**
* @var string
*/
public $snippetUrl;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setLang($lang)
{
$this->lang = $lang;
}
/**
* @return string
*/
public function getLang()
{
return $this->lang;
}
/**
* @param string
*/
public function setPreviewImageUrl($previewImageUrl)
{
$this->previewImageUrl = $previewImageUrl;
}
/**
* @return string
*/
public function getPreviewImageUrl()
{
return $this->previewImageUrl;
}
/**
* @param string
*/
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
/**
* @return string
*/
public function getSnippet()
{
return $this->snippet;
}
/**
* @param string
*/
public function setSnippetUrl($snippetUrl)
{
$this->snippetUrl = $snippetUrl;
}
/**
* @return string
*/
public function getSnippetUrl()
{
return $this->snippetUrl;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeolayerdataCommon::class, 'Google_Service_Books_GeolayerdataCommon');

View File

@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class GeolayerdataGeo extends \Google\Collection
{
protected $collection_key = 'boundary';
/**
* @var string[]
*/
public $boundary;
/**
* @var string
*/
public $cachePolicy;
/**
* @var string
*/
public $countryCode;
public $latitude;
public $longitude;
/**
* @var string
*/
public $mapType;
protected $viewportType = GeolayerdataGeoViewport::class;
protected $viewportDataType = '';
/**
* @var int
*/
public $zoom;
/**
* @param string[]
*/
public function setBoundary($boundary)
{
$this->boundary = $boundary;
}
/**
* @return string[]
*/
public function getBoundary()
{
return $this->boundary;
}
/**
* @param string
*/
public function setCachePolicy($cachePolicy)
{
$this->cachePolicy = $cachePolicy;
}
/**
* @return string
*/
public function getCachePolicy()
{
return $this->cachePolicy;
}
/**
* @param string
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
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;
}
/**
* @param string
*/
public function setMapType($mapType)
{
$this->mapType = $mapType;
}
/**
* @return string
*/
public function getMapType()
{
return $this->mapType;
}
/**
* @param GeolayerdataGeoViewport
*/
public function setViewport(GeolayerdataGeoViewport $viewport)
{
$this->viewport = $viewport;
}
/**
* @return GeolayerdataGeoViewport
*/
public function getViewport()
{
return $this->viewport;
}
/**
* @param int
*/
public function setZoom($zoom)
{
$this->zoom = $zoom;
}
/**
* @return int
*/
public function getZoom()
{
return $this->zoom;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeolayerdataGeo::class, 'Google_Service_Books_GeolayerdataGeo');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class GeolayerdataGeoViewport extends \Google\Model
{
protected $hiType = GeolayerdataGeoViewportHi::class;
protected $hiDataType = '';
protected $loType = GeolayerdataGeoViewportLo::class;
protected $loDataType = '';
/**
* @param GeolayerdataGeoViewportHi
*/
public function setHi(GeolayerdataGeoViewportHi $hi)
{
$this->hi = $hi;
}
/**
* @return GeolayerdataGeoViewportHi
*/
public function getHi()
{
return $this->hi;
}
/**
* @param GeolayerdataGeoViewportLo
*/
public function setLo(GeolayerdataGeoViewportLo $lo)
{
$this->lo = $lo;
}
/**
* @return GeolayerdataGeoViewportLo
*/
public function getLo()
{
return $this->lo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeolayerdataGeoViewport::class, 'Google_Service_Books_GeolayerdataGeoViewport');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class 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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeolayerdataGeoViewportHi::class, 'Google_Service_Books_GeolayerdataGeoViewportHi');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class 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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GeolayerdataGeoViewportLo::class, 'Google_Service_Books_GeolayerdataGeoViewportLo');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Layersummaries extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Layersummary::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $totalItems;
/**
* @param Layersummary[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Layersummary[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
/**
* @return int
*/
public function getTotalItems()
{
return $this->totalItems;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Layersummaries::class, 'Google_Service_Books_Layersummaries');

View File

@@ -0,0 +1,261 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Layersummary extends \Google\Collection
{
protected $collection_key = 'annotationTypes';
/**
* @var int
*/
public $annotationCount;
/**
* @var string[]
*/
public $annotationTypes;
/**
* @var string
*/
public $annotationsDataLink;
/**
* @var string
*/
public $annotationsLink;
/**
* @var string
*/
public $contentVersion;
/**
* @var int
*/
public $dataCount;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $layerId;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $volumeAnnotationsVersion;
/**
* @var string
*/
public $volumeId;
/**
* @param int
*/
public function setAnnotationCount($annotationCount)
{
$this->annotationCount = $annotationCount;
}
/**
* @return int
*/
public function getAnnotationCount()
{
return $this->annotationCount;
}
/**
* @param string[]
*/
public function setAnnotationTypes($annotationTypes)
{
$this->annotationTypes = $annotationTypes;
}
/**
* @return string[]
*/
public function getAnnotationTypes()
{
return $this->annotationTypes;
}
/**
* @param string
*/
public function setAnnotationsDataLink($annotationsDataLink)
{
$this->annotationsDataLink = $annotationsDataLink;
}
/**
* @return string
*/
public function getAnnotationsDataLink()
{
return $this->annotationsDataLink;
}
/**
* @param string
*/
public function setAnnotationsLink($annotationsLink)
{
$this->annotationsLink = $annotationsLink;
}
/**
* @return string
*/
public function getAnnotationsLink()
{
return $this->annotationsLink;
}
/**
* @param string
*/
public function setContentVersion($contentVersion)
{
$this->contentVersion = $contentVersion;
}
/**
* @return string
*/
public function getContentVersion()
{
return $this->contentVersion;
}
/**
* @param int
*/
public function setDataCount($dataCount)
{
$this->dataCount = $dataCount;
}
/**
* @return int
*/
public function getDataCount()
{
return $this->dataCount;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLayerId($layerId)
{
$this->layerId = $layerId;
}
/**
* @return string
*/
public function getLayerId()
{
return $this->layerId;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
{
$this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
}
/**
* @return string
*/
public function getVolumeAnnotationsVersion()
{
return $this->volumeAnnotationsVersion;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Layersummary::class, 'Google_Service_Books_Layersummary');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Metadata extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = MetadataItems::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param MetadataItems[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return MetadataItems[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_Books_Metadata');

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class MetadataItems extends \Google\Model
{
protected $internal_gapi_mappings = [
"downloadUrl" => "download_url",
"encryptedKey" => "encrypted_key",
];
/**
* @var string
*/
public $downloadUrl;
/**
* @var string
*/
public $encryptedKey;
/**
* @var string
*/
public $language;
/**
* @var string
*/
public $size;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
/**
* @return string
*/
public function getDownloadUrl()
{
return $this->downloadUrl;
}
/**
* @param string
*/
public function setEncryptedKey($encryptedKey)
{
$this->encryptedKey = $encryptedKey;
}
/**
* @return string
*/
public function getEncryptedKey()
{
return $this->encryptedKey;
}
/**
* @param string
*/
public function setLanguage($language)
{
$this->language = $language;
}
/**
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/**
* @param string
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* @return string
*/
public function getSize()
{
return $this->size;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetadataItems::class, 'Google_Service_Books_MetadataItems');

View File

@@ -0,0 +1,324 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Notification extends \Google\Collection
{
protected $collection_key = 'crmExperimentIds';
protected $internal_gapi_mappings = [
"docId" => "doc_id",
"docType" => "doc_type",
"dontShowNotification" => "dont_show_notification",
"isDocumentMature" => "is_document_mature",
"notificationType" => "notification_type",
"pcampaignId" => "pcampaign_id",
"showNotificationSettingsAction" => "show_notification_settings_action",
];
/**
* @var string
*/
public $body;
/**
* @var string[]
*/
public $crmExperimentIds;
/**
* @var string
*/
public $docId;
/**
* @var string
*/
public $docType;
/**
* @var bool
*/
public $dontShowNotification;
/**
* @var string
*/
public $iconUrl;
/**
* @var bool
*/
public $isDocumentMature;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $notificationGroup;
/**
* @var string
*/
public $notificationType;
/**
* @var string
*/
public $pcampaignId;
/**
* @var string
*/
public $reason;
/**
* @var bool
*/
public $showNotificationSettingsAction;
/**
* @var string
*/
public $targetUrl;
/**
* @var string
*/
public $timeToExpireMs;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* @param string[]
*/
public function setCrmExperimentIds($crmExperimentIds)
{
$this->crmExperimentIds = $crmExperimentIds;
}
/**
* @return string[]
*/
public function getCrmExperimentIds()
{
return $this->crmExperimentIds;
}
/**
* @param string
*/
public function setDocId($docId)
{
$this->docId = $docId;
}
/**
* @return string
*/
public function getDocId()
{
return $this->docId;
}
/**
* @param string
*/
public function setDocType($docType)
{
$this->docType = $docType;
}
/**
* @return string
*/
public function getDocType()
{
return $this->docType;
}
/**
* @param bool
*/
public function setDontShowNotification($dontShowNotification)
{
$this->dontShowNotification = $dontShowNotification;
}
/**
* @return bool
*/
public function getDontShowNotification()
{
return $this->dontShowNotification;
}
/**
* @param string
*/
public function setIconUrl($iconUrl)
{
$this->iconUrl = $iconUrl;
}
/**
* @return string
*/
public function getIconUrl()
{
return $this->iconUrl;
}
/**
* @param bool
*/
public function setIsDocumentMature($isDocumentMature)
{
$this->isDocumentMature = $isDocumentMature;
}
/**
* @return bool
*/
public function getIsDocumentMature()
{
return $this->isDocumentMature;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNotificationGroup($notificationGroup)
{
$this->notificationGroup = $notificationGroup;
}
/**
* @return string
*/
public function getNotificationGroup()
{
return $this->notificationGroup;
}
/**
* @param string
*/
public function setNotificationType($notificationType)
{
$this->notificationType = $notificationType;
}
/**
* @return string
*/
public function getNotificationType()
{
return $this->notificationType;
}
/**
* @param string
*/
public function setPcampaignId($pcampaignId)
{
$this->pcampaignId = $pcampaignId;
}
/**
* @return string
*/
public function getPcampaignId()
{
return $this->pcampaignId;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param bool
*/
public function setShowNotificationSettingsAction($showNotificationSettingsAction)
{
$this->showNotificationSettingsAction = $showNotificationSettingsAction;
}
/**
* @return bool
*/
public function getShowNotificationSettingsAction()
{
return $this->showNotificationSettingsAction;
}
/**
* @param string
*/
public function setTargetUrl($targetUrl)
{
$this->targetUrl = $targetUrl;
}
/**
* @return string
*/
public function getTargetUrl()
{
return $this->targetUrl;
}
/**
* @param string
*/
public function setTimeToExpireMs($timeToExpireMs)
{
$this->timeToExpireMs = $timeToExpireMs;
}
/**
* @return string
*/
public function getTimeToExpireMs()
{
return $this->timeToExpireMs;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Notification::class, 'Google_Service_Books_Notification');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Offers extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = OffersItems::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param OffersItems[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return OffersItems[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Offers::class, 'Google_Service_Books_Offers');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class OffersItems extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $artUrl;
/**
* @var string
*/
public $gservicesKey;
/**
* @var string
*/
public $id;
protected $itemsType = OffersItemsItems::class;
protected $itemsDataType = 'array';
/**
* @param string
*/
public function setArtUrl($artUrl)
{
$this->artUrl = $artUrl;
}
/**
* @return string
*/
public function getArtUrl()
{
return $this->artUrl;
}
/**
* @param string
*/
public function setGservicesKey($gservicesKey)
{
$this->gservicesKey = $gservicesKey;
}
/**
* @return string
*/
public function getGservicesKey()
{
return $this->gservicesKey;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param OffersItemsItems[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return OffersItemsItems[]
*/
public function getItems()
{
return $this->items;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OffersItems::class, 'Google_Service_Books_OffersItems');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class OffersItemsItems extends \Google\Model
{
/**
* @var string
*/
public $author;
/**
* @var string
*/
public $canonicalVolumeLink;
/**
* @var string
*/
public $coverUrl;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setAuthor($author)
{
$this->author = $author;
}
/**
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setCanonicalVolumeLink($canonicalVolumeLink)
{
$this->canonicalVolumeLink = $canonicalVolumeLink;
}
/**
* @return string
*/
public function getCanonicalVolumeLink()
{
return $this->canonicalVolumeLink;
}
/**
* @param string
*/
public function setCoverUrl($coverUrl)
{
$this->coverUrl = $coverUrl;
}
/**
* @return string
*/
public function getCoverUrl()
{
return $this->coverUrl;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OffersItemsItems::class, 'Google_Service_Books_OffersItemsItems');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class ReadingPosition extends \Google\Model
{
/**
* @var string
*/
public $epubCfiPosition;
/**
* @var string
*/
public $gbImagePosition;
/**
* @var string
*/
public $gbTextPosition;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $pdfPosition;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setEpubCfiPosition($epubCfiPosition)
{
$this->epubCfiPosition = $epubCfiPosition;
}
/**
* @return string
*/
public function getEpubCfiPosition()
{
return $this->epubCfiPosition;
}
/**
* @param string
*/
public function setGbImagePosition($gbImagePosition)
{
$this->gbImagePosition = $gbImagePosition;
}
/**
* @return string
*/
public function getGbImagePosition()
{
return $this->gbImagePosition;
}
/**
* @param string
*/
public function setGbTextPosition($gbTextPosition)
{
$this->gbTextPosition = $gbTextPosition;
}
/**
* @return string
*/
public function getGbTextPosition()
{
return $this->gbTextPosition;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPdfPosition($pdfPosition)
{
$this->pdfPosition = $pdfPosition;
}
/**
* @return string
*/
public function getPdfPosition()
{
return $this->pdfPosition;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReadingPosition::class, 'Google_Service_Books_ReadingPosition');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class RequestAccessData extends \Google\Model
{
protected $concurrentAccessType = ConcurrentAccessRestriction::class;
protected $concurrentAccessDataType = '';
protected $downloadAccessType = DownloadAccessRestriction::class;
protected $downloadAccessDataType = '';
/**
* @var string
*/
public $kind;
/**
* @param ConcurrentAccessRestriction
*/
public function setConcurrentAccess(ConcurrentAccessRestriction $concurrentAccess)
{
$this->concurrentAccess = $concurrentAccess;
}
/**
* @return ConcurrentAccessRestriction
*/
public function getConcurrentAccess()
{
return $this->concurrentAccess;
}
/**
* @param DownloadAccessRestriction
*/
public function setDownloadAccess(DownloadAccessRestriction $downloadAccess)
{
$this->downloadAccess = $downloadAccess;
}
/**
* @return DownloadAccessRestriction
*/
public function getDownloadAccess()
{
return $this->downloadAccess;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RequestAccessData::class, 'Google_Service_Books_RequestAccessData');

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Bookshelf;
use Google\Service\Books\Bookshelves as BookshelvesModel;
/**
* The "bookshelves" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $bookshelves = $booksService->bookshelves;
* </code>
*/
class 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 Bookshelf
* @throws \Google\Service\Exception
*/
public function get($userId, $shelf, $optParams = [])
{
$params = ['userId' => $userId, 'shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Bookshelf::class);
}
/**
* 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 BookshelvesModel
* @throws \Google\Service\Exception
*/
public function listBookshelves($userId, $optParams = [])
{
$params = ['userId' => $userId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], BookshelvesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Bookshelves::class, 'Google_Service_Books_Resource_Bookshelves');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $volumes = $booksService->bookshelves_volumes;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listBookshelvesVolumes($userId, $shelf, $optParams = [])
{
$params = ['userId' => $userId, 'shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BookshelvesVolumes::class, 'Google_Service_Books_Resource_BookshelvesVolumes');

View File

@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksCloudloadingResource;
use Google\Service\Books\BooksEmpty;
/**
* The "cloudloading" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $cloudloading = $booksService->cloudloading;
* </code>
*/
class Cloudloading extends \Google\Service\Resource
{
/**
* Add a user-upload volume and triggers processing. (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 Scotty upload token.
* @return BooksCloudloadingResource
* @throws \Google\Service\Exception
*/
public function addBook($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('addBook', [$params], BooksCloudloadingResource::class);
}
/**
* Remove the book and its contents (cloudloading.deleteBook)
*
* @param string $volumeId The id of the book to be removed.
* @param array $optParams Optional parameters.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function deleteBook($volumeId, $optParams = [])
{
$params = ['volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('deleteBook', [$params], BooksEmpty::class);
}
/**
* Updates a user-upload volume. (cloudloading.updateBook)
*
* @param BooksCloudloadingResource $postBody
* @param array $optParams Optional parameters.
* @return BooksCloudloadingResource
* @throws \Google\Service\Exception
*/
public function updateBook(BooksCloudloadingResource $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateBook', [$params], BooksCloudloadingResource::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cloudloading::class, 'Google_Service_Books_Resource_Cloudloading');

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Metadata;
/**
* The "dictionary" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $dictionary = $booksService->dictionary;
* </code>
*/
class 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 Metadata
* @throws \Google\Service\Exception
*/
public function listOfflineMetadata($cpksver, $optParams = [])
{
$params = ['cpksver' => $cpksver];
$params = array_merge($params, $optParams);
return $this->call('listOfflineMetadata', [$params], Metadata::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Dictionary::class, 'Google_Service_Books_Resource_Dictionary');

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksEmpty;
use Google\Service\Books\FamilyInfo;
/**
* The "familysharing" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $familysharing = $booksService->familysharing;
* </code>
*/
class Familysharing extends \Google\Service\Resource
{
/**
* Gets information regarding the family that the user is part of.
* (familysharing.getFamilyInfo)
*
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return FamilyInfo
* @throws \Google\Service\Exception
*/
public function getFamilyInfo($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getFamilyInfo', [$params], FamilyInfo::class);
}
/**
* Initiates sharing of the content with the user's family. Empty response
* indicates success. (familysharing.share)
*
* @param array $optParams Optional parameters.
*
* @opt_param string docId The docid to share.
* @opt_param string source String to identify the originator of this request.
* @opt_param string volumeId The volume to share.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function share($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('share', [$params], BooksEmpty::class);
}
/**
* Initiates revoking content that has already been shared with the user's
* family. Empty response indicates success. (familysharing.unshare)
*
* @param array $optParams Optional parameters.
*
* @opt_param string docId The docid to unshare.
* @opt_param string source String to identify the originator of this request.
* @opt_param string volumeId The volume to unshare.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function unshare($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('unshare', [$params], BooksEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Familysharing::class, 'Google_Service_Books_Resource_Familysharing');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Layersummaries;
use Google\Service\Books\Layersummary;
/**
* The "layers" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $layers = $booksService->layers;
* </code>
*/
class 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 Layersummary
* @throws \Google\Service\Exception
*/
public function get($volumeId, $summaryId, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'summaryId' => $summaryId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Layersummary::class);
}
/**
* 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 Layersummaries
* @throws \Google\Service\Exception
*/
public function listLayers($volumeId, $optParams = [])
{
$params = ['volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Layersummaries::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Layers::class, 'Google_Service_Books_Resource_Layers');

View File

@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Annotationsdata;
use Google\Service\Books\DictionaryAnnotationdata;
/**
* The "annotationData" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $annotationData = $booksService->layers_annotationData;
* </code>
*/
class 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 DictionaryAnnotationdata
* @throws \Google\Service\Exception
*/
public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DictionaryAnnotationdata::class);
}
/**
* 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 Annotationsdata
* @throws \Google\Service\Exception
*/
public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Annotationsdata::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LayersAnnotationData::class, 'Google_Service_Books_Resource_LayersAnnotationData');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumeannotation;
use Google\Service\Books\Volumeannotations;
/**
* The "volumeAnnotations" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $volumeAnnotations = $booksService->layers_volumeAnnotations;
* </code>
*/
class 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 Volumeannotation
* @throws \Google\Service\Exception
*/
public function get($volumeId, $layerId, $annotationId, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Volumeannotation::class);
}
/**
* 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 Volumeannotations
* @throws \Google\Service\Exception
*/
public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Volumeannotations::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LayersVolumeAnnotations::class, 'Google_Service_Books_Resource_LayersVolumeAnnotations');

View File

@@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\DownloadAccesses;
use Google\Service\Books\RequestAccessData;
use Google\Service\Books\Usersettings;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "myconfig" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $myconfig = $booksService->myconfig;
* </code>
*/
class Myconfig extends \Google\Service\Resource
{
/**
* Gets the current settings for the user. (myconfig.getUserSettings)
*
* @param array $optParams Optional parameters.
*
* @opt_param string country Unused. Added only to workaround TEX mandatory
* request template requirement
* @return Usersettings
* @throws \Google\Service\Exception
*/
public function getUserSettings($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('getUserSettings', [$params], Usersettings::class);
}
/**
* Release downloaded content access restriction.
* (myconfig.releaseDownloadAccess)
*
* @param string $cpksver The device/version ID from which to release the
* restriction.
* @param string|array $volumeIds The volume(s) to release restrictions for.
* @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 DownloadAccesses
* @throws \Google\Service\Exception
*/
public function releaseDownloadAccess($cpksver, $volumeIds, $optParams = [])
{
$params = ['cpksver' => $cpksver, 'volumeIds' => $volumeIds];
$params = array_merge($params, $optParams);
return $this->call('releaseDownloadAccess', [$params], DownloadAccesses::class);
}
/**
* Request concurrent and download access restrictions. (myconfig.requestAccess)
*
* @param string $cpksver The device/version ID from which to request the
* restrictions.
* @param string $nonce The client nonce value.
* @param string $source String to identify the originator of this request.
* @param string $volumeId The volume to request concurrent/download
* restrictions for.
* @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 RequestAccessData
* @throws \Google\Service\Exception
*/
public function requestAccess($cpksver, $nonce, $source, $volumeId, $optParams = [])
{
$params = ['cpksver' => $cpksver, 'nonce' => $nonce, 'source' => $source, 'volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('requestAccess', [$params], RequestAccessData::class);
}
/**
* Request downloaded content access for specified volumes on the My eBooks
* shelf. (myconfig.syncVolumeLicenses)
*
* @param string $cpksver The device/version ID from which to release the
* restriction.
* @param string $nonce The client nonce value.
* @param string $source String to identify the originator of this request.
* @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 VolumesModel
* @throws \Google\Service\Exception
*/
public function syncVolumeLicenses($cpksver, $nonce, $source, $optParams = [])
{
$params = ['cpksver' => $cpksver, 'nonce' => $nonce, 'source' => $source];
$params = array_merge($params, $optParams);
return $this->call('syncVolumeLicenses', [$params], VolumesModel::class);
}
/**
* 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 Usersettings $postBody
* @param array $optParams Optional parameters.
* @return Usersettings
* @throws \Google\Service\Exception
*/
public function updateUserSettings(Usersettings $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('updateUserSettings', [$params], Usersettings::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Myconfig::class, 'Google_Service_Books_Resource_Myconfig');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
/**
* The "mylibrary" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $mylibrary = $booksService->mylibrary;
* </code>
*/
class Mylibrary extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Mylibrary::class, 'Google_Service_Books_Resource_Mylibrary');

View File

@@ -0,0 +1,139 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Annotation;
use Google\Service\Books\Annotations;
use Google\Service\Books\AnnotationsSummary;
use Google\Service\Books\BooksEmpty;
/**
* The "annotations" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $annotations = $booksService->mylibrary_annotations;
* </code>
*/
class 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function delete($annotationId, $optParams = [])
{
$params = ['annotationId' => $annotationId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BooksEmpty::class);
}
/**
* Inserts a new annotation. (annotations.insert)
*
* @param Annotation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string annotationId The ID for the annotation to insert.
* @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 Annotation
* @throws \Google\Service\Exception
*/
public function insert(Annotation $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Annotation::class);
}
/**
* 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 Annotations
* @throws \Google\Service\Exception
*/
public function listMylibraryAnnotations($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Annotations::class);
}
/**
* 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.
*
* @opt_param string source Optional. String to identify the originator of this
* request.
* @return AnnotationsSummary
* @throws \Google\Service\Exception
*/
public function summary($layerIds, $volumeId, $optParams = [])
{
$params = ['layerIds' => $layerIds, 'volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('summary', [$params], AnnotationsSummary::class);
}
/**
* Updates an existing annotation. (annotations.update)
*
* @param string $annotationId The ID for the annotation to update.
* @param Annotation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string source String to identify the originator of this request.
* @return Annotation
* @throws \Google\Service\Exception
*/
public function update($annotationId, Annotation $postBody, $optParams = [])
{
$params = ['annotationId' => $annotationId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Annotation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MylibraryAnnotations::class, 'Google_Service_Books_Resource_MylibraryAnnotations');

View File

@@ -0,0 +1,144 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksEmpty;
use Google\Service\Books\Bookshelf;
use Google\Service\Books\Bookshelves as BookshelvesModel;
/**
* The "bookshelves" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $bookshelves = $booksService->mylibrary_bookshelves;
* </code>
*/
class 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function addVolume($shelf, $volumeId, $optParams = [])
{
$params = ['shelf' => $shelf, 'volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('addVolume', [$params], BooksEmpty::class);
}
/**
* 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function clearVolumes($shelf, $optParams = [])
{
$params = ['shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('clearVolumes', [$params], BooksEmpty::class);
}
/**
* 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 Bookshelf
* @throws \Google\Service\Exception
*/
public function get($shelf, $optParams = [])
{
$params = ['shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Bookshelf::class);
}
/**
* 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 BookshelvesModel
* @throws \Google\Service\Exception
*/
public function listMylibraryBookshelves($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], BookshelvesModel::class);
}
/**
* 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = [])
{
$params = ['shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition];
$params = array_merge($params, $optParams);
return $this->call('moveVolume', [$params], BooksEmpty::class);
}
/**
* 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function removeVolume($shelf, $volumeId, $optParams = [])
{
$params = ['shelf' => $shelf, 'volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('removeVolume', [$params], BooksEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MylibraryBookshelves::class, 'Google_Service_Books_Resource_MylibraryBookshelves');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $volumes = $booksService->mylibrary_bookshelves_volumes;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listMylibraryBookshelvesVolumes($shelf, $optParams = [])
{
$params = ['shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MylibraryBookshelvesVolumes::class, 'Google_Service_Books_Resource_MylibraryBookshelvesVolumes');

View File

@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksEmpty;
use Google\Service\Books\ReadingPosition;
/**
* The "readingpositions" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $readingpositions = $booksService->mylibrary_readingpositions;
* </code>
*/
class 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 ReadingPosition
* @throws \Google\Service\Exception
*/
public function get($volumeId, $optParams = [])
{
$params = ['volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ReadingPosition::class);
}
/**
* 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 $position Position string for the new volume reading position.
* @param string $timestamp RFC 3339 UTC format timestamp associated with this
* 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.
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function setPosition($volumeId, $position, $timestamp, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'position' => $position, 'timestamp' => $timestamp];
$params = array_merge($params, $optParams);
return $this->call('setPosition', [$params], BooksEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MylibraryReadingpositions::class, 'Google_Service_Books_Resource_MylibraryReadingpositions');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Notification as NotificationModel;
/**
* The "notification" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $notification = $booksService->notification;
* </code>
*/
class 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 NotificationModel
* @throws \Google\Service\Exception
*/
public function get($notificationId, $optParams = [])
{
$params = ['notification_id' => $notificationId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], NotificationModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Notification::class, 'Google_Service_Books_Resource_Notification');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Category;
use Google\Service\Books\Volume2;
/**
* The "onboarding" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $onboarding = $booksService->onboarding;
* </code>
*/
class 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 Category
* @throws \Google\Service\Exception
*/
public function listCategories($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('listCategories', [$params], Category::class);
}
/**
* 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 Volume2
* @throws \Google\Service\Exception
*/
public function listCategoryVolumes($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('listCategoryVolumes', [$params], Volume2::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Onboarding::class, 'Google_Service_Books_Resource_Onboarding');

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Discoveryclusters;
/**
* The "personalizedstream" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $personalizedstream = $booksService->personalizedstream;
* </code>
*/
class 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 Discoveryclusters
* @throws \Google\Service\Exception
*/
public function get($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Discoveryclusters::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Personalizedstream::class, 'Google_Service_Books_Resource_Personalizedstream');

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksEmpty;
use Google\Service\Books\Offers;
/**
* The "promooffer" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $promooffer = $booksService->promooffer;
* </code>
*/
class Promooffer extends \Google\Service\Resource
{
/**
* Accepts the promo offer. (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
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function accept($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('accept', [$params], BooksEmpty::class);
}
/**
* Marks the promo offer as dismissed. (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
* @return BooksEmpty
* @throws \Google\Service\Exception
*/
public function dismiss($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('dismiss', [$params], BooksEmpty::class);
}
/**
* 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 Offers
* @throws \Google\Service\Exception
*/
public function get($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Offers::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Promooffer::class, 'Google_Service_Books_Resource_Promooffer');

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Series as SeriesModel;
/**
* The "series" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $series = $booksService->series;
* </code>
*/
class 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 SeriesModel
* @throws \Google\Service\Exception
*/
public function get($seriesId, $optParams = [])
{
$params = ['series_id' => $seriesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SeriesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Series::class, 'Google_Service_Books_Resource_Series');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Seriesmembership as SeriesmembershipModel;
/**
* The "membership" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $membership = $booksService->series_membership;
* </code>
*/
class 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 SeriesmembershipModel
* @throws \Google\Service\Exception
*/
public function get($seriesId, $optParams = [])
{
$params = ['series_id' => $seriesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], SeriesmembershipModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeriesMembership::class, 'Google_Service_Books_Resource_SeriesMembership');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volume;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "volumes" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $volumes = $booksService->volumes;
* </code>
*/
class 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 Volume
* @throws \Google\Service\Exception
*/
public function get($volumeId, $optParams = [])
{
$params = ['volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Volume::class);
}
/**
* 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listVolumes($q, $optParams = [])
{
$params = ['q' => $q];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Volumes::class, 'Google_Service_Books_Resource_Volumes');

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "associated" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $associated = $booksService->volumes_associated;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listVolumesAssociated($volumeId, $optParams = [])
{
$params = ['volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumesAssociated::class, 'Google_Service_Books_Resource_VolumesAssociated');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "mybooks" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $mybooks = $booksService->volumes_mybooks;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listVolumesMybooks($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumesMybooks::class, 'Google_Service_Books_Resource_VolumesMybooks');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\BooksVolumesRecommendedRateResponse;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "recommended" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $recommended = $booksService->volumes_recommended;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listVolumesRecommended($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
/**
* 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 BooksVolumesRecommendedRateResponse
* @throws \Google\Service\Exception
*/
public function rate($rating, $volumeId, $optParams = [])
{
$params = ['rating' => $rating, 'volumeId' => $volumeId];
$params = array_merge($params, $optParams);
return $this->call('rate', [$params], BooksVolumesRecommendedRateResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumesRecommended::class, 'Google_Service_Books_Resource_VolumesRecommended');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Volumes as VolumesModel;
/**
* The "useruploaded" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $useruploaded = $booksService->volumes_useruploaded;
* </code>
*/
class 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 VolumesModel
* @throws \Google\Service\Exception
*/
public function listVolumesUseruploaded($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumesUseruploaded::class, 'Google_Service_Books_Resource_VolumesUseruploaded');

View File

@@ -0,0 +1,202 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Review extends \Google\Model
{
protected $authorType = ReviewAuthor::class;
protected $authorDataType = '';
/**
* @var string
*/
public $content;
/**
* @var string
*/
public $date;
/**
* @var string
*/
public $fullTextUrl;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $rating;
protected $sourceType = ReviewSource::class;
protected $sourceDataType = '';
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $volumeId;
/**
* @param ReviewAuthor
*/
public function setAuthor(ReviewAuthor $author)
{
$this->author = $author;
}
/**
* @return ReviewAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param string
*/
public function setDate($date)
{
$this->date = $date;
}
/**
* @return string
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setFullTextUrl($fullTextUrl)
{
$this->fullTextUrl = $fullTextUrl;
}
/**
* @return string
*/
public function getFullTextUrl()
{
return $this->fullTextUrl;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setRating($rating)
{
$this->rating = $rating;
}
/**
* @return string
*/
public function getRating()
{
return $this->rating;
}
/**
* @param ReviewSource
*/
public function setSource(ReviewSource $source)
{
$this->source = $source;
}
/**
* @return ReviewSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Review::class, 'Google_Service_Books_Review');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class ReviewAuthor extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReviewAuthor::class, 'Google_Service_Books_ReviewAuthor');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class ReviewSource extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $extraDescription;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExtraDescription($extraDescription)
{
$this->extraDescription = $extraDescription;
}
/**
* @return string
*/
public function getExtraDescription()
{
return $this->extraDescription;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReviewSource::class, 'Google_Service_Books_ReviewSource');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Series extends \Google\Collection
{
protected $collection_key = 'series';
/**
* @var string
*/
public $kind;
protected $seriesType = SeriesSeries::class;
protected $seriesDataType = 'array';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param SeriesSeries[]
*/
public function setSeries($series)
{
$this->series = $series;
}
/**
* @return SeriesSeries[]
*/
public function getSeries()
{
return $this->series;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Series::class, 'Google_Service_Books_Series');

View File

@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class SeriesSeries extends \Google\Model
{
/**
* @var string
*/
public $bannerImageUrl;
/**
* @var bool
*/
public $eligibleForSubscription;
/**
* @var string
*/
public $imageUrl;
/**
* @var bool
*/
public $isComplete;
/**
* @var string
*/
public $seriesFormatType;
/**
* @var string
*/
public $seriesId;
protected $seriesSubscriptionReleaseInfoType = SeriesSeriesSeriesSubscriptionReleaseInfo::class;
protected $seriesSubscriptionReleaseInfoDataType = '';
/**
* @var string
*/
public $seriesType;
/**
* @var string
*/
public $subscriptionId;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setBannerImageUrl($bannerImageUrl)
{
$this->bannerImageUrl = $bannerImageUrl;
}
/**
* @return string
*/
public function getBannerImageUrl()
{
return $this->bannerImageUrl;
}
/**
* @param bool
*/
public function setEligibleForSubscription($eligibleForSubscription)
{
$this->eligibleForSubscription = $eligibleForSubscription;
}
/**
* @return bool
*/
public function getEligibleForSubscription()
{
return $this->eligibleForSubscription;
}
/**
* @param string
*/
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
}
/**
* @return string
*/
public function getImageUrl()
{
return $this->imageUrl;
}
/**
* @param bool
*/
public function setIsComplete($isComplete)
{
$this->isComplete = $isComplete;
}
/**
* @return bool
*/
public function getIsComplete()
{
return $this->isComplete;
}
/**
* @param string
*/
public function setSeriesFormatType($seriesFormatType)
{
$this->seriesFormatType = $seriesFormatType;
}
/**
* @return string
*/
public function getSeriesFormatType()
{
return $this->seriesFormatType;
}
/**
* @param string
*/
public function setSeriesId($seriesId)
{
$this->seriesId = $seriesId;
}
/**
* @return string
*/
public function getSeriesId()
{
return $this->seriesId;
}
/**
* @param SeriesSeriesSeriesSubscriptionReleaseInfo
*/
public function setSeriesSubscriptionReleaseInfo(SeriesSeriesSeriesSubscriptionReleaseInfo $seriesSubscriptionReleaseInfo)
{
$this->seriesSubscriptionReleaseInfo = $seriesSubscriptionReleaseInfo;
}
/**
* @return SeriesSeriesSeriesSubscriptionReleaseInfo
*/
public function getSeriesSubscriptionReleaseInfo()
{
return $this->seriesSubscriptionReleaseInfo;
}
/**
* @param string
*/
public function setSeriesType($seriesType)
{
$this->seriesType = $seriesType;
}
/**
* @return string
*/
public function getSeriesType()
{
return $this->seriesType;
}
/**
* @param string
*/
public function setSubscriptionId($subscriptionId)
{
$this->subscriptionId = $subscriptionId;
}
/**
* @return string
*/
public function getSubscriptionId()
{
return $this->subscriptionId;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeriesSeries::class, 'Google_Service_Books_SeriesSeries');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class SeriesSeriesSeriesSubscriptionReleaseInfo extends \Google\Model
{
/**
* @var string
*/
public $cancelTime;
protected $currentReleaseInfoType = SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo::class;
protected $currentReleaseInfoDataType = '';
protected $nextReleaseInfoType = SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo::class;
protected $nextReleaseInfoDataType = '';
/**
* @var string
*/
public $seriesSubscriptionType;
/**
* @param string
*/
public function setCancelTime($cancelTime)
{
$this->cancelTime = $cancelTime;
}
/**
* @return string
*/
public function getCancelTime()
{
return $this->cancelTime;
}
/**
* @param SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo
*/
public function setCurrentReleaseInfo(SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo $currentReleaseInfo)
{
$this->currentReleaseInfo = $currentReleaseInfo;
}
/**
* @return SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo
*/
public function getCurrentReleaseInfo()
{
return $this->currentReleaseInfo;
}
/**
* @param SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo
*/
public function setNextReleaseInfo(SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo $nextReleaseInfo)
{
$this->nextReleaseInfo = $nextReleaseInfo;
}
/**
* @return SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo
*/
public function getNextReleaseInfo()
{
return $this->nextReleaseInfo;
}
/**
* @param string
*/
public function setSeriesSubscriptionType($seriesSubscriptionType)
{
$this->seriesSubscriptionType = $seriesSubscriptionType;
}
/**
* @return string
*/
public function getSeriesSubscriptionType()
{
return $this->seriesSubscriptionType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeriesSeriesSeriesSubscriptionReleaseInfo::class, 'Google_Service_Books_SeriesSeriesSeriesSubscriptionReleaseInfo');

View File

@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo extends \Google\Model
{
public $amountInMicros;
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $releaseNumber;
/**
* @var string
*/
public $releaseTime;
public function setAmountInMicros($amountInMicros)
{
$this->amountInMicros = $amountInMicros;
}
public function getAmountInMicros()
{
return $this->amountInMicros;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setReleaseNumber($releaseNumber)
{
$this->releaseNumber = $releaseNumber;
}
/**
* @return string
*/
public function getReleaseNumber()
{
return $this->releaseNumber;
}
/**
* @param string
*/
public function setReleaseTime($releaseTime)
{
$this->releaseTime = $releaseTime;
}
/**
* @return string
*/
public function getReleaseTime()
{
return $this->releaseTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo::class, 'Google_Service_Books_SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo');

View File

@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo extends \Google\Model
{
public $amountInMicros;
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $releaseNumber;
/**
* @var string
*/
public $releaseTime;
public function setAmountInMicros($amountInMicros)
{
$this->amountInMicros = $amountInMicros;
}
public function getAmountInMicros()
{
return $this->amountInMicros;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setReleaseNumber($releaseNumber)
{
$this->releaseNumber = $releaseNumber;
}
/**
* @return string
*/
public function getReleaseNumber()
{
return $this->releaseNumber;
}
/**
* @param string
*/
public function setReleaseTime($releaseTime)
{
$this->releaseTime = $releaseTime;
}
/**
* @return string
*/
public function getReleaseTime()
{
return $this->releaseTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo::class, 'Google_Service_Books_SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Seriesmembership extends \Google\Collection
{
protected $collection_key = 'member';
/**
* @var string
*/
public $kind;
protected $memberType = Volume::class;
protected $memberDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Volume[]
*/
public function setMember($member)
{
$this->member = $member;
}
/**
* @return Volume[]
*/
public function getMember()
{
return $this->member;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Seriesmembership::class, 'Google_Service_Books_Seriesmembership');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class Usersettings extends \Google\Model
{
/**
* @var string
*/
public $kind;
protected $notesExportType = UsersettingsNotesExport::class;
protected $notesExportDataType = '';
protected $notificationType = UsersettingsNotification::class;
protected $notificationDataType = '';
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param UsersettingsNotesExport
*/
public function setNotesExport(UsersettingsNotesExport $notesExport)
{
$this->notesExport = $notesExport;
}
/**
* @return UsersettingsNotesExport
*/
public function getNotesExport()
{
return $this->notesExport;
}
/**
* @param UsersettingsNotification
*/
public function setNotification(UsersettingsNotification $notification)
{
$this->notification = $notification;
}
/**
* @return UsersettingsNotification
*/
public function getNotification()
{
return $this->notification;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Usersettings::class, 'Google_Service_Books_Usersettings');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class UsersettingsNotesExport extends \Google\Model
{
/**
* @var string
*/
public $folderName;
/**
* @var bool
*/
public $isEnabled;
/**
* @param string
*/
public function setFolderName($folderName)
{
$this->folderName = $folderName;
}
/**
* @return string
*/
public function getFolderName()
{
return $this->folderName;
}
/**
* @param bool
*/
public function setIsEnabled($isEnabled)
{
$this->isEnabled = $isEnabled;
}
/**
* @return bool
*/
public function getIsEnabled()
{
return $this->isEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersettingsNotesExport::class, 'Google_Service_Books_UsersettingsNotesExport');

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class UsersettingsNotification extends \Google\Model
{
protected $matchMyInterestsType = UsersettingsNotificationMatchMyInterests::class;
protected $matchMyInterestsDataType = '';
protected $moreFromAuthorsType = UsersettingsNotificationMoreFromAuthors::class;
protected $moreFromAuthorsDataType = '';
protected $moreFromSeriesType = UsersettingsNotificationMoreFromSeries::class;
protected $moreFromSeriesDataType = '';
protected $priceDropType = UsersettingsNotificationPriceDrop::class;
protected $priceDropDataType = '';
protected $rewardExpirationsType = UsersettingsNotificationRewardExpirations::class;
protected $rewardExpirationsDataType = '';
/**
* @param UsersettingsNotificationMatchMyInterests
*/
public function setMatchMyInterests(UsersettingsNotificationMatchMyInterests $matchMyInterests)
{
$this->matchMyInterests = $matchMyInterests;
}
/**
* @return UsersettingsNotificationMatchMyInterests
*/
public function getMatchMyInterests()
{
return $this->matchMyInterests;
}
/**
* @param UsersettingsNotificationMoreFromAuthors
*/
public function setMoreFromAuthors(UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
{
$this->moreFromAuthors = $moreFromAuthors;
}
/**
* @return UsersettingsNotificationMoreFromAuthors
*/
public function getMoreFromAuthors()
{
return $this->moreFromAuthors;
}
/**
* @param UsersettingsNotificationMoreFromSeries
*/
public function setMoreFromSeries(UsersettingsNotificationMoreFromSeries $moreFromSeries)
{
$this->moreFromSeries = $moreFromSeries;
}
/**
* @return UsersettingsNotificationMoreFromSeries
*/
public function getMoreFromSeries()
{
return $this->moreFromSeries;
}
/**
* @param UsersettingsNotificationPriceDrop
*/
public function setPriceDrop(UsersettingsNotificationPriceDrop $priceDrop)
{
$this->priceDrop = $priceDrop;
}
/**
* @return UsersettingsNotificationPriceDrop
*/
public function getPriceDrop()
{
return $this->priceDrop;
}
/**
* @param UsersettingsNotificationRewardExpirations
*/
public function setRewardExpirations(UsersettingsNotificationRewardExpirations $rewardExpirations)
{
$this->rewardExpirations = $rewardExpirations;
}
/**
* @return UsersettingsNotificationRewardExpirations
*/
public function getRewardExpirations()
{
return $this->rewardExpirations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersettingsNotification::class, 'Google_Service_Books_UsersettingsNotification');

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class UsersettingsNotificationMatchMyInterests extends \Google\Model
{
protected $internal_gapi_mappings = [
"optedState" => "opted_state",
];
/**
* @var string
*/
public $optedState;
/**
* @param string
*/
public function setOptedState($optedState)
{
$this->optedState = $optedState;
}
/**
* @return string
*/
public function getOptedState()
{
return $this->optedState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersettingsNotificationMatchMyInterests::class, 'Google_Service_Books_UsersettingsNotificationMatchMyInterests');

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class UsersettingsNotificationMoreFromAuthors extends \Google\Model
{
protected $internal_gapi_mappings = [
"optedState" => "opted_state",
];
/**
* @var string
*/
public $optedState;
/**
* @param string
*/
public function setOptedState($optedState)
{
$this->optedState = $optedState;
}
/**
* @return string
*/
public function getOptedState()
{
return $this->optedState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersettingsNotificationMoreFromAuthors::class, 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors');

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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.
*/
namespace Google\Service\Books;
class UsersettingsNotificationMoreFromSeries extends \Google\Model
{
protected $internal_gapi_mappings = [
"optedState" => "opted_state",
];
/**
* @var string
*/
public $optedState;
/**
* @param string
*/
public function setOptedState($optedState)
{
$this->optedState = $optedState;
}
/**
* @return string
*/
public function getOptedState()
{
return $this->optedState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersettingsNotificationMoreFromSeries::class, 'Google_Service_Books_UsersettingsNotificationMoreFromSeries');

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