code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function setTarget($val)
{
$this->_propDict["target"] = $val;
return $this;
} | Sets the target
The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values.
@param string $val The value of the target
@return CrossTenantAccessPolicyTarget | setTarget | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | MIT |
public function getTargetType()
{
if (array_key_exists("targetType", $this->_propDict)) {
if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetType") || is_null($this->_propDict["targetType"])) {
return $this->_propDict["targetType"];
} else {
$this->_propDict["targetType"] = new CrossTenantAccessPolicyTargetType($this->_propDict["targetType"]);
return $this->_propDict["targetType"];
}
}
return null;
} | Gets the targetType
The type of resource that you want to target. The possible values are: user, group, application, unknownFutureValue.
@return CrossTenantAccessPolicyTargetType|null The targetType | getTargetType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | MIT |
public function setTargetType($val)
{
$this->_propDict["targetType"] = $val;
return $this;
} | Sets the targetType
The type of resource that you want to target. The possible values are: user, group, application, unknownFutureValue.
@param CrossTenantAccessPolicyTargetType $val The value to assign to the targetType
@return CrossTenantAccessPolicyTarget The CrossTenantAccessPolicyTarget | setTargetType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php | MIT |
public function getLastUsed()
{
if (array_key_exists("lastUsed", $this->_propDict)) {
if (is_a($this->_propDict["lastUsed"], "\Beta\Microsoft\Graph\Model\UsageDetails") || is_null($this->_propDict["lastUsed"])) {
return $this->_propDict["lastUsed"];
} else {
$this->_propDict["lastUsed"] = new UsageDetails($this->_propDict["lastUsed"]);
return $this->_propDict["lastUsed"];
}
}
return null;
} | Gets the lastUsed
Information about when the item was last viewed or modified by the user. Read only.
@return UsageDetails|null The lastUsed | getLastUsed | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function setLastUsed($val)
{
$this->_propDict["lastUsed"] = $val;
return $this;
} | Sets the lastUsed
Information about when the item was last viewed or modified by the user. Read only.
@param UsageDetails $val The lastUsed
@return UsedInsight | setLastUsed | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function getResourceReference()
{
if (array_key_exists("resourceReference", $this->_propDict)) {
if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) {
return $this->_propDict["resourceReference"];
} else {
$this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]);
return $this->_propDict["resourceReference"];
}
}
return null;
} | Gets the resourceReference
Reference properties of the used document, such as the url and type of the document. Read-only
@return ResourceReference|null The resourceReference | getResourceReference | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function setResourceReference($val)
{
$this->_propDict["resourceReference"] = $val;
return $this;
} | Sets the resourceReference
Reference properties of the used document, such as the url and type of the document. Read-only
@param ResourceReference $val The resourceReference
@return UsedInsight | setResourceReference | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function getResourceVisualization()
{
if (array_key_exists("resourceVisualization", $this->_propDict)) {
if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) {
return $this->_propDict["resourceVisualization"];
} else {
$this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]);
return $this->_propDict["resourceVisualization"];
}
}
return null;
} | Gets the resourceVisualization
Properties that you can use to visualize the document in your experience. Read-only
@return ResourceVisualization|null The resourceVisualization | getResourceVisualization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function setResourceVisualization($val)
{
$this->_propDict["resourceVisualization"] = $val;
return $this;
} | Sets the resourceVisualization
Properties that you can use to visualize the document in your experience. Read-only
@param ResourceVisualization $val The resourceVisualization
@return UsedInsight | setResourceVisualization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function getResource()
{
if (array_key_exists("resource", $this->_propDict)) {
if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) {
return $this->_propDict["resource"];
} else {
$this->_propDict["resource"] = new Entity($this->_propDict["resource"]);
return $this->_propDict["resource"];
}
}
return null;
} | Gets the resource
Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem.
@return Entity|null The resource | getResource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
public function setResource($val)
{
$this->_propDict["resource"] = $val;
return $this;
} | Sets the resource
Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem.
@param Entity $val The resource
@return UsedInsight | setResource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsedInsight.php | MIT |
function getHTTPCode() {
return 412;
} | Returns the HTTP statuscode for this exception
@return int | getHTTPCode | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/Exception/PreconditionFailed.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/Exception/PreconditionFailed.php | MIT |
function serialize(DAV\Server $server, \DOMElement $errorNode) {
if ($this->header) {
$prop = $errorNode->ownerDocument->createElement('s:header');
$prop->nodeValue = $this->header;
$errorNode->appendChild($prop);
}
} | This method allows the exception to include additional information into the WebDAV error response
@param DAV\Server $server
@param \DOMElement $errorNode
@return void | serialize | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/Exception/PreconditionFailed.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/Exception/PreconditionFailed.php | MIT |
public function setContentTypeHeader($header = 'application/json')
{
$this->jsonContentType = $header;
return $this;
} | Set the Content-Type header to add to the request if JSON is added to the body. This visitor does not add a
Content-Type header unless you specify one here.
@param string $header Header to set when JSON is added (e.g. application/json)
@return self | setContentTypeHeader | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/JsonVisitor.php | MIT |
public function getAllowedRoles()
{
if (array_key_exists("allowedRoles", $this->_propDict)) {
return $this->_propDict["allowedRoles"];
} else {
return null;
}
} | Gets the allowedRoles
List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
@return array|null The allowedRoles | getAllowedRoles | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function setAllowedRoles($val)
{
$this->_propDict["allowedRoles"] = $val;
return $this;
} | Sets the allowedRoles
List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
@param CalendarRoleType[] $val The allowedRoles
@return CalendarPermission | setAllowedRoles | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function getEmailAddress()
{
if (array_key_exists("emailAddress", $this->_propDict)) {
if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) {
return $this->_propDict["emailAddress"];
} else {
$this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]);
return $this->_propDict["emailAddress"];
}
}
return null;
} | Gets the emailAddress
Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only.
@return EmailAddress|null The emailAddress | getEmailAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function setEmailAddress($val)
{
$this->_propDict["emailAddress"] = $val;
return $this;
} | Sets the emailAddress
Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only.
@param EmailAddress $val The emailAddress
@return CalendarPermission | setEmailAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function getIsInsideOrganization()
{
if (array_key_exists("isInsideOrganization", $this->_propDict)) {
return $this->_propDict["isInsideOrganization"];
} else {
return null;
}
} | Gets the isInsideOrganization
True if the user in context (sharee or delegate) is inside the same organization as the calendar owner.
@return bool|null The isInsideOrganization | getIsInsideOrganization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function setIsInsideOrganization($val)
{
$this->_propDict["isInsideOrganization"] = boolval($val);
return $this;
} | Sets the isInsideOrganization
True if the user in context (sharee or delegate) is inside the same organization as the calendar owner.
@param bool $val The isInsideOrganization
@return CalendarPermission | setIsInsideOrganization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function getIsRemovable()
{
if (array_key_exists("isRemovable", $this->_propDict)) {
return $this->_propDict["isRemovable"];
} else {
return null;
}
} | Gets the isRemovable
True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar.
@return bool|null The isRemovable | getIsRemovable | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function setIsRemovable($val)
{
$this->_propDict["isRemovable"] = boolval($val);
return $this;
} | Sets the isRemovable
True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar.
@param bool $val The isRemovable
@return CalendarPermission | setIsRemovable | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function getRole()
{
if (array_key_exists("role", $this->_propDict)) {
if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\CalendarRoleType") || is_null($this->_propDict["role"])) {
return $this->_propDict["role"];
} else {
$this->_propDict["role"] = new CalendarRoleType($this->_propDict["role"]);
return $this->_propDict["role"];
}
}
return null;
} | Gets the role
Current permission level of the calendar sharee or delegate.
@return CalendarRoleType|null The role | getRole | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function setRole($val)
{
$this->_propDict["role"] = $val;
return $this;
} | Sets the role
Current permission level of the calendar sharee or delegate.
@param CalendarRoleType $val The role
@return CalendarPermission | setRole | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php | MIT |
public function getAudio()
{
if (array_key_exists("audio", $this->_propDict)) {
if (is_a($this->_propDict["audio"], "\Beta\Microsoft\Graph\Model\Audio") || is_null($this->_propDict["audio"])) {
return $this->_propDict["audio"];
} else {
$this->_propDict["audio"] = new Audio($this->_propDict["audio"]);
return $this->_propDict["audio"];
}
}
return null;
} | Gets the audio
Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal.
@return Audio|null The audio | getAudio | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setAudio($val)
{
$this->_propDict["audio"] = $val;
return $this;
} | Sets the audio
Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal.
@param Audio $val The audio
@return DriveItem | setAudio | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getBundle()
{
if (array_key_exists("bundle", $this->_propDict)) {
if (is_a($this->_propDict["bundle"], "\Beta\Microsoft\Graph\Model\Bundle") || is_null($this->_propDict["bundle"])) {
return $this->_propDict["bundle"];
} else {
$this->_propDict["bundle"] = new Bundle($this->_propDict["bundle"]);
return $this->_propDict["bundle"];
}
}
return null;
} | Gets the bundle
Bundle metadata, if the item is a bundle. Read-only.
@return Bundle|null The bundle | getBundle | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setBundle($val)
{
$this->_propDict["bundle"] = $val;
return $this;
} | Sets the bundle
Bundle metadata, if the item is a bundle. Read-only.
@param Bundle $val The bundle
@return DriveItem | setBundle | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) {
return $this->_propDict["content"];
} else {
$this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]);
return $this->_propDict["content"];
}
}
return null;
} | Gets the content
The content stream, if the item represents a file.
@return \GuzzleHttp\Psr7\Stream|null The content | getContent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
} | Sets the content
The content stream, if the item represents a file.
@param \GuzzleHttp\Psr7\Stream $val The content
@return DriveItem | setContent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getCTag()
{
if (array_key_exists("cTag", $this->_propDict)) {
return $this->_propDict["cTag"];
} else {
return null;
}
} | Gets the cTag
An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
@return string|null The cTag | getCTag | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setCTag($val)
{
$this->_propDict["cTag"] = $val;
return $this;
} | Sets the cTag
An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
@param string $val The cTag
@return DriveItem | setCTag | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getDeleted()
{
if (array_key_exists("deleted", $this->_propDict)) {
if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\Deleted") || is_null($this->_propDict["deleted"])) {
return $this->_propDict["deleted"];
} else {
$this->_propDict["deleted"] = new Deleted($this->_propDict["deleted"]);
return $this->_propDict["deleted"];
}
}
return null;
} | Gets the deleted
Information about the deleted state of the item. Read-only.
@return Deleted|null The deleted | getDeleted | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setDeleted($val)
{
$this->_propDict["deleted"] = $val;
return $this;
} | Sets the deleted
Information about the deleted state of the item. Read-only.
@param Deleted $val The deleted
@return DriveItem | setDeleted | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getFile()
{
if (array_key_exists("file", $this->_propDict)) {
if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\File") || is_null($this->_propDict["file"])) {
return $this->_propDict["file"];
} else {
$this->_propDict["file"] = new File($this->_propDict["file"]);
return $this->_propDict["file"];
}
}
return null;
} | Gets the file
File metadata, if the item is a file. Read-only.
@return File|null The file | getFile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setFile($val)
{
$this->_propDict["file"] = $val;
return $this;
} | Sets the file
File metadata, if the item is a file. Read-only.
@param File $val The file
@return DriveItem | setFile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getFileSystemInfo()
{
if (array_key_exists("fileSystemInfo", $this->_propDict)) {
if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) {
return $this->_propDict["fileSystemInfo"];
} else {
$this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]);
return $this->_propDict["fileSystemInfo"];
}
}
return null;
} | Gets the fileSystemInfo
File system information on client. Read-write.
@return FileSystemInfo|null The fileSystemInfo | getFileSystemInfo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setFileSystemInfo($val)
{
$this->_propDict["fileSystemInfo"] = $val;
return $this;
} | Sets the fileSystemInfo
File system information on client. Read-write.
@param FileSystemInfo $val The fileSystemInfo
@return DriveItem | setFileSystemInfo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getFolder()
{
if (array_key_exists("folder", $this->_propDict)) {
if (is_a($this->_propDict["folder"], "\Beta\Microsoft\Graph\Model\Folder") || is_null($this->_propDict["folder"])) {
return $this->_propDict["folder"];
} else {
$this->_propDict["folder"] = new Folder($this->_propDict["folder"]);
return $this->_propDict["folder"];
}
}
return null;
} | Gets the folder
Folder metadata, if the item is a folder. Read-only.
@return Folder|null The folder | getFolder | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setFolder($val)
{
$this->_propDict["folder"] = $val;
return $this;
} | Sets the folder
Folder metadata, if the item is a folder. Read-only.
@param Folder $val The folder
@return DriveItem | setFolder | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getImage()
{
if (array_key_exists("image", $this->_propDict)) {
if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\Model\Image") || is_null($this->_propDict["image"])) {
return $this->_propDict["image"];
} else {
$this->_propDict["image"] = new Image($this->_propDict["image"]);
return $this->_propDict["image"];
}
}
return null;
} | Gets the image
Image metadata, if the item is an image. Read-only.
@return Image|null The image | getImage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setImage($val)
{
$this->_propDict["image"] = $val;
return $this;
} | Sets the image
Image metadata, if the item is an image. Read-only.
@param Image $val The image
@return DriveItem | setImage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getLocation()
{
if (array_key_exists("location", $this->_propDict)) {
if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["location"])) {
return $this->_propDict["location"];
} else {
$this->_propDict["location"] = new GeoCoordinates($this->_propDict["location"]);
return $this->_propDict["location"];
}
}
return null;
} | Gets the location
Location metadata, if the item has location data. Read-only.
@return GeoCoordinates|null The location | getLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setLocation($val)
{
$this->_propDict["location"] = $val;
return $this;
} | Sets the location
Location metadata, if the item has location data. Read-only.
@param GeoCoordinates $val The location
@return DriveItem | setLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getMalware()
{
if (array_key_exists("malware", $this->_propDict)) {
if (is_a($this->_propDict["malware"], "\Beta\Microsoft\Graph\Model\Malware") || is_null($this->_propDict["malware"])) {
return $this->_propDict["malware"];
} else {
$this->_propDict["malware"] = new Malware($this->_propDict["malware"]);
return $this->_propDict["malware"];
}
}
return null;
} | Gets the malware
Malware metadata, if the item was detected to contain malware. Read-only.
@return Malware|null The malware | getMalware | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setMalware($val)
{
$this->_propDict["malware"] = $val;
return $this;
} | Sets the malware
Malware metadata, if the item was detected to contain malware. Read-only.
@param Malware $val The malware
@return DriveItem | setMalware | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getMedia()
{
if (array_key_exists("media", $this->_propDict)) {
if (is_a($this->_propDict["media"], "\Beta\Microsoft\Graph\Model\Media") || is_null($this->_propDict["media"])) {
return $this->_propDict["media"];
} else {
$this->_propDict["media"] = new Media($this->_propDict["media"]);
return $this->_propDict["media"];
}
}
return null;
} | Gets the media
Information about the media (audio or video) item. Read-write. Only on OneDrive for Business and SharePoint.
@return Media|null The media | getMedia | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setMedia($val)
{
$this->_propDict["media"] = $val;
return $this;
} | Sets the media
Information about the media (audio or video) item. Read-write. Only on OneDrive for Business and SharePoint.
@param Media $val The media
@return DriveItem | setMedia | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getPackage()
{
if (array_key_exists("package", $this->_propDict)) {
if (is_a($this->_propDict["package"], "\Beta\Microsoft\Graph\Model\Package") || is_null($this->_propDict["package"])) {
return $this->_propDict["package"];
} else {
$this->_propDict["package"] = new Package($this->_propDict["package"]);
return $this->_propDict["package"];
}
}
return null;
} | Gets the package
If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.
@return Package|null The package | getPackage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setPackage($val)
{
$this->_propDict["package"] = $val;
return $this;
} | Sets the package
If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.
@param Package $val The package
@return DriveItem | setPackage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getPendingOperations()
{
if (array_key_exists("pendingOperations", $this->_propDict)) {
if (is_a($this->_propDict["pendingOperations"], "\Beta\Microsoft\Graph\Model\PendingOperations") || is_null($this->_propDict["pendingOperations"])) {
return $this->_propDict["pendingOperations"];
} else {
$this->_propDict["pendingOperations"] = new PendingOperations($this->_propDict["pendingOperations"]);
return $this->_propDict["pendingOperations"];
}
}
return null;
} | Gets the pendingOperations
If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only.
@return PendingOperations|null The pendingOperations | getPendingOperations | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setPendingOperations($val)
{
$this->_propDict["pendingOperations"] = $val;
return $this;
} | Sets the pendingOperations
If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only.
@param PendingOperations $val The pendingOperations
@return DriveItem | setPendingOperations | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getPhoto()
{
if (array_key_exists("photo", $this->_propDict)) {
if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\Photo") || is_null($this->_propDict["photo"])) {
return $this->_propDict["photo"];
} else {
$this->_propDict["photo"] = new Photo($this->_propDict["photo"]);
return $this->_propDict["photo"];
}
}
return null;
} | Gets the photo
Photo metadata, if the item is a photo. Read-only.
@return Photo|null The photo | getPhoto | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setPhoto($val)
{
$this->_propDict["photo"] = $val;
return $this;
} | Sets the photo
Photo metadata, if the item is a photo. Read-only.
@param Photo $val The photo
@return DriveItem | setPhoto | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getPublication()
{
if (array_key_exists("publication", $this->_propDict)) {
if (is_a($this->_propDict["publication"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publication"])) {
return $this->_propDict["publication"];
} else {
$this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]);
return $this->_propDict["publication"];
}
}
return null;
} | Gets the publication
Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only.
@return PublicationFacet|null The publication | getPublication | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setPublication($val)
{
$this->_propDict["publication"] = $val;
return $this;
} | Sets the publication
Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only.
@param PublicationFacet $val The publication
@return DriveItem | setPublication | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getRemoteItem()
{
if (array_key_exists("remoteItem", $this->_propDict)) {
if (is_a($this->_propDict["remoteItem"], "\Beta\Microsoft\Graph\Model\RemoteItem") || is_null($this->_propDict["remoteItem"])) {
return $this->_propDict["remoteItem"];
} else {
$this->_propDict["remoteItem"] = new RemoteItem($this->_propDict["remoteItem"]);
return $this->_propDict["remoteItem"];
}
}
return null;
} | Gets the remoteItem
Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
@return RemoteItem|null The remoteItem | getRemoteItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setRemoteItem($val)
{
$this->_propDict["remoteItem"] = $val;
return $this;
} | Sets the remoteItem
Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
@param RemoteItem $val The remoteItem
@return DriveItem | setRemoteItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getRoot()
{
if (array_key_exists("root", $this->_propDict)) {
if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) {
return $this->_propDict["root"];
} else {
$this->_propDict["root"] = new Root($this->_propDict["root"]);
return $this->_propDict["root"];
}
}
return null;
} | Gets the root
If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.
@return Root|null The root | getRoot | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setRoot($val)
{
$this->_propDict["root"] = $val;
return $this;
} | Sets the root
If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.
@param Root $val The root
@return DriveItem | setRoot | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSearchResult()
{
if (array_key_exists("searchResult", $this->_propDict)) {
if (is_a($this->_propDict["searchResult"], "\Beta\Microsoft\Graph\Model\SearchResult") || is_null($this->_propDict["searchResult"])) {
return $this->_propDict["searchResult"];
} else {
$this->_propDict["searchResult"] = new SearchResult($this->_propDict["searchResult"]);
return $this->_propDict["searchResult"];
}
}
return null;
} | Gets the searchResult
Search metadata, if the item is from a search result. Read-only.
@return SearchResult|null The searchResult | getSearchResult | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSearchResult($val)
{
$this->_propDict["searchResult"] = $val;
return $this;
} | Sets the searchResult
Search metadata, if the item is from a search result. Read-only.
@param SearchResult $val The searchResult
@return DriveItem | setSearchResult | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getShared()
{
if (array_key_exists("shared", $this->_propDict)) {
if (is_a($this->_propDict["shared"], "\Beta\Microsoft\Graph\Model\Shared") || is_null($this->_propDict["shared"])) {
return $this->_propDict["shared"];
} else {
$this->_propDict["shared"] = new Shared($this->_propDict["shared"]);
return $this->_propDict["shared"];
}
}
return null;
} | Gets the shared
Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
@return Shared|null The shared | getShared | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setShared($val)
{
$this->_propDict["shared"] = $val;
return $this;
} | Sets the shared
Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
@param Shared $val The shared
@return DriveItem | setShared | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSharepointIds()
{
if (array_key_exists("sharepointIds", $this->_propDict)) {
if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) {
return $this->_propDict["sharepointIds"];
} else {
$this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]);
return $this->_propDict["sharepointIds"];
}
}
return null;
} | Gets the sharepointIds
Returns identifiers useful for SharePoint REST compatibility. Read-only.
@return SharepointIds|null The sharepointIds | getSharepointIds | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSharepointIds($val)
{
$this->_propDict["sharepointIds"] = $val;
return $this;
} | Sets the sharepointIds
Returns identifiers useful for SharePoint REST compatibility. Read-only.
@param SharepointIds $val The sharepointIds
@return DriveItem | setSharepointIds | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSize()
{
if (array_key_exists("size", $this->_propDict)) {
return $this->_propDict["size"];
} else {
return null;
}
} | Gets the size
Size of the item in bytes. Read-only.
@return int|null The size | getSize | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSize($val)
{
$this->_propDict["size"] = intval($val);
return $this;
} | Sets the size
Size of the item in bytes. Read-only.
@param int $val The size
@return DriveItem | setSize | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSource()
{
if (array_key_exists("source", $this->_propDict)) {
if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DriveItemSource") || is_null($this->_propDict["source"])) {
return $this->_propDict["source"];
} else {
$this->_propDict["source"] = new DriveItemSource($this->_propDict["source"]);
return $this->_propDict["source"];
}
}
return null;
} | Gets the source
Information about the drive item source. Read-only. Only on OneDrive for Business and SharePoint.
@return DriveItemSource|null The source | getSource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSource($val)
{
$this->_propDict["source"] = $val;
return $this;
} | Sets the source
Information about the drive item source. Read-only. Only on OneDrive for Business and SharePoint.
@param DriveItemSource $val The source
@return DriveItem | setSource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSpecialFolder()
{
if (array_key_exists("specialFolder", $this->_propDict)) {
if (is_a($this->_propDict["specialFolder"], "\Beta\Microsoft\Graph\Model\SpecialFolder") || is_null($this->_propDict["specialFolder"])) {
return $this->_propDict["specialFolder"];
} else {
$this->_propDict["specialFolder"] = new SpecialFolder($this->_propDict["specialFolder"]);
return $this->_propDict["specialFolder"];
}
}
return null;
} | Gets the specialFolder
If the current item is also available as a special folder, this facet is returned. Read-only.
@return SpecialFolder|null The specialFolder | getSpecialFolder | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSpecialFolder($val)
{
$this->_propDict["specialFolder"] = $val;
return $this;
} | Sets the specialFolder
If the current item is also available as a special folder, this facet is returned. Read-only.
@param SpecialFolder $val The specialFolder
@return DriveItem | setSpecialFolder | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getVideo()
{
if (array_key_exists("video", $this->_propDict)) {
if (is_a($this->_propDict["video"], "\Beta\Microsoft\Graph\Model\Video") || is_null($this->_propDict["video"])) {
return $this->_propDict["video"];
} else {
$this->_propDict["video"] = new Video($this->_propDict["video"]);
return $this->_propDict["video"];
}
}
return null;
} | Gets the video
Video metadata, if the item is a video. Read-only.
@return Video|null The video | getVideo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setVideo($val)
{
$this->_propDict["video"] = $val;
return $this;
} | Sets the video
Video metadata, if the item is a video. Read-only.
@param Video $val The video
@return DriveItem | setVideo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getWebDavUrl()
{
if (array_key_exists("webDavUrl", $this->_propDict)) {
return $this->_propDict["webDavUrl"];
} else {
return null;
}
} | Gets the webDavUrl
WebDAV compatible URL for the item.
@return string|null The webDavUrl | getWebDavUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setWebDavUrl($val)
{
$this->_propDict["webDavUrl"] = $val;
return $this;
} | Sets the webDavUrl
WebDAV compatible URL for the item.
@param string $val The webDavUrl
@return DriveItem | setWebDavUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getWorkbook()
{
if (array_key_exists("workbook", $this->_propDict)) {
if (is_a($this->_propDict["workbook"], "\Beta\Microsoft\Graph\Model\Workbook") || is_null($this->_propDict["workbook"])) {
return $this->_propDict["workbook"];
} else {
$this->_propDict["workbook"] = new Workbook($this->_propDict["workbook"]);
return $this->_propDict["workbook"];
}
}
return null;
} | Gets the workbook
For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable.
@return Workbook|null The workbook | getWorkbook | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setWorkbook($val)
{
$this->_propDict["workbook"] = $val;
return $this;
} | Sets the workbook
For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable.
@param Workbook $val The workbook
@return DriveItem | setWorkbook | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getActivities()
{
if (array_key_exists("activities", $this->_propDict)) {
return $this->_propDict["activities"];
} else {
return null;
}
} | Gets the activities
The list of recent activities that took place on this item.
@return array|null The activities | getActivities | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setActivities($val)
{
$this->_propDict["activities"] = $val;
return $this;
} | Sets the activities
The list of recent activities that took place on this item.
@param ItemActivityOLD[] $val The activities
@return DriveItem | setActivities | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getAnalytics()
{
if (array_key_exists("analytics", $this->_propDict)) {
if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) {
return $this->_propDict["analytics"];
} else {
$this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]);
return $this->_propDict["analytics"];
}
}
return null;
} | Gets the analytics
Analytics about the view activities that took place on this item.
@return ItemAnalytics|null The analytics | getAnalytics | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setAnalytics($val)
{
$this->_propDict["analytics"] = $val;
return $this;
} | Sets the analytics
Analytics about the view activities that took place on this item.
@param ItemAnalytics $val The analytics
@return DriveItem | setAnalytics | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getChildren()
{
if (array_key_exists("children", $this->_propDict)) {
return $this->_propDict["children"];
} else {
return null;
}
} | Gets the children
Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
@return array|null The children | getChildren | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setChildren($val)
{
$this->_propDict["children"] = $val;
return $this;
} | Sets the children
Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
@param DriveItem[] $val The children
@return DriveItem | setChildren | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getListItem()
{
if (array_key_exists("listItem", $this->_propDict)) {
if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) {
return $this->_propDict["listItem"];
} else {
$this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]);
return $this->_propDict["listItem"];
}
}
return null;
} | Gets the listItem
For drives in SharePoint, the associated document library list item. Read-only. Nullable.
@return ListItem|null The listItem | getListItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setListItem($val)
{
$this->_propDict["listItem"] = $val;
return $this;
} | Sets the listItem
For drives in SharePoint, the associated document library list item. Read-only. Nullable.
@param ListItem $val The listItem
@return DriveItem | setListItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getPermissions()
{
if (array_key_exists("permissions", $this->_propDict)) {
return $this->_propDict["permissions"];
} else {
return null;
}
} | Gets the permissions
The set of permissions for the item. Read-only. Nullable.
@return array|null The permissions | getPermissions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setPermissions($val)
{
$this->_propDict["permissions"] = $val;
return $this;
} | Sets the permissions
The set of permissions for the item. Read-only. Nullable.
@param Permission[] $val The permissions
@return DriveItem | setPermissions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getSubscriptions()
{
if (array_key_exists("subscriptions", $this->_propDict)) {
return $this->_propDict["subscriptions"];
} else {
return null;
}
} | Gets the subscriptions
The set of subscriptions on the item. Only supported on the root of a drive.
@return array|null The subscriptions | getSubscriptions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setSubscriptions($val)
{
$this->_propDict["subscriptions"] = $val;
return $this;
} | Sets the subscriptions
The set of subscriptions on the item. Only supported on the root of a drive.
@param Subscription[] $val The subscriptions
@return DriveItem | setSubscriptions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getThumbnails()
{
if (array_key_exists("thumbnails", $this->_propDict)) {
return $this->_propDict["thumbnails"];
} else {
return null;
}
} | Gets the thumbnails
Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
@return array|null The thumbnails | getThumbnails | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setThumbnails($val)
{
$this->_propDict["thumbnails"] = $val;
return $this;
} | Sets the thumbnails
Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
@param ThumbnailSet[] $val The thumbnails
@return DriveItem | setThumbnails | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getVersions()
{
if (array_key_exists("versions", $this->_propDict)) {
return $this->_propDict["versions"];
} else {
return null;
}
} | Gets the versions
The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
@return array|null The versions | getVersions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function setVersions($val)
{
$this->_propDict["versions"] = $val;
return $this;
} | Sets the versions
The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
@param DriveItemVersion[] $val The versions
@return DriveItem | setVersions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php | MIT |
public function getContextScenarioId()
{
if (array_key_exists("contextScenarioId", $this->_propDict)) {
return $this->_propDict["contextScenarioId"];
} else {
return null;
}
} | Gets the contextScenarioId
Nullable. An identifier for the scenario associated with this external source. This should be in reverse DNS format. For example, Contoso company owned application for customer support would have a value like 'com.constoso.customerSupport'.
@return string|null The contextScenarioId | getContextScenarioId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
public function setContextScenarioId($val)
{
$this->_propDict["contextScenarioId"] = $val;
return $this;
} | Sets the contextScenarioId
Nullable. An identifier for the scenario associated with this external source. This should be in reverse DNS format. For example, Contoso company owned application for customer support would have a value like 'com.constoso.customerSupport'.
@param string $val The value of the contextScenarioId
@return PlannerExternalTaskSource | setContextScenarioId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
public function getDisplayLinkType()
{
if (array_key_exists("displayLinkType", $this->_propDict)) {
if (is_a($this->_propDict["displayLinkType"], "\Beta\Microsoft\Graph\Model\PlannerExternalTaskSourceDisplayType") || is_null($this->_propDict["displayLinkType"])) {
return $this->_propDict["displayLinkType"];
} else {
$this->_propDict["displayLinkType"] = new PlannerExternalTaskSourceDisplayType($this->_propDict["displayLinkType"]);
return $this->_propDict["displayLinkType"];
}
}
return null;
} | Gets the displayLinkType
Specifies how an application should display the link to the associated plannerExternalTaskSource. The possible values are: none, default.
@return PlannerExternalTaskSourceDisplayType|null The displayLinkType | getDisplayLinkType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
public function setDisplayLinkType($val)
{
$this->_propDict["displayLinkType"] = $val;
return $this;
} | Sets the displayLinkType
Specifies how an application should display the link to the associated plannerExternalTaskSource. The possible values are: none, default.
@param PlannerExternalTaskSourceDisplayType $val The value to assign to the displayLinkType
@return PlannerExternalTaskSource The PlannerExternalTaskSource | setDisplayLinkType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
public function getDisplayNameSegments()
{
if (array_key_exists("displayNameSegments", $this->_propDict)) {
return $this->_propDict["displayNameSegments"];
} else {
return null;
}
} | Gets the displayNameSegments
The segments of the name of the external experience. Segments represent a hierarchical structure that allows other apps to display the relationship.
@return string|null The displayNameSegments | getDisplayNameSegments | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
public function setDisplayNameSegments($val)
{
$this->_propDict["displayNameSegments"] = $val;
return $this;
} | Sets the displayNameSegments
The segments of the name of the external experience. Segments represent a hierarchical structure that allows other apps to display the relationship.
@param string $val The value of the displayNameSegments
@return PlannerExternalTaskSource | setDisplayNameSegments | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalTaskSource.php | MIT |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.