PluginProbe
WP-Stateless – Google Cloud Storage / 3.2.1
WP-Stateless – Google Cloud Storage v3.2.1
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / lib / Google / src / Service / Storage / ComposeRequest.php

ComposeRequest.php in WP-Stateless – Google Cloud Storage 3.2.1, at lib/Google/src/Service/Storage/ComposeRequest.php

78 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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
18 namespace Google\Service\Storage;
19
20 class ComposeRequest extends \Google\Collection
21 {
22 protected $collection_key = 'sourceObjects';
23 protected $destinationType = StorageObject::class;
24 protected $destinationDataType = '';
25 /**
26 * @var string
27 */
28 public $kind;
29 protected $sourceObjectsType = ComposeRequestSourceObjects::class;
30 protected $sourceObjectsDataType = 'array';
31
32 /**
33 * @param StorageObject
34 */
35 public function setDestination(StorageObject $destination)
36 {
37 $this->destination = $destination;
38 }
39 /**
40 * @return StorageObject
41 */
42 public function getDestination()
43 {
44 return $this->destination;
45 }
46 /**
47 * @param string
48 */
49 public function setKind($kind)
50 {
51 $this->kind = $kind;
52 }
53 /**
54 * @return string
55 */
56 public function getKind()
57 {
58 return $this->kind;
59 }
60 /**
61 * @param ComposeRequestSourceObjects[]
62 */
63 public function setSourceObjects($sourceObjects)
64 {
65 $this->sourceObjects = $sourceObjects;
66 }
67 /**
68 * @return ComposeRequestSourceObjects[]
69 */
70 public function getSourceObjects()
71 {
72 return $this->sourceObjects;
73 }
74 }
75
76 // Adding a class alias for backwards compatibility with the previous class name.
77 class_alias(ComposeRequest::class, 'Google_Service_Storage_ComposeRequest');
78