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 getFormula() { if (array_key_exists("formula", $this->_propDict)) { return $this->_propDict["formula"]; } else { return null; } }
Gets the formula The formula used to compute the value for this column. @return string|null The formula
getFormula
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
MIT
public function setFormula($val) { $this->_propDict["formula"] = $val; return $this; }
Sets the formula The formula used to compute the value for this column. @param string $val The value of the formula @return CalculatedColumn
setFormula
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
MIT
public function getOutputType() { if (array_key_exists("outputType", $this->_propDict)) { return $this->_propDict["outputType"]; } else { return null; } }
Gets the outputType The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. @return string|null The outputType
getOutputType
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
MIT
public function setOutputType($val) { $this->_propDict["outputType"] = $val; return $this; }
Sets the outputType The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. @param string $val The value of the outputType @return CalculatedColumn
setOutputType
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php
MIT
function initialize(DAV\Server $server) { $this->server = $server; $this->server->on('method:GET', [$this, 'httpGet'], 90); }
Initializes the plugin and registers event handles @param DAV\Server $server @return void
initialize
php
xiebruce/PicUploader
vendor/sabre/dav/lib/DAV/Mount/Plugin.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/Mount/Plugin.php
MIT
function httpGet(RequestInterface $request, ResponseInterface $response) { $queryParams = $request->getQueryParameters(); if (!array_key_exists('mount', $queryParams)) return; $currentUri = $request->getAbsoluteUrl(); // Stripping off everything after the ? list($currentUri) = explode('?', $currentUri); $this->davMount($response, $currentUri); // Returning false to break the event chain return false; }
'beforeMethod' event handles. This event handles intercepts GET requests ending with ?mount @param RequestInterface $request @param ResponseInterface $response @return bool
httpGet
php
xiebruce/PicUploader
vendor/sabre/dav/lib/DAV/Mount/Plugin.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/Mount/Plugin.php
MIT
public function getCustodian() { if (array_key_exists("custodian", $this->_propDict)) { if (is_a($this->_propDict["custodian"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryCustodian") || is_null($this->_propDict["custodian"])) { return $this->_propDict["custodian"]; } else { $this->_propDict["custodian"] = new EdiscoveryCustodian($this->_propDict["custodian"]); return $this->_propDict["custodian"]; } } return null; }
Gets the custodian Custodians associated with the file. @return EdiscoveryCustodian|null The custodian
getCustodian
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
MIT
public function setCustodian($val) { $this->_propDict["custodian"] = $val; return $this; }
Sets the custodian Custodians associated with the file. @param EdiscoveryCustodian $val The custodian @return EdiscoveryFile
setCustodian
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
MIT
public function getTags() { if (array_key_exists("tags", $this->_propDict)) { return $this->_propDict["tags"]; } else { return null; } }
Gets the tags Tags associated with the file. @return array|null The tags
getTags
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
MIT
public function setTags($val) { $this->_propDict["tags"] = $val; return $this; }
Sets the tags Tags associated with the file. @param EdiscoveryReviewTag[] $val The tags @return EdiscoveryFile
setTags
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php
MIT
public function getRegistryHive() { if (array_key_exists("registryHive", $this->_propDict)) { return $this->_propDict["registryHive"]; } else { return null; } }
Gets the registryHive Registry hive of the key that the recorded action was applied to. @return string|null The registryHive
getRegistryHive
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
MIT
public function setRegistryHive($val) { $this->_propDict["registryHive"] = $val; return $this; }
Sets the registryHive Registry hive of the key that the recorded action was applied to. @param string $val The value of the registryHive @return RegistryKeyEvidence
setRegistryHive
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
MIT
public function getRegistryKey() { if (array_key_exists("registryKey", $this->_propDict)) { return $this->_propDict["registryKey"]; } else { return null; } }
Gets the registryKey Registry key that the recorded action was applied to. @return string|null The registryKey
getRegistryKey
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
MIT
public function setRegistryKey($val) { $this->_propDict["registryKey"] = $val; return $this; }
Sets the registryKey Registry key that the recorded action was applied to. @param string $val The value of the registryKey @return RegistryKeyEvidence
setRegistryKey
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/SecurityNamespace/Model/RegistryKeyEvidence.php
MIT
public function getIsDialInBypassEnabled() { if (array_key_exists("isDialInBypassEnabled", $this->_propDict)) { return $this->_propDict["isDialInBypassEnabled"]; } else { return null; } }
Gets the isDialInBypassEnabled Specifies whether or not to always let dial-in callers bypass the lobby. Optional. @return bool|null The isDialInBypassEnabled
getIsDialInBypassEnabled
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
MIT
public function setIsDialInBypassEnabled($val) { $this->_propDict["isDialInBypassEnabled"] = $val; return $this; }
Sets the isDialInBypassEnabled Specifies whether or not to always let dial-in callers bypass the lobby. Optional. @param bool $val The value of the isDialInBypassEnabled @return LobbyBypassSettings
setIsDialInBypassEnabled
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
MIT
public function getScope() { if (array_key_exists("scope", $this->_propDict)) { if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\LobbyBypassScope") || is_null($this->_propDict["scope"])) { return $this->_propDict["scope"]; } else { $this->_propDict["scope"] = new LobbyBypassScope($this->_propDict["scope"]); return $this->_propDict["scope"]; } } return null; }
Gets the scope Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. @return LobbyBypassScope|null The scope
getScope
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
MIT
public function setScope($val) { $this->_propDict["scope"] = $val; return $this; }
Sets the scope Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. @param LobbyBypassScope $val The value to assign to the scope @return LobbyBypassSettings The LobbyBypassSettings
setScope
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassSettings.php
MIT
protected function getEncryptingStream( Stream $plaintext, $cek, &$cipherOptions ) { switch ($cipherOptions['Cipher']) { // Only 'gcm' is supported for encryption currently case 'gcm': $cipherOptions['TagLength'] = 16; $encryptClass = self::$encryptClasses['gcm']; $cipherTextStream = new $encryptClass( $plaintext, $cek, $cipherOptions['Iv'], $cipherOptions['Aad'] = isset($cipherOptions['Aad']) ? $cipherOptions['Aad'] : '', $cipherOptions['TagLength'], $cipherOptions['KeySize'] ); if (!empty($cipherOptions['Aad'])) { trigger_error("'Aad' has been supplied for content encryption" . " with " . $cipherTextStream->getAesName() . ". The" . " PHP SDK encryption client can decrypt an object" . " encrypted in this way, but other AWS SDKs may not be" . " able to.", E_USER_WARNING); } $appendStream = new AppendStream([ $cipherTextStream->createStream() ]); $cipherOptions['Tag'] = $cipherTextStream->getTag(); $appendStream->addStream(Psr7\Utils::streamFor($cipherOptions['Tag'])); return $appendStream; } }
Generates a stream that wraps the plaintext with the proper cipher and uses the content encryption key (CEK) to encrypt the data when read. @param Stream $plaintext Plain-text data to be encrypted using the materials, algorithm, and data provided. @param string $cek A content encryption key for use by the stream for encrypting the plaintext data. @param array $cipherOptions Options for use in determining the cipher to be used for encrypting data. @return [AesStreamInterface, string] @internal
getEncryptingStream
php
xiebruce/PicUploader
vendor/aws/aws-sdk-php/src/Crypto/EncryptionTraitV2.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/aws/aws-sdk-php/src/Crypto/EncryptionTraitV2.php
MIT
public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } }
Gets the displayName Unique identifier for the category. @return string|null The displayName
getDisplayName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/EducationCategory.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/EducationCategory.php
MIT
public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; }
Sets the displayName Unique identifier for the category. @param string $val The displayName @return EducationCategory
setDisplayName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/EducationCategory.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/EducationCategory.php
MIT
public function getAppId() { if (array_key_exists("appId", $this->_propDict)) { return $this->_propDict["appId"]; } else { return null; } }
Gets the appId The application or bundle identifier of the application @return string|null The appId
getAppId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function setAppId($val) { $this->_propDict["appId"] = $val; return $this; }
Sets the appId The application or bundle identifier of the application @param string $val The value of the appId @return AppListItem
setAppId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function getAppStoreUrl() { if (array_key_exists("appStoreUrl", $this->_propDict)) { return $this->_propDict["appStoreUrl"]; } else { return null; } }
Gets the appStoreUrl The Store URL of the application @return string|null The appStoreUrl
getAppStoreUrl
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function setAppStoreUrl($val) { $this->_propDict["appStoreUrl"] = $val; return $this; }
Sets the appStoreUrl The Store URL of the application @param string $val The value of the appStoreUrl @return AppListItem
setAppStoreUrl
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } }
Gets the name The application name @return string|null The name
getName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function setName($val) { $this->_propDict["name"] = $val; return $this; }
Sets the name The application name @param string $val The value of the name @return AppListItem
setName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function getPublisher() { if (array_key_exists("publisher", $this->_propDict)) { return $this->_propDict["publisher"]; } else { return null; } }
Gets the publisher The publisher of the application @return string|null The publisher
getPublisher
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function setPublisher($val) { $this->_propDict["publisher"] = $val; return $this; }
Sets the publisher The publisher of the application @param string $val The value of the publisher @return AppListItem
setPublisher
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php
MIT
public function getReason() { if (array_key_exists("reason", $this->_propDict)) { return $this->_propDict["reason"]; } else { return null; } }
Gets the reason Classification of why a call or portion of a call failed. @return string|null The reason
getReason
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
MIT
public function setReason($val) { $this->_propDict["reason"] = $val; return $this; }
Sets the reason Classification of why a call or portion of a call failed. @param string $val The value of the reason @return FailureInfo
setReason
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
MIT
public function getStage() { if (array_key_exists("stage", $this->_propDict)) { if (is_a($this->_propDict["stage"], "\Microsoft\Graph\CallRecords\Model\FailureStage") || is_null($this->_propDict["stage"])) { return $this->_propDict["stage"]; } else { $this->_propDict["stage"] = new FailureStage($this->_propDict["stage"]); return $this->_propDict["stage"]; } } return null; }
Gets the stage The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. @return FailureStage|null The stage
getStage
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
MIT
public function setStage($val) { $this->_propDict["stage"] = $val; return $this; }
Sets the stage The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. @param FailureStage $val The value to assign to the stage @return FailureInfo The FailureInfo
setStage
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php
MIT
public function getGracePeriodBeforeAccessRemoval() { if (array_key_exists("gracePeriodBeforeAccessRemoval", $this->_propDict)) { if (is_a($this->_propDict["gracePeriodBeforeAccessRemoval"], "\DateInterval") || is_null($this->_propDict["gracePeriodBeforeAccessRemoval"])) { return $this->_propDict["gracePeriodBeforeAccessRemoval"]; } else { $this->_propDict["gracePeriodBeforeAccessRemoval"] = new \DateInterval($this->_propDict["gracePeriodBeforeAccessRemoval"]); return $this->_propDict["gracePeriodBeforeAccessRemoval"]; } } return null; }
Gets the gracePeriodBeforeAccessRemoval @return \DateInterval|null The gracePeriodBeforeAccessRemoval
getGracePeriodBeforeAccessRemoval
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function setGracePeriodBeforeAccessRemoval($val) { $this->_propDict["gracePeriodBeforeAccessRemoval"] = $val; return $this; }
Sets the gracePeriodBeforeAccessRemoval @param \DateInterval $val The value to assign to the gracePeriodBeforeAccessRemoval @return AccessPackageAutomaticRequestSettings The AccessPackageAutomaticRequestSettings
setGracePeriodBeforeAccessRemoval
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function getRemoveAccessWhenTargetLeavesAllowedTargets() { if (array_key_exists("removeAccessWhenTargetLeavesAllowedTargets", $this->_propDict)) { return $this->_propDict["removeAccessWhenTargetLeavesAllowedTargets"]; } else { return null; } }
Gets the removeAccessWhenTargetLeavesAllowedTargets @return bool|null The removeAccessWhenTargetLeavesAllowedTargets
getRemoveAccessWhenTargetLeavesAllowedTargets
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function setRemoveAccessWhenTargetLeavesAllowedTargets($val) { $this->_propDict["removeAccessWhenTargetLeavesAllowedTargets"] = $val; return $this; }
Sets the removeAccessWhenTargetLeavesAllowedTargets @param bool $val The value of the removeAccessWhenTargetLeavesAllowedTargets @return AccessPackageAutomaticRequestSettings
setRemoveAccessWhenTargetLeavesAllowedTargets
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function getRequestAccessForAllowedTargets() { if (array_key_exists("requestAccessForAllowedTargets", $this->_propDict)) { return $this->_propDict["requestAccessForAllowedTargets"]; } else { return null; } }
Gets the requestAccessForAllowedTargets If set to true, automatic assignments will be created for targets in the allowed target scope. @return bool|null The requestAccessForAllowedTargets
getRequestAccessForAllowedTargets
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function setRequestAccessForAllowedTargets($val) { $this->_propDict["requestAccessForAllowedTargets"] = $val; return $this; }
Sets the requestAccessForAllowedTargets If set to true, automatic assignments will be created for targets in the allowed target scope. @param bool $val The value of the requestAccessForAllowedTargets @return AccessPackageAutomaticRequestSettings
setRequestAccessForAllowedTargets
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAutomaticRequestSettings.php
MIT
public function getStatuses() { if (array_key_exists("statuses", $this->_propDict)) { return $this->_propDict["statuses"]; } else { return null; } }
Gets the statuses The collection of deployment status for each instance of a management action. Optional. @return array|null The statuses
getStatuses
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function setStatuses($val) { $this->_propDict["statuses"] = $val; return $this; }
Sets the statuses The collection of deployment status for each instance of a management action. Optional. @param ManagementActionDeploymentStatus[] $val The statuses @return ManagementActionTenantDeploymentStatus
setStatuses
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function getTenantGroupId() { if (array_key_exists("tenantGroupId", $this->_propDict)) { return $this->_propDict["tenantGroupId"]; } else { return null; } }
Gets the tenantGroupId The identifier for the tenant group that is associated with the management action. Required. Read-only. @return string|null The tenantGroupId
getTenantGroupId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function setTenantGroupId($val) { $this->_propDict["tenantGroupId"] = $val; return $this; }
Sets the tenantGroupId The identifier for the tenant group that is associated with the management action. Required. Read-only. @param string $val The tenantGroupId @return ManagementActionTenantDeploymentStatus
setTenantGroupId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function getTenantId() { if (array_key_exists("tenantId", $this->_propDict)) { return $this->_propDict["tenantId"]; } else { return null; } }
Gets the tenantId The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. @return string|null The tenantId
getTenantId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function setTenantId($val) { $this->_propDict["tenantId"] = $val; return $this; }
Sets the tenantId The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. @param string $val The tenantId @return ManagementActionTenantDeploymentStatus
setTenantId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionTenantDeploymentStatus.php
MIT
public function getAuthenticationEventsFlowId() { if (array_key_exists("authenticationEventsFlowId", $this->_propDict)) { return $this->_propDict["authenticationEventsFlowId"]; } else { return null; } }
Gets the authenticationEventsFlowId The identifier of the authenticationEventsFlow object. @return string|null The authenticationEventsFlowId
getAuthenticationEventsFlowId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function setAuthenticationEventsFlowId($val) { $this->_propDict["authenticationEventsFlowId"] = $val; return $this; }
Sets the authenticationEventsFlowId The identifier of the authenticationEventsFlow object. @param string $val The authenticationEventsFlowId @return AuthenticationEventListener
setAuthenticationEventsFlowId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function getConditions() { if (array_key_exists("conditions", $this->_propDict)) { if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\AuthenticationConditions") || is_null($this->_propDict["conditions"])) { return $this->_propDict["conditions"]; } else { $this->_propDict["conditions"] = new AuthenticationConditions($this->_propDict["conditions"]); return $this->_propDict["conditions"]; } } return null; }
Gets the conditions The conditions on which this authenticationEventListener should trigger. @return AuthenticationConditions|null The conditions
getConditions
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function setConditions($val) { $this->_propDict["conditions"] = $val; return $this; }
Sets the conditions The conditions on which this authenticationEventListener should trigger. @param AuthenticationConditions $val The conditions @return AuthenticationEventListener
setConditions
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function getPriority() { if (array_key_exists("priority", $this->_propDict)) { return $this->_propDict["priority"]; } else { return null; } }
Gets the priority The priority of this handler. Between 0 (lower priority) and 1000 (higher priority). @return int|null The priority
getPriority
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function setPriority($val) { $this->_propDict["priority"] = intval($val); return $this; }
Sets the priority The priority of this handler. Between 0 (lower priority) and 1000 (higher priority). @param int $val The priority @return AuthenticationEventListener
setPriority
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventListener.php
MIT
public function getRuleName() { if (array_key_exists("ruleName", $this->_propDict)) { return $this->_propDict["ruleName"]; } else { return null; } }
Gets the ruleName Name of the rule which this scheduled action applies to. @return string|null The ruleName
getRuleName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
MIT
public function setRuleName($val) { $this->_propDict["ruleName"] = $val; return $this; }
Sets the ruleName Name of the rule which this scheduled action applies to. @param string $val The ruleName @return DeviceManagementComplianceScheduledActionForRule
setRuleName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
MIT
public function getScheduledActionConfigurations() { if (array_key_exists("scheduledActionConfigurations", $this->_propDict)) { return $this->_propDict["scheduledActionConfigurations"]; } else { return null; } }
Gets the scheduledActionConfigurations The list of scheduled action configurations for this compliance policy. This collection can contain a maximum of 100 elements. @return array|null The scheduledActionConfigurations
getScheduledActionConfigurations
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
MIT
public function setScheduledActionConfigurations($val) { $this->_propDict["scheduledActionConfigurations"] = $val; return $this; }
Sets the scheduledActionConfigurations The list of scheduled action configurations for this compliance policy. This collection can contain a maximum of 100 elements. @param DeviceManagementComplianceActionItem[] $val The scheduledActionConfigurations @return DeviceManagementComplianceScheduledActionForRule
setScheduledActionConfigurations
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php
MIT
public function getLastCommitSha2(){ try { $GuzzleConfig = [ 'base_uri' => $this->baseUri, 'timeout' => 30.0, ]; if($this->proxy){ $GuzzleConfig['proxy'] = $this->proxy; } //new GuzzleHttp instance $client = new Client($GuzzleConfig); $uri = 'upload/master'; $response = $client->request('GET', $uri, [ 'verify' => false, 'headers'=>[ 'Authorization' => 'token ' . $this->accessToken, ], ]); $string = $response->getBody()->getContents(); if($response->getReasonPhrase() != 'OK'){ throw new Exception($string); } $returnArr = json_decode($string, true); if(!isset($returnArr['data']['lastCommit'])){ throw new Exception(var_export($returnArr, true)); } $lastCommitSha = $returnArr['data']['lastCommit']; } catch (Exception $e) { //上传出错,记录错误日志(为了保证统一处理那里不出错,虽然报错,但这里还是返回对应格式) $lastCommitSha = ''; $this->writeLog(date('Y-m-d H:i:s').'(' . $this->uploadServer . ') => '.$e->getMessage() . "\n\n", 'error_log'); } return $lastCommitSha; }
getLastCommitSha(直接查询指定的branch) @return string @throws \GuzzleHttp\Exception\GuzzleException
getLastCommitSha2
php
xiebruce/PicUploader
uploader/UploadCodingnet.php
https://github.com/xiebruce/PicUploader/blob/master/uploader/UploadCodingnet.php
MIT
public function upload($key, $uploadFilePath){ try { $GuzzleConfig = [ 'base_uri' => $this->baseUri, 'timeout' => 30.0, ]; if($this->proxy){ $GuzzleConfig['proxy'] = $this->proxy; } //new GuzzleHttp instance $client = new Client($GuzzleConfig); $mime = mime_content_type($uploadFilePath); $llastCommitShaInfo = $this->getLastCommitSha($this->branch); $branchName = ''; $uri = 'upload/' . $this->branch; //当branch不存在时,需要创建,创建只需要指定"newRef"参数的值为新的branch名即可 //但是,由于branch不存在,所以$lastCommitSha需要从master中获取,api指向也必须用master if(!$llastCommitShaInfo['branchExists']){ $branchName = $this->branch; $uri = 'upload/master'; } if($this->directory){ $uri .= '/' . $this->directory; } $lastCommitSha = $llastCommitShaInfo['lastCommitSha']; $response = $client->request('POST', $uri, [ 'verify' => false, 'headers'=>[ 'Authorization' => 'token ' . $this->accessToken, ], 'multipart' => [ [ 'name' => 'message', 'contents' => $this->message, ], [ 'name' => 'lastCommitSha', 'contents' => $lastCommitSha, ], [ 'name' => 'newRef', 'contents' => $branchName, ], [ //不能带路径 'name' => $key, 'contents' => file_get_contents($uploadFilePath), 'headers' => [ 'Content-Type' => $mime, ], //文件名,必须传,否则报"提交内容不能为空"错误 'filename' => $key, ], ], ]); $string = $response->getBody()->getContents(); if($response->getReasonPhrase() != 'OK'){ throw new Exception($string); } $returnArr = json_decode($string, true); if(!isset($returnArr['code']) || $returnArr['code']!==0){ throw new Exception(var_export($returnArr, true)); } //直链url格式 //https://xiebruce-01.coding.net/p/imagebed/d/imagebed/git/raw/master2/a4cd4f06ff30deff5c9bea968dfdf472.png if($this->directory){ $key = $this->directory . '/' . $key; } $data = [ 'code' => 0, 'msg' => 'success', 'key' => $key, 'domain' => $this->domain, ]; } catch (Exception $e) { //上传出错,记录错误日志(为了保证统一处理那里不出错,虽然报错,但这里还是返回对应格式) $data = [ 'code' => -1, 'msg' => $e->getMessage(), ]; $this->writeLog(date('Y-m-d H:i:s').'(' . $this->uploadServer . ') => '.$e->getMessage() . "\n\n", 'error_log'); } return $data; }
Upload files to coding.net(已被腾讯收购) @param $key @param $uploadFilePath @return array @throws \GuzzleHttp\Exception\GuzzleException
upload
php
xiebruce/PicUploader
uploader/UploadCodingnet.php
https://github.com/xiebruce/PicUploader/blob/master/uploader/UploadCodingnet.php
MIT
public function getKey() { if (array_key_exists("key", $this->_propDict)) { return $this->_propDict["key"]; } else { return null; } }
Gets the key The name of the parameter. @return string|null The key
getKey
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
MIT
public function setKey($val) { $this->_propDict["key"] = $val; return $this; }
Sets the key The name of the parameter. @param string $val The value of the key @return StringKeyAttributeMappingSourceValuePair
setKey
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
MIT
public function getValue() { if (array_key_exists("value", $this->_propDict)) { if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["value"])) { return $this->_propDict["value"]; } else { $this->_propDict["value"] = new AttributeMappingSource($this->_propDict["value"]); return $this->_propDict["value"]; } } return null; }
Gets the value The value of the parameter. @return AttributeMappingSource|null The value
getValue
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
MIT
public function setValue($val) { $this->_propDict["value"] = $val; return $this; }
Sets the value The value of the parameter. @param AttributeMappingSource $val The value to assign to the value @return StringKeyAttributeMappingSourceValuePair The StringKeyAttributeMappingSourceValuePair
setValue
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php
MIT
public function getAudioBitsPerSample() { if (array_key_exists("audioBitsPerSample", $this->_propDict)) { return $this->_propDict["audioBitsPerSample"]; } else { return null; } }
Gets the audioBitsPerSample Number of audio bits per sample. @return int|null The audioBitsPerSample
getAudioBitsPerSample
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setAudioBitsPerSample($val) { $this->_propDict["audioBitsPerSample"] = $val; return $this; }
Sets the audioBitsPerSample Number of audio bits per sample. @param int $val The value of the audioBitsPerSample @return Video
setAudioBitsPerSample
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getAudioChannels() { if (array_key_exists("audioChannels", $this->_propDict)) { return $this->_propDict["audioChannels"]; } else { return null; } }
Gets the audioChannels Number of audio channels. @return int|null The audioChannels
getAudioChannels
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setAudioChannels($val) { $this->_propDict["audioChannels"] = $val; return $this; }
Sets the audioChannels Number of audio channels. @param int $val The value of the audioChannels @return Video
setAudioChannels
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getAudioFormat() { if (array_key_exists("audioFormat", $this->_propDict)) { return $this->_propDict["audioFormat"]; } else { return null; } }
Gets the audioFormat Name of the audio format (AAC, MP3, etc.). @return string|null The audioFormat
getAudioFormat
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setAudioFormat($val) { $this->_propDict["audioFormat"] = $val; return $this; }
Sets the audioFormat Name of the audio format (AAC, MP3, etc.). @param string $val The value of the audioFormat @return Video
setAudioFormat
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getAudioSamplesPerSecond() { if (array_key_exists("audioSamplesPerSecond", $this->_propDict)) { return $this->_propDict["audioSamplesPerSecond"]; } else { return null; } }
Gets the audioSamplesPerSecond Number of audio samples per second. @return int|null The audioSamplesPerSecond
getAudioSamplesPerSecond
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setAudioSamplesPerSecond($val) { $this->_propDict["audioSamplesPerSecond"] = $val; return $this; }
Sets the audioSamplesPerSecond Number of audio samples per second. @param int $val The value of the audioSamplesPerSecond @return Video
setAudioSamplesPerSecond
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getBitrate() { if (array_key_exists("bitrate", $this->_propDict)) { return $this->_propDict["bitrate"]; } else { return null; } }
Gets the bitrate Bit rate of the video in bits per second. @return int|null The bitrate
getBitrate
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setBitrate($val) { $this->_propDict["bitrate"] = $val; return $this; }
Sets the bitrate Bit rate of the video in bits per second. @param int $val The value of the bitrate @return Video
setBitrate
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getDuration() { if (array_key_exists("duration", $this->_propDict)) { return $this->_propDict["duration"]; } else { return null; } }
Gets the duration Duration of the file in milliseconds. @return int|null The duration
getDuration
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setDuration($val) { $this->_propDict["duration"] = $val; return $this; }
Sets the duration Duration of the file in milliseconds. @param int $val The value of the duration @return Video
setDuration
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getFourCC() { if (array_key_exists("fourCC", $this->_propDict)) { return $this->_propDict["fourCC"]; } else { return null; } }
Gets the fourCC 'Four character code' name of the video format. @return string|null The fourCC
getFourCC
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setFourCC($val) { $this->_propDict["fourCC"] = $val; return $this; }
Sets the fourCC 'Four character code' name of the video format. @param string $val The value of the fourCC @return Video
setFourCC
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getHeight() { if (array_key_exists("height", $this->_propDict)) { return $this->_propDict["height"]; } else { return null; } }
Gets the height Height of the video, in pixels. @return int|null The height
getHeight
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setHeight($val) { $this->_propDict["height"] = $val; return $this; }
Sets the height Height of the video, in pixels. @param int $val The value of the height @return Video
setHeight
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getWidth() { if (array_key_exists("width", $this->_propDict)) { return $this->_propDict["width"]; } else { return null; } }
Gets the width Width of the video, in pixels. @return int|null The width
getWidth
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function setWidth($val) { $this->_propDict["width"] = $val; return $this; }
Sets the width Width of the video, in pixels. @param int $val The value of the width @return Video
setWidth
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php
MIT
public function getPriority() { if (array_key_exists("priority", $this->_propDict)) { return $this->_propDict["priority"]; } else { return null; } }
Gets the priority Priority of the policy. Valid values 1 to 500 @return int|null The priority
getPriority
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPriorityMetaData.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPriorityMetaData.php
MIT
public function setPriority($val) { $this->_propDict["priority"] = $val; return $this; }
Sets the priority Priority of the policy. Valid values 1 to 500 @param int $val The value of the priority @return DeviceManagementPriorityMetaData
setPriority
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPriorityMetaData.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPriorityMetaData.php
MIT
public function getBandwidthBackgroundPercentageHours() { if (array_key_exists("bandwidthBackgroundPercentageHours", $this->_propDict)) { if (is_a($this->_propDict["bandwidthBackgroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit") || is_null($this->_propDict["bandwidthBackgroundPercentageHours"])) { return $this->_propDict["bandwidthBackgroundPercentageHours"]; } else { $this->_propDict["bandwidthBackgroundPercentageHours"] = new DeliveryOptimizationBandwidthBusinessHoursLimit($this->_propDict["bandwidthBackgroundPercentageHours"]); return $this->_propDict["bandwidthBackgroundPercentageHours"]; } } return null; }
Gets the bandwidthBackgroundPercentageHours Background download percentage hours. @return DeliveryOptimizationBandwidthBusinessHoursLimit|null The bandwidthBackgroundPercentageHours
getBandwidthBackgroundPercentageHours
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
MIT
public function setBandwidthBackgroundPercentageHours($val) { $this->_propDict["bandwidthBackgroundPercentageHours"] = $val; return $this; }
Sets the bandwidthBackgroundPercentageHours Background download percentage hours. @param DeliveryOptimizationBandwidthBusinessHoursLimit $val The value to assign to the bandwidthBackgroundPercentageHours @return DeliveryOptimizationBandwidthHoursWithPercentage The DeliveryOptimizationBandwidthHoursWithPercentage
setBandwidthBackgroundPercentageHours
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
MIT
public function getBandwidthForegroundPercentageHours() { if (array_key_exists("bandwidthForegroundPercentageHours", $this->_propDict)) { if (is_a($this->_propDict["bandwidthForegroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit") || is_null($this->_propDict["bandwidthForegroundPercentageHours"])) { return $this->_propDict["bandwidthForegroundPercentageHours"]; } else { $this->_propDict["bandwidthForegroundPercentageHours"] = new DeliveryOptimizationBandwidthBusinessHoursLimit($this->_propDict["bandwidthForegroundPercentageHours"]); return $this->_propDict["bandwidthForegroundPercentageHours"]; } } return null; }
Gets the bandwidthForegroundPercentageHours Foreground download percentage hours. @return DeliveryOptimizationBandwidthBusinessHoursLimit|null The bandwidthForegroundPercentageHours
getBandwidthForegroundPercentageHours
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
MIT
public function setBandwidthForegroundPercentageHours($val) { $this->_propDict["bandwidthForegroundPercentageHours"] = $val; return $this; }
Sets the bandwidthForegroundPercentageHours Foreground download percentage hours. @param DeliveryOptimizationBandwidthBusinessHoursLimit $val The value to assign to the bandwidthForegroundPercentageHours @return DeliveryOptimizationBandwidthHoursWithPercentage The DeliveryOptimizationBandwidthHoursWithPercentage
setBandwidthForegroundPercentageHours
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php
MIT
public function getActivityGroupName() { if (array_key_exists("activityGroupName", $this->_propDict)) { return $this->_propDict["activityGroupName"]; } else { return null; } }
Gets the activityGroupName Name or alias of the activity group (attacker) this alert is attributed to. @return string|null The activityGroupName
getActivityGroupName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setActivityGroupName($val) { $this->_propDict["activityGroupName"] = $val; return $this; }
Sets the activityGroupName Name or alias of the activity group (attacker) this alert is attributed to. @param string $val The activityGroupName @return Alert
setActivityGroupName
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getAssignedTo() { if (array_key_exists("assignedTo", $this->_propDict)) { return $this->_propDict["assignedTo"]; } else { return null; } }
Gets the assignedTo Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). @return string|null The assignedTo
getAssignedTo
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setAssignedTo($val) { $this->_propDict["assignedTo"] = $val; return $this; }
Sets the assignedTo Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). @param string $val The assignedTo @return Alert
setAssignedTo
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getAzureSubscriptionId() { if (array_key_exists("azureSubscriptionId", $this->_propDict)) { return $this->_propDict["azureSubscriptionId"]; } else { return null; } }
Gets the azureSubscriptionId Azure subscription ID, present if this alert is related to an Azure resource. @return string|null The azureSubscriptionId
getAzureSubscriptionId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setAzureSubscriptionId($val) { $this->_propDict["azureSubscriptionId"] = $val; return $this; }
Sets the azureSubscriptionId Azure subscription ID, present if this alert is related to an Azure resource. @param string $val The azureSubscriptionId @return Alert
setAzureSubscriptionId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getAzureTenantId() { if (array_key_exists("azureTenantId", $this->_propDict)) { return $this->_propDict["azureTenantId"]; } else { return null; } }
Gets the azureTenantId Azure Active Directory tenant ID. Required. @return string|null The azureTenantId
getAzureTenantId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setAzureTenantId($val) { $this->_propDict["azureTenantId"] = $val; return $this; }
Sets the azureTenantId Azure Active Directory tenant ID. Required. @param string $val The azureTenantId @return Alert
setAzureTenantId
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getCategory() { if (array_key_exists("category", $this->_propDict)) { return $this->_propDict["category"]; } else { return null; } }
Gets the category Category of the alert (for example, credentialTheft, ransomware, etc.). @return string|null The category
getCategory
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setCategory($val) { $this->_propDict["category"] = $val; return $this; }
Sets the category Category of the alert (for example, credentialTheft, ransomware, etc.). @param string $val The category @return Alert
setCategory
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getClosedDateTime() { if (array_key_exists("closedDateTime", $this->_propDict)) { if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { return $this->_propDict["closedDateTime"]; } else { $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); return $this->_propDict["closedDateTime"]; } } return null; }
Gets the closedDateTime Time at which the alert was closed. 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 (supports update). @return \DateTime|null The closedDateTime
getClosedDateTime
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setClosedDateTime($val) { $this->_propDict["closedDateTime"] = $val; return $this; }
Sets the closedDateTime Time at which the alert was closed. 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 (supports update). @param \DateTime $val The closedDateTime @return Alert
setClosedDateTime
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getCloudAppStates() { if (array_key_exists("cloudAppStates", $this->_propDict)) { return $this->_propDict["cloudAppStates"]; } else { return null; } }
Gets the cloudAppStates Security-related stateful information generated by the provider about the cloud application/s related to this alert. @return array|null The cloudAppStates
getCloudAppStates
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function setCloudAppStates($val) { $this->_propDict["cloudAppStates"] = $val; return $this; }
Sets the cloudAppStates Security-related stateful information generated by the provider about the cloud application/s related to this alert. @param CloudAppSecurityState[] $val The cloudAppStates @return Alert
setCloudAppStates
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT
public function getComments() { if (array_key_exists("comments", $this->_propDict)) { return $this->_propDict["comments"]; } else { return null; } }
Gets the comments Customer-provided comments on alert (for customer alert management) (supports update). @return array|null The comments
getComments
php
xiebruce/PicUploader
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php
MIT