whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
Model
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/vendor/microsoft/microsoft-graph/src/Model/Calendar.php
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * Calendar 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; /** * Calendar 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 Calendar extends Entity { /** * Gets the allowedOnlineMeetingProviders * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. * * @return array|null The allowedOnlineMeetingProviders */ public function getAllowedOnlineMeetingProviders() { if (array_key_exists("allowedOnlineMeetingProviders", $this->_propDict)) { return $this->_propDict["allowedOnlineMeetingProviders"]; } else { return null; } } /** * Sets the allowedOnlineMeetingProviders * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. * * @param OnlineMeetingProviderType[] $val The allowedOnlineMeetingProviders * * @return Calendar */ public function setAllowedOnlineMeetingProviders($val) { $this->_propDict["allowedOnlineMeetingProviders"] = $val; return $this; } /** * Gets the canEdit * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. * * @return bool|null The canEdit */ public function getCanEdit() { if (array_key_exists("canEdit", $this->_propDict)) { return $this->_propDict["canEdit"]; } else { return null; } } /** * Sets the canEdit * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access. * * @param bool $val The canEdit * * @return Calendar */ public function setCanEdit($val) { $this->_propDict["canEdit"] = boolval($val); return $this; } /** * Gets the canShare * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. * * @return bool|null The canShare */ public function getCanShare() { if (array_key_exists("canShare", $this->_propDict)) { return $this->_propDict["canShare"]; } else { return null; } } /** * Sets the canShare * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. * * @param bool $val The canShare * * @return Calendar */ public function setCanShare($val) { $this->_propDict["canShare"] = boolval($val); return $this; } /** * Gets the canViewPrivateItems * true if the user can read calendar items that have been marked private, false otherwise. * * @return bool|null The canViewPrivateItems */ public function getCanViewPrivateItems() { if (array_key_exists("canViewPrivateItems", $this->_propDict)) { return $this->_propDict["canViewPrivateItems"]; } else { return null; } } /** * Sets the canViewPrivateItems * true if the user can read calendar items that have been marked private, false otherwise. * * @param bool $val The canViewPrivateItems * * @return Calendar */ public function setCanViewPrivateItems($val) { $this->_propDict["canViewPrivateItems"] = boolval($val); return $this; } /** * Gets the changeKey * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. * * @return string|null The changeKey */ public function getChangeKey() { if (array_key_exists("changeKey", $this->_propDict)) { return $this->_propDict["changeKey"]; } else { return null; } } /** * Sets the changeKey * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. * * @param string $val The changeKey * * @return Calendar */ public function setChangeKey($val) { $this->_propDict["changeKey"] = $val; return $this; } /** * Gets the color * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. * * @return CalendarColor|null The color */ public function getColor() { if (array_key_exists("color", $this->_propDict)) { if (is_a($this->_propDict["color"], "\Microsoft\Graph\Model\CalendarColor") || is_null($this->_propDict["color"])) { return $this->_propDict["color"]; } else { $this->_propDict["color"] = new CalendarColor($this->_propDict["color"]); return $this->_propDict["color"]; } } return null; } /** * Sets the color * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. * * @param CalendarColor $val The color * * @return Calendar */ public function setColor($val) { $this->_propDict["color"] = $val; return $this; } /** * Gets the defaultOnlineMeetingProvider * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. * * @return OnlineMeetingProviderType|null The defaultOnlineMeetingProvider */ public function getDefaultOnlineMeetingProvider() { if (array_key_exists("defaultOnlineMeetingProvider", $this->_propDict)) { if (is_a($this->_propDict["defaultOnlineMeetingProvider"], "\Microsoft\Graph\Model\OnlineMeetingProviderType") || is_null($this->_propDict["defaultOnlineMeetingProvider"])) { return $this->_propDict["defaultOnlineMeetingProvider"]; } else { $this->_propDict["defaultOnlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["defaultOnlineMeetingProvider"]); return $this->_propDict["defaultOnlineMeetingProvider"]; } } return null; } /** * Sets the defaultOnlineMeetingProvider * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. * * @param OnlineMeetingProviderType $val The defaultOnlineMeetingProvider * * @return Calendar */ public function setDefaultOnlineMeetingProvider($val) { $this->_propDict["defaultOnlineMeetingProvider"] = $val; return $this; } /** * Gets the hexColor * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. Read-only. * * @return string|null The hexColor */ public function getHexColor() { if (array_key_exists("hexColor", $this->_propDict)) { return $this->_propDict["hexColor"]; } else { return null; } } /** * Sets the hexColor * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. Read-only. * * @param string $val The hexColor * * @return Calendar */ public function setHexColor($val) { $this->_propDict["hexColor"] = $val; return $this; } /** * Gets the isDefaultCalendar * true if this is the default calendar where new events are created by default, false otherwise. * * @return bool|null The isDefaultCalendar */ public function getIsDefaultCalendar() { if (array_key_exists("isDefaultCalendar", $this->_propDict)) { return $this->_propDict["isDefaultCalendar"]; } else { return null; } } /** * Sets the isDefaultCalendar * true if this is the default calendar where new events are created by default, false otherwise. * * @param bool $val The isDefaultCalendar * * @return Calendar */ public function setIsDefaultCalendar($val) { $this->_propDict["isDefaultCalendar"] = boolval($val); return $this; } /** * Gets the isRemovable * Indicates whether this user calendar can be deleted from the user mailbox. * * @return bool|null The isRemovable */ public function getIsRemovable() { if (array_key_exists("isRemovable", $this->_propDict)) { return $this->_propDict["isRemovable"]; } else { return null; } } /** * Sets the isRemovable * Indicates whether this user calendar can be deleted from the user mailbox. * * @param bool $val The isRemovable * * @return Calendar */ public function setIsRemovable($val) { $this->_propDict["isRemovable"] = boolval($val); return $this; } /** * Gets the isTallyingResponses * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. * * @return bool|null The isTallyingResponses */ public function getIsTallyingResponses() { if (array_key_exists("isTallyingResponses", $this->_propDict)) { return $this->_propDict["isTallyingResponses"]; } else { return null; } } /** * Sets the isTallyingResponses * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. * * @param bool $val The isTallyingResponses * * @return Calendar */ public function setIsTallyingResponses($val) { $this->_propDict["isTallyingResponses"] = boolval($val); return $this; } /** * Gets the name * The calendar 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 * The calendar name. * * @param string $val The name * * @return Calendar */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the owner * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. * * @return EmailAddress|null The owner */ public function getOwner() { if (array_key_exists("owner", $this->_propDict)) { if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["owner"])) { return $this->_propDict["owner"]; } else { $this->_propDict["owner"] = new EmailAddress($this->_propDict["owner"]); return $this->_propDict["owner"]; } } return null; } /** * Sets the owner * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. * * @param EmailAddress $val The owner * * @return Calendar */ public function setOwner($val) { $this->_propDict["owner"] = $val; return $this; } /** * Gets the calendarPermissions * The permissions of the users with whom the calendar is shared. * * @return array|null The calendarPermissions */ public function getCalendarPermissions() { if (array_key_exists("calendarPermissions", $this->_propDict)) { return $this->_propDict["calendarPermissions"]; } else { return null; } } /** * Sets the calendarPermissions * The permissions of the users with whom the calendar is shared. * * @param CalendarPermission[] $val The calendarPermissions * * @return Calendar */ public function setCalendarPermissions($val) { $this->_propDict["calendarPermissions"] = $val; return $this; } /** * Gets the calendarView * The calendar view for the calendar. Navigation property. Read-only. * * @return array|null The calendarView */ public function getCalendarView() { if (array_key_exists("calendarView", $this->_propDict)) { return $this->_propDict["calendarView"]; } else { return null; } } /** * Sets the calendarView * The calendar view for the calendar. Navigation property. Read-only. * * @param Event[] $val The calendarView * * @return Calendar */ public function setCalendarView($val) { $this->_propDict["calendarView"] = $val; return $this; } /** * Gets the events * The events in the calendar. Navigation property. Read-only. * * @return array|null The events */ public function getEvents() { if (array_key_exists("events", $this->_propDict)) { return $this->_propDict["events"]; } else { return null; } } /** * Sets the events * The events in the calendar. Navigation property. Read-only. * * @param Event[] $val The events * * @return Calendar */ public function setEvents($val) { $this->_propDict["events"] = $val; return $this; } /** * Gets the multiValueExtendedProperties * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. * * @return array|null The multiValueExtendedProperties */ public function getMultiValueExtendedProperties() { if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { return $this->_propDict["multiValueExtendedProperties"]; } else { return null; } } /** * Sets the multiValueExtendedProperties * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. * * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties * * @return Calendar */ public function setMultiValueExtendedProperties($val) { $this->_propDict["multiValueExtendedProperties"] = $val; return $this; } /** * Gets the singleValueExtendedProperties * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. * * @return array|null The singleValueExtendedProperties */ public function getSingleValueExtendedProperties() { if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { return $this->_propDict["singleValueExtendedProperties"]; } else { return null; } } /** * Sets the singleValueExtendedProperties * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. * * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties * * @return Calendar */ public function setSingleValueExtendedProperties($val) { $this->_propDict["singleValueExtendedProperties"] = $val; return $this; } }
Copyright ©2021 || Defacer Indonesia