source: vendor/google/apiclient-services/src/ContainerAnalysis/InToto.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.5 KB
Line 
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\ContainerAnalysis;
19
20class InToto extends \Google\Collection
21{
22 protected $collection_key = 'signingKeys';
23 public $expectedCommand;
24 protected $expectedMaterialsType = ArtifactRule::class;
25 protected $expectedMaterialsDataType = 'array';
26 protected $expectedProductsType = ArtifactRule::class;
27 protected $expectedProductsDataType = 'array';
28 protected $signingKeysType = SigningKey::class;
29 protected $signingKeysDataType = 'array';
30 public $stepName;
31 public $threshold;
32
33 public function setExpectedCommand($expectedCommand)
34 {
35 $this->expectedCommand = $expectedCommand;
36 }
37 public function getExpectedCommand()
38 {
39 return $this->expectedCommand;
40 }
41 /**
42 * @param ArtifactRule[]
43 */
44 public function setExpectedMaterials($expectedMaterials)
45 {
46 $this->expectedMaterials = $expectedMaterials;
47 }
48 /**
49 * @return ArtifactRule[]
50 */
51 public function getExpectedMaterials()
52 {
53 return $this->expectedMaterials;
54 }
55 /**
56 * @param ArtifactRule[]
57 */
58 public function setExpectedProducts($expectedProducts)
59 {
60 $this->expectedProducts = $expectedProducts;
61 }
62 /**
63 * @return ArtifactRule[]
64 */
65 public function getExpectedProducts()
66 {
67 return $this->expectedProducts;
68 }
69 /**
70 * @param SigningKey[]
71 */
72 public function setSigningKeys($signingKeys)
73 {
74 $this->signingKeys = $signingKeys;
75 }
76 /**
77 * @return SigningKey[]
78 */
79 public function getSigningKeys()
80 {
81 return $this->signingKeys;
82 }
83 public function setStepName($stepName)
84 {
85 $this->stepName = $stepName;
86 }
87 public function getStepName()
88 {
89 return $this->stepName;
90 }
91 public function setThreshold($threshold)
92 {
93 $this->threshold = $threshold;
94 }
95 public function getThreshold()
96 {
97 return $this->threshold;
98 }
99}
100
101// Adding a class alias for backwards compatibility with the previous class name.
102class_alias(InToto::class, 'Google_Service_ContainerAnalysis_InToto');
Note: See TracBrowser for help on using the repository browser.