<?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 = '';
  /**
   * Content version the client sent in.
   *
   * @var string
   */
  public $contentVersion;
  protected $gbImageRangeType = BooksAnnotationsRange::class;
  protected $gbImageRangeDataType = '';
  protected $gbTextRangeType = BooksAnnotationsRange::class;
  protected $gbTextRangeDataType = '';
  protected $imageCfiRangeType = BooksAnnotationsRange::class;
  protected $imageCfiRangeDataType = '';

  /**
   * Range in CFI format for this annotation sent by client.
   *
   * @param BooksAnnotationsRange $cfiRange
   */
  public function setCfiRange(BooksAnnotationsRange $cfiRange)
  {
    $this->cfiRange = $cfiRange;
  }
  /**
   * @return BooksAnnotationsRange
   */
  public function getCfiRange()
  {
    return $this->cfiRange;
  }
  /**
   * Content version the client sent in.
   *
   * @param string $contentVersion
   */
  public function setContentVersion($contentVersion)
  {
    $this->contentVersion = $contentVersion;
  }
  /**
   * @return string
   */
  public function getContentVersion()
  {
    return $this->contentVersion;
  }
  /**
   * Range in GB image format for this annotation sent by client.
   *
   * @param BooksAnnotationsRange $gbImageRange
   */
  public function setGbImageRange(BooksAnnotationsRange $gbImageRange)
  {
    $this->gbImageRange = $gbImageRange;
  }
  /**
   * @return BooksAnnotationsRange
   */
  public function getGbImageRange()
  {
    return $this->gbImageRange;
  }
  /**
   * Range in GB text format for this annotation sent by client.
   *
   * @param BooksAnnotationsRange $gbTextRange
   */
  public function setGbTextRange(BooksAnnotationsRange $gbTextRange)
  {
    $this->gbTextRange = $gbTextRange;
  }
  /**
   * @return BooksAnnotationsRange
   */
  public function getGbTextRange()
  {
    return $this->gbTextRange;
  }
  /**
   * Range in image CFI format for this annotation sent by client.
   *
   * @param BooksAnnotationsRange $imageCfiRange
   */
  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');
