forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAutomaticRepliesMailTips.php
More file actions
155 lines (148 loc) · 4.61 KB
/
Copy pathAutomaticRepliesMailTips.php
File metadata and controls
155 lines (148 loc) · 4.61 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AutomaticRepliesMailTips File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version GIT: 1.4.0
* @link https://graph.microsoft.io/
*/
namespace Microsoft\Graph\Model;
/**
* AutomaticRepliesMailTips class
*
* @category Model
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @version Release: 1.4.0
* @link https://graph.microsoft.io/
*/
class AutomaticRepliesMailTips extends Entity
{
/**
* Gets the message
* The automatic reply message.
*
* @return string The message
*/
public function getMessage()
{
if (array_key_exists("message", $this->_propDict)) {
return $this->_propDict["message"];
} else {
return null;
}
}
/**
* Sets the message
* The automatic reply message.
*
* @param string $val The value of the message
*
* @return AutomaticRepliesMailTips
*/
public function setMessage($val)
{
$this->_propDict["message"] = $val;
return $this;
}
/**
* Gets the messageLanguage
* The language that the automatic reply message is in.
*
* @return LocaleInfo The messageLanguage
*/
public function getMessageLanguage()
{
if (array_key_exists("messageLanguage", $this->_propDict)) {
if (is_a($this->_propDict["messageLanguage"], "Microsoft\Graph\Model\LocaleInfo")) {
return $this->_propDict["messageLanguage"];
} else {
$this->_propDict["messageLanguage"] = new LocaleInfo($this->_propDict["messageLanguage"]);
return $this->_propDict["messageLanguage"];
}
}
return null;
}
/**
* Sets the messageLanguage
* The language that the automatic reply message is in.
*
* @param LocaleInfo $val The value to assign to the messageLanguage
*
* @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
*/
public function setMessageLanguage($val)
{
$this->_propDict["messageLanguage"] = $val;
return $this;
}
/**
* Gets the scheduledStartTime
* The date and time that automatic replies are set to begin.
*
* @return DateTimeTimeZone The scheduledStartTime
*/
public function getScheduledStartTime()
{
if (array_key_exists("scheduledStartTime", $this->_propDict)) {
if (is_a($this->_propDict["scheduledStartTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
return $this->_propDict["scheduledStartTime"];
} else {
$this->_propDict["scheduledStartTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartTime"]);
return $this->_propDict["scheduledStartTime"];
}
}
return null;
}
/**
* Sets the scheduledStartTime
* The date and time that automatic replies are set to begin.
*
* @param DateTimeTimeZone $val The value to assign to the scheduledStartTime
*
* @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
*/
public function setScheduledStartTime($val)
{
$this->_propDict["scheduledStartTime"] = $val;
return $this;
}
/**
* Gets the scheduledEndTime
* The date and time that automatic replies are set to end.
*
* @return DateTimeTimeZone The scheduledEndTime
*/
public function getScheduledEndTime()
{
if (array_key_exists("scheduledEndTime", $this->_propDict)) {
if (is_a($this->_propDict["scheduledEndTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
return $this->_propDict["scheduledEndTime"];
} else {
$this->_propDict["scheduledEndTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndTime"]);
return $this->_propDict["scheduledEndTime"];
}
}
return null;
}
/**
* Sets the scheduledEndTime
* The date and time that automatic replies are set to end.
*
* @param DateTimeTimeZone $val The value to assign to the scheduledEndTime
*
* @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
*/
public function setScheduledEndTime($val)
{
$this->_propDict["scheduledEndTime"] = $val;
return $this;
}
}