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 getExternalContextId()
{
if (array_key_exists("externalContextId", $this->_propDict)) {
return $this->_propDict["externalContextId"];
} else {
return null;
}
} | Gets the externalContextId
Nullable. The id of the external entity's containing entity or context.
@return string|null The externalContextId | getExternalContextId | 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 setExternalContextId($val)
{
$this->_propDict["externalContextId"] = $val;
return $this;
} | Sets the externalContextId
Nullable. The id of the external entity's containing entity or context.
@param string $val The value of the externalContextId
@return PlannerExternalTaskSource | setExternalContextId | 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 getExternalObjectId()
{
if (array_key_exists("externalObjectId", $this->_propDict)) {
return $this->_propDict["externalObjectId"];
} else {
return null;
}
} | Gets the externalObjectId
Nullable. The id of the entity that an external service associates with a task.
@return string|null The externalObjectId | getExternalObjectId | 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 setExternalObjectId($val)
{
$this->_propDict["externalObjectId"] = $val;
return $this;
} | Sets the externalObjectId
Nullable. The id of the entity that an external service associates with a task.
@param string $val The value of the externalObjectId
@return PlannerExternalTaskSource | setExternalObjectId | 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 getExternalObjectVersion()
{
if (array_key_exists("externalObjectVersion", $this->_propDict)) {
return $this->_propDict["externalObjectVersion"];
} else {
return null;
}
} | Gets the externalObjectVersion
Nullable. The external Item Version for the object specified by the externalObjectId.
@return string|null The externalObjectVersion | getExternalObjectVersion | 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 setExternalObjectVersion($val)
{
$this->_propDict["externalObjectVersion"] = $val;
return $this;
} | Sets the externalObjectVersion
Nullable. The external Item Version for the object specified by the externalObjectId.
@param string $val The value of the externalObjectVersion
@return PlannerExternalTaskSource | setExternalObjectVersion | 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 getWebUrl()
{
if (array_key_exists("webUrl", $this->_propDict)) {
return $this->_propDict["webUrl"];
} else {
return null;
}
} | Gets the webUrl
Nullable. URL of the user experience represented by the associated plannerExternalTaskSource.
@return string|null The webUrl | getWebUrl | 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 setWebUrl($val)
{
$this->_propDict["webUrl"] = $val;
return $this;
} | Sets the webUrl
Nullable. URL of the user experience represented by the associated plannerExternalTaskSource.
@param string $val The value of the webUrl
@return PlannerExternalTaskSource | setWebUrl | 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 getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
return null;
} | Gets the createdBy
The identity of the user who created the scenario.
@return IdentitySet|null The createdBy | getCreatedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
} | Sets the createdBy
The identity of the user who created the scenario.
@param IdentitySet $val The createdBy
@return BusinessScenario | setCreatedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
} | Gets the createdDateTime
The date and time when the scenario was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
@return \DateTime|null The createdDateTime | getCreatedDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
} | Sets the createdDateTime
The date and time when the scenario was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
@param \DateTime $val The createdDateTime
@return BusinessScenario | setCreatedDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
} | Gets the displayName
Display name of the scenario.
@return string|null The displayName | getDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
} | Sets the displayName
Display name of the scenario.
@param string $val The displayName
@return BusinessScenario | setDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
} | Gets the lastModifiedBy
The identity of the user who last modified the scenario.
@return IdentitySet|null The lastModifiedBy | getLastModifiedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
} | Sets the lastModifiedBy
The identity of the user who last modified the scenario.
@param IdentitySet $val The lastModifiedBy
@return BusinessScenario | setLastModifiedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getLastModifiedDateTime()
{
if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) {
return $this->_propDict["lastModifiedDateTime"];
} else {
$this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
return $this->_propDict["lastModifiedDateTime"];
}
}
return null;
} | Gets the lastModifiedDateTime
The date and time when the scenario was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
@return \DateTime|null The lastModifiedDateTime | getLastModifiedDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
} | Sets the lastModifiedDateTime
The date and time when the scenario was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
@param \DateTime $val The lastModifiedDateTime
@return BusinessScenario | setLastModifiedDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getOwnerAppIds()
{
if (array_key_exists("ownerAppIds", $this->_propDict)) {
return $this->_propDict["ownerAppIds"];
} else {
return null;
}
} | Gets the ownerAppIds
Identifiers of applications that are authorized to work with this scenario.
@return array|null The ownerAppIds | getOwnerAppIds | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setOwnerAppIds($val)
{
$this->_propDict["ownerAppIds"] = $val;
return $this;
} | Sets the ownerAppIds
Identifiers of applications that are authorized to work with this scenario.
@param string[] $val The ownerAppIds
@return BusinessScenario | setOwnerAppIds | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getUniqueName()
{
if (array_key_exists("uniqueName", $this->_propDict)) {
return $this->_propDict["uniqueName"];
} else {
return null;
}
} | Gets the uniqueName
Unique name of the scenario. To avoid conflicts, the recommended value for the unique name is a reverse domain name format, owned by the author of the scenario. For example, a scenario authored by Contoso.com would have a unique name that starts with com.contoso.
@return string|null The uniqueName | getUniqueName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setUniqueName($val)
{
$this->_propDict["uniqueName"] = $val;
return $this;
} | Sets the uniqueName
Unique name of the scenario. To avoid conflicts, the recommended value for the unique name is a reverse domain name format, owned by the author of the scenario. For example, a scenario authored by Contoso.com would have a unique name that starts with com.contoso.
@param string $val The uniqueName
@return BusinessScenario | setUniqueName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getPlanner()
{
if (array_key_exists("planner", $this->_propDict)) {
if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\BusinessScenarioPlanner") || is_null($this->_propDict["planner"])) {
return $this->_propDict["planner"];
} else {
$this->_propDict["planner"] = new BusinessScenarioPlanner($this->_propDict["planner"]);
return $this->_propDict["planner"];
}
}
return null;
} | Gets the planner
Planner content related to the scenario.
@return BusinessScenarioPlanner|null The planner | getPlanner | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function setPlanner($val)
{
$this->_propDict["planner"] = $val;
return $this;
} | Sets the planner
Planner content related to the scenario.
@param BusinessScenarioPlanner $val The planner
@return BusinessScenario | setPlanner | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessScenario.php | MIT |
public function getAssigneeUserPrincipalName()
{
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
return $this->_propDict["assigneeUserPrincipalName"];
} else {
return null;
}
} | Gets the assigneeUserPrincipalName
@return string|null The assigneeUserPrincipalName | getAssigneeUserPrincipalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | MIT |
public function setAssigneeUserPrincipalName($val)
{
$this->_propDict["assigneeUserPrincipalName"] = $val;
return $this;
} | Sets the assigneeUserPrincipalName
@param string $val The assigneeUserPrincipalName
@return RedundantAssignmentAlertIncident | setAssigneeUserPrincipalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | MIT |
public function getLastActivationDateTime()
{
if (array_key_exists("lastActivationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActivationDateTime"], "\DateTime") || is_null($this->_propDict["lastActivationDateTime"])) {
return $this->_propDict["lastActivationDateTime"];
} else {
$this->_propDict["lastActivationDateTime"] = new \DateTime($this->_propDict["lastActivationDateTime"]);
return $this->_propDict["lastActivationDateTime"];
}
}
return null;
} | Gets the lastActivationDateTime
@return \DateTime|null The lastActivationDateTime | getLastActivationDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | MIT |
public function setLastActivationDateTime($val)
{
$this->_propDict["lastActivationDateTime"] = $val;
return $this;
} | Sets the lastActivationDateTime
@param \DateTime $val The lastActivationDateTime
@return RedundantAssignmentAlertIncident | setLastActivationDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php | MIT |
public function getAppUrl()
{
if (array_key_exists("appUrl", $this->_propDict)) {
return $this->_propDict["appUrl"];
} else {
return null;
}
} | Gets the appUrl
Indicates the Windows web app URL. Example: 'https://www.contoso.com'
@return string|null The appUrl | getAppUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsWebApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsWebApp.php | MIT |
public function setAppUrl($val)
{
$this->_propDict["appUrl"] = $val;
return $this;
} | Sets the appUrl
Indicates the Windows web app URL. Example: 'https://www.contoso.com'
@param string $val The appUrl
@return WindowsWebApp | setAppUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsWebApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsWebApp.php | MIT |
public function getTemplateId()
{
if (array_key_exists("templateId", $this->_propDict)) {
return $this->_propDict["templateId"];
} else {
return null;
}
} | Gets the templateId
The unique identifier for a protection template in Microsoft Purview Information Protection to apply to the content.
@return string|null The templateId | getTemplateId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectByTemplateAction.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectByTemplateAction.php | MIT |
public function setTemplateId($val)
{
$this->_propDict["templateId"] = $val;
return $this;
} | Sets the templateId
The unique identifier for a protection template in Microsoft Purview Information Protection to apply to the content.
@param string $val The value of the templateId
@return ProtectByTemplateAction | setTemplateId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectByTemplateAction.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectByTemplateAction.php | MIT |
public function getFileContent()
{
if (array_key_exists("fileContent", $this->_propDict)) {
return $this->_propDict["fileContent"];
} else {
return null;
}
} | Gets the fileContent
Base64 encoded file content.
@return string|null The fileContent | getFileContent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailContentThreatSubmission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailContentThreatSubmission.php | MIT |
public function setFileContent($val)
{
$this->_propDict["fileContent"] = $val;
return $this;
} | Sets the fileContent
Base64 encoded file content.
@param string $val The fileContent
@return EmailContentThreatSubmission | setFileContent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailContentThreatSubmission.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailContentThreatSubmission.php | MIT |
public function onRequestBeforeSend(Event $event)
{
$request = $event['request'];
$request->addHeader('Via', sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION));
if (!$this->canCache->canCacheRequest($request)) {
switch ($request->getMethod()) {
case 'PURGE':
$this->purge($request);
$request->setResponse(new Response(200, array(), 'purged'));
break;
case 'PUT':
case 'POST':
case 'DELETE':
case 'PATCH':
if ($this->autoPurge) {
$this->purge($request);
}
}
return;
}
if ($response = $this->storage->fetch($request)) {
$params = $request->getParams();
$params['cache.lookup'] = true;
$response->setHeader(
'Age',
time() - strtotime($response->getDate() ? : $response->getLastModified() ?: 'now')
);
// Validate that the response satisfies the request
if ($this->canResponseSatisfyRequest($request, $response)) {
if (!isset($params['cache.hit'])) {
$params['cache.hit'] = true;
}
$request->setResponse($response);
}
}
} | Check if a response in cache will satisfy the request before sending
@param Event $event | onRequestBeforeSend | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function onRequestSent(Event $event)
{
$request = $event['request'];
$response = $event['response'];
if ($request->getParams()->get('cache.hit') === null &&
$this->canCache->canCacheRequest($request) &&
$this->canCache->canCacheResponse($response)
) {
$this->storage->cache($request, $response);
}
$this->addResponseHeaders($request, $response);
} | If possible, store a response in cache after sending
@param Event $event | onRequestSent | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function onRequestError(Event $event)
{
$request = $event['request'];
if (!$this->canCache->canCacheRequest($request)) {
return;
}
if ($response = $this->storage->fetch($request)) {
$response->setHeader(
'Age',
time() - strtotime($response->getLastModified() ? : $response->getDate() ?: 'now')
);
if ($this->canResponseSatisfyFailedRequest($request, $response)) {
$request->getParams()->set('cache.hit', 'error');
$this->addResponseHeaders($request, $response);
$event['response'] = $response;
$event->stopPropagation();
}
}
} | If possible, return a cache response on an error
@param Event $event | onRequestError | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function onRequestException(Event $event)
{
if (!$event['exception'] instanceof CurlException) {
return;
}
$request = $event['request'];
if (!$this->canCache->canCacheRequest($request)) {
return;
}
if ($response = $this->storage->fetch($request)) {
$response->setHeader('Age', time() - strtotime($response->getDate() ? : 'now'));
if (!$this->canResponseSatisfyFailedRequest($request, $response)) {
return;
}
$request->getParams()->set('cache.hit', 'error');
$request->setResponse($response);
$this->addResponseHeaders($request, $response);
$event->stopPropagation();
}
} | If possible, set a cache response on a cURL exception
@param Event $event
@return null | onRequestException | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function canResponseSatisfyRequest(RequestInterface $request, Response $response)
{
$responseAge = $response->calculateAge();
$reqc = $request->getHeader('Cache-Control');
$resc = $response->getHeader('Cache-Control');
// Check the request's max-age header against the age of the response
if ($reqc && $reqc->hasDirective('max-age') &&
$responseAge > $reqc->getDirective('max-age')) {
return false;
}
// Check the response's max-age header
if ($response->isFresh() === false) {
$maxStale = $reqc ? $reqc->getDirective('max-stale') : null;
if (null !== $maxStale) {
if ($maxStale !== true && $response->getFreshness() < (-1 * $maxStale)) {
return false;
}
} elseif ($resc && $resc->hasDirective('max-age')
&& $responseAge > $resc->getDirective('max-age')
) {
return false;
}
}
if ($this->revalidation->shouldRevalidate($request, $response)) {
try {
return $this->revalidation->revalidate($request, $response);
} catch (CurlException $e) {
$request->getParams()->set('cache.hit', 'error');
return $this->canResponseSatisfyFailedRequest($request, $response);
}
}
return true;
} | Check if a cache response satisfies a request's caching constraints
@param RequestInterface $request Request to validate
@param Response $response Response to validate
@return bool | canResponseSatisfyRequest | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function canResponseSatisfyFailedRequest(RequestInterface $request, Response $response)
{
$reqc = $request->getHeader('Cache-Control');
$resc = $response->getHeader('Cache-Control');
$requestStaleIfError = $reqc ? $reqc->getDirective('stale-if-error') : null;
$responseStaleIfError = $resc ? $resc->getDirective('stale-if-error') : null;
if (!$requestStaleIfError && !$responseStaleIfError) {
return false;
}
if (is_numeric($requestStaleIfError) && $response->getAge() - $response->getMaxAge() > $requestStaleIfError) {
return false;
}
if (is_numeric($responseStaleIfError) && $response->getAge() - $response->getMaxAge() > $responseStaleIfError) {
return false;
}
return true;
} | Check if a cache response satisfies a failed request's caching constraints
@param RequestInterface $request Request to validate
@param Response $response Response to validate
@return bool | canResponseSatisfyFailedRequest | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function purge($url)
{
// BC compatibility with previous version that accepted a Request object
$url = $url instanceof RequestInterface ? $url->getUrl() : $url;
$this->storage->purge($url);
} | Purge all cache entries for a given URL
@param string $url URL to purge | purge | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
protected function addResponseHeaders(RequestInterface $request, Response $response)
{
$params = $request->getParams();
$response->setHeader('Via', sprintf('%s GuzzleCache/%s', $request->getProtocolVersion(), Version::VERSION));
$lookup = ($params['cache.lookup'] === true ? 'HIT' : 'MISS') . ' from GuzzleCache';
if ($header = $response->getHeader('X-Cache-Lookup')) {
// Don't add duplicates
$values = $header->toArray();
$values[] = $lookup;
$response->setHeader('X-Cache-Lookup', array_unique($values));
} else {
$response->setHeader('X-Cache-Lookup', $lookup);
}
if ($params['cache.hit'] === true) {
$xcache = 'HIT from GuzzleCache';
} elseif ($params['cache.hit'] == 'error') {
$xcache = 'HIT_ERROR from GuzzleCache';
} else {
$xcache = 'MISS from GuzzleCache';
}
if ($header = $response->getHeader('X-Cache')) {
// Don't add duplicates
$values = $header->toArray();
$values[] = $xcache;
$response->setHeader('X-Cache', array_unique($values));
} else {
$response->setHeader('X-Cache', $xcache);
}
if ($response->isFresh() === false) {
$response->addHeader('Warning', sprintf('110 GuzzleCache/%s "Response is stale"', Version::VERSION));
if ($params['cache.hit'] === 'error') {
$response->addHeader('Warning', sprintf('111 GuzzleCache/%s "Revalidation failed"', Version::VERSION));
}
}
} | Add the plugin's headers to a response
@param RequestInterface $request Request
@param Response $response Response to add headers to | addResponseHeaders | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CachePlugin.php | MIT |
public function getAllowSessionsToUnenrolledDevices()
{
if (array_key_exists("allowSessionsToUnenrolledDevices", $this->_propDict)) {
return $this->_propDict["allowSessionsToUnenrolledDevices"];
} else {
return null;
}
} | Gets the allowSessionsToUnenrolledDevices
Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.
@return bool|null The allowSessionsToUnenrolledDevices | getAllowSessionsToUnenrolledDevices | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function setAllowSessionsToUnenrolledDevices($val)
{
$this->_propDict["allowSessionsToUnenrolledDevices"] = boolval($val);
return $this;
} | Sets the allowSessionsToUnenrolledDevices
Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.
@param bool $val The allowSessionsToUnenrolledDevices
@return RemoteAssistanceSettings | setAllowSessionsToUnenrolledDevices | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function getBlockChat()
{
if (array_key_exists("blockChat", $this->_propDict)) {
return $this->_propDict["blockChat"];
} else {
return null;
}
} | Gets the blockChat
Indicates if sessions to block chat function. This setting is configurable by the admin. Default value is false.
@return bool|null The blockChat | getBlockChat | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function setBlockChat($val)
{
$this->_propDict["blockChat"] = boolval($val);
return $this;
} | Sets the blockChat
Indicates if sessions to block chat function. This setting is configurable by the admin. Default value is false.
@param bool $val The blockChat
@return RemoteAssistanceSettings | setBlockChat | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function getRemoteAssistanceState()
{
if (array_key_exists("remoteAssistanceState", $this->_propDict)) {
if (is_a($this->_propDict["remoteAssistanceState"], "\Beta\Microsoft\Graph\Model\RemoteAssistanceState") || is_null($this->_propDict["remoteAssistanceState"])) {
return $this->_propDict["remoteAssistanceState"];
} else {
$this->_propDict["remoteAssistanceState"] = new RemoteAssistanceState($this->_propDict["remoteAssistanceState"]);
return $this->_propDict["remoteAssistanceState"];
}
}
return null;
} | Gets the remoteAssistanceState
The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled state. Returned by default. Possible values are: disabled, enabled.
@return RemoteAssistanceState|null The remoteAssistanceState | getRemoteAssistanceState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function setRemoteAssistanceState($val)
{
$this->_propDict["remoteAssistanceState"] = $val;
return $this;
} | Sets the remoteAssistanceState
The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled state. Returned by default. Possible values are: disabled, enabled.
@param RemoteAssistanceState $val The remoteAssistanceState
@return RemoteAssistanceSettings | setRemoteAssistanceState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php | MIT |
public function getAppliesTo()
{
if (array_key_exists("appliesTo", $this->_propDict)) {
return $this->_propDict["appliesTo"];
} else {
return null;
}
} | Gets the appliesTo
The object the service plan can be assigned to. The possible values are:User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant.
@return string|null The appliesTo | getAppliesTo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function setAppliesTo($val)
{
$this->_propDict["appliesTo"] = $val;
return $this;
} | Sets the appliesTo
The object the service plan can be assigned to. The possible values are:User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant.
@param string $val The value of the appliesTo
@return ServicePlanInfo | setAppliesTo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function getProvisioningStatus()
{
if (array_key_exists("provisioningStatus", $this->_propDict)) {
return $this->_propDict["provisioningStatus"];
} else {
return null;
}
} | Gets the provisioningStatus
The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.
@return string|null The provisioningStatus | getProvisioningStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function setProvisioningStatus($val)
{
$this->_propDict["provisioningStatus"] = $val;
return $this;
} | Sets the provisioningStatus
The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.
@param string $val The value of the provisioningStatus
@return ServicePlanInfo | setProvisioningStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function getServicePlanId()
{
if (array_key_exists("servicePlanId", $this->_propDict)) {
return $this->_propDict["servicePlanId"];
} else {
return null;
}
} | Gets the servicePlanId
The unique identifier of the service plan.
@return string|null The servicePlanId | getServicePlanId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function setServicePlanId($val)
{
$this->_propDict["servicePlanId"] = $val;
return $this;
} | Sets the servicePlanId
The unique identifier of the service plan.
@param string $val The value of the servicePlanId
@return ServicePlanInfo | setServicePlanId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function getServicePlanName()
{
if (array_key_exists("servicePlanName", $this->_propDict)) {
return $this->_propDict["servicePlanName"];
} else {
return null;
}
} | Gets the servicePlanName
The name of the service plan.
@return string|null The servicePlanName | getServicePlanName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function setServicePlanName($val)
{
$this->_propDict["servicePlanName"] = $val;
return $this;
} | Sets the servicePlanName
The name of the service plan.
@param string $val The value of the servicePlanName
@return ServicePlanInfo | setServicePlanName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php | MIT |
public function getRecordingAccessToken()
{
if (array_key_exists("recordingAccessToken", $this->_propDict)) {
return $this->_propDict["recordingAccessToken"];
} else {
return null;
}
} | Gets the recordingAccessToken
The access token required to retrieve the recording.
@return string|null The recordingAccessToken | getRecordingAccessToken | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | MIT |
public function setRecordingAccessToken($val)
{
$this->_propDict["recordingAccessToken"] = $val;
return $this;
} | Sets the recordingAccessToken
The access token required to retrieve the recording.
@param string $val The recordingAccessToken
@return RecordOperation | setRecordingAccessToken | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | MIT |
public function getRecordingLocation()
{
if (array_key_exists("recordingLocation", $this->_propDict)) {
return $this->_propDict["recordingLocation"];
} else {
return null;
}
} | Gets the recordingLocation
The location where the recording is located.
@return string|null The recordingLocation | getRecordingLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | MIT |
public function setRecordingLocation($val)
{
$this->_propDict["recordingLocation"] = $val;
return $this;
} | Sets the recordingLocation
The location where the recording is located.
@param string $val The recordingLocation
@return RecordOperation | setRecordingLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/RecordOperation.php | MIT |
public function getIsRequired()
{
if (array_key_exists("isRequired", $this->_propDict)) {
return $this->_propDict["isRequired"];
} else {
return null;
}
} | Gets the isRequired
Indicates whether it is mandatory to answer the custom question.
@return bool|null The isRequired | getIsRequired | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | MIT |
public function setIsRequired($val)
{
$this->_propDict["isRequired"] = $val;
return $this;
} | Sets the isRequired
Indicates whether it is mandatory to answer the custom question.
@param bool $val The value of the isRequired
@return BookingQuestionAssignment | setIsRequired | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | MIT |
public function getQuestionId()
{
if (array_key_exists("questionId", $this->_propDict)) {
return $this->_propDict["questionId"];
} else {
return null;
}
} | Gets the questionId
If it is mandatory to answer the custom question.
@return string|null The questionId | getQuestionId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | MIT |
public function setQuestionId($val)
{
$this->_propDict["questionId"] = $val;
return $this;
} | Sets the questionId
If it is mandatory to answer the custom question.
@param string $val The value of the questionId
@return BookingQuestionAssignment | setQuestionId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php | MIT |
public function getFormat()
{
if (array_key_exists("format", $this->_propDict)) {
if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\ContentFormat") || is_null($this->_propDict["format"])) {
return $this->_propDict["format"];
} else {
$this->_propDict["format"] = new ContentFormat($this->_propDict["format"]);
return $this->_propDict["format"];
}
}
return null;
} | Gets the format
Possible values are: default, email.
@return ContentFormat|null The format | getFormat | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function setFormat($val)
{
$this->_propDict["format"] = $val;
return $this;
} | Sets the format
Possible values are: default, email.
@param ContentFormat $val The value to assign to the format
@return ContentInfo The ContentInfo | setFormat | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function getIdentifier()
{
if (array_key_exists("identifier", $this->_propDict)) {
return $this->_propDict["identifier"];
} else {
return null;
}
} | Gets the identifier
Identifier used for Azure Information Protection Analytics.
@return string|null The identifier | getIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function setIdentifier($val)
{
$this->_propDict["identifier"] = $val;
return $this;
} | Sets the identifier
Identifier used for Azure Information Protection Analytics.
@param string $val The value of the identifier
@return ContentInfo | setIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function getMetadata()
{
if (array_key_exists("metadata", $this->_propDict)) {
if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["metadata"])) {
return $this->_propDict["metadata"];
} else {
$this->_propDict["metadata"] = new KeyValuePair($this->_propDict["metadata"]);
return $this->_propDict["metadata"];
}
}
return null;
} | Gets the metadata
Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
@return KeyValuePair|null The metadata | getMetadata | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function setMetadata($val)
{
$this->_propDict["metadata"] = $val;
return $this;
} | Sets the metadata
Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName.
@param KeyValuePair $val The value to assign to the metadata
@return ContentInfo The ContentInfo | setMetadata | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ContentState") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new ContentState($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
} | Gets the state
Possible values are: rest, motion, use.
@return ContentState|null The state | getState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
} | Sets the state
Possible values are: rest, motion, use.
@param ContentState $val The value to assign to the state
@return ContentInfo The ContentInfo | setState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentInfo.php | MIT |
public function getConfigurationAppliedUserCount()
{
if (array_key_exists("configurationAppliedUserCount", $this->_propDict)) {
return $this->_propDict["configurationAppliedUserCount"];
} else {
return null;
}
} | Gets the configurationAppliedUserCount
Number of users the policy is applied.
@return int|null The configurationAppliedUserCount | getConfigurationAppliedUserCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | MIT |
public function setConfigurationAppliedUserCount($val)
{
$this->_propDict["configurationAppliedUserCount"] = $val;
return $this;
} | Sets the configurationAppliedUserCount
Number of users the policy is applied.
@param int $val The value of the configurationAppliedUserCount
@return ManagedAppPolicyDeploymentSummaryPerApp | setConfigurationAppliedUserCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | MIT |
public function getMobileAppIdentifier()
{
if (array_key_exists("mobileAppIdentifier", $this->_propDict)) {
if (is_a($this->_propDict["mobileAppIdentifier"], "\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["mobileAppIdentifier"])) {
return $this->_propDict["mobileAppIdentifier"];
} else {
$this->_propDict["mobileAppIdentifier"] = new MobileAppIdentifier($this->_propDict["mobileAppIdentifier"]);
return $this->_propDict["mobileAppIdentifier"];
}
}
return null;
} | Gets the mobileAppIdentifier
Deployment of an app.
@return MobileAppIdentifier|null The mobileAppIdentifier | getMobileAppIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | MIT |
public function setMobileAppIdentifier($val)
{
$this->_propDict["mobileAppIdentifier"] = $val;
return $this;
} | Sets the mobileAppIdentifier
Deployment of an app.
@param MobileAppIdentifier $val The value to assign to the mobileAppIdentifier
@return ManagedAppPolicyDeploymentSummaryPerApp The ManagedAppPolicyDeploymentSummaryPerApp | setMobileAppIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php | MIT |
public function getCommandLine()
{
if (array_key_exists("commandLine", $this->_propDict)) {
return $this->_propDict["commandLine"];
} else {
return null;
}
} | Gets the commandLine
The command line.
@return string|null The commandLine | getCommandLine | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function setCommandLine($val)
{
$this->_propDict["commandLine"] = $val;
return $this;
} | Sets the commandLine
The command line.
@param string $val The commandLine
@return WindowsMobileMSI | setCommandLine | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function getIgnoreVersionDetection()
{
if (array_key_exists("ignoreVersionDetection", $this->_propDict)) {
return $this->_propDict["ignoreVersionDetection"];
} else {
return null;
}
} | Gets the ignoreVersionDetection
A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature.
@return bool|null The ignoreVersionDetection | getIgnoreVersionDetection | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function setIgnoreVersionDetection($val)
{
$this->_propDict["ignoreVersionDetection"] = boolval($val);
return $this;
} | Sets the ignoreVersionDetection
A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature.
@param bool $val The ignoreVersionDetection
@return WindowsMobileMSI | setIgnoreVersionDetection | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function getProductCode()
{
if (array_key_exists("productCode", $this->_propDict)) {
return $this->_propDict["productCode"];
} else {
return null;
}
} | Gets the productCode
The product code.
@return string|null The productCode | getProductCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function setProductCode($val)
{
$this->_propDict["productCode"] = $val;
return $this;
} | Sets the productCode
The product code.
@param string $val The productCode
@return WindowsMobileMSI | setProductCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function getProductVersion()
{
if (array_key_exists("productVersion", $this->_propDict)) {
return $this->_propDict["productVersion"];
} else {
return null;
}
} | Gets the productVersion
The product version of Windows Mobile MSI Line of Business (LoB) app.
@return string|null The productVersion | getProductVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function setProductVersion($val)
{
$this->_propDict["productVersion"] = $val;
return $this;
} | Sets the productVersion
The product version of Windows Mobile MSI Line of Business (LoB) app.
@param string $val The productVersion
@return WindowsMobileMSI | setProductVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php | MIT |
public function getLabel()
{
if (array_key_exists("label", $this->_propDict)) {
return $this->_propDict["label"];
} else {
return null;
}
} | Gets the label
Display name for weblink
@return string|null The label | getLabel | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | MIT |
public function setLabel($val)
{
$this->_propDict["label"] = $val;
return $this;
} | Sets the label
Display name for weblink
@param string $val The value of the label
@return AndroidDeviceOwnerKioskModeWeblink | setLabel | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | MIT |
public function getLink()
{
if (array_key_exists("link", $this->_propDict)) {
return $this->_propDict["link"];
} else {
return null;
}
} | Gets the link
Link for weblink
@return string|null The link | getLink | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | MIT |
public function setLink($val)
{
$this->_propDict["link"] = $val;
return $this;
} | Sets the link
Link for weblink
@param string $val The value of the link
@return AndroidDeviceOwnerKioskModeWeblink | setLink | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeWeblink.php | MIT |
public function getConnectorName()
{
if (array_key_exists("connectorName", $this->_propDict)) {
return $this->_propDict["connectorName"];
} else {
return null;
}
} | Gets the connectorName
Connector name (set during enrollment).
@return string|null The connectorName | getConnectorName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function setConnectorName($val)
{
$this->_propDict["connectorName"] = $val;
return $this;
} | Sets the connectorName
Connector name (set during enrollment).
@param string $val The connectorName
@return CertificateConnectorDetails | setConnectorName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function getConnectorVersion()
{
if (array_key_exists("connectorVersion", $this->_propDict)) {
return $this->_propDict["connectorVersion"];
} else {
return null;
}
} | Gets the connectorVersion
Version of the connector installed.
@return string|null The connectorVersion | getConnectorVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function setConnectorVersion($val)
{
$this->_propDict["connectorVersion"] = $val;
return $this;
} | Sets the connectorVersion
Version of the connector installed.
@param string $val The connectorVersion
@return CertificateConnectorDetails | setConnectorVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function getEnrollmentDateTime()
{
if (array_key_exists("enrollmentDateTime", $this->_propDict)) {
if (is_a($this->_propDict["enrollmentDateTime"], "\DateTime") || is_null($this->_propDict["enrollmentDateTime"])) {
return $this->_propDict["enrollmentDateTime"];
} else {
$this->_propDict["enrollmentDateTime"] = new \DateTime($this->_propDict["enrollmentDateTime"]);
return $this->_propDict["enrollmentDateTime"];
}
}
return null;
} | Gets the enrollmentDateTime
Date/time when this connector was enrolled.
@return \DateTime|null The enrollmentDateTime | getEnrollmentDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function setEnrollmentDateTime($val)
{
$this->_propDict["enrollmentDateTime"] = $val;
return $this;
} | Sets the enrollmentDateTime
Date/time when this connector was enrolled.
@param \DateTime $val The enrollmentDateTime
@return CertificateConnectorDetails | setEnrollmentDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function getLastCheckinDateTime()
{
if (array_key_exists("lastCheckinDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckinDateTime"])) {
return $this->_propDict["lastCheckinDateTime"];
} else {
$this->_propDict["lastCheckinDateTime"] = new \DateTime($this->_propDict["lastCheckinDateTime"]);
return $this->_propDict["lastCheckinDateTime"];
}
}
return null;
} | Gets the lastCheckinDateTime
Date/time when this connector last connected to the service.
@return \DateTime|null The lastCheckinDateTime | getLastCheckinDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function setLastCheckinDateTime($val)
{
$this->_propDict["lastCheckinDateTime"] = $val;
return $this;
} | Sets the lastCheckinDateTime
Date/time when this connector last connected to the service.
@param \DateTime $val The lastCheckinDateTime
@return CertificateConnectorDetails | setLastCheckinDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function getMachineName()
{
if (array_key_exists("machineName", $this->_propDict)) {
return $this->_propDict["machineName"];
} else {
return null;
}
} | Gets the machineName
Name of the machine hosting this connector service.
@return string|null The machineName | getMachineName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function setMachineName($val)
{
$this->_propDict["machineName"] = $val;
return $this;
} | Sets the machineName
Name of the machine hosting this connector service.
@param string $val The machineName
@return CertificateConnectorDetails | setMachineName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php | MIT |
public function getNotConfiguredValue()
{
if (array_key_exists("notConfiguredValue", $this->_propDict)) {
return $this->_propDict["notConfiguredValue"];
} else {
return null;
}
} | Gets the notConfiguredValue
List of value which means not configured for the setting
@return string|null The notConfiguredValue | getNotConfiguredValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php | MIT |
public function setNotConfiguredValue($val)
{
$this->_propDict["notConfiguredValue"] = $val;
return $this;
} | Sets the notConfiguredValue
List of value which means not configured for the setting
@param string $val The value of the notConfiguredValue
@return DeviceManagementSettingRequiredConstraint | setNotConfiguredValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.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.