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\RemoteBuildExecution;
19
20class BuildBazelRemoteExecutionV2Directory extends \Google\Collection
21{
22  protected $collection_key = 'symlinks';
23  protected $directoriesType = BuildBazelRemoteExecutionV2DirectoryNode::class;
24  protected $directoriesDataType = 'array';
25  protected $filesType = BuildBazelRemoteExecutionV2FileNode::class;
26  protected $filesDataType = 'array';
27  protected $nodePropertiesType = BuildBazelRemoteExecutionV2NodeProperties::class;
28  protected $nodePropertiesDataType = '';
29  protected $symlinksType = BuildBazelRemoteExecutionV2SymlinkNode::class;
30  protected $symlinksDataType = 'array';
31
32  /**
33   * @param BuildBazelRemoteExecutionV2DirectoryNode[]
34   */
35  public function setDirectories($directories)
36  {
37    $this->directories = $directories;
38  }
39  /**
40   * @return BuildBazelRemoteExecutionV2DirectoryNode[]
41   */
42  public function getDirectories()
43  {
44    return $this->directories;
45  }
46  /**
47   * @param BuildBazelRemoteExecutionV2FileNode[]
48   */
49  public function setFiles($files)
50  {
51    $this->files = $files;
52  }
53  /**
54   * @return BuildBazelRemoteExecutionV2FileNode[]
55   */
56  public function getFiles()
57  {
58    return $this->files;
59  }
60  /**
61   * @param BuildBazelRemoteExecutionV2NodeProperties
62   */
63  public function setNodeProperties(BuildBazelRemoteExecutionV2NodeProperties $nodeProperties)
64  {
65    $this->nodeProperties = $nodeProperties;
66  }
67  /**
68   * @return BuildBazelRemoteExecutionV2NodeProperties
69   */
70  public function getNodeProperties()
71  {
72    return $this->nodeProperties;
73  }
74  /**
75   * @param BuildBazelRemoteExecutionV2SymlinkNode[]
76   */
77  public function setSymlinks($symlinks)
78  {
79    $this->symlinks = $symlinks;
80  }
81  /**
82   * @return BuildBazelRemoteExecutionV2SymlinkNode[]
83   */
84  public function getSymlinks()
85  {
86    return $this->symlinks;
87  }
88}
89
90// Adding a class alias for backwards compatibility with the previous class name.
91class_alias(BuildBazelRemoteExecutionV2Directory::class, 'Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2Directory');
92