Attachment.php
1 year ago
Attendee.php
1 year ago
AttendeeBase.php
1 year ago
AttendeeType.php
1 year ago
BodyType.php
1 year ago
Calendar.php
1 year ago
CalendarColor.php
1 year ago
DateTimeTimeZone.php
1 year ago
DayOfWeek.php
1 year ago
EmailAddress.php
1 year ago
Entity.php
1 year ago
Event.php
1 year ago
EventType.php
1 year ago
FileAttachment.php
6 months ago
FollowupFlag.php
1 year ago
FollowupFlagStatus.php
1 year ago
FreeBusyStatus.php
1 year ago
Importance.php
1 year ago
InferenceClassificationType.php
1 year ago
ItemBody.php
1 year ago
Location.php
1 year ago
Message.php
6 months ago
OnlineMeetingInfo.php
1 year ago
OnlineMeetingProviderType.php
1 year ago
OutlookGeoCoordinates.php
1 year ago
OutlookItem.php
1 year ago
PatternedRecurrence.php
1 year ago
Phone.php
1 year ago
PhoneType.php
1 year ago
PhysicalAddress.php
1 year ago
Recipient.php
1 year ago
RecurrencePattern.php
1 year ago
RecurrencePatternType.php
1 year ago
RecurrenceRange.php
1 year ago
RecurrenceRangeType.php
1 year ago
ResponseStatus.php
1 year ago
ResponseType.php
1 year ago
Sensitivity.php
1 year ago
SingleValueLegacyExtendedProperty.php
1 year ago
TimeSlot.php
1 year ago
WeekIndex.php
1 year ago
OutlookItem.php
152 lines
| 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 | * OutlookItem 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 | /** |
| 17 | * OutlookItem class |
| 18 | * |
| 19 | * @category Model |
| 20 | * @package Microsoft.Graph |
| 21 | * @copyright (c) Microsoft Corporation. All rights reserved. |
| 22 | * @license https://opensource.org/licenses/MIT MIT License |
| 23 | * @link https://graph.microsoft.com |
| 24 | */ |
| 25 | class OutlookItem extends Entity |
| 26 | { |
| 27 | /** |
| 28 | * Gets the categories |
| 29 | * The categories associated with the item |
| 30 | * |
| 31 | * @return string|null The categories |
| 32 | */ |
| 33 | public function getCategories() |
| 34 | { |
| 35 | if (array_key_exists("categories", $this->_propDict)) { |
| 36 | return $this->_propDict["categories"]; |
| 37 | } else { |
| 38 | return null; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Sets the categories |
| 44 | * The categories associated with the item |
| 45 | * |
| 46 | * @param string $val The categories |
| 47 | * |
| 48 | * @return OutlookItem |
| 49 | */ |
| 50 | public function setCategories($val) |
| 51 | { |
| 52 | $this->_propDict["categories"] = $val; |
| 53 | return $this; |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Gets the changeKey |
| 58 | * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. |
| 59 | * |
| 60 | * @return string|null The changeKey |
| 61 | */ |
| 62 | public function getChangeKey() |
| 63 | { |
| 64 | if (array_key_exists("changeKey", $this->_propDict)) { |
| 65 | return $this->_propDict["changeKey"]; |
| 66 | } else { |
| 67 | return null; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Sets the changeKey |
| 73 | * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. |
| 74 | * |
| 75 | * @param string $val The changeKey |
| 76 | * |
| 77 | * @return OutlookItem |
| 78 | */ |
| 79 | public function setChangeKey($val) |
| 80 | { |
| 81 | $this->_propDict["changeKey"] = $val; |
| 82 | return $this; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Gets the createdDateTime |
| 87 | * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z |
| 88 | * |
| 89 | * @return \DateTime|null The createdDateTime |
| 90 | */ |
| 91 | public function getCreatedDateTime() |
| 92 | { |
| 93 | if (array_key_exists("createdDateTime", $this->_propDict)) { |
| 94 | if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { |
| 95 | return $this->_propDict["createdDateTime"]; |
| 96 | } else { |
| 97 | $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); |
| 98 | return $this->_propDict["createdDateTime"]; |
| 99 | } |
| 100 | } |
| 101 | return null; |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Sets the createdDateTime |
| 106 | * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z |
| 107 | * |
| 108 | * @param \DateTime $val The createdDateTime |
| 109 | * |
| 110 | * @return OutlookItem |
| 111 | */ |
| 112 | public function setCreatedDateTime($val) |
| 113 | { |
| 114 | $this->_propDict["createdDateTime"] = $val; |
| 115 | return $this; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Gets the lastModifiedDateTime |
| 120 | * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z |
| 121 | * |
| 122 | * @return \DateTime|null The lastModifiedDateTime |
| 123 | */ |
| 124 | public function getLastModifiedDateTime() |
| 125 | { |
| 126 | if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { |
| 127 | if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { |
| 128 | return $this->_propDict["lastModifiedDateTime"]; |
| 129 | } else { |
| 130 | $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); |
| 131 | return $this->_propDict["lastModifiedDateTime"]; |
| 132 | } |
| 133 | } |
| 134 | return null; |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Sets the lastModifiedDateTime |
| 139 | * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z |
| 140 | * |
| 141 | * @param \DateTime $val The lastModifiedDateTime |
| 142 | * |
| 143 | * @return OutlookItem |
| 144 | */ |
| 145 | public function setLastModifiedDateTime($val) |
| 146 | { |
| 147 | $this->_propDict["lastModifiedDateTime"] = $val; |
| 148 | return $this; |
| 149 | } |
| 150 | |
| 151 | } |
| 152 |