📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Books
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Annotation.php
▶ Open 📄 View Source
🐘 AnnotationClientVersionRanges.php
▶ Open 📄 View Source
🐘 AnnotationCurrentVersionRanges.php
▶ Open 📄 View Source
🐘 AnnotationLayerSummary.php
▶ Open 📄 View Source
🐘 Annotations.php
▶ Open 📄 View Source
🐘 AnnotationsSummary.php
▶ Open 📄 View Source
🐘 AnnotationsSummaryLayers.php
▶ Open 📄 View Source
🐘 Annotationsdata.php
▶ Open 📄 View Source
🐘 BooksAnnotationsRange.php
▶ Open 📄 View Source
🐘 BooksCloudloadingResource.php
▶ Open 📄 View Source
🐘 BooksEmpty.php
▶ Open 📄 View Source
🐘 BooksVolumesRecommendedRateResponse.php
▶ Open 📄 View Source
🐘 Bookshelf.php
▶ Open 📄 View Source
🐘 Bookshelves.php
▶ Open 📄 View Source
🐘 Category.php
▶ Open 📄 View Source
🐘 CategoryItems.php
▶ Open 📄 View Source
🐘 ConcurrentAccessRestriction.php
▶ Open 📄 View Source
🐘 DictionaryAnnotationdata.php
▶ Open 📄 View Source
🐘 Dictlayerdata.php
▶ Open 📄 View Source
🐘 DictlayerdataCommon.php
▶ Open 📄 View Source
🐘 DictlayerdataDict.php
▶ Open 📄 View Source
🐘 DictlayerdataDictSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWords.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsDerivatives.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsDerivativesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsExamples.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsExamplesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSenses.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesConjugations.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitions.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitionsExamples.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesDefinitionsExamplesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSynonyms.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSensesSynonymsSource.php
▶ Open 📄 View Source
🐘 DictlayerdataDictWordsSource.php
▶ Open 📄 View Source
🐘 Discoveryclusters.php
▶ Open 📄 View Source
🐘 DiscoveryclustersClusters.php
▶ Open 📄 View Source
🐘 DiscoveryclustersClustersBannerWithContentContainer.php
▶ Open 📄 View Source
🐘 DownloadAccessRestriction.php
▶ Open 📄 View Source
🐘 DownloadAccesses.php
▶ Open 📄 View Source
🐘 FamilyInfo.php
▶ Open 📄 View Source
🐘 FamilyInfoMembership.php
▶ Open 📄 View Source
🐘 GeoAnnotationdata.php
▶ Open 📄 View Source
🐘 Geolayerdata.php
▶ Open 📄 View Source
🐘 GeolayerdataCommon.php
▶ Open 📄 View Source
🐘 GeolayerdataGeo.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewport.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewportHi.php
▶ Open 📄 View Source
🐘 GeolayerdataGeoViewportLo.php
▶ Open 📄 View Source
🐘 Layersummaries.php
▶ Open 📄 View Source
🐘 Layersummary.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 MetadataItems.php
▶ Open 📄 View Source
🐘 Notification.php
▶ Open 📄 View Source
🐘 Offers.php
▶ Open 📄 View Source
🐘 OffersItems.php
▶ Open 📄 View Source
🐘 OffersItemsItems.php
▶ Open 📄 View Source
🐘 ReadingPosition.php
▶ Open 📄 View Source
🐘 RequestAccessData.php
▶ Open 📄 View Source
🐘 Review.php
▶ Open 📄 View Source
🐘 ReviewAuthor.php
▶ Open 📄 View Source
🐘 ReviewSource.php
▶ Open 📄 View Source
🐘 Series.php
▶ Open 📄 View Source
🐘 SeriesSeries.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfo.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfoCurrentReleaseInfo.php
▶ Open 📄 View Source
🐘 SeriesSeriesSeriesSubscriptionReleaseInfoNextReleaseInfo.php
▶ Open 📄 View Source
🐘 Seriesmembership.php
▶ Open 📄 View Source
🐘 Usersettings.php
▶ Open 📄 View Source
🐘 UsersettingsNotesExport.php
▶ Open 📄 View Source
🐘 UsersettingsNotification.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMatchMyInterests.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMoreFromAuthors.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationMoreFromSeries.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationPriceDrop.php
▶ Open 📄 View Source
🐘 UsersettingsNotificationRewardExpirations.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 Volume2.php
▶ Open 📄 View Source
🐘 VolumeAccessInfo.php
▶ Open 📄 View Source
🐘 VolumeAccessInfoEpub.php
▶ Open 📄 View Source
🐘 VolumeAccessInfoPdf.php
▶ Open 📄 View Source
🐘 VolumeLayerInfo.php
▶ Open 📄 View Source
🐘 VolumeLayerInfoLayers.php
▶ Open 📄 View Source
🐘 VolumeRecommendedInfo.php
▶ Open 📄 View Source
🐘 VolumeSaleInfo.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoListPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffers.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersListPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersRentalDuration.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoOffersRetailPrice.php
▶ Open 📄 View Source
🐘 VolumeSaleInfoRetailPrice.php
▶ Open 📄 View Source
🐘 VolumeSearchInfo.php
▶ Open 📄 View Source
🐘 VolumeUserInfo.php
▶ Open 📄 View Source
🐘 VolumeUserInfoCopy.php
▶ Open 📄 View Source
🐘 VolumeUserInfoFamilySharing.php
▶ Open 📄 View Source
🐘 VolumeUserInfoRentalPeriod.php
▶ Open 📄 View Source
🐘 VolumeUserInfoUserUploadedVolumeInfo.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfo.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoDimensions.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoImageLinks.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoIndustryIdentifiers.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoPanelizationSummary.php
▶ Open 📄 View Source
🐘 VolumeVolumeInfoReadingModes.php
▶ Open 📄 View Source
🐘 Volumeannotation.php
▶ Open 📄 View Source
🐘 VolumeannotationContentRanges.php
▶ Open 📄 View Source
🐘 Volumeannotations.php
▶ Open 📄 View Source
🐘 Volumes.php
▶ Open 📄 View Source
🐘 Volumeseriesinfo.php
▶ Open 📄 View Source
🐘 VolumeseriesinfoVolumeSeries.php
▶ Open 📄 View Source
🐘 VolumeseriesinfoVolumeSeriesIssue.php
▶ Open 📄 View Source

📄 Source: VolumeUserInfo.php

<?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 VolumeUserInfo extends \Google\Model
{
  /**
   * Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-
   * time format) Acquiring includes purchase, user upload, receiving family
   * sharing, etc.
   *
   * @var string
   */
  public $acquiredTime;
  /**
   * How this volume was acquired.
   *
   * @var int
   */
  public $acquisitionType;
  protected $copyType = VolumeUserInfoCopy::class;
  protected $copyDataType = '';
  /**
   * Whether this volume is purchased, sample, pd download etc.
   *
   * @var int
   */
  public $entitlementType;
  protected $familySharingType = VolumeUserInfoFamilySharing::class;
  protected $familySharingDataType = '';
  /**
   * Whether or not the user shared this volume with the family.
   *
   * @var bool
   */
  public $isFamilySharedFromUser;
  /**
   * Whether or not the user received this volume through family sharing.
   *
   * @var bool
   */
  public $isFamilySharedToUser;
  /**
   * Deprecated: Replaced by familySharing.
   *
   * @var bool
   */
  public $isFamilySharingAllowed;
  /**
   * Deprecated: Replaced by familySharing.
   *
   * @var bool
   */
  public $isFamilySharingDisabledByFop;
  /**
   * Whether or not this volume is currently in "my books."
   *
   * @var bool
   */
  public $isInMyBooks;
  /**
   * Whether or not this volume was pre-ordered by the authenticated user making
   * the request. (In LITE projection.)
   *
   * @var bool
   */
  public $isPreordered;
  /**
   * Whether or not this volume was purchased by the authenticated user making
   * the request. (In LITE projection.)
   *
   * @var bool
   */
  public $isPurchased;
  /**
   * Whether or not this volume was user uploaded.
   *
   * @var bool
   */
  public $isUploaded;
  protected $readingPositionType = ReadingPosition::class;
  protected $readingPositionDataType = '';
  protected $rentalPeriodType = VolumeUserInfoRentalPeriod::class;
  protected $rentalPeriodDataType = '';
  /**
   * Whether this book is an active or an expired rental.
   *
   * @var string
   */
  public $rentalState;
  protected $reviewType = Review::class;
  protected $reviewDataType = '';
  /**
   * Timestamp when this volume was last modified by a user action, such as a
   * reading position update, volume purchase or writing a review. (RFC 3339 UTC
   * date-time format).
   *
   * @var string
   */
  public $updated;
  protected $userUploadedVolumeInfoType = VolumeUserInfoUserUploadedVolumeInfo::class;
  protected $userUploadedVolumeInfoDataType = '';

  /**
   * Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-
   * time format) Acquiring includes purchase, user upload, receiving family
   * sharing, etc.
   *
   * @param string $acquiredTime
   */
  public function setAcquiredTime($acquiredTime)
  {
    $this->acquiredTime = $acquiredTime;
  }
  /**
   * @return string
   */
  public function getAcquiredTime()
  {
    return $this->acquiredTime;
  }
  /**
   * How this volume was acquired.
   *
   * @param int $acquisitionType
   */
  public function setAcquisitionType($acquisitionType)
  {
    $this->acquisitionType = $acquisitionType;
  }
  /**
   * @return int
   */
  public function getAcquisitionType()
  {
    return $this->acquisitionType;
  }
  /**
   * Copy/Paste accounting information.
   *
   * @param VolumeUserInfoCopy $copy
   */
  public function setCopy(VolumeUserInfoCopy $copy)
  {
    $this->copy = $copy;
  }
  /**
   * @return VolumeUserInfoCopy
   */
  public function getCopy()
  {
    return $this->copy;
  }
  /**
   * Whether this volume is purchased, sample, pd download etc.
   *
   * @param int $entitlementType
   */
  public function setEntitlementType($entitlementType)
  {
    $this->entitlementType = $entitlementType;
  }
  /**
   * @return int
   */
  public function getEntitlementType()
  {
    return $this->entitlementType;
  }
  /**
   * Information on the ability to share with the family.
   *
   * @param VolumeUserInfoFamilySharing $familySharing
   */
  public function setFamilySharing(VolumeUserInfoFamilySharing $familySharing)
  {
    $this->familySharing = $familySharing;
  }
  /**
   * @return VolumeUserInfoFamilySharing
   */
  public function getFamilySharing()
  {
    return $this->familySharing;
  }
  /**
   * Whether or not the user shared this volume with the family.
   *
   * @param bool $isFamilySharedFromUser
   */
  public function setIsFamilySharedFromUser($isFamilySharedFromUser)
  {
    $this->isFamilySharedFromUser = $isFamilySharedFromUser;
  }
  /**
   * @return bool
   */
  public function getIsFamilySharedFromUser()
  {
    return $this->isFamilySharedFromUser;
  }
  /**
   * Whether or not the user received this volume through family sharing.
   *
   * @param bool $isFamilySharedToUser
   */
  public function setIsFamilySharedToUser($isFamilySharedToUser)
  {
    $this->isFamilySharedToUser = $isFamilySharedToUser;
  }
  /**
   * @return bool
   */
  public function getIsFamilySharedToUser()
  {
    return $this->isFamilySharedToUser;
  }
  /**
   * Deprecated: Replaced by familySharing.
   *
   * @param bool $isFamilySharingAllowed
   */
  public function setIsFamilySharingAllowed($isFamilySharingAllowed)
  {
    $this->isFamilySharingAllowed = $isFamilySharingAllowed;
  }
  /**
   * @return bool
   */
  public function getIsFamilySharingAllowed()
  {
    return $this->isFamilySharingAllowed;
  }
  /**
   * Deprecated: Replaced by familySharing.
   *
   * @param bool $isFamilySharingDisabledByFop
   */
  public function setIsFamilySharingDisabledByFop($isFamilySharingDisabledByFop)
  {
    $this->isFamilySharingDisabledByFop = $isFamilySharingDisabledByFop;
  }
  /**
   * @return bool
   */
  public function getIsFamilySharingDisabledByFop()
  {
    return $this->isFamilySharingDisabledByFop;
  }
  /**
   * Whether or not this volume is currently in "my books."
   *
   * @param bool $isInMyBooks
   */
  public function setIsInMyBooks($isInMyBooks)
  {
    $this->isInMyBooks = $isInMyBooks;
  }
  /**
   * @return bool
   */
  public function getIsInMyBooks()
  {
    return $this->isInMyBooks;
  }
  /**
   * Whether or not this volume was pre-ordered by the authenticated user making
   * the request. (In LITE projection.)
   *
   * @param bool $isPreordered
   */
  public function setIsPreordered($isPreordered)
  {
    $this->isPreordered = $isPreordered;
  }
  /**
   * @return bool
   */
  public function getIsPreordered()
  {
    return $this->isPreordered;
  }
  /**
   * Whether or not this volume was purchased by the authenticated user making
   * the request. (In LITE projection.)
   *
   * @param bool $isPurchased
   */
  public function setIsPurchased($isPurchased)
  {
    $this->isPurchased = $isPurchased;
  }
  /**
   * @return bool
   */
  public function getIsPurchased()
  {
    return $this->isPurchased;
  }
  /**
   * Whether or not this volume was user uploaded.
   *
   * @param bool $isUploaded
   */
  public function setIsUploaded($isUploaded)
  {
    $this->isUploaded = $isUploaded;
  }
  /**
   * @return bool
   */
  public function getIsUploaded()
  {
    return $this->isUploaded;
  }
  /**
   * The user's current reading position in the volume, if one is available. (In
   * LITE projection.)
   *
   * @param ReadingPosition $readingPosition
   */
  public function setReadingPosition(ReadingPosition $readingPosition)
  {
    $this->readingPosition = $readingPosition;
  }
  /**
   * @return ReadingPosition
   */
  public function getReadingPosition()
  {
    return $this->readingPosition;
  }
  /**
   * Period during this book is/was a valid rental.
   *
   * @param VolumeUserInfoRentalPeriod $rentalPeriod
   */
  public function setRentalPeriod(VolumeUserInfoRentalPeriod $rentalPeriod)
  {
    $this->rentalPeriod = $rentalPeriod;
  }
  /**
   * @return VolumeUserInfoRentalPeriod
   */
  public function getRentalPeriod()
  {
    return $this->rentalPeriod;
  }
  /**
   * Whether this book is an active or an expired rental.
   *
   * @param string $rentalState
   */
  public function setRentalState($rentalState)
  {
    $this->rentalState = $rentalState;
  }
  /**
   * @return string
   */
  public function getRentalState()
  {
    return $this->rentalState;
  }
  /**
   * This user's review of this volume, if one exists.
   *
   * @param Review $review
   */
  public function setReview(Review $review)
  {
    $this->review = $review;
  }
  /**
   * @return Review
   */
  public function getReview()
  {
    return $this->review;
  }
  /**
   * Timestamp when this volume was last modified by a user action, such as a
   * reading position update, volume purchase or writing a review. (RFC 3339 UTC
   * date-time format).
   *
   * @param string $updated
   */
  public function setUpdated($updated)
  {
    $this->updated = $updated;
  }
  /**
   * @return string
   */
  public function getUpdated()
  {
    return $this->updated;
  }
  /**
   * @param VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo
   */
  public function setUserUploadedVolumeInfo(VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
  {
    $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
  }
  /**
   * @return VolumeUserInfoUserUploadedVolumeInfo
   */
  public function getUserUploadedVolumeInfo()
  {
    return $this->userUploadedVolumeInfo;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VolumeUserInfo::class, 'Google_Service_Books_VolumeUserInfo');
← Back