forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlertDetection.php
More file actions
104 lines (101 loc) · 2.3 KB
/
Copy pathAlertDetection.php
File metadata and controls
104 lines (101 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlertDetection File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* AlertDetection class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AlertDetection extends Entity
{
/**
* Gets the detectionType
*
* @return string|null The detectionType
*/
public function getDetectionType()
{
if (array_key_exists("detectionType", $this->_propDict)) {
return $this->_propDict["detectionType"];
} else {
return null;
}
}
/**
* Sets the detectionType
*
* @param string $val The value of the detectionType
*
* @return AlertDetection
*/
public function setDetectionType($val)
{
$this->_propDict["detectionType"] = $val;
return $this;
}
/**
* Gets the method
*
* @return string|null The method
*/
public function getMethod()
{
if (array_key_exists("method", $this->_propDict)) {
return $this->_propDict["method"];
} else {
return null;
}
}
/**
* Sets the method
*
* @param string $val The value of the method
*
* @return AlertDetection
*/
public function setMethod($val)
{
$this->_propDict["method"] = $val;
return $this;
}
/**
* Gets the name
*
* @return string|null The name
*/
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
}
/**
* Sets the name
*
* @param string $val The value of the name
*
* @return AlertDetection
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
}