PATH:
home
/
thebhoeo
/
.trash
/
backwpup
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
SecurityNamespace
/
Model
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * RetentionEvent File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ namespace Microsoft\Graph\SecurityNamespace\Model; /** * RetentionEvent class * * @category Model * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ class RetentionEvent extends \Microsoft\Graph\Model\Entity { /** * Gets the createdBy * The user who created the retentionEvent. * * @return \Microsoft\Graph\Model\IdentitySet|null The createdBy */ public function getCreatedBy() { if (array_key_exists("createdBy", $this->_propDict)) { if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { return $this->_propDict["createdBy"]; } else { $this->_propDict["createdBy"] = new \Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); return $this->_propDict["createdBy"]; } } return null; } /** * Sets the createdBy * The user who created the retentionEvent. * * @param \Microsoft\Graph\Model\IdentitySet $val The createdBy * * @return RetentionEvent */ public function setCreatedBy($val) { $this->_propDict["createdBy"] = $val; return $this; } /** * Gets the createdDateTime * The date time when the retentionEvent was created. * * @return \DateTime|null The createdDateTime */ public function getCreatedDateTime() { if (array_key_exists("createdDateTime", $this->_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * The date time when the retentionEvent was created. * * @param \DateTime $val The createdDateTime * * @return RetentionEvent */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the description * Optional information about the event. * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Optional information about the event. * * @param string $val The description * * @return RetentionEvent */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Name of the event. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Name of the event. * * @param string $val The displayName * * @return RetentionEvent */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the eventPropagationResults * * @return array|null The eventPropagationResults */ public function getEventPropagationResults() { if (array_key_exists("eventPropagationResults", $this->_propDict)) { return $this->_propDict["eventPropagationResults"]; } else { return null; } } /** * Sets the eventPropagationResults * * @param EventPropagationResult[] $val The eventPropagationResults * * @return RetentionEvent */ public function setEventPropagationResults($val) { $this->_propDict["eventPropagationResults"] = $val; return $this; } /** * Gets the eventQueries * Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. * * @return array|null The eventQueries */ public function getEventQueries() { if (array_key_exists("eventQueries", $this->_propDict)) { return $this->_propDict["eventQueries"]; } else { return null; } } /** * Sets the eventQueries * Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. * * @param EventQuery[] $val The eventQueries * * @return RetentionEvent */ public function setEventQueries($val) { $this->_propDict["eventQueries"] = $val; return $this; } /** * Gets the eventStatus * * @return RetentionEventStatus|null The eventStatus */ public function getEventStatus() { if (array_key_exists("eventStatus", $this->_propDict)) { if (is_a($this->_propDict["eventStatus"], "\Microsoft\Graph\SecurityNamespace\Model\RetentionEventStatus") || is_null($this->_propDict["eventStatus"])) { return $this->_propDict["eventStatus"]; } else { $this->_propDict["eventStatus"] = new RetentionEventStatus($this->_propDict["eventStatus"]); return $this->_propDict["eventStatus"]; } } return null; } /** * Sets the eventStatus * * @param RetentionEventStatus $val The eventStatus * * @return RetentionEvent */ public function setEventStatus($val) { $this->_propDict["eventStatus"] = $val; return $this; } /** * Gets the eventTriggerDateTime * Optional time when the event should be triggered. * * @return \DateTime|null The eventTriggerDateTime */ public function getEventTriggerDateTime() { if (array_key_exists("eventTriggerDateTime", $this->_propDict)) { if (is_a($this->_propDict["eventTriggerDateTime"], "\DateTime") || is_null($this->_propDict["eventTriggerDateTime"])) { return $this->_propDict["eventTriggerDateTime"]; } else { $this->_propDict["eventTriggerDateTime"] = new \DateTime($this->_propDict["eventTriggerDateTime"]); return $this->_propDict["eventTriggerDateTime"]; } } return null; } /** * Sets the eventTriggerDateTime * Optional time when the event should be triggered. * * @param \DateTime $val The eventTriggerDateTime * * @return RetentionEvent */ public function setEventTriggerDateTime($val) { $this->_propDict["eventTriggerDateTime"] = $val; return $this; } /** * Gets the lastModifiedBy * The user who last modified the retentionEvent. * * @return \Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy */ public function getLastModifiedBy() { if (array_key_exists("lastModifiedBy", $this->_propDict)) { if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { return $this->_propDict["lastModifiedBy"]; } else { $this->_propDict["lastModifiedBy"] = new \Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); return $this->_propDict["lastModifiedBy"]; } } return null; } /** * Sets the lastModifiedBy * The user who last modified the retentionEvent. * * @param \Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy * * @return RetentionEvent */ public function setLastModifiedBy($val) { $this->_propDict["lastModifiedBy"] = $val; return $this; } /** * Gets the lastModifiedDateTime * The latest date time when the retentionEvent was modified. * * @return \DateTime|null The lastModifiedDateTime */ public function getLastModifiedDateTime() { if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { return $this->_propDict["lastModifiedDateTime"]; } else { $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); return $this->_propDict["lastModifiedDateTime"]; } } return null; } /** * Sets the lastModifiedDateTime * The latest date time when the retentionEvent was modified. * * @param \DateTime $val The lastModifiedDateTime * * @return RetentionEvent */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the lastStatusUpdateDateTime * Last time the status of the event was updated. * * @return \DateTime|null The lastStatusUpdateDateTime */ public function getLastStatusUpdateDateTime() { if (array_key_exists("lastStatusUpdateDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastStatusUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastStatusUpdateDateTime"])) { return $this->_propDict["lastStatusUpdateDateTime"]; } else { $this->_propDict["lastStatusUpdateDateTime"] = new \DateTime($this->_propDict["lastStatusUpdateDateTime"]); return $this->_propDict["lastStatusUpdateDateTime"]; } } return null; } /** * Sets the lastStatusUpdateDateTime * Last time the status of the event was updated. * * @param \DateTime $val The lastStatusUpdateDateTime * * @return RetentionEvent */ public function setLastStatusUpdateDateTime($val) { $this->_propDict["lastStatusUpdateDateTime"] = $val; return $this; } /** * Gets the retentionEventType * Specifies the event that will start the retention period for labels that use this event type when an event is created. * * @return RetentionEventType|null The retentionEventType */ public function getRetentionEventType() { if (array_key_exists("retentionEventType", $this->_propDict)) { if (is_a($this->_propDict["retentionEventType"], "\Microsoft\Graph\SecurityNamespace\Model\RetentionEventType") || is_null($this->_propDict["retentionEventType"])) { return $this->_propDict["retentionEventType"]; } else { $this->_propDict["retentionEventType"] = new RetentionEventType($this->_propDict["retentionEventType"]); return $this->_propDict["retentionEventType"]; } } return null; } /** * Sets the retentionEventType * Specifies the event that will start the retention period for labels that use this event type when an event is created. * * @param RetentionEventType $val The retentionEventType * * @return RetentionEvent */ public function setRetentionEventType($val) { $this->_propDict["retentionEventType"] = $val; return $this; } }
[+]
..
[-] ExportFileMetadata.php
[edit]
[-] AmazonResourceEvidence.php
[edit]
[-] Subdomain.php
[edit]
[-] EmailSender.php
[edit]
[-] FileHashAlgorithm.php
[edit]
[-] IntelligenceProfileKind.php
[edit]
[-] AlertDetermination.php
[edit]
[-] EvidenceVerdict.php
[edit]
[-] Hyperlink.php
[edit]
[-] SiteSource.php
[edit]
[-] EdiscoveryCase.php
[edit]
[-] DataSourceContainer.php
[edit]
[-] EdiscoveryAddToReviewSetOperation.php
[edit]
[-] BlobContainerEvidence.php
[edit]
[-] HostReputationRuleSeverity.php
[edit]
[-] UnclassifiedArtifact.php
[edit]
[-] WhoisDomainStatus.php
[edit]
[-] WhoisBaseRecord.php
[edit]
[-] EdiscoveryIndexOperation.php
[edit]
[-] UrlEvidence.php
[edit]
[-] FileDetails.php
[edit]
[-] AlertClassification.php
[edit]
[-] IntelligenceProfileIndicator.php
[edit]
[-] DataSourceHoldStatus.php
[edit]
[-] FileHash.php
[edit]
[-] KubernetesClusterEvidence.php
[edit]
[-] KubernetesServicePort.php
[edit]
[-] DataSource.php
[edit]
[-] ChildSelectability.php
[edit]
[-] GoogleCloudLocationType.php
[edit]
[-] EdiscoveryExportOperation.php
[edit]
[-] EdiscoveryCustodian.php
[edit]
[-] KubernetesControllerEvidence.php
[edit]
[-] Search.php
[edit]
[-] KubernetesPlatform.php
[edit]
[-] PurgeType.php
[edit]
[-] RetentionEvent.php
[edit]
[-] OcrSettings.php
[edit]
[-] VulnerabilityComponent.php
[edit]
[-] KubernetesSecretEvidence.php
[edit]
[-] HostPort.php
[edit]
[-] MailboxEvidence.php
[edit]
[-] IncidentStatus.php
[edit]
[-] Vulnerability.php
[edit]
[-] KubernetesServiceAccountEvidence.php
[edit]
[-] AlertComment.php
[edit]
[-] RegistryValueEvidence.php
[edit]
[-] Hostname.php
[edit]
[-] OauthApplicationEvidence.php
[edit]
[-] HuntingQueryResults.php
[edit]
[-] KubernetesPodEvidence.php
[edit]
[-] DeviceRiskScore.php
[edit]
[-] CaseOperation.php
[edit]
[-] DataSet.php
[edit]
[-] CaseOperationStatus.php
[edit]
[-] AdditionalDataOptions.php
[edit]
[-] EventStatusType.php
[edit]
[-] IntelligenceProfile.php
[edit]
[-] EdiscoveryTagOperation.php
[edit]
[-] WhoisRecord.php
[edit]
[-] KubernetesServiceType.php
[edit]
[-] ServiceSource.php
[edit]
[-] ContentFormat.php
[edit]
[-] DeviceEvidence.php
[edit]
[-] HostPair.php
[edit]
[-] LoggedOnUser.php
[edit]
[-] HostPortProtocol.php
[edit]
[-] AlertStatus.php
[edit]
[-] VmCloudProvider.php
[edit]
[-] Article.php
[edit]
[-] EdiscoveryReviewSetQuery.php
[edit]
[-] DetectionStatus.php
[edit]
[-] FormattedContent.php
[edit]
[-] WhoisContact.php
[edit]
[-] CvssSummary.php
[edit]
[-] AnalyzedMessageEvidence.php
[edit]
[-] EdiscoveryReviewTag.php
[edit]
[-] AzureResourceEvidence.php
[edit]
[-] ArticleIndicator.php
[edit]
[-] CaseStatus.php
[edit]
[-] WhoisHistoryRecord.php
[edit]
[-] EvidenceRole.php
[edit]
[-] EvidenceRemediationStatus.php
[edit]
[-] HuntingRowResult.php
[edit]
[-] HostReputationRule.php
[edit]
[-] RedundancyDetectionSettings.php
[edit]
[-] EdiscoveryPurgeDataOperation.php
[edit]
[-] HostComponent.php
[edit]
[-] ThreatIntelligence.php
[edit]
[-] AlertEvidence.php
[edit]
[-] SslCertificate.php
[edit]
[-] IpEvidence.php
[edit]
[-] Incident.php
[edit]
[-] RetentionEventStatus.php
[edit]
[-] OnboardingStatus.php
[edit]
[-] VulnerabilitySeverity.php
[edit]
[-] UserAccount.php
[edit]
[-] EdiscoveryNoncustodialDataSource.php
[edit]
[-] GoogleCloudResourceEvidence.php
[edit]
[-] DefenderAvStatus.php
[edit]
[-] IpAddress.php
[edit]
[-] HostPortStatus.php
[edit]
[-] ProcessEvidence.php
[edit]
[-] Dictionary.php
[edit]
[-] DynamicColumnValue.php
[edit]
[-] ExportOptions.php
[edit]
[-] CasesRoot.php
[edit]
[-] EdiscoverySearch.php
[edit]
[-] FileEvidence.php
[edit]
[-] BlobEvidence.php
[edit]
[-] UserEvidence.php
[edit]
[-] ContainerImageEvidence.php
[edit]
[-] RegistryKeyEvidence.php
[edit]
[-] HostSslCertificate.php
[edit]
[-] EdiscoveryEstimateOperation.php
[edit]
[-] QueryType.php
[edit]
[-] EventPropagationResult.php
[edit]
[-] HostPortComponent.php
[edit]
[-] DataSourceContainerStatus.php
[edit]
[-] RetentionTrigger.php
[edit]
[-] UnifiedGroupSource.php
[edit]
[-] PassiveDnsRecord.php
[edit]
[-] EdiscoveryCaseSettings.php
[edit]
[-] HostCookie.php
[edit]
[-] CloudApplicationEvidence.php
[edit]
[-] DetectionSource.php
[edit]
[-] HostTracker.php
[edit]
[-] EdiscoveryReviewSet.php
[edit]
[-] SinglePropertySchema.php
[edit]
[-] HostPortBanner.php
[edit]
[-] UserSource.php
[edit]
[-] GraphCase.php
[edit]
[-] Artifact.php
[edit]
[-] DataSourceScopes.php
[edit]
[-] ExportFileStructure.php
[edit]
[-] EventPropagationStatus.php
[edit]
[-] HostReputationClassification.php
[edit]
[-] WhoisNameserver.php
[edit]
[-] HostSslCertificatePort.php
[edit]
[-] MailClusterEvidence.php
[edit]
[-] EdiscoveryHoldOperation.php
[edit]
[-] TopicModelingSettings.php
[edit]
[-] HostReputation.php
[edit]
[-] IntelligenceProfileCountryOrRegionOfOrigin.php
[edit]
[-] SslCertificateEntity.php
[edit]
[-] TriggersRoot.php
[edit]
[-] ContainerRegistryEvidence.php
[edit]
[-] IndicatorSource.php
[edit]
[-] TriggerTypesRoot.php
[edit]
[-] SourceType.php
[edit]
[-] PurgeAreas.php
[edit]
[-] ContainerPortProtocol.php
[edit]
[-] KubernetesServiceEvidence.php
[edit]
[-] RetentionEventType.php
[edit]
[-] Tag.php
[edit]
[-] StringValueDictionary.php
[edit]
[-] KubernetesNamespaceEvidence.php
[edit]
[-] SecurityGroupEvidence.php
[edit]
[-] AlertSeverity.php
[edit]
[-] ContainerEvidence.php
[edit]
[-] Indicator.php
[edit]
[-] AutonomousSystem.php
[edit]
[-] DeviceHealthStatus.php
[edit]
[-] VmMetadata.php
[edit]
[-] EventQuery.php
[edit]
[-] CaseAction.php
[edit]
[-] Host.php
[edit]
[-] Alert.php
[edit]