<?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\Chromewebstore;

class FetchItemStatusResponse extends \Google\Model
{
  /**
   * @var string
   */
  public $itemId;
  /**
   * @var string
   */
  public $lastAsyncUploadState;
  /**
   * @var string
   */
  public $name;
  /**
   * @var string
   */
  public $publicKey;
  protected $publishedItemRevisionStatusType = ItemRevisionStatus::class;
  protected $publishedItemRevisionStatusDataType = '';
  protected $submittedItemRevisionStatusType = ItemRevisionStatus::class;
  protected $submittedItemRevisionStatusDataType = '';
  /**
   * @var bool
   */
  public $takenDown;
  /**
   * @var bool
   */
  public $warned;

  /**
   * @param string
   */
  public function setItemId($itemId)
  {
    $this->itemId = $itemId;
  }
  /**
   * @return string
   */
  public function getItemId()
  {
    return $this->itemId;
  }
  /**
   * @param string
   */
  public function setLastAsyncUploadState($lastAsyncUploadState)
  {
    $this->lastAsyncUploadState = $lastAsyncUploadState;
  }
  /**
   * @return string
   */
  public function getLastAsyncUploadState()
  {
    return $this->lastAsyncUploadState;
  }
  /**
   * @param string
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * @param string
   */
  public function setPublicKey($publicKey)
  {
    $this->publicKey = $publicKey;
  }
  /**
   * @return string
   */
  public function getPublicKey()
  {
    return $this->publicKey;
  }
  /**
   * @param ItemRevisionStatus
   */
  public function setPublishedItemRevisionStatus(ItemRevisionStatus $publishedItemRevisionStatus)
  {
    $this->publishedItemRevisionStatus = $publishedItemRevisionStatus;
  }
  /**
   * @return ItemRevisionStatus
   */
  public function getPublishedItemRevisionStatus()
  {
    return $this->publishedItemRevisionStatus;
  }
  /**
   * @param ItemRevisionStatus
   */
  public function setSubmittedItemRevisionStatus(ItemRevisionStatus $submittedItemRevisionStatus)
  {
    $this->submittedItemRevisionStatus = $submittedItemRevisionStatus;
  }
  /**
   * @return ItemRevisionStatus
   */
  public function getSubmittedItemRevisionStatus()
  {
    return $this->submittedItemRevisionStatus;
  }
  /**
   * @param bool
   */
  public function setTakenDown($takenDown)
  {
    $this->takenDown = $takenDown;
  }
  /**
   * @return bool
   */
  public function getTakenDown()
  {
    return $this->takenDown;
  }
  /**
   * @param bool
   */
  public function setWarned($warned)
  {
    $this->warned = $warned;
  }
  /**
   * @return bool
   */
  public function getWarned()
  {
    return $this->warned;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchItemStatusResponse::class, 'Google_Service_Chromewebstore_FetchItemStatusResponse');
