PluginProbe
Booking for Appointments and Events Calendar – Amelia / 1.2.32
Booking for Appointments and Events Calendar – Amelia v1.2.32
2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 All 59 releases
ameliabooking / vendor / microsoft / microsoft-graph / src / Model / PublicInnerError.php
PublicInnerError.php
144 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4 *
5 * PublicInnerError File
6 * PHP version 7
7 *
8 * @category Library
9 * @package Microsoft.Graph
10 * @copyright (c) Microsoft Corporation. All rights reserved.
11 * @license https://opensource.org/licenses/MIT MIT License
12 * @link https://graph.microsoft.com
13 */
14 namespace Microsoft\Graph\Model;
15 /**
16 * PublicInnerError class
17 *
18 * @category Model
19 * @package Microsoft.Graph
20 * @copyright (c) Microsoft Corporation. All rights reserved.
21 * @license https://opensource.org/licenses/MIT MIT License
22 * @link https://graph.microsoft.com
23 */
24 class PublicInnerError extends Entity
25 {
26 /**
27 * Gets the code
28 * The error code.
29 *
30 * @return string|null The code
31 */
32 public function getCode()
33 {
34 if (array_key_exists("code", $this->_propDict)) {
35 return $this->_propDict["code"];
36 } else {
37 return null;
38 }
39 }
40
41 /**
42 * Sets the code
43 * The error code.
44 *
45 * @param string $val The value of the code
46 *
47 * @return PublicInnerError
48 */
49 public function setCode($val)
50 {
51 $this->_propDict["code"] = $val;
52 return $this;
53 }
54
55 /**
56 * Gets the details
57 * A collection of error details.
58 *
59 * @return PublicErrorDetail|null The details
60 */
61 public function getDetails()
62 {
63 if (array_key_exists("details", $this->_propDict)) {
64 if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PublicErrorDetail") || is_null($this->_propDict["details"])) {
65 return $this->_propDict["details"];
66 } else {
67 $this->_propDict["details"] = new PublicErrorDetail($this->_propDict["details"]);
68 return $this->_propDict["details"];
69 }
70 }
71 return null;
72 }
73
74 /**
75 * Sets the details
76 * A collection of error details.
77 *
78 * @param PublicErrorDetail $val The value to assign to the details
79 *
80 * @return PublicInnerError The PublicInnerError
81 */
82 public function setDetails($val)
83 {
84 $this->_propDict["details"] = $val;
85 return $this;
86 }
87 /**
88 * Gets the message
89 * The error message.
90 *
91 * @return string|null The message
92 */
93 public function getMessage()
94 {
95 if (array_key_exists("message", $this->_propDict)) {
96 return $this->_propDict["message"];
97 } else {
98 return null;
99 }
100 }
101
102 /**
103 * Sets the message
104 * The error message.
105 *
106 * @param string $val The value of the message
107 *
108 * @return PublicInnerError
109 */
110 public function setMessage($val)
111 {
112 $this->_propDict["message"] = $val;
113 return $this;
114 }
115 /**
116 * Gets the target
117 * The target of the error.
118 *
119 * @return string|null The target
120 */
121 public function getTarget()
122 {
123 if (array_key_exists("target", $this->_propDict)) {
124 return $this->_propDict["target"];
125 } else {
126 return null;
127 }
128 }
129
130 /**
131 * Sets the target
132 * The target of the error.
133 *
134 * @param string $val The value of the target
135 *
136 * @return PublicInnerError
137 */
138 public function setTarget($val)
139 {
140 $this->_propDict["target"] = $val;
141 return $this;
142 }
143 }
144