157 lines
3.4 KiB
PHP
157 lines
3.4 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* GovernanceNotificationTemplate 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;
|
|
/**
|
|
* GovernanceNotificationTemplate 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 GovernanceNotificationTemplate extends Entity
|
|
{
|
|
/**
|
|
* Gets the culture
|
|
*
|
|
* @return string|null The culture
|
|
*/
|
|
public function getCulture()
|
|
{
|
|
if (array_key_exists("culture", $this->_propDict)) {
|
|
return $this->_propDict["culture"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the culture
|
|
*
|
|
* @param string $val The value of the culture
|
|
*
|
|
* @return GovernanceNotificationTemplate
|
|
*/
|
|
public function setCulture($val)
|
|
{
|
|
$this->_propDict["culture"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the id
|
|
*
|
|
* @return string|null The id
|
|
*/
|
|
public function getId()
|
|
{
|
|
if (array_key_exists("id", $this->_propDict)) {
|
|
return $this->_propDict["id"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the id
|
|
*
|
|
* @param string $val The value of the id
|
|
*
|
|
* @return GovernanceNotificationTemplate
|
|
*/
|
|
public function setId($val)
|
|
{
|
|
$this->_propDict["id"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the source
|
|
*
|
|
* @return string|null The source
|
|
*/
|
|
public function getSource()
|
|
{
|
|
if (array_key_exists("source", $this->_propDict)) {
|
|
return $this->_propDict["source"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the source
|
|
*
|
|
* @param string $val The value of the source
|
|
*
|
|
* @return GovernanceNotificationTemplate
|
|
*/
|
|
public function setSource($val)
|
|
{
|
|
$this->_propDict["source"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the type
|
|
*
|
|
* @return string|null The type
|
|
*/
|
|
public function getType()
|
|
{
|
|
if (array_key_exists("type", $this->_propDict)) {
|
|
return $this->_propDict["type"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the type
|
|
*
|
|
* @param string $val The value of the type
|
|
*
|
|
* @return GovernanceNotificationTemplate
|
|
*/
|
|
public function setType($val)
|
|
{
|
|
$this->_propDict["type"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the version
|
|
*
|
|
* @return string|null The version
|
|
*/
|
|
public function getVersion()
|
|
{
|
|
if (array_key_exists("version", $this->_propDict)) {
|
|
return $this->_propDict["version"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the version
|
|
*
|
|
* @param string $val The value of the version
|
|
*
|
|
* @return GovernanceNotificationTemplate
|
|
*/
|
|
public function setVersion($val)
|
|
{
|
|
$this->_propDict["version"] = $val;
|
|
return $this;
|
|
}
|
|
}
|