Skip to content

Krizalys Onedrive Proxy DriveProxy

Christophe Vidal edited this page Aug 4, 2019 · 1 revision

Krizalys\Onedrive\Proxy\DriveProxy

A proxy to a \Microsoft\Graph\Model\Drive instance.

Properties

$driveItemResourceDefinition

private \Krizalys\Onedrive\Definition\ResourceDefinitionInterface $driveItemResourceDefinition
  • Visibility: private

$graph

protected \Microsoft\Graph\Graph $graph
  • Visibility: protected

$entity

protected \Microsoft\Graph\Model\Entity $entity
  • Visibility: protected

$driveType

public string $driveType

The drive type.

  • Visibility: public

$owner

public \Krizalys\Onedrive\Proxy\IdentitySetProxy $owner

The owner.

  • Visibility: public

$quota

public \Krizalys\Onedrive\Proxy\QuotaProxy $quota

The quota.

  • Visibility: public

$sharePointIds

public \Krizalys\Onedrive\Proxy\SharepointIdsProxy $sharePointIds

The SharePoint IDs.

  • Visibility: public

$system

public \Krizalys\Onedrive\Proxy\SystemFacetProxy $system

The system facet.

  • Visibility: public

$items

public array<mixed,\Krizalys\Onedrive\Proxy\DriveItemProxy> $items

The items.

  • Visibility: public

$list

public \Krizalys\Onedrive\Proxy\GraphListProxy $list

The list.

  • Visibility: public

$root

public \Krizalys\Onedrive\Proxy\DriveItemProxy $root

The root.

  • Visibility: public

$special

public \Krizalys\Onedrive\Proxy\DriveItemProxy $special

The special.

  • Visibility: public

$createdBy

public \Krizalys\Onedrive\Proxy\IdentitySetProxy $createdBy

The "created by" identity set.

$createdDateTime

public \DateTime $createdDateTime

The created date/time.

$description

public string $description

The description.

$eTag

public string $eTag

The ETag.

$lastModifiedBy

public \Krizalys\Onedrive\Proxy\IdentitySetProxy $lastModifiedBy

The "last modified by" identity set.

$lastModifiedDateTime

public \DateTime $lastModifiedDateTime

The last modified date/time.

$name

public string $name

The name.

$parentReference

public \Krizalys\Onedrive\Proxy\ItemReferenceProxy $parentReference

The parent reference.

$webUrl

public \Krizalys\Onedrive\Proxy\UserProxy $webUrl

The web URL.

$createdByUser

public \Krizalys\Onedrive\Proxy\UserProxy $createdByUser

The "created by" user.

$lastModifiedByUser

public \Krizalys\Onedrive\Proxy\UserProxy $lastModifiedByUser

The "last modified by" user.

$id

public string $id

The ID.

Methods

__construct

mixed Krizalys\Onedrive\Proxy\EntityProxy::__construct(\Microsoft\Graph\Graph $graph, \Microsoft\Graph\Model\Entity $entity)

Constructor.

Arguments

  • $graph Microsoft\Graph\Graph - The Microsoft Graph.
  • $entity Microsoft\Graph\Model\Entity - The entity.

__get

mixed Krizalys\Onedrive\Proxy\EntityProxy::__get(string $name)

Getter.

Arguments

  • $name string - The name.

getDriveItemById

\Krizalys\Onedrive\Proxy\DriveItemProxy Krizalys\Onedrive\Proxy\DriveProxy::getDriveItemById(string $itemId)

Gets a drive item by ID from this instance.

  • Visibility: public

Arguments

  • $itemId string - The drive item ID.

getDriveItemByPath

\Krizalys\Onedrive\Proxy\DriveItemProxy Krizalys\Onedrive\Proxy\DriveProxy::getDriveItemByPath(string $path)

Gets a drive item by path from this instance.

The path is given as an absolute path from the root of the drive, for example:

$driveItem = $driveItem->getDriveItemByPath('/path/to/file.txt');
  • Visibility: public

Arguments

  • $path string - The path.

getRoot

\Krizalys\Onedrive\Proxy\DriveItemProxy Krizalys\Onedrive\Proxy\DriveProxy::getRoot()

Gets the root of this instance.

  • Visibility: public
Clone this wiki locally