source: vendor/google/apiclient-services/src/WorkloadManager/ExecutionResult.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 8 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 3.3 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\WorkloadManager;
19
20class ExecutionResult extends \Google\Collection
21{
22 protected $collection_key = 'commands';
23 protected $commandsType = Command::class;
24 protected $commandsDataType = 'array';
25 /**
26 * @var string
27 */
28 public $documentationUrl;
29 protected $resourceType = WorkloadmanagerResource::class;
30 protected $resourceDataType = '';
31 /**
32 * @var string
33 */
34 public $rule;
35 /**
36 * @var string
37 */
38 public $severity;
39 /**
40 * @var string
41 */
42 public $type;
43 protected $violationDetailsType = ViolationDetails::class;
44 protected $violationDetailsDataType = '';
45 /**
46 * @var string
47 */
48 public $violationMessage;
49
50 /**
51 * @param Command[]
52 */
53 public function setCommands($commands)
54 {
55 $this->commands = $commands;
56 }
57 /**
58 * @return Command[]
59 */
60 public function getCommands()
61 {
62 return $this->commands;
63 }
64 /**
65 * @param string
66 */
67 public function setDocumentationUrl($documentationUrl)
68 {
69 $this->documentationUrl = $documentationUrl;
70 }
71 /**
72 * @return string
73 */
74 public function getDocumentationUrl()
75 {
76 return $this->documentationUrl;
77 }
78 /**
79 * @param WorkloadmanagerResource
80 */
81 public function setResource(WorkloadmanagerResource $resource)
82 {
83 $this->resource = $resource;
84 }
85 /**
86 * @return WorkloadmanagerResource
87 */
88 public function getResource()
89 {
90 return $this->resource;
91 }
92 /**
93 * @param string
94 */
95 public function setRule($rule)
96 {
97 $this->rule = $rule;
98 }
99 /**
100 * @return string
101 */
102 public function getRule()
103 {
104 return $this->rule;
105 }
106 /**
107 * @param string
108 */
109 public function setSeverity($severity)
110 {
111 $this->severity = $severity;
112 }
113 /**
114 * @return string
115 */
116 public function getSeverity()
117 {
118 return $this->severity;
119 }
120 /**
121 * @param string
122 */
123 public function setType($type)
124 {
125 $this->type = $type;
126 }
127 /**
128 * @return string
129 */
130 public function getType()
131 {
132 return $this->type;
133 }
134 /**
135 * @param ViolationDetails
136 */
137 public function setViolationDetails(ViolationDetails $violationDetails)
138 {
139 $this->violationDetails = $violationDetails;
140 }
141 /**
142 * @return ViolationDetails
143 */
144 public function getViolationDetails()
145 {
146 return $this->violationDetails;
147 }
148 /**
149 * @param string
150 */
151 public function setViolationMessage($violationMessage)
152 {
153 $this->violationMessage = $violationMessage;
154 }
155 /**
156 * @return string
157 */
158 public function getViolationMessage()
159 {
160 return $this->violationMessage;
161 }
162}
163
164// Adding a class alias for backwards compatibility with the previous class name.
165class_alias(ExecutionResult::class, 'Google_Service_WorkloadManager_ExecutionResult');
Note: See TracBrowser for help on using the repository browser.