1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Forms;
19
20class Request extends \Google\Model
21{
22  protected $createItemType = CreateItemRequest::class;
23  protected $createItemDataType = '';
24  protected $deleteItemType = DeleteItemRequest::class;
25  protected $deleteItemDataType = '';
26  protected $moveItemType = MoveItemRequest::class;
27  protected $moveItemDataType = '';
28  protected $updateFormInfoType = UpdateFormInfoRequest::class;
29  protected $updateFormInfoDataType = '';
30  protected $updateItemType = UpdateItemRequest::class;
31  protected $updateItemDataType = '';
32  protected $updateSettingsType = UpdateSettingsRequest::class;
33  protected $updateSettingsDataType = '';
34
35  /**
36   * @param CreateItemRequest
37   */
38  public function setCreateItem(CreateItemRequest $createItem)
39  {
40    $this->createItem = $createItem;
41  }
42  /**
43   * @return CreateItemRequest
44   */
45  public function getCreateItem()
46  {
47    return $this->createItem;
48  }
49  /**
50   * @param DeleteItemRequest
51   */
52  public function setDeleteItem(DeleteItemRequest $deleteItem)
53  {
54    $this->deleteItem = $deleteItem;
55  }
56  /**
57   * @return DeleteItemRequest
58   */
59  public function getDeleteItem()
60  {
61    return $this->deleteItem;
62  }
63  /**
64   * @param MoveItemRequest
65   */
66  public function setMoveItem(MoveItemRequest $moveItem)
67  {
68    $this->moveItem = $moveItem;
69  }
70  /**
71   * @return MoveItemRequest
72   */
73  public function getMoveItem()
74  {
75    return $this->moveItem;
76  }
77  /**
78   * @param UpdateFormInfoRequest
79   */
80  public function setUpdateFormInfo(UpdateFormInfoRequest $updateFormInfo)
81  {
82    $this->updateFormInfo = $updateFormInfo;
83  }
84  /**
85   * @return UpdateFormInfoRequest
86   */
87  public function getUpdateFormInfo()
88  {
89    return $this->updateFormInfo;
90  }
91  /**
92   * @param UpdateItemRequest
93   */
94  public function setUpdateItem(UpdateItemRequest $updateItem)
95  {
96    $this->updateItem = $updateItem;
97  }
98  /**
99   * @return UpdateItemRequest
100   */
101  public function getUpdateItem()
102  {
103    return $this->updateItem;
104  }
105  /**
106   * @param UpdateSettingsRequest
107   */
108  public function setUpdateSettings(UpdateSettingsRequest $updateSettings)
109  {
110    $this->updateSettings = $updateSettings;
111  }
112  /**
113   * @return UpdateSettingsRequest
114   */
115  public function getUpdateSettings()
116  {
117    return $this->updateSettings;
118  }
119}
120
121// Adding a class alias for backwards compatibility with the previous class name.
122class_alias(Request::class, 'Google_Service_Forms_Request');
123