1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageResponse.php

90 lines
2.5 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EventMessageResponse 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 Beta\Microsoft\Graph\Model;
/**
* EventMessageResponse 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 EventMessageResponse extends EventMessage
{
/**
* Gets the proposedNewTime
*
* @return TimeSlot|null The proposedNewTime
*/
public function getProposedNewTime()
{
if (array_key_exists("proposedNewTime", $this->_propDict)) {
if (is_a($this->_propDict["proposedNewTime"], "\Beta\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["proposedNewTime"])) {
return $this->_propDict["proposedNewTime"];
} else {
$this->_propDict["proposedNewTime"] = new TimeSlot($this->_propDict["proposedNewTime"]);
return $this->_propDict["proposedNewTime"];
}
}
return null;
}
/**
* Sets the proposedNewTime
*
* @param TimeSlot $val The proposedNewTime
*
* @return EventMessageResponse
*/
public function setProposedNewTime($val)
{
$this->_propDict["proposedNewTime"] = $val;
return $this;
}
/**
* Gets the responseType
*
* @return ResponseType|null The responseType
*/
public function getResponseType()
{
if (array_key_exists("responseType", $this->_propDict)) {
if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\ResponseType") || is_null($this->_propDict["responseType"])) {
return $this->_propDict["responseType"];
} else {
$this->_propDict["responseType"] = new ResponseType($this->_propDict["responseType"]);
return $this->_propDict["responseType"];
}
}
return null;
}
/**
* Sets the responseType
*
* @param ResponseType $val The responseType
*
* @return EventMessageResponse
*/
public function setResponseType($val)
{
$this->_propDict["responseType"] = $val;
return $this;
}
}