code
stringlengths 17
247k
| 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 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 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 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 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 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 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 |
public function setConfidence($val)
{
$this->_propDict["confidence"] = intval($val);
return $this;
} | Sets the confidence
Confidence of the detection logic (percentage between 1-100).
@param int $val The confidence
@return Alert | setConfidence | 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 getDetectionIds()
{
if (array_key_exists("detectionIds", $this->_propDict)) {
return $this->_propDict["detectionIds"];
} else {
return null;
}
} | Gets the detectionIds
Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
@return array|null The detectionIds | getDetectionIds | 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 setDetectionIds($val)
{
$this->_propDict["detectionIds"] = $val;
return $this;
} | Sets the detectionIds
Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
@param string[] $val The detectionIds
@return Alert | setDetectionIds | 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 getFeedback()
{
if (array_key_exists("feedback", $this->_propDict)) {
if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\AlertFeedback") || is_null($this->_propDict["feedback"])) {
return $this->_propDict["feedback"];
} else {
$this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]);
return $this->_propDict["feedback"];
}
}
return null;
} | Gets the feedback
Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update)
@return AlertFeedback|null The feedback | getFeedback | 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 setFeedback($val)
{
$this->_propDict["feedback"] = $val;
return $this;
} | Sets the feedback
Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update)
@param AlertFeedback $val The feedback
@return Alert | setFeedback | 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 getFileStates()
{
if (array_key_exists("fileStates", $this->_propDict)) {
return $this->_propDict["fileStates"];
} else {
return null;
}
} | Gets the fileStates
Security-related stateful information generated by the provider about the file(s) related to this alert.
@return array|null The fileStates | getFileStates | 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 setFileStates($val)
{
$this->_propDict["fileStates"] = $val;
return $this;
} | Sets the fileStates
Security-related stateful information generated by the provider about the file(s) related to this alert.
@param FileSecurityState[] $val The fileStates
@return Alert | setFileStates | 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 getHistoryStates()
{
if (array_key_exists("historyStates", $this->_propDict)) {
return $this->_propDict["historyStates"];
} else {
return null;
}
} | Gets the historyStates
A collection of alertHistoryStates comprising an audit log of all updates made to an alert.
@return array|null The historyStates | getHistoryStates | 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 setHistoryStates($val)
{
$this->_propDict["historyStates"] = $val;
return $this;
} | Sets the historyStates
A collection of alertHistoryStates comprising an audit log of all updates made to an alert.
@param AlertHistoryState[] $val The historyStates
@return Alert | setHistoryStates | 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 getHostStates()
{
if (array_key_exists("hostStates", $this->_propDict)) {
return $this->_propDict["hostStates"];
} else {
return null;
}
} | Gets the hostStates
Security-related stateful information generated by the provider about the host(s) related to this alert.
@return array|null The hostStates | getHostStates | 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 setHostStates($val)
{
$this->_propDict["hostStates"] = $val;
return $this;
} | Sets the hostStates
Security-related stateful information generated by the provider about the host(s) related to this alert.
@param HostSecurityState[] $val The hostStates
@return Alert | setHostStates | 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 getIncidentIds()
{
if (array_key_exists("incidentIds", $this->_propDict)) {
return $this->_propDict["incidentIds"];
} else {
return null;
}
} | Gets the incidentIds
IDs of incidents related to current alert.
@return array|null The incidentIds | getIncidentIds | 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 setIncidentIds($val)
{
$this->_propDict["incidentIds"] = $val;
return $this;
} | Sets the incidentIds
IDs of incidents related to current alert.
@param string[] $val The incidentIds
@return Alert | setIncidentIds | 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 getInvestigationSecurityStates()
{
if (array_key_exists("investigationSecurityStates", $this->_propDict)) {
return $this->_propDict["investigationSecurityStates"];
} else {
return null;
}
} | Gets the investigationSecurityStates
@return array|null The investigationSecurityStates | getInvestigationSecurityStates | 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 setInvestigationSecurityStates($val)
{
$this->_propDict["investigationSecurityStates"] = $val;
return $this;
} | Sets the investigationSecurityStates
@param InvestigationSecurityState[] $val The investigationSecurityStates
@return Alert | setInvestigationSecurityStates | 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 getMalwareStates()
{
if (array_key_exists("malwareStates", $this->_propDict)) {
return $this->_propDict["malwareStates"];
} else {
return null;
}
} | Gets the malwareStates
Threat Intelligence pertaining to malware related to this alert.
@return array|null The malwareStates | getMalwareStates | 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 setMalwareStates($val)
{
$this->_propDict["malwareStates"] = $val;
return $this;
} | Sets the malwareStates
Threat Intelligence pertaining to malware related to this alert.
@param MalwareState[] $val The malwareStates
@return Alert | setMalwareStates | 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 getMessageSecurityStates()
{
if (array_key_exists("messageSecurityStates", $this->_propDict)) {
return $this->_propDict["messageSecurityStates"];
} else {
return null;
}
} | Gets the messageSecurityStates
@return array|null The messageSecurityStates | getMessageSecurityStates | 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 setMessageSecurityStates($val)
{
$this->_propDict["messageSecurityStates"] = $val;
return $this;
} | Sets the messageSecurityStates
@param MessageSecurityState[] $val The messageSecurityStates
@return Alert | setMessageSecurityStates | 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 getNetworkConnections()
{
if (array_key_exists("networkConnections", $this->_propDict)) {
return $this->_propDict["networkConnections"];
} else {
return null;
}
} | Gets the networkConnections
Security-related stateful information generated by the provider about the network connection(s) related to this alert.
@return array|null The networkConnections | getNetworkConnections | 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 setNetworkConnections($val)
{
$this->_propDict["networkConnections"] = $val;
return $this;
} | Sets the networkConnections
Security-related stateful information generated by the provider about the network connection(s) related to this alert.
@param NetworkConnection[] $val The networkConnections
@return Alert | setNetworkConnections | 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 getProcesses()
{
if (array_key_exists("processes", $this->_propDict)) {
return $this->_propDict["processes"];
} else {
return null;
}
} | Gets the processes
Security-related stateful information generated by the provider about the process or processes related to this alert.
@return array|null The processes | getProcesses | 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 setProcesses($val)
{
$this->_propDict["processes"] = $val;
return $this;
} | Sets the processes
Security-related stateful information generated by the provider about the process or processes related to this alert.
@param Process[] $val The processes
@return Alert | setProcesses | 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 getRecommendedActions()
{
if (array_key_exists("recommendedActions", $this->_propDict)) {
return $this->_propDict["recommendedActions"];
} else {
return null;
}
} | Gets the recommendedActions
Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
@return array|null The recommendedActions | getRecommendedActions | 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 setRecommendedActions($val)
{
$this->_propDict["recommendedActions"] = $val;
return $this;
} | Sets the recommendedActions
Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
@param string[] $val The recommendedActions
@return Alert | setRecommendedActions | 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 getRegistryKeyStates()
{
if (array_key_exists("registryKeyStates", $this->_propDict)) {
return $this->_propDict["registryKeyStates"];
} else {
return null;
}
} | Gets the registryKeyStates
Security-related stateful information generated by the provider about the registry keys related to this alert.
@return array|null The registryKeyStates | getRegistryKeyStates | 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 setRegistryKeyStates($val)
{
$this->_propDict["registryKeyStates"] = $val;
return $this;
} | Sets the registryKeyStates
Security-related stateful information generated by the provider about the registry keys related to this alert.
@param RegistryKeyState[] $val The registryKeyStates
@return Alert | setRegistryKeyStates | 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 getSecurityResources()
{
if (array_key_exists("securityResources", $this->_propDict)) {
return $this->_propDict["securityResources"];
} else {
return null;
}
} | Gets the securityResources
Resources related to current alert. For example, for some alerts this can have the Azure Resource value.
@return array|null The securityResources | getSecurityResources | 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 setSecurityResources($val)
{
$this->_propDict["securityResources"] = $val;
return $this;
} | Sets the securityResources
Resources related to current alert. For example, for some alerts this can have the Azure Resource value.
@param SecurityResource[] $val The securityResources
@return Alert | setSecurityResources | 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 getSeverity()
{
if (array_key_exists("severity", $this->_propDict)) {
if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\AlertSeverity") || is_null($this->_propDict["severity"])) {
return $this->_propDict["severity"];
} else {
$this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]);
return $this->_propDict["severity"];
}
}
return null;
} | Gets the severity
Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required.
@return AlertSeverity|null The severity | getSeverity | 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 getSourceMaterials()
{
if (array_key_exists("sourceMaterials", $this->_propDict)) {
return $this->_propDict["sourceMaterials"];
} else {
return null;
}
} | Gets the sourceMaterials
Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
@return array|null The sourceMaterials | getSourceMaterials | 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 setSourceMaterials($val)
{
$this->_propDict["sourceMaterials"] = $val;
return $this;
} | Sets the sourceMaterials
Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
@param string[] $val The sourceMaterials
@return Alert | setSourceMaterials | 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 getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new AlertStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
} | Gets the status
Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required.
@return AlertStatus|null The status | getStatus | 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 getTriggers()
{
if (array_key_exists("triggers", $this->_propDict)) {
return $this->_propDict["triggers"];
} else {
return null;
}
} | Gets the triggers
Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.
@return array|null The triggers | getTriggers | 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 setTriggers($val)
{
$this->_propDict["triggers"] = $val;
return $this;
} | Sets the triggers
Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.
@param AlertTrigger[] $val The triggers
@return Alert | setTriggers | 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 getUriClickSecurityStates()
{
if (array_key_exists("uriClickSecurityStates", $this->_propDict)) {
return $this->_propDict["uriClickSecurityStates"];
} else {
return null;
}
} | Gets the uriClickSecurityStates
@return array|null The uriClickSecurityStates | getUriClickSecurityStates | 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 setUriClickSecurityStates($val)
{
$this->_propDict["uriClickSecurityStates"] = $val;
return $this;
} | Sets the uriClickSecurityStates
@param UriClickSecurityState[] $val The uriClickSecurityStates
@return Alert | setUriClickSecurityStates | 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 getVendorInformation()
{
if (array_key_exists("vendorInformation", $this->_propDict)) {
if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) {
return $this->_propDict["vendorInformation"];
} else {
$this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]);
return $this->_propDict["vendorInformation"];
}
}
return null;
} | Gets the vendorInformation
Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.
@return SecurityVendorInformation|null The vendorInformation | getVendorInformation | 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 setVendorInformation($val)
{
$this->_propDict["vendorInformation"] = $val;
return $this;
} | Sets the vendorInformation
Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.
@param SecurityVendorInformation $val The vendorInformation
@return Alert | setVendorInformation | 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 getVulnerabilityStates()
{
if (array_key_exists("vulnerabilityStates", $this->_propDict)) {
return $this->_propDict["vulnerabilityStates"];
} else {
return null;
}
} | Gets the vulnerabilityStates
Threat intelligence pertaining to one or more vulnerabilities related to this alert.
@return array|null The vulnerabilityStates | getVulnerabilityStates | 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 setVulnerabilityStates($val)
{
$this->_propDict["vulnerabilityStates"] = $val;
return $this;
} | Sets the vulnerabilityStates
Threat intelligence pertaining to one or more vulnerabilities related to this alert.
@param VulnerabilityState[] $val The vulnerabilityStates
@return Alert | setVulnerabilityStates | 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 getRegisteredRoot()
{
if (array_key_exists("registeredRoot", $this->_propDict)) {
return $this->_propDict["registeredRoot"];
} else {
return null;
}
} | Gets the registeredRoot
The externalId of the resource's root scope that is registered in PIM. The root scope can be the parent, grandparent, or higher ancestor resources.
@return string|null The registeredRoot | getRegisteredRoot | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | MIT |
public function setRegisteredRoot($val)
{
$this->_propDict["registeredRoot"] = $val;
return $this;
} | Sets the registeredRoot
The externalId of the resource's root scope that is registered in PIM. The root scope can be the parent, grandparent, or higher ancestor resources.
@param string $val The registeredRoot
@return GovernanceResource | setRegisteredRoot | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | MIT |
public function getParent()
{
if (array_key_exists("parent", $this->_propDict)) {
if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["parent"])) {
return $this->_propDict["parent"];
} else {
$this->_propDict["parent"] = new GovernanceResource($this->_propDict["parent"]);
return $this->_propDict["parent"];
}
}
return null;
} | Gets the parent
Read-only. The parent resource. for pimforazurerbac scenario, it can represent the subscription the resource belongs to.
@return GovernanceResource|null The parent | getParent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | MIT |
public function getMode()
{
if (array_key_exists("mode", $this->_propDict)) {
if (is_a($this->_propDict["mode"], "\Microsoft\Graph\Model\PersistentBrowserSessionMode") || is_null($this->_propDict["mode"])) {
return $this->_propDict["mode"];
} else {
$this->_propDict["mode"] = new PersistentBrowserSessionMode($this->_propDict["mode"]);
return $this->_propDict["mode"];
}
}
return null;
} | Gets the mode
Possible values are: always, never.
@return PersistentBrowserSessionMode|null The mode | getMode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | MIT |
public function setMode($val)
{
$this->_propDict["mode"] = $val;
return $this;
} | Sets the mode
Possible values are: always, never.
@param PersistentBrowserSessionMode $val The value to assign to the mode
@return PersistentBrowserSessionControl The PersistentBrowserSessionControl | setMode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | MIT |
public function getAllowSampleSharing()
{
if (array_key_exists("allowSampleSharing", $this->_propDict)) {
return $this->_propDict["allowSampleSharing"];
} else {
return null;
}
} | Gets the allowSampleSharing
Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule
@return bool|null The allowSampleSharing | getAllowSampleSharing | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function setAllowSampleSharing($val)
{
$this->_propDict["allowSampleSharing"] = boolval($val);
return $this;
} | Sets the allowSampleSharing
Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule
@param bool $val The allowSampleSharing
@return WindowsDefenderAdvancedThreatProtectionConfiguration | setAllowSampleSharing | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function getEnableExpeditedTelemetryReporting()
{
if (array_key_exists("enableExpeditedTelemetryReporting", $this->_propDict)) {
return $this->_propDict["enableExpeditedTelemetryReporting"];
} else {
return null;
}
} | Gets the enableExpeditedTelemetryReporting
Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency.
@return bool|null The enableExpeditedTelemetryReporting | getEnableExpeditedTelemetryReporting | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function setEnableExpeditedTelemetryReporting($val)
{
$this->_propDict["enableExpeditedTelemetryReporting"] = boolval($val);
return $this;
} | Sets the enableExpeditedTelemetryReporting
Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency.
@param bool $val The enableExpeditedTelemetryReporting
@return WindowsDefenderAdvancedThreatProtectionConfiguration | setEnableExpeditedTelemetryReporting | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function getAuthenticationType()
{
if (array_key_exists("authenticationType", $this->_propDict)) {
if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\SignInFrequencyAuthenticationType") || is_null($this->_propDict["authenticationType"])) {
return $this->_propDict["authenticationType"];
} else {
$this->_propDict["authenticationType"] = new SignInFrequencyAuthenticationType($this->_propDict["authenticationType"]);
return $this->_propDict["authenticationType"];
}
}
return null;
} | Gets the authenticationType
The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
@return SignInFrequencyAuthenticationType|null The authenticationType | getAuthenticationType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setAuthenticationType($val)
{
$this->_propDict["authenticationType"] = $val;
return $this;
} | Sets the authenticationType
The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
@param SignInFrequencyAuthenticationType $val The value to assign to the authenticationType
@return SignInFrequencySessionControl The SignInFrequencySessionControl | setAuthenticationType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function getFrequencyInterval()
{
if (array_key_exists("frequencyInterval", $this->_propDict)) {
if (is_a($this->_propDict["frequencyInterval"], "\Beta\Microsoft\Graph\Model\SignInFrequencyInterval") || is_null($this->_propDict["frequencyInterval"])) {
return $this->_propDict["frequencyInterval"];
} else {
$this->_propDict["frequencyInterval"] = new SignInFrequencyInterval($this->_propDict["frequencyInterval"]);
return $this->_propDict["frequencyInterval"];
}
}
return null;
} | Gets the frequencyInterval
The possible values are timeBased, everyTime, unknownFutureValue.
@return SignInFrequencyInterval|null The frequencyInterval | getFrequencyInterval | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setFrequencyInterval($val)
{
$this->_propDict["frequencyInterval"] = $val;
return $this;
} | Sets the frequencyInterval
The possible values are timeBased, everyTime, unknownFutureValue.
@param SignInFrequencyInterval $val The value to assign to the frequencyInterval
@return SignInFrequencySessionControl The SignInFrequencySessionControl | setFrequencyInterval | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\SigninFrequencyType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new SigninFrequencyType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
} | Gets the type
Possible values are: days, hours, or null if frequencyInterval is everyTime .
@return SigninFrequencyType|null The type | getType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
function handle($properties, callable $callback) {
$usedProperties = [];
foreach ((array)$properties as $propertyName) {
if (array_key_exists($propertyName, $this->mutations) && !isset($this->result[$propertyName])) {
$usedProperties[] = $propertyName;
// HTTP Accepted
$this->result[$propertyName] = 202;
}
}
// Only registering if there's any unhandled properties.
if (!$usedProperties) {
return;
}
$this->propertyUpdateCallbacks[] = [
// If the original argument to this method was a string, we need
// to also make sure that it stays that way, so the commit function
// knows how to format the arguments to the callback.
is_string($properties) ? $properties : $usedProperties,
$callback
];
} | Call this function if you wish to handle updating certain properties.
For instance, your class may be responsible for handling updates for the
{DAV:}displayname property.
In that case, call this method with the first argument
"{DAV:}displayname" and a second argument that's a method that does the
actual updating.
It's possible to specify more than one property as an array.
The callback must return a boolean or an it. If the result is true, the
operation was considered successful. If it's false, it's consided
failed.
If the result is an integer, we'll use that integer as the http status
code associated with the operation.
@param string|string[] $properties
@param callable $callback
@return void | handle | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function handleRemaining(callable $callback) {
$properties = $this->getRemainingMutations();
if (!$properties) {
// Nothing to do, don't register callback
return;
}
foreach ($properties as $propertyName) {
// HTTP Accepted
$this->result[$propertyName] = 202;
$this->propertyUpdateCallbacks[] = [
$properties,
$callback
];
}
} | Call this function if you wish to handle _all_ properties that haven't
been handled by anything else yet. Note that you effectively claim with
this that you promise to process _all_ properties that are coming in.
@param callable $callback
@return void | handleRemaining | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function setResultCode($properties, $resultCode) {
foreach ((array)$properties as $propertyName) {
$this->result[$propertyName] = $resultCode;
}
if ($resultCode >= 400) {
$this->failed = true;
}
} | Sets the result code for one or more properties.
@param string|string[] $properties
@param int $resultCode
@return void | setResultCode | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function setRemainingResultCode($resultCode) {
$this->setResultCode(
$this->getRemainingMutations(),
$resultCode
);
} | Sets the result code for all properties that did not have a result yet.
@param int $resultCode
@return void | setRemainingResultCode | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
private function doCallBackSingleProp($propertyName, callable $callback) {
$result = $callback($this->mutations[$propertyName]);
if (is_bool($result)) {
if ($result) {
if (is_null($this->mutations[$propertyName])) {
// Delete
$result = 204;
} else {
// Update
$result = 200;
}
} else {
// Fail
$result = 403;
}
}
if (!is_int($result)) {
throw new UnexpectedValueException('A callback sent to handle() did not return an int or a bool');
}
$this->result[$propertyName] = $result;
if ($result >= 400) {
$this->failed = true;
}
} | Executes a property callback with the single-property syntax.
@param string $propertyName
@param callable $callback
@return void | doCallBackSingleProp | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
private function doCallBackMultiProp(array $propertyList, callable $callback) {
$argument = [];
foreach ($propertyList as $propertyName) {
$argument[$propertyName] = $this->mutations[$propertyName];
}
$result = $callback($argument);
if (is_array($result)) {
foreach ($propertyList as $propertyName) {
if (!isset($result[$propertyName])) {
$resultCode = 500;
} else {
$resultCode = $result[$propertyName];
}
if ($resultCode >= 400) {
$this->failed = true;
}
$this->result[$propertyName] = $resultCode;
}
} elseif ($result === true) {
// Success
foreach ($argument as $propertyName => $propertyValue) {
$this->result[$propertyName] = is_null($propertyValue) ? 204 : 200;
}
} elseif ($result === false) {
// Fail :(
$this->failed = true;
foreach ($propertyList as $propertyName) {
$this->result[$propertyName] = 403;
}
} else {
throw new UnexpectedValueException('A callback sent to handle() did not return an array or a bool');
}
} | Executes a property callback with the multi-property syntax.
@param array $propertyList
@param callable $callback
@return void | doCallBackMultiProp | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getResult() {
return $this->result;
} | Returns the result of the operation.
@return array | getResult | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getMutations() {
return $this->mutations;
} | Returns the full list of mutations
@return array | getMutations | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
public function __construct(array $data)
{
parent::__construct($data);
$this->expires = new DateTime($this->getDataProperty('expires'));
$this->reference = $this->getDataProperty('copy_reference');
$this->setMetadata();
} | Create a new CopyReference instance
@param array $data | __construct | php | xiebruce/PicUploader | vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | MIT |
public function getExpirationDate()
{
return $this->expires;
} | Get the expiration date of the copy reference
@return DateTime | getExpirationDate | php | xiebruce/PicUploader | vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | MIT |
public function getDefaultDuration()
{
if (array_key_exists("defaultDuration", $this->_propDict)) {
if (is_a($this->_propDict["defaultDuration"], "\DateInterval") || is_null($this->_propDict["defaultDuration"])) {
return $this->_propDict["defaultDuration"];
} else {
$this->_propDict["defaultDuration"] = new \DateInterval($this->_propDict["defaultDuration"]);
return $this->_propDict["defaultDuration"];
}
}
return null;
} | Gets the defaultDuration
The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
@return \DateInterval|null The defaultDuration | getDefaultDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultDuration($val)
{
$this->_propDict["defaultDuration"] = $val;
return $this;
} | Sets the defaultDuration
The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
@param \DateInterval $val The defaultDuration
@return BookingService | setDefaultDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultLocation()
{
if (array_key_exists("defaultLocation", $this->_propDict)) {
if (is_a($this->_propDict["defaultLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["defaultLocation"])) {
return $this->_propDict["defaultLocation"];
} else {
$this->_propDict["defaultLocation"] = new Location($this->_propDict["defaultLocation"]);
return $this->_propDict["defaultLocation"];
}
}
return null;
} | Gets the defaultLocation
The default physical location for the service.
@return Location|null The defaultLocation | getDefaultLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultLocation($val)
{
$this->_propDict["defaultLocation"] = $val;
return $this;
} | Sets the defaultLocation
The default physical location for the service.
@param Location $val The defaultLocation
@return BookingService | setDefaultLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultPrice()
{
if (array_key_exists("defaultPrice", $this->_propDict)) {
return $this->_propDict["defaultPrice"];
} else {
return null;
}
} | Gets the defaultPrice
The default monetary price for the service.
@return float|null The defaultPrice | getDefaultPrice | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultPrice($val)
{
$this->_propDict["defaultPrice"] = floatval($val);
return $this;
} | Sets the defaultPrice
The default monetary price for the service.
@param float $val The defaultPrice
@return BookingService | setDefaultPrice | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultPriceType()
{
if (array_key_exists("defaultPriceType", $this->_propDict)) {
if (is_a($this->_propDict["defaultPriceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["defaultPriceType"])) {
return $this->_propDict["defaultPriceType"];
} else {
$this->_propDict["defaultPriceType"] = new BookingPriceType($this->_propDict["defaultPriceType"]);
return $this->_propDict["defaultPriceType"];
}
}
return null;
} | Gets the defaultPriceType
The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue.
@return BookingPriceType|null The defaultPriceType | getDefaultPriceType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultPriceType($val)
{
$this->_propDict["defaultPriceType"] = $val;
return $this;
} | Sets the defaultPriceType
The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue.
@param BookingPriceType $val The defaultPriceType
@return BookingService | setDefaultPriceType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultReminders()
{
if (array_key_exists("defaultReminders", $this->_propDict)) {
return $this->_propDict["defaultReminders"];
} else {
return null;
}
} | Gets the defaultReminders
The value of this property is only available when reading an individual booking service by id.
@return array|null The defaultReminders | getDefaultReminders | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultReminders($val)
{
$this->_propDict["defaultReminders"] = $val;
return $this;
} | Sets the defaultReminders
The value of this property is only available when reading an individual booking service by id.
@param BookingReminder[] $val The defaultReminders
@return BookingService | setDefaultReminders | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getIsAnonymousJoinEnabled()
{
if (array_key_exists("isAnonymousJoinEnabled", $this->_propDict)) {
return $this->_propDict["isAnonymousJoinEnabled"];
} else {
return null;
}
} | Gets the isAnonymousJoinEnabled
True if an anonymousJoinWebUrl(webrtcUrl) will be generated for the appointment booked for this service.
@return bool|null The isAnonymousJoinEnabled | getIsAnonymousJoinEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.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.