From b789ec129f08124795a8849f119432831734f0c6 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 25 Jul 2023 10:09:04 +0000 Subject: [PATCH 1/6] Update generated files with build 121145 --- src/Model/ApiApplication.php | 4 +- src/Model/ConditionalAccessApplications.php | 31 ++ .../ConditionalAccessClientApplications.php | 31 ++ src/Model/LicenseUnitsDetail.php | 2 + src/Model/SubscribedSku.php | 16 +- src/Model/TeamsAppSettings.php | 54 ++++ src/Model/Teamwork.php | 31 ++ .../Model/BlobContainerEvidence.php | 109 +++++++ src/SecurityNamespace/Model/BlobEvidence.php | 166 ++++++++++ .../Model/ContainerEvidence.php | 218 +++++++++++++ .../Model/ContainerImageEvidence.php | 114 +++++++ .../Model/ContainerPortProtocol.php | 36 +++ .../Model/ContainerRegistryEvidence.php | 52 +++ src/SecurityNamespace/Model/Dictionary.php | 26 ++ src/SecurityNamespace/Model/FileHash.php | 83 +++++ .../Model/FileHashAlgorithm.php | 38 +++ .../Model/KubernetesClusterEvidence.php | 166 ++++++++++ .../Model/KubernetesControllerEvidence.php | 140 ++++++++ .../Model/KubernetesNamespaceEvidence.php | 114 +++++++ .../Model/KubernetesPlatform.php | 38 +++ .../Model/KubernetesPodEvidence.php | 300 ++++++++++++++++++ .../Model/KubernetesSecretEvidence.php | 109 +++++++ .../KubernetesServiceAccountEvidence.php | 83 +++++ .../Model/KubernetesServiceEvidence.php | 269 ++++++++++++++++ .../Model/KubernetesServicePort.php | 187 +++++++++++ .../Model/KubernetesServiceType.php | 38 +++ 26 files changed, 2447 insertions(+), 8 deletions(-) create mode 100644 src/Model/TeamsAppSettings.php create mode 100644 src/SecurityNamespace/Model/BlobContainerEvidence.php create mode 100644 src/SecurityNamespace/Model/BlobEvidence.php create mode 100644 src/SecurityNamespace/Model/ContainerEvidence.php create mode 100644 src/SecurityNamespace/Model/ContainerImageEvidence.php create mode 100644 src/SecurityNamespace/Model/ContainerPortProtocol.php create mode 100644 src/SecurityNamespace/Model/ContainerRegistryEvidence.php create mode 100644 src/SecurityNamespace/Model/Dictionary.php create mode 100644 src/SecurityNamespace/Model/FileHash.php create mode 100644 src/SecurityNamespace/Model/FileHashAlgorithm.php create mode 100644 src/SecurityNamespace/Model/KubernetesClusterEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesControllerEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesPlatform.php create mode 100644 src/SecurityNamespace/Model/KubernetesPodEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesSecretEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesServiceEvidence.php create mode 100644 src/SecurityNamespace/Model/KubernetesServicePort.php create mode 100644 src/SecurityNamespace/Model/KubernetesServiceType.php diff --git a/src/Model/ApiApplication.php b/src/Model/ApiApplication.php index 4cb5552f9ac..2c6d0833640 100644 --- a/src/Model/ApiApplication.php +++ b/src/Model/ApiApplication.php @@ -147,7 +147,7 @@ public function setPreAuthorizedApplications($val) } /** * Gets the requestedAccessTokenVersion - * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount or PersonalMicrosoftAccount, the value for this property must be 2. * * @return int|null The requestedAccessTokenVersion */ @@ -162,7 +162,7 @@ public function getRequestedAccessTokenVersion() /** * Sets the requestedAccessTokenVersion - * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount or PersonalMicrosoftAccount, the value for this property must be 2. * * @param int $val The value of the requestedAccessTokenVersion * diff --git a/src/Model/ConditionalAccessApplications.php b/src/Model/ConditionalAccessApplications.php index b7ad9bcb46e..0240dd0fdae 100644 --- a/src/Model/ConditionalAccessApplications.php +++ b/src/Model/ConditionalAccessApplications.php @@ -23,6 +23,37 @@ */ class ConditionalAccessApplications extends Entity { + + /** + * Gets the applicationFilter + * + * @return ConditionalAccessFilter|null The applicationFilter + */ + public function getApplicationFilter() + { + if (array_key_exists("applicationFilter", $this->_propDict)) { + if (is_a($this->_propDict["applicationFilter"], "\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["applicationFilter"])) { + return $this->_propDict["applicationFilter"]; + } else { + $this->_propDict["applicationFilter"] = new ConditionalAccessFilter($this->_propDict["applicationFilter"]); + return $this->_propDict["applicationFilter"]; + } + } + return null; + } + + /** + * Sets the applicationFilter + * + * @param ConditionalAccessFilter $val The value to assign to the applicationFilter + * + * @return ConditionalAccessApplications The ConditionalAccessApplications + */ + public function setApplicationFilter($val) + { + $this->_propDict["applicationFilter"] = $val; + return $this; + } /** * Gets the excludeApplications * Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365 diff --git a/src/Model/ConditionalAccessClientApplications.php b/src/Model/ConditionalAccessClientApplications.php index e4246c4d267..6b082a82205 100644 --- a/src/Model/ConditionalAccessClientApplications.php +++ b/src/Model/ConditionalAccessClientApplications.php @@ -79,4 +79,35 @@ public function setIncludeServicePrincipals($val) $this->_propDict["includeServicePrincipals"] = $val; return $this; } + + /** + * Gets the servicePrincipalFilter + * + * @return ConditionalAccessFilter|null The servicePrincipalFilter + */ + public function getServicePrincipalFilter() + { + if (array_key_exists("servicePrincipalFilter", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipalFilter"], "\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["servicePrincipalFilter"])) { + return $this->_propDict["servicePrincipalFilter"]; + } else { + $this->_propDict["servicePrincipalFilter"] = new ConditionalAccessFilter($this->_propDict["servicePrincipalFilter"]); + return $this->_propDict["servicePrincipalFilter"]; + } + } + return null; + } + + /** + * Sets the servicePrincipalFilter + * + * @param ConditionalAccessFilter $val The value to assign to the servicePrincipalFilter + * + * @return ConditionalAccessClientApplications The ConditionalAccessClientApplications + */ + public function setServicePrincipalFilter($val) + { + $this->_propDict["servicePrincipalFilter"] = $val; + return $this; + } } diff --git a/src/Model/LicenseUnitsDetail.php b/src/Model/LicenseUnitsDetail.php index 78953487e31..6270f921814 100644 --- a/src/Model/LicenseUnitsDetail.php +++ b/src/Model/LicenseUnitsDetail.php @@ -53,6 +53,7 @@ public function setEnabled($val) } /** * Gets the lockedOut + * The number of units that are locked out because the customer cancelled their subscription of the service SKU. * * @return int|null The lockedOut */ @@ -67,6 +68,7 @@ public function getLockedOut() /** * Sets the lockedOut + * The number of units that are locked out because the customer cancelled their subscription of the service SKU. * * @param int $val The value of the lockedOut * diff --git a/src/Model/SubscribedSku.php b/src/Model/SubscribedSku.php index bf9ad49b525..218167aa7be 100644 --- a/src/Model/SubscribedSku.php +++ b/src/Model/SubscribedSku.php @@ -26,6 +26,7 @@ class SubscribedSku extends Entity { /** * Gets the accountId + * The unique ID of the account this SKU belongs to. * * @return string|null The accountId */ @@ -40,6 +41,7 @@ public function getAccountId() /** * Sets the accountId + * The unique ID of the account this SKU belongs to. * * @param string $val The accountId * @@ -53,6 +55,7 @@ public function setAccountId($val) /** * Gets the accountName + * The name of the account this SKU belongs to. * * @return string|null The accountName */ @@ -67,6 +70,7 @@ public function getAccountName() /** * Sets the accountName + * The name of the account this SKU belongs to. * * @param string $val The accountName * @@ -80,7 +84,7 @@ public function setAccountName($val) /** * Gets the appliesTo - * For example, 'User' or 'Company'. + * The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'. * * @return string|null The appliesTo */ @@ -95,7 +99,7 @@ public function getAppliesTo() /** * Sets the appliesTo - * For example, 'User' or 'Company'. + * The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: 'User', 'Company'. * * @param string $val The appliesTo * @@ -109,7 +113,7 @@ public function setAppliesTo($val) /** * Gets the capabilityStatus - * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @return string|null The capabilityStatus */ @@ -124,7 +128,7 @@ public function getCapabilityStatus() /** * Sets the capabilityStatus - * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @param string $val The capabilityStatus * @@ -201,7 +205,7 @@ public function setPrepaidUnits($val) /** * Gets the servicePlans - * Information about the service plans that are available with the SKU. Not nullable + * Information about the service plans that are available with the SKU. Not nullable. * * @return array|null The servicePlans */ @@ -216,7 +220,7 @@ public function getServicePlans() /** * Sets the servicePlans - * Information about the service plans that are available with the SKU. Not nullable + * Information about the service plans that are available with the SKU. Not nullable. * * @param ServicePlanInfo[] $val The servicePlans * diff --git a/src/Model/TeamsAppSettings.php b/src/Model/TeamsAppSettings.php new file mode 100644 index 00000000000..130a302243b --- /dev/null +++ b/src/Model/TeamsAppSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["allowUserRequestsForAppAccess"]; + } else { + return null; + } + } + + /** + * Sets the allowUserRequestsForAppAccess + * + * @param bool $val The allowUserRequestsForAppAccess + * + * @return TeamsAppSettings + */ + public function setAllowUserRequestsForAppAccess($val) + { + $this->_propDict["allowUserRequestsForAppAccess"] = boolval($val); + return $this; + } + +} diff --git a/src/Model/Teamwork.php b/src/Model/Teamwork.php index c0386153314..72fd9196325 100644 --- a/src/Model/Teamwork.php +++ b/src/Model/Teamwork.php @@ -82,4 +82,35 @@ public function setDeletedTeams($val) return $this; } + /** + * Gets the teamsAppSettings + * + * @return TeamsAppSettings|null The teamsAppSettings + */ + public function getTeamsAppSettings() + { + if (array_key_exists("teamsAppSettings", $this->_propDict)) { + if (is_a($this->_propDict["teamsAppSettings"], "\Microsoft\Graph\Model\TeamsAppSettings") || is_null($this->_propDict["teamsAppSettings"])) { + return $this->_propDict["teamsAppSettings"]; + } else { + $this->_propDict["teamsAppSettings"] = new TeamsAppSettings($this->_propDict["teamsAppSettings"]); + return $this->_propDict["teamsAppSettings"]; + } + } + return null; + } + + /** + * Sets the teamsAppSettings + * + * @param TeamsAppSettings $val The teamsAppSettings + * + * @return Teamwork + */ + public function setTeamsAppSettings($val) + { + $this->_propDict["teamsAppSettings"] = $val; + return $this; + } + } diff --git a/src/SecurityNamespace/Model/BlobContainerEvidence.php b/src/SecurityNamespace/Model/BlobContainerEvidence.php new file mode 100644 index 00000000000..8ea9443bc51 --- /dev/null +++ b/src/SecurityNamespace/Model/BlobContainerEvidence.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return BlobContainerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the storageResource + * + * @return AzureResourceEvidence|null The storageResource + */ + public function getStorageResource() + { + if (array_key_exists("storageResource", $this->_propDict)) { + if (is_a($this->_propDict["storageResource"], "\Microsoft\Graph\SecurityNamespace\Model\AzureResourceEvidence") || is_null($this->_propDict["storageResource"])) { + return $this->_propDict["storageResource"]; + } else { + $this->_propDict["storageResource"] = new AzureResourceEvidence($this->_propDict["storageResource"]); + return $this->_propDict["storageResource"]; + } + } + return null; + } + + /** + * Sets the storageResource + * + * @param AzureResourceEvidence $val The value to assign to the storageResource + * + * @return BlobContainerEvidence The BlobContainerEvidence + */ + public function setStorageResource($val) + { + $this->_propDict["storageResource"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return BlobContainerEvidence + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/BlobEvidence.php b/src/SecurityNamespace/Model/BlobEvidence.php new file mode 100644 index 00000000000..1d05a2190bf --- /dev/null +++ b/src/SecurityNamespace/Model/BlobEvidence.php @@ -0,0 +1,166 @@ +_propDict)) { + if (is_a($this->_propDict["blobContainer"], "\Microsoft\Graph\SecurityNamespace\Model\BlobContainerEvidence") || is_null($this->_propDict["blobContainer"])) { + return $this->_propDict["blobContainer"]; + } else { + $this->_propDict["blobContainer"] = new BlobContainerEvidence($this->_propDict["blobContainer"]); + return $this->_propDict["blobContainer"]; + } + } + return null; + } + + /** + * Sets the blobContainer + * + * @param BlobContainerEvidence $val The value to assign to the blobContainer + * + * @return BlobEvidence The BlobEvidence + */ + public function setBlobContainer($val) + { + $this->_propDict["blobContainer"] = $val; + return $this; + } + /** + * Gets the etag + * + * @return string|null The etag + */ + public function getEtag() + { + if (array_key_exists("etag", $this->_propDict)) { + return $this->_propDict["etag"]; + } else { + return null; + } + } + + /** + * Sets the etag + * + * @param string $val The value of the etag + * + * @return BlobEvidence + */ + public function setEtag($val) + { + $this->_propDict["etag"] = $val; + return $this; + } + + /** + * Gets the fileHashes + * + * @return FileHash|null The fileHashes + */ + public function getFileHashes() + { + if (array_key_exists("fileHashes", $this->_propDict)) { + if (is_a($this->_propDict["fileHashes"], "\Microsoft\Graph\SecurityNamespace\Model\FileHash") || is_null($this->_propDict["fileHashes"])) { + return $this->_propDict["fileHashes"]; + } else { + $this->_propDict["fileHashes"] = new FileHash($this->_propDict["fileHashes"]); + return $this->_propDict["fileHashes"]; + } + } + return null; + } + + /** + * Sets the fileHashes + * + * @param FileHash $val The value to assign to the fileHashes + * + * @return BlobEvidence The BlobEvidence + */ + public function setFileHashes($val) + { + $this->_propDict["fileHashes"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return BlobEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return BlobEvidence + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/ContainerEvidence.php b/src/SecurityNamespace/Model/ContainerEvidence.php new file mode 100644 index 00000000000..ced0b2d8575 --- /dev/null +++ b/src/SecurityNamespace/Model/ContainerEvidence.php @@ -0,0 +1,218 @@ +_propDict)) { + return $this->_propDict["args"]; + } else { + return null; + } + } + + /** + * Sets the args + * + * @param string $val The value of the args + * + * @return ContainerEvidence + */ + public function setArgs($val) + { + $this->_propDict["args"] = $val; + return $this; + } + /** + * Gets the command + * + * @return string|null The command + */ + public function getCommand() + { + if (array_key_exists("command", $this->_propDict)) { + return $this->_propDict["command"]; + } else { + return null; + } + } + + /** + * Sets the command + * + * @param string $val The value of the command + * + * @return ContainerEvidence + */ + public function setCommand($val) + { + $this->_propDict["command"] = $val; + return $this; + } + /** + * Gets the containerId + * + * @return string|null The containerId + */ + public function getContainerId() + { + if (array_key_exists("containerId", $this->_propDict)) { + return $this->_propDict["containerId"]; + } else { + return null; + } + } + + /** + * Sets the containerId + * + * @param string $val The value of the containerId + * + * @return ContainerEvidence + */ + public function setContainerId($val) + { + $this->_propDict["containerId"] = $val; + return $this; + } + + /** + * Gets the image + * + * @return ContainerImageEvidence|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerImageEvidence") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new ContainerImageEvidence($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * + * @param ContainerImageEvidence $val The value to assign to the image + * + * @return ContainerEvidence The ContainerEvidence + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + /** + * Gets the isPrivileged + * + * @return bool|null The isPrivileged + */ + public function getIsPrivileged() + { + if (array_key_exists("isPrivileged", $this->_propDict)) { + return $this->_propDict["isPrivileged"]; + } else { + return null; + } + } + + /** + * Sets the isPrivileged + * + * @param bool $val The value of the isPrivileged + * + * @return ContainerEvidence + */ + public function setIsPrivileged($val) + { + $this->_propDict["isPrivileged"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ContainerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the pod + * + * @return KubernetesPodEvidence|null The pod + */ + public function getPod() + { + if (array_key_exists("pod", $this->_propDict)) { + if (is_a($this->_propDict["pod"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesPodEvidence") || is_null($this->_propDict["pod"])) { + return $this->_propDict["pod"]; + } else { + $this->_propDict["pod"] = new KubernetesPodEvidence($this->_propDict["pod"]); + return $this->_propDict["pod"]; + } + } + return null; + } + + /** + * Sets the pod + * + * @param KubernetesPodEvidence $val The value to assign to the pod + * + * @return ContainerEvidence The ContainerEvidence + */ + public function setPod($val) + { + $this->_propDict["pod"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/ContainerImageEvidence.php b/src/SecurityNamespace/Model/ContainerImageEvidence.php new file mode 100644 index 00000000000..0401e5ce209 --- /dev/null +++ b/src/SecurityNamespace/Model/ContainerImageEvidence.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["digestImage"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerImageEvidence") || is_null($this->_propDict["digestImage"])) { + return $this->_propDict["digestImage"]; + } else { + $this->_propDict["digestImage"] = new ContainerImageEvidence($this->_propDict["digestImage"]); + return $this->_propDict["digestImage"]; + } + } + return null; + } + + /** + * Sets the digestImage + * + * @param ContainerImageEvidence $val The value to assign to the digestImage + * + * @return ContainerImageEvidence The ContainerImageEvidence + */ + public function setDigestImage($val) + { + $this->_propDict["digestImage"] = $val; + return $this; + } + /** + * Gets the imageId + * + * @return string|null The imageId + */ + public function getImageId() + { + if (array_key_exists("imageId", $this->_propDict)) { + return $this->_propDict["imageId"]; + } else { + return null; + } + } + + /** + * Sets the imageId + * + * @param string $val The value of the imageId + * + * @return ContainerImageEvidence + */ + public function setImageId($val) + { + $this->_propDict["imageId"] = $val; + return $this; + } + + /** + * Gets the registry + * + * @return ContainerRegistryEvidence|null The registry + */ + public function getRegistry() + { + if (array_key_exists("registry", $this->_propDict)) { + if (is_a($this->_propDict["registry"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerRegistryEvidence") || is_null($this->_propDict["registry"])) { + return $this->_propDict["registry"]; + } else { + $this->_propDict["registry"] = new ContainerRegistryEvidence($this->_propDict["registry"]); + return $this->_propDict["registry"]; + } + } + return null; + } + + /** + * Sets the registry + * + * @param ContainerRegistryEvidence $val The value to assign to the registry + * + * @return ContainerImageEvidence The ContainerImageEvidence + */ + public function setRegistry($val) + { + $this->_propDict["registry"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/ContainerPortProtocol.php b/src/SecurityNamespace/Model/ContainerPortProtocol.php new file mode 100644 index 00000000000..619fef1c589 --- /dev/null +++ b/src/SecurityNamespace/Model/ContainerPortProtocol.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["registry"]; + } else { + return null; + } + } + + /** + * Sets the registry + * + * @param string $val The value of the registry + * + * @return ContainerRegistryEvidence + */ + public function setRegistry($val) + { + $this->_propDict["registry"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/Dictionary.php b/src/SecurityNamespace/Model/Dictionary.php new file mode 100644 index 00000000000..23df47f9d5c --- /dev/null +++ b/src/SecurityNamespace/Model/Dictionary.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["algorithm"], "\Microsoft\Graph\SecurityNamespace\Model\FileHashAlgorithm") || is_null($this->_propDict["algorithm"])) { + return $this->_propDict["algorithm"]; + } else { + $this->_propDict["algorithm"] = new FileHashAlgorithm($this->_propDict["algorithm"]); + return $this->_propDict["algorithm"]; + } + } + return null; + } + + /** + * Sets the algorithm + * + * @param FileHashAlgorithm $val The value to assign to the algorithm + * + * @return FileHash The FileHash + */ + public function setAlgorithm($val) + { + $this->_propDict["algorithm"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return FileHash + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/FileHashAlgorithm.php b/src/SecurityNamespace/Model/FileHashAlgorithm.php new file mode 100644 index 00000000000..e5eba873447 --- /dev/null +++ b/src/SecurityNamespace/Model/FileHashAlgorithm.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["cloudResource"], "\Microsoft\Graph\SecurityNamespace\Model\AlertEvidence") || is_null($this->_propDict["cloudResource"])) { + return $this->_propDict["cloudResource"]; + } else { + $this->_propDict["cloudResource"] = new AlertEvidence($this->_propDict["cloudResource"]); + return $this->_propDict["cloudResource"]; + } + } + return null; + } + + /** + * Sets the cloudResource + * + * @param AlertEvidence $val The value to assign to the cloudResource + * + * @return KubernetesClusterEvidence The KubernetesClusterEvidence + */ + public function setCloudResource($val) + { + $this->_propDict["cloudResource"] = $val; + return $this; + } + /** + * Gets the distribution + * + * @return string|null The distribution + */ + public function getDistribution() + { + if (array_key_exists("distribution", $this->_propDict)) { + return $this->_propDict["distribution"]; + } else { + return null; + } + } + + /** + * Sets the distribution + * + * @param string $val The value of the distribution + * + * @return KubernetesClusterEvidence + */ + public function setDistribution($val) + { + $this->_propDict["distribution"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesClusterEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the platform + * + * @return KubernetesPlatform|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesPlatform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new KubernetesPlatform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * + * @param KubernetesPlatform $val The value to assign to the platform + * + * @return KubernetesClusterEvidence The KubernetesClusterEvidence + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The value of the version + * + * @return KubernetesClusterEvidence + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesControllerEvidence.php b/src/SecurityNamespace/Model/KubernetesControllerEvidence.php new file mode 100644 index 00000000000..df2aaea26ec --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesControllerEvidence.php @@ -0,0 +1,140 @@ +_propDict)) { + if (is_a($this->_propDict["labels"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesControllerEvidence The KubernetesControllerEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesControllerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesControllerEvidence The KubernetesControllerEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return KubernetesControllerEvidence + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php b/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php new file mode 100644 index 00000000000..dd9741c520c --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["cluster"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesClusterEvidence") || is_null($this->_propDict["cluster"])) { + return $this->_propDict["cluster"]; + } else { + $this->_propDict["cluster"] = new KubernetesClusterEvidence($this->_propDict["cluster"]); + return $this->_propDict["cluster"]; + } + } + return null; + } + + /** + * Sets the cluster + * + * @param KubernetesClusterEvidence $val The value to assign to the cluster + * + * @return KubernetesNamespaceEvidence The KubernetesNamespaceEvidence + */ + public function setCluster($val) + { + $this->_propDict["cluster"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesNamespaceEvidence The KubernetesNamespaceEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesNamespaceEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesPlatform.php b/src/SecurityNamespace/Model/KubernetesPlatform.php new file mode 100644 index 00000000000..91dca63b0eb --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesPlatform.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["containers"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["containers"])) { + return $this->_propDict["containers"]; + } else { + $this->_propDict["containers"] = new ContainerEvidence($this->_propDict["containers"]); + return $this->_propDict["containers"]; + } + } + return null; + } + + /** + * Sets the containers + * + * @param ContainerEvidence $val The value to assign to the containers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setContainers($val) + { + $this->_propDict["containers"] = $val; + return $this; + } + + /** + * Gets the controller + * + * @return KubernetesControllerEvidence|null The controller + */ + public function getController() + { + if (array_key_exists("controller", $this->_propDict)) { + if (is_a($this->_propDict["controller"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesControllerEvidence") || is_null($this->_propDict["controller"])) { + return $this->_propDict["controller"]; + } else { + $this->_propDict["controller"] = new KubernetesControllerEvidence($this->_propDict["controller"]); + return $this->_propDict["controller"]; + } + } + return null; + } + + /** + * Sets the controller + * + * @param KubernetesControllerEvidence $val The value to assign to the controller + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setController($val) + { + $this->_propDict["controller"] = $val; + return $this; + } + + /** + * Gets the ephemeralContainers + * + * @return ContainerEvidence|null The ephemeralContainers + */ + public function getEphemeralContainers() + { + if (array_key_exists("ephemeralContainers", $this->_propDict)) { + if (is_a($this->_propDict["ephemeralContainers"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["ephemeralContainers"])) { + return $this->_propDict["ephemeralContainers"]; + } else { + $this->_propDict["ephemeralContainers"] = new ContainerEvidence($this->_propDict["ephemeralContainers"]); + return $this->_propDict["ephemeralContainers"]; + } + } + return null; + } + + /** + * Sets the ephemeralContainers + * + * @param ContainerEvidence $val The value to assign to the ephemeralContainers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setEphemeralContainers($val) + { + $this->_propDict["ephemeralContainers"] = $val; + return $this; + } + + /** + * Gets the initContainers + * + * @return ContainerEvidence|null The initContainers + */ + public function getInitContainers() + { + if (array_key_exists("initContainers", $this->_propDict)) { + if (is_a($this->_propDict["initContainers"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["initContainers"])) { + return $this->_propDict["initContainers"]; + } else { + $this->_propDict["initContainers"] = new ContainerEvidence($this->_propDict["initContainers"]); + return $this->_propDict["initContainers"]; + } + } + return null; + } + + /** + * Sets the initContainers + * + * @param ContainerEvidence $val The value to assign to the initContainers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setInitContainers($val) + { + $this->_propDict["initContainers"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesPodEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + + /** + * Gets the podIp + * + * @return IpEvidence|null The podIp + */ + public function getPodIp() + { + if (array_key_exists("podIp", $this->_propDict)) { + if (is_a($this->_propDict["podIp"], "\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["podIp"])) { + return $this->_propDict["podIp"]; + } else { + $this->_propDict["podIp"] = new IpEvidence($this->_propDict["podIp"]); + return $this->_propDict["podIp"]; + } + } + return null; + } + + /** + * Sets the podIp + * + * @param IpEvidence $val The value to assign to the podIp + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setPodIp($val) + { + $this->_propDict["podIp"] = $val; + return $this; + } + + /** + * Gets the serviceAccount + * + * @return KubernetesServiceAccountEvidence|null The serviceAccount + */ + public function getServiceAccount() + { + if (array_key_exists("serviceAccount", $this->_propDict)) { + if (is_a($this->_propDict["serviceAccount"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesServiceAccountEvidence") || is_null($this->_propDict["serviceAccount"])) { + return $this->_propDict["serviceAccount"]; + } else { + $this->_propDict["serviceAccount"] = new KubernetesServiceAccountEvidence($this->_propDict["serviceAccount"]); + return $this->_propDict["serviceAccount"]; + } + } + return null; + } + + /** + * Sets the serviceAccount + * + * @param KubernetesServiceAccountEvidence $val The value to assign to the serviceAccount + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setServiceAccount($val) + { + $this->_propDict["serviceAccount"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesSecretEvidence.php b/src/SecurityNamespace/Model/KubernetesSecretEvidence.php new file mode 100644 index 00000000000..e5e89ed6c13 --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesSecretEvidence.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesSecretEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesSecretEvidence The KubernetesSecretEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + /** + * Gets the secretType + * + * @return string|null The secretType + */ + public function getSecretType() + { + if (array_key_exists("secretType", $this->_propDict)) { + return $this->_propDict["secretType"]; + } else { + return null; + } + } + + /** + * Sets the secretType + * + * @param string $val The value of the secretType + * + * @return KubernetesSecretEvidence + */ + public function setSecretType($val) + { + $this->_propDict["secretType"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php b/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php new file mode 100644 index 00000000000..856dd47d31e --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServiceAccountEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesServiceAccountEvidence The KubernetesServiceAccountEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesServiceEvidence.php b/src/SecurityNamespace/Model/KubernetesServiceEvidence.php new file mode 100644 index 00000000000..c334f35fe3c --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesServiceEvidence.php @@ -0,0 +1,269 @@ +_propDict)) { + if (is_a($this->_propDict["clusterIP"], "\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["clusterIP"])) { + return $this->_propDict["clusterIP"]; + } else { + $this->_propDict["clusterIP"] = new IpEvidence($this->_propDict["clusterIP"]); + return $this->_propDict["clusterIP"]; + } + } + return null; + } + + /** + * Sets the clusterIP + * + * @param IpEvidence $val The value to assign to the clusterIP + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setClusterIP($val) + { + $this->_propDict["clusterIP"] = $val; + return $this; + } + + /** + * Gets the externalIPs + * + * @return IpEvidence|null The externalIPs + */ + public function getExternalIPs() + { + if (array_key_exists("externalIPs", $this->_propDict)) { + if (is_a($this->_propDict["externalIPs"], "\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["externalIPs"])) { + return $this->_propDict["externalIPs"]; + } else { + $this->_propDict["externalIPs"] = new IpEvidence($this->_propDict["externalIPs"]); + return $this->_propDict["externalIPs"]; + } + } + return null; + } + + /** + * Sets the externalIPs + * + * @param IpEvidence $val The value to assign to the externalIPs + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setExternalIPs($val) + { + $this->_propDict["externalIPs"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServiceEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + + /** + * Gets the selector + * + * @return Dictionary|null The selector + */ + public function getSelector() + { + if (array_key_exists("selector", $this->_propDict)) { + if (is_a($this->_propDict["selector"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["selector"])) { + return $this->_propDict["selector"]; + } else { + $this->_propDict["selector"] = new Dictionary($this->_propDict["selector"]); + return $this->_propDict["selector"]; + } + } + return null; + } + + /** + * Sets the selector + * + * @param Dictionary $val The value to assign to the selector + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setSelector($val) + { + $this->_propDict["selector"] = $val; + return $this; + } + + /** + * Gets the servicePorts + * + * @return KubernetesServicePort|null The servicePorts + */ + public function getServicePorts() + { + if (array_key_exists("servicePorts", $this->_propDict)) { + if (is_a($this->_propDict["servicePorts"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesServicePort") || is_null($this->_propDict["servicePorts"])) { + return $this->_propDict["servicePorts"]; + } else { + $this->_propDict["servicePorts"] = new KubernetesServicePort($this->_propDict["servicePorts"]); + return $this->_propDict["servicePorts"]; + } + } + return null; + } + + /** + * Sets the servicePorts + * + * @param KubernetesServicePort $val The value to assign to the servicePorts + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setServicePorts($val) + { + $this->_propDict["servicePorts"] = $val; + return $this; + } + + /** + * Gets the serviceType + * + * @return KubernetesServiceType|null The serviceType + */ + public function getServiceType() + { + if (array_key_exists("serviceType", $this->_propDict)) { + if (is_a($this->_propDict["serviceType"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesServiceType") || is_null($this->_propDict["serviceType"])) { + return $this->_propDict["serviceType"]; + } else { + $this->_propDict["serviceType"] = new KubernetesServiceType($this->_propDict["serviceType"]); + return $this->_propDict["serviceType"]; + } + } + return null; + } + + /** + * Sets the serviceType + * + * @param KubernetesServiceType $val The value to assign to the serviceType + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setServiceType($val) + { + $this->_propDict["serviceType"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesServicePort.php b/src/SecurityNamespace/Model/KubernetesServicePort.php new file mode 100644 index 00000000000..cd62fde040b --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesServicePort.php @@ -0,0 +1,187 @@ +_propDict)) { + return $this->_propDict["appProtocol"]; + } else { + return null; + } + } + + /** + * Sets the appProtocol + * + * @param string $val The value of the appProtocol + * + * @return KubernetesServicePort + */ + public function setAppProtocol($val) + { + $this->_propDict["appProtocol"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServicePort + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the nodePort + * + * @return int|null The nodePort + */ + public function getNodePort() + { + if (array_key_exists("nodePort", $this->_propDict)) { + return $this->_propDict["nodePort"]; + } else { + return null; + } + } + + /** + * Sets the nodePort + * + * @param int $val The value of the nodePort + * + * @return KubernetesServicePort + */ + public function setNodePort($val) + { + $this->_propDict["nodePort"] = $val; + return $this; + } + /** + * Gets the port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * + * @param int $val The value of the port + * + * @return KubernetesServicePort + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + + /** + * Gets the protocol + * + * @return ContainerPortProtocol|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + if (is_a($this->_propDict["protocol"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerPortProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new ContainerPortProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * + * @param ContainerPortProtocol $val The value to assign to the protocol + * + * @return KubernetesServicePort The KubernetesServicePort + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the targetPort + * + * @return string|null The targetPort + */ + public function getTargetPort() + { + if (array_key_exists("targetPort", $this->_propDict)) { + return $this->_propDict["targetPort"]; + } else { + return null; + } + } + + /** + * Sets the targetPort + * + * @param string $val The value of the targetPort + * + * @return KubernetesServicePort + */ + public function setTargetPort($val) + { + $this->_propDict["targetPort"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/KubernetesServiceType.php b/src/SecurityNamespace/Model/KubernetesServiceType.php new file mode 100644 index 00000000000..b0e766dbcd4 --- /dev/null +++ b/src/SecurityNamespace/Model/KubernetesServiceType.php @@ -0,0 +1,38 @@ + Date: Tue, 25 Jul 2023 10:10:58 +0000 Subject: [PATCH 2/6] Update generated files with build 121145 --- .../Microsoft/Graph/Model/ApiApplication.php | 4 +- .../Microsoft/Graph/Model/ApprovalStage.php | 4 +- .../Microsoft/Graph/Model/BaseSitePage.php | 122 +++++++ .../Graph/Model/CompanySubscription.php | 24 ++ ...onfigurationReferredSettingInformation.php | 4 +- ...ementConfigurationSettingApplicability.php | 4 +- ...nagementConfigurationSettingDefinition.php | 40 +-- ...rationSettingGroupCollectionDefinition.php | 8 +- src/Beta/Microsoft/Graph/Model/Directory.php | 2 + src/Beta/Microsoft/Graph/Model/Invitation.php | 30 ++ src/Beta/Microsoft/Graph/Model/KeyValue.php | 8 +- .../Microsoft/Graph/Model/KeyValuePair.php | 8 +- .../Graph/Model/LicenseUnitsDetail.php | 2 + .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Graph/Model/PeopleAdminSettings.php | 28 ++ src/Beta/Microsoft/Graph/Model/Site.php | 2 +- src/Beta/Microsoft/Graph/Model/SitePage.php | 122 +------ .../Microsoft/Graph/Model/StandardWebPart.php | 29 ++ .../Microsoft/Graph/Model/SubscribedSku.php | 16 +- src/Beta/Microsoft/Graph/Model/User.php | 2 + .../WindowsAppXAppAssignmentSettings.php | 4 +- ...dowsUniversalAppXAppAssignmentSettings.php | 4 +- .../SecurityNamespace/Model/AlertTemplate.php | 218 +++++++++++++ .../Model/AllowFileResponseAction.php | 83 +++++ .../Model/BlobContainerEvidence.php | 109 +++++++ .../SecurityNamespace/Model/BlobEvidence.php | 166 ++++++++++ .../Model/BlockFileResponseAction.php | 83 +++++ ...lectInvestigationPackageResponseAction.php | 57 ++++ .../Model/ContainerEvidence.php | 218 +++++++++++++ .../Model/ContainerImageEvidence.php | 114 +++++++ .../Model/ContainerPortProtocol.php | 36 +++ .../Model/ContainerRegistryEvidence.php | 52 +++ .../Model/DetectionAction.php | 119 +++++++ .../SecurityNamespace/Model/DetectionRule.php | 151 +++++++++ .../Model/DeviceAssetIdentifier.php | 38 +++ .../Model/DeviceIdEntityIdentifier.php | 34 ++ .../SecurityNamespace/Model/Dictionary.php | 26 ++ .../Model/DisableUserEntityIdentifier.php | 37 +++ .../Model/DisableUserResponseAction.php | 57 ++++ .../Model/EmailEntityIdentifier.php | 35 ++ .../Model/FileEntityIdentifier.php | 37 +++ .../SecurityNamespace/Model/FileHash.php | 83 +++++ .../Model/FileHashAlgorithm.php | 38 +++ ...ForceUserPasswordResetEntityIdentifier.php | 37 +++ .../ForceUserPasswordResetResponseAction.php | 57 ++++ .../Model/HardDeleteResponseAction.php | 57 ++++ .../Model/HuntingRuleErrorCode.php | 41 +++ .../Model/HuntingRuleRunStatus.php | 37 +++ .../SecurityNamespace/Model/ImpactedAsset.php | 26 ++ .../Model/ImpactedDeviceAsset.php | 57 ++++ .../Model/ImpactedMailboxAsset.php | 57 ++++ .../Model/ImpactedUserAsset.php | 57 ++++ .../InitiateInvestigationResponseAction.php | 57 ++++ .../Model/IsolateDeviceResponseAction.php | 88 +++++ .../SecurityNamespace/Model/IsolationType.php | 35 ++ .../Model/KubernetesClusterEvidence.php | 166 ++++++++++ .../Model/KubernetesControllerEvidence.php | 140 ++++++++ .../Model/KubernetesNamespaceEvidence.php | 114 +++++++ .../Model/KubernetesPlatform.php | 38 +++ .../Model/KubernetesPodEvidence.php | 300 ++++++++++++++++++ .../Model/KubernetesSecretEvidence.php | 109 +++++++ .../KubernetesServiceAccountEvidence.php | 83 +++++ .../Model/KubernetesServiceEvidence.php | 269 ++++++++++++++++ .../Model/KubernetesServicePort.php | 187 +++++++++++ .../Model/KubernetesServiceType.php | 38 +++ .../Model/MailboxAssetIdentifier.php | 42 +++ .../MarkUserAsCompromisedEntityIdentifier.php | 37 +++ .../MarkUserAsCompromisedResponseAction.php | 57 ++++ .../MoveToDeletedItemsResponseAction.php | 57 ++++ .../Model/MoveToInboxResponseAction.php | 57 ++++ .../Model/MoveToJunkResponseAction.php | 57 ++++ .../Model/OrganizationalScope.php | 83 +++++ .../Model/ProtectionRule.php | 197 ++++++++++++ .../Model/QueryCondition.php | 83 +++++ .../Model/ResponseAction.php | 26 ++ .../RestrictAppExecutionResponseAction.php | 57 ++++ .../SecurityNamespace/Model/RuleSchedule.php | 83 +++++ .../Model/RunAntivirusScanResponseAction.php | 57 ++++ .../SecurityNamespace/Model/RunDetails.php | 145 +++++++++ .../SecurityNamespace/Model/ScopeType.php | 34 ++ .../Model/SoftDeleteResponseAction.php | 57 ++++ .../StopAndQuarantineFileEntityIdentifier.php | 36 +++ .../StopAndQuarantineFileResponseAction.php | 57 ++++ .../Model/UserAssetIdentifier.php | 51 +++ 84 files changed, 5411 insertions(+), 174 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/BaseSitePage.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertTemplate.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/AllowFileResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlockFileResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/CollectInvestigationPackageResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerPortProtocol.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionRule.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceAssetIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceIdEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/Dictionary.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DisableUserEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/DisableUserResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHashAlgorithm.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ForceUserPasswordResetEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ForceUserPasswordResetResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HardDeleteResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HuntingRuleErrorCode.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HuntingRuleRunStatus.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedAsset.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedDeviceAsset.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedMailboxAsset.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedUserAsset.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/InitiateInvestigationResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolateDeviceResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolationType.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPlatform.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceType.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MailboxAssetIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MarkUserAsCompromisedEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MarkUserAsCompromisedResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToDeletedItemsResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToInboxResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToJunkResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/OrganizationalScope.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectionRule.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/QueryCondition.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/RestrictAppExecutionResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/RuleSchedule.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunAntivirusScanResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunDetails.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/ScopeType.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/SoftDeleteResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/StopAndQuarantineFileEntityIdentifier.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/StopAndQuarantineFileResponseAction.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAssetIdentifier.php diff --git a/src/Beta/Microsoft/Graph/Model/ApiApplication.php b/src/Beta/Microsoft/Graph/Model/ApiApplication.php index 3f6f28701d5..ee2dccd7621 100644 --- a/src/Beta/Microsoft/Graph/Model/ApiApplication.php +++ b/src/Beta/Microsoft/Graph/Model/ApiApplication.php @@ -147,7 +147,7 @@ public function setPreAuthorizedApplications($val) } /** * Gets the requestedAccessTokenVersion - * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount or PersonalMicrosoftAccount, the value for this property must be 2. * * @return int|null The requestedAccessTokenVersion */ @@ -162,7 +162,7 @@ public function getRequestedAccessTokenVersion() /** * Sets the requestedAccessTokenVersion - * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount or PersonalMicrosoftAccount, the value for this property must be 2. * * @param int $val The value of the requestedAccessTokenVersion * diff --git a/src/Beta/Microsoft/Graph/Model/ApprovalStage.php b/src/Beta/Microsoft/Graph/Model/ApprovalStage.php index 3b8a87f563d..3ba1a290f22 100644 --- a/src/Beta/Microsoft/Graph/Model/ApprovalStage.php +++ b/src/Beta/Microsoft/Graph/Model/ApprovalStage.php @@ -171,7 +171,7 @@ public function setIsEscalationEnabled($val) /** * Gets the primaryApprovers - * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, include at least one userSet in this collection. + * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. * * @return UserSet|null The primaryApprovers */ @@ -190,7 +190,7 @@ public function getPrimaryApprovers() /** * Sets the primaryApprovers - * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, include at least one userSet in this collection. + * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. * * @param UserSet $val The value to assign to the primaryApprovers * diff --git a/src/Beta/Microsoft/Graph/Model/BaseSitePage.php b/src/Beta/Microsoft/Graph/Model/BaseSitePage.php new file mode 100644 index 00000000000..8afa845aff7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/BaseSitePage.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["pageLayout"], "\Beta\Microsoft\Graph\Model\PageLayoutType") || is_null($this->_propDict["pageLayout"])) { + return $this->_propDict["pageLayout"]; + } else { + $this->_propDict["pageLayout"] = new PageLayoutType($this->_propDict["pageLayout"]); + return $this->_propDict["pageLayout"]; + } + } + return null; + } + + /** + * Sets the pageLayout + * The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue. + * + * @param PageLayoutType $val The pageLayout + * + * @return BaseSitePage + */ + public function setPageLayout($val) + { + $this->_propDict["pageLayout"] = $val; + return $this; + } + + /** + * Gets the publishingState + * The publishing status and the MM.mm version of the page. + * + * @return PublicationFacet|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new PublicationFacet($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * The publishing status and the MM.mm version of the page. + * + * @param PublicationFacet $val The publishingState + * + * @return BaseSitePage + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + /** + * Gets the title + * Title of the sitePage. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the sitePage. + * + * @param string $val The title + * + * @return BaseSitePage + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CompanySubscription.php b/src/Beta/Microsoft/Graph/Model/CompanySubscription.php index 073e0af09d3..e67d9658088 100644 --- a/src/Beta/Microsoft/Graph/Model/CompanySubscription.php +++ b/src/Beta/Microsoft/Graph/Model/CompanySubscription.php @@ -26,6 +26,7 @@ class CompanySubscription extends Entity { /** * Gets the commerceSubscriptionId + * The ID of this subscription in the commerce system. Alternate key. * * @return string|null The commerceSubscriptionId */ @@ -40,6 +41,7 @@ public function getCommerceSubscriptionId() /** * Sets the commerceSubscriptionId + * The ID of this subscription in the commerce system. Alternate key. * * @param string $val The commerceSubscriptionId * @@ -53,6 +55,7 @@ public function setCommerceSubscriptionId($val) /** * Gets the createdDateTime + * The date and time when this subscription was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -71,6 +74,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * The date and time when this subscription was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -84,6 +88,7 @@ public function setCreatedDateTime($val) /** * Gets the isTrial + * Whether the subscription is a free trial or purchased. * * @return bool|null The isTrial */ @@ -98,6 +103,7 @@ public function getIsTrial() /** * Sets the isTrial + * Whether the subscription is a free trial or purchased. * * @param bool $val The isTrial * @@ -111,6 +117,7 @@ public function setIsTrial($val) /** * Gets the nextLifecycleDateTime + * The date and time when the subscription will move to the next state (as defined by the status property) if not renewed by the tenant. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The nextLifecycleDateTime */ @@ -129,6 +136,7 @@ public function getNextLifecycleDateTime() /** * Sets the nextLifecycleDateTime + * The date and time when the subscription will move to the next state (as defined by the status property) if not renewed by the tenant. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The nextLifecycleDateTime * @@ -169,6 +177,7 @@ public function setOcpSubscriptionId($val) /** * Gets the ownerId + * The object ID of the account admin. * * @return string|null The ownerId */ @@ -183,6 +192,7 @@ public function getOwnerId() /** * Sets the ownerId + * The object ID of the account admin. * * @param string $val The ownerId * @@ -196,6 +206,7 @@ public function setOwnerId($val) /** * Gets the ownerTenantId + * The unique identifier for the Microsoft partner tenant that created the subscription on a customer tenant. * * @return string|null The ownerTenantId */ @@ -210,6 +221,7 @@ public function getOwnerTenantId() /** * Sets the ownerTenantId + * The unique identifier for the Microsoft partner tenant that created the subscription on a customer tenant. * * @param string $val The ownerTenantId * @@ -223,6 +235,7 @@ public function setOwnerTenantId($val) /** * Gets the ownerType + * Indicates the entity that ownerId belongs to, for example, 'User'. * * @return string|null The ownerType */ @@ -237,6 +250,7 @@ public function getOwnerType() /** * Sets the ownerType + * Indicates the entity that ownerId belongs to, for example, 'User'. * * @param string $val The ownerType * @@ -251,6 +265,7 @@ public function setOwnerType($val) /** * Gets the serviceStatus + * The provisioning status of each service that's included in this subscription. * * @return array|null The serviceStatus */ @@ -265,6 +280,7 @@ public function getServiceStatus() /** * Sets the serviceStatus + * The provisioning status of each service that's included in this subscription. * * @param ServicePlanInfo[] $val The serviceStatus * @@ -278,6 +294,7 @@ public function setServiceStatus($val) /** * Gets the skuId + * The object ID of the SKU associated with this subscription. * * @return string|null The skuId */ @@ -292,6 +309,7 @@ public function getSkuId() /** * Sets the skuId + * The object ID of the SKU associated with this subscription. * * @param string $val The skuId * @@ -305,6 +323,7 @@ public function setSkuId($val) /** * Gets the skuPartNumber + * The SKU associated with this subscription. * * @return string|null The skuPartNumber */ @@ -319,6 +338,7 @@ public function getSkuPartNumber() /** * Sets the skuPartNumber + * The SKU associated with this subscription. * * @param string $val The skuPartNumber * @@ -332,6 +352,7 @@ public function setSkuPartNumber($val) /** * Gets the status + * The status of this subscription. Possible values are: Enabled, Expired, Suspended, Warning, LockedOut. * * @return string|null The status */ @@ -346,6 +367,7 @@ public function getStatus() /** * Sets the status + * The status of this subscription. Possible values are: Enabled, Expired, Suspended, Warning, LockedOut. * * @param string $val The status * @@ -359,6 +381,7 @@ public function setStatus($val) /** * Gets the totalLicenses + * The number of seats included in this subscription. * * @return int|null The totalLicenses */ @@ -373,6 +396,7 @@ public function getTotalLicenses() /** * Sets the totalLicenses + * The number of seats included in this subscription. * * @param int $val The totalLicenses * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 7818161a161..62f8fe8d53d 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity { /** * Gets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting. + * Setting definition id that is being referred to a setting. Applicable for reusable setting * * @return string|null The settingDefinitionId */ @@ -40,7 +40,7 @@ public function getSettingDefinitionId() /** * Sets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting. + * Setting definition id that is being referred to a setting. Applicable for reusable setting * * @param string $val The value of the settingDefinitionId * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index 6e68147cf20..45dc217d3c7 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php @@ -120,7 +120,7 @@ public function setPlatform($val) /** * Gets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @return DeviceManagementConfigurationTechnologies|null The technologies */ @@ -139,7 +139,7 @@ public function getTechnologies() /** * Sets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php index f86396f11eb..a8b2772c491 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php @@ -59,7 +59,7 @@ public function setAccessTypes($val) /** * Gets the applicability - * Details which device setting is applicable on + * Details which device setting is applicable on. Supports: $filters. * * @return DeviceManagementConfigurationSettingApplicability|null The applicability */ @@ -78,7 +78,7 @@ public function getApplicability() /** * Sets the applicability - * Details which device setting is applicable on + * Details which device setting is applicable on. Supports: $filters. * * @param DeviceManagementConfigurationSettingApplicability $val The applicability * @@ -121,7 +121,7 @@ public function setBaseUri($val) /** * Gets the categoryId - * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + * Specify category in which the setting is under. Support $filters. * * @return string|null The categoryId */ @@ -136,7 +136,7 @@ public function getCategoryId() /** * Sets the categoryId - * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + * Specify category in which the setting is under. Support $filters. * * @param string $val The categoryId * @@ -150,7 +150,7 @@ public function setCategoryId($val) /** * Gets the description - * Description of the item + * Description of the setting. * * @return string|null The description */ @@ -165,7 +165,7 @@ public function getDescription() /** * Sets the description - * Description of the item + * Description of the setting. * * @param string $val The description * @@ -179,7 +179,7 @@ public function setDescription($val) /** * Gets the displayName - * Display name of the item + * Name of the setting. For example: Allow Toast. * * @return string|null The displayName */ @@ -194,7 +194,7 @@ public function getDisplayName() /** * Sets the displayName - * Display name of the item + * Name of the setting. For example: Allow Toast. * * @param string $val The displayName * @@ -208,7 +208,7 @@ public function setDisplayName($val) /** * Gets the helpText - * Help text of the item + * Help text of the setting. Give more details of the setting. * * @return string|null The helpText */ @@ -223,7 +223,7 @@ public function getHelpText() /** * Sets the helpText - * Help text of the item + * Help text of the setting. Give more details of the setting. * * @param string $val The helpText * @@ -237,7 +237,7 @@ public function setHelpText($val) /** * Gets the infoUrls - * List of links more info for the setting can be found at + * List of links more info for the setting can be found at. * * @return array|null The infoUrls */ @@ -252,7 +252,7 @@ public function getInfoUrls() /** * Sets the infoUrls - * List of links more info for the setting can be found at + * List of links more info for the setting can be found at. * * @param string[] $val The infoUrls * @@ -416,7 +416,7 @@ public function setReferredSettingInformationList($val) /** * Gets the rootDefinitionId - * Root setting definition if the setting is a child setting. + * Root setting definition id if the setting is a child setting. * * @return string|null The rootDefinitionId */ @@ -431,7 +431,7 @@ public function getRootDefinitionId() /** * Sets the rootDefinitionId - * Root setting definition if the setting is a child setting. + * Root setting definition id if the setting is a child setting. * * @param string $val The rootDefinitionId * @@ -445,7 +445,7 @@ public function setRootDefinitionId($val) /** * Gets the settingUsage - * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. + * Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue. * * @return DeviceManagementConfigurationSettingUsage|null The settingUsage */ @@ -464,7 +464,7 @@ public function getSettingUsage() /** * Sets the settingUsage - * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. + * Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue. * * @param DeviceManagementConfigurationSettingUsage $val The settingUsage * @@ -478,7 +478,7 @@ public function setSettingUsage($val) /** * Gets the uxBehavior - * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue. * * @return DeviceManagementConfigurationControlType|null The uxBehavior */ @@ -497,7 +497,7 @@ public function getUxBehavior() /** * Sets the uxBehavior - * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue. * * @param DeviceManagementConfigurationControlType $val The uxBehavior * @@ -540,7 +540,7 @@ public function setVersion($val) /** * Gets the visibility - * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue. * * @return DeviceManagementConfigurationSettingVisibility|null The visibility */ @@ -559,7 +559,7 @@ public function getVisibility() /** * Sets the visibility - * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue. * * @param DeviceManagementConfigurationSettingVisibility $val The visibility * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 84d921c2cdd..10e62e20a65 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/Directory.php b/src/Beta/Microsoft/Graph/Model/Directory.php index 636e402ccfd..86c6d3f305c 100644 --- a/src/Beta/Microsoft/Graph/Model/Directory.php +++ b/src/Beta/Microsoft/Graph/Model/Directory.php @@ -380,6 +380,7 @@ public function setSharedEmailDomains($val) /** * Gets the subscriptions + * List of commercial subscriptions that an organization has acquired. * * @return array|null The subscriptions */ @@ -394,6 +395,7 @@ public function getSubscriptions() /** * Sets the subscriptions + * List of commercial subscriptions that an organization has acquired. * * @param CompanySubscription[] $val The subscriptions * diff --git a/src/Beta/Microsoft/Graph/Model/Invitation.php b/src/Beta/Microsoft/Graph/Model/Invitation.php index e14070c33e5..dcbb77ae660 100644 --- a/src/Beta/Microsoft/Graph/Model/Invitation.php +++ b/src/Beta/Microsoft/Graph/Model/Invitation.php @@ -322,4 +322,34 @@ public function setInvitedUser($val) return $this; } + + /** + * Gets the invitedUserSponsors + * The users or groups who are sponsors of the invited user. Sponsors are users and groups that are responsible for guest users' privileges in the tenant and for keeping the guest users' information and access up to date. + * + * @return array|null The invitedUserSponsors + */ + public function getInvitedUserSponsors() + { + if (array_key_exists("invitedUserSponsors", $this->_propDict)) { + return $this->_propDict["invitedUserSponsors"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserSponsors + * The users or groups who are sponsors of the invited user. Sponsors are users and groups that are responsible for guest users' privileges in the tenant and for keeping the guest users' information and access up to date. + * + * @param DirectoryObject[] $val The invitedUserSponsors + * + * @return Invitation + */ + public function setInvitedUserSponsors($val) + { + $this->_propDict["invitedUserSponsors"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 2dfdabba03a..9e797ef81ae 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValue.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValue.php @@ -25,7 +25,7 @@ class KeyValue extends Entity { /** * Gets the key - * Key. + * Contains the name of the field that a value is associated with. * * @return string|null The key */ @@ -40,7 +40,7 @@ public function getKey() /** * Sets the key - * Key. + * Contains the name of the field that a value is associated with. * * @param string $val The value of the key * @@ -53,7 +53,7 @@ public function setKey($val) } /** * Gets the value - * Value. + * Contains the corresponding value for the specified key. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value. + * Contains the corresponding value for the specified key. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php index 7ba63886b10..e82157217f0 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php @@ -25,7 +25,7 @@ class KeyValuePair extends Entity { /** * Gets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @return string|null The name */ @@ -40,7 +40,7 @@ public function getName() /** * Sets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @param string $val The value of the name * @@ -53,7 +53,7 @@ public function setName($val) } /** * Gets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php b/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php index 0a5ea2701b6..8ec010c8b39 100644 --- a/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php +++ b/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php @@ -53,6 +53,7 @@ public function setEnabled($val) } /** * Gets the lockedOut + * The number of units that are locked out because the customer cancelled their subscription of the service SKU. * * @return int|null The lockedOut */ @@ -67,6 +68,7 @@ public function getLockedOut() /** * Sets the lockedOut + * The number of units that are locked out because the customer cancelled their subscription of the service SKU. * * @param int $val The value of the lockedOut * diff --git a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index d6de277022d..a8b5c6204b4 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the uninstallOnDeviceRemoval - * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Whether or not to uninstall the app when device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Whether or not to uninstall the app when device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php b/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php index af9639e770b..339e99751a7 100644 --- a/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php +++ b/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php @@ -24,6 +24,34 @@ */ class PeopleAdminSettings extends Entity { + + /** + * Gets the profileCardProperties + * + * @return array|null The profileCardProperties + */ + public function getProfileCardProperties() + { + if (array_key_exists("profileCardProperties", $this->_propDict)) { + return $this->_propDict["profileCardProperties"]; + } else { + return null; + } + } + + /** + * Sets the profileCardProperties + * + * @param ProfileCardProperty[] $val The profileCardProperties + * + * @return PeopleAdminSettings + */ + public function setProfileCardProperties($val) + { + $this->_propDict["profileCardProperties"] = $val; + return $this; + } + /** * Gets the pronouns * Represents administrator settings that manage the support of pronouns in an organization. diff --git a/src/Beta/Microsoft/Graph/Model/Site.php b/src/Beta/Microsoft/Graph/Model/Site.php index 0e013892b98..984f63e0c59 100644 --- a/src/Beta/Microsoft/Graph/Model/Site.php +++ b/src/Beta/Microsoft/Graph/Model/Site.php @@ -543,7 +543,7 @@ public function getPages() * Sets the pages * The collection of pages in the baseSitePages list in this site. * - * @param SitePage[] $val The pages + * @param BaseSitePage[] $val The pages * * @return Site */ diff --git a/src/Beta/Microsoft/Graph/Model/SitePage.php b/src/Beta/Microsoft/Graph/Model/SitePage.php index 259ba261f95..83d5dc65385 100644 --- a/src/Beta/Microsoft/Graph/Model/SitePage.php +++ b/src/Beta/Microsoft/Graph/Model/SitePage.php @@ -22,70 +22,8 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class SitePage extends BaseItem +class SitePage extends BaseSitePage { - /** - * Gets the contentType - * - * @return ContentTypeInfo|null The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { - return $this->_propDict["contentType"]; - } else { - $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); - return $this->_propDict["contentType"]; - } - } - return null; - } - - /** - * Sets the contentType - * - * @param ContentTypeInfo $val The contentType - * - * @return SitePage - */ - public function setContentType($val) - { - $this->_propDict["contentType"] = $val; - return $this; - } - - /** - * Gets the pageLayout - * - * @return PageLayoutType|null The pageLayout - */ - public function getPageLayout() - { - if (array_key_exists("pageLayout", $this->_propDict)) { - if (is_a($this->_propDict["pageLayout"], "\Beta\Microsoft\Graph\Model\PageLayoutType") || is_null($this->_propDict["pageLayout"])) { - return $this->_propDict["pageLayout"]; - } else { - $this->_propDict["pageLayout"] = new PageLayoutType($this->_propDict["pageLayout"]); - return $this->_propDict["pageLayout"]; - } - } - return null; - } - - /** - * Sets the pageLayout - * - * @param PageLayoutType $val The pageLayout - * - * @return SitePage - */ - public function setPageLayout($val) - { - $this->_propDict["pageLayout"] = $val; - return $this; - } - /** * Gets the promotionKind * Indicates the promotion kind of the sitePage. The possible values are: microsoftReserved, page, newsPost, unknownFutureValue. @@ -119,37 +57,6 @@ public function setPromotionKind($val) return $this; } - /** - * Gets the publishingState - * - * @return PublicationFacet|null The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publishingState"])) { - return $this->_propDict["publishingState"]; - } else { - $this->_propDict["publishingState"] = new PublicationFacet($this->_propDict["publishingState"]); - return $this->_propDict["publishingState"]; - } - } - return null; - } - - /** - * Sets the publishingState - * - * @param PublicationFacet $val The publishingState - * - * @return SitePage - */ - public function setPublishingState($val) - { - $this->_propDict["publishingState"] = $val; - return $this; - } - /** * Gets the reactions * Reactions information for the page. @@ -270,33 +177,6 @@ public function setThumbnailWebUrl($val) return $this; } - /** - * Gets the title - * - * @return string|null The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - return $this->_propDict["title"]; - } else { - return null; - } - } - - /** - * Sets the title - * - * @param string $val The title - * - * @return SitePage - */ - public function setTitle($val) - { - $this->_propDict["title"] = $val; - return $this; - } - /** * Gets the titleArea * Title area on the SharePoint page. diff --git a/src/Beta/Microsoft/Graph/Model/StandardWebPart.php b/src/Beta/Microsoft/Graph/Model/StandardWebPart.php index 9b16f3abf9e..278321a60c9 100644 --- a/src/Beta/Microsoft/Graph/Model/StandardWebPart.php +++ b/src/Beta/Microsoft/Graph/Model/StandardWebPart.php @@ -24,6 +24,35 @@ */ class StandardWebPart extends WebPart { + /** + * Gets the containerTextWebPartId + * The instance identifier of the container text webPart. It only works for inline standard webPart in rich text webParts. + * + * @return string|null The containerTextWebPartId + */ + public function getContainerTextWebPartId() + { + if (array_key_exists("containerTextWebPartId", $this->_propDict)) { + return $this->_propDict["containerTextWebPartId"]; + } else { + return null; + } + } + + /** + * Sets the containerTextWebPartId + * The instance identifier of the container text webPart. It only works for inline standard webPart in rich text webParts. + * + * @param string $val The containerTextWebPartId + * + * @return StandardWebPart + */ + public function setContainerTextWebPartId($val) + { + $this->_propDict["containerTextWebPartId"] = $val; + return $this; + } + /** * Gets the data * Data of the webPart. diff --git a/src/Beta/Microsoft/Graph/Model/SubscribedSku.php b/src/Beta/Microsoft/Graph/Model/SubscribedSku.php index 865819e25c3..54d376f6580 100644 --- a/src/Beta/Microsoft/Graph/Model/SubscribedSku.php +++ b/src/Beta/Microsoft/Graph/Model/SubscribedSku.php @@ -26,6 +26,7 @@ class SubscribedSku extends Entity { /** * Gets the accountId + * The unique ID of the account this SKU belongs to. * * @return string|null The accountId */ @@ -40,6 +41,7 @@ public function getAccountId() /** * Sets the accountId + * The unique ID of the account this SKU belongs to. * * @param string $val The accountId * @@ -53,6 +55,7 @@ public function setAccountId($val) /** * Gets the accountName + * The name of the account this SKU belongs to. * * @return string|null The accountName */ @@ -67,6 +70,7 @@ public function getAccountName() /** * Sets the accountName + * The name of the account this SKU belongs to. * * @param string $val The accountName * @@ -80,7 +84,7 @@ public function setAccountName($val) /** * Gets the appliesTo - * For example, 'User' or 'Company'. + * The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. * * @return string|null The appliesTo */ @@ -95,7 +99,7 @@ public function getAppliesTo() /** * Sets the appliesTo - * For example, 'User' or 'Company'. + * The target class for this SKU. Only SKUs with target class User are assignable. Possible values are: User, Company. * * @param string $val The appliesTo * @@ -109,7 +113,7 @@ public function setAppliesTo($val) /** * Gets the capabilityStatus - * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @return string|null The capabilityStatus */ @@ -124,7 +128,7 @@ public function getCapabilityStatus() /** * Sets the capabilityStatus - * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @param string $val The capabilityStatus * @@ -259,7 +263,7 @@ public function setSkuId($val) /** * Gets the skuPartNumber - * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * The SKU part number; for example, AAD_PREMIUM or RMSBASIC. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. * * @return string|null The skuPartNumber */ @@ -274,7 +278,7 @@ public function getSkuPartNumber() /** * Sets the skuPartNumber - * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * The SKU part number; for example, AAD_PREMIUM or RMSBASIC. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. * * @param string $val The skuPartNumber * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index dc66816578a..804591c4f7c 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -2954,6 +2954,7 @@ public function setScopedRoleMemberOf($val) /** * Gets the sponsors + * The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. * * @return array|null The sponsors */ @@ -2968,6 +2969,7 @@ public function getSponsors() /** * Sets the sponsors + * The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. * * @param DirectoryObject[] $val The sponsors * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index 35c1517fa90..c0565626007 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * Whether or not to use device execution context for Windows AppX mobile app. + * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * Whether or not to use device execution context for Windows AppX mobile app. + * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php index afb4b2f6b75..3de3dcf3edd 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Whether or not to use device execution context for Windows Universal AppX mobile app. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Whether or not to use device execution context for Windows Universal AppX mobile app. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertTemplate.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertTemplate.php new file mode 100644 index 00000000000..3f1e48b5f48 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertTemplate.php @@ -0,0 +1,218 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * + * @param string $val The value of the category + * + * @return AlertTemplate + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the description + * + * @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 + * + * @param string $val The value of the description + * + * @return AlertTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the impactedAssets + * + * @return ImpactedAsset|null The impactedAssets + */ + public function getImpactedAssets() + { + if (array_key_exists("impactedAssets", $this->_propDict)) { + if (is_a($this->_propDict["impactedAssets"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ImpactedAsset") || is_null($this->_propDict["impactedAssets"])) { + return $this->_propDict["impactedAssets"]; + } else { + $this->_propDict["impactedAssets"] = new ImpactedAsset($this->_propDict["impactedAssets"]); + return $this->_propDict["impactedAssets"]; + } + } + return null; + } + + /** + * Sets the impactedAssets + * + * @param ImpactedAsset $val The value to assign to the impactedAssets + * + * @return AlertTemplate The AlertTemplate + */ + public function setImpactedAssets($val) + { + $this->_propDict["impactedAssets"] = $val; + return $this; + } + /** + * Gets the mitreTechniques + * + * @return string|null The mitreTechniques + */ + public function getMitreTechniques() + { + if (array_key_exists("mitreTechniques", $this->_propDict)) { + return $this->_propDict["mitreTechniques"]; + } else { + return null; + } + } + + /** + * Sets the mitreTechniques + * + * @param string $val The value of the mitreTechniques + * + * @return AlertTemplate + */ + public function setMitreTechniques($val) + { + $this->_propDict["mitreTechniques"] = $val; + return $this; + } + /** + * Gets the recommendedActions + * + * @return string|null The recommendedActions + */ + public function getRecommendedActions() + { + if (array_key_exists("recommendedActions", $this->_propDict)) { + return $this->_propDict["recommendedActions"]; + } else { + return null; + } + } + + /** + * Sets the recommendedActions + * + * @param string $val The value of the recommendedActions + * + * @return AlertTemplate + */ + public function setRecommendedActions($val) + { + $this->_propDict["recommendedActions"] = $val; + return $this; + } + + /** + * Gets the severity + * + * @return AlertSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\SecurityNamespace\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; + } + + /** + * Sets the severity + * + * @param AlertSeverity $val The value to assign to the severity + * + * @return AlertTemplate The AlertTemplate + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The value of the title + * + * @return AlertTemplate + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AllowFileResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AllowFileResponseAction.php new file mode 100644 index 00000000000..806edcf6bb0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AllowFileResponseAction.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["deviceGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the deviceGroupNames + * + * @param string $val The value of the deviceGroupNames + * + * @return AllowFileResponseAction + */ + public function setDeviceGroupNames($val) + { + $this->_propDict["deviceGroupNames"] = $val; + return $this; + } + + /** + * Gets the identifier + * + * @return FileEntityIdentifier|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\FileEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new FileEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param FileEntityIdentifier $val The value to assign to the identifier + * + * @return AllowFileResponseAction The AllowFileResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php new file mode 100644 index 00000000000..f6d387b4308 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return BlobContainerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the storageResource + * + * @return AzureResourceEvidence|null The storageResource + */ + public function getStorageResource() + { + if (array_key_exists("storageResource", $this->_propDict)) { + if (is_a($this->_propDict["storageResource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\AzureResourceEvidence") || is_null($this->_propDict["storageResource"])) { + return $this->_propDict["storageResource"]; + } else { + $this->_propDict["storageResource"] = new AzureResourceEvidence($this->_propDict["storageResource"]); + return $this->_propDict["storageResource"]; + } + } + return null; + } + + /** + * Sets the storageResource + * + * @param AzureResourceEvidence $val The value to assign to the storageResource + * + * @return BlobContainerEvidence The BlobContainerEvidence + */ + public function setStorageResource($val) + { + $this->_propDict["storageResource"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return BlobContainerEvidence + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php new file mode 100644 index 00000000000..d1879512589 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php @@ -0,0 +1,166 @@ +_propDict)) { + if (is_a($this->_propDict["blobContainer"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\BlobContainerEvidence") || is_null($this->_propDict["blobContainer"])) { + return $this->_propDict["blobContainer"]; + } else { + $this->_propDict["blobContainer"] = new BlobContainerEvidence($this->_propDict["blobContainer"]); + return $this->_propDict["blobContainer"]; + } + } + return null; + } + + /** + * Sets the blobContainer + * + * @param BlobContainerEvidence $val The value to assign to the blobContainer + * + * @return BlobEvidence The BlobEvidence + */ + public function setBlobContainer($val) + { + $this->_propDict["blobContainer"] = $val; + return $this; + } + /** + * Gets the etag + * + * @return string|null The etag + */ + public function getEtag() + { + if (array_key_exists("etag", $this->_propDict)) { + return $this->_propDict["etag"]; + } else { + return null; + } + } + + /** + * Sets the etag + * + * @param string $val The value of the etag + * + * @return BlobEvidence + */ + public function setEtag($val) + { + $this->_propDict["etag"] = $val; + return $this; + } + + /** + * Gets the fileHashes + * + * @return FileHash|null The fileHashes + */ + public function getFileHashes() + { + if (array_key_exists("fileHashes", $this->_propDict)) { + if (is_a($this->_propDict["fileHashes"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\FileHash") || is_null($this->_propDict["fileHashes"])) { + return $this->_propDict["fileHashes"]; + } else { + $this->_propDict["fileHashes"] = new FileHash($this->_propDict["fileHashes"]); + return $this->_propDict["fileHashes"]; + } + } + return null; + } + + /** + * Sets the fileHashes + * + * @param FileHash $val The value to assign to the fileHashes + * + * @return BlobEvidence The BlobEvidence + */ + public function setFileHashes($val) + { + $this->_propDict["fileHashes"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return BlobEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return BlobEvidence + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlockFileResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlockFileResponseAction.php new file mode 100644 index 00000000000..2a962fdf25a --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlockFileResponseAction.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["deviceGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the deviceGroupNames + * + * @param string $val The value of the deviceGroupNames + * + * @return BlockFileResponseAction + */ + public function setDeviceGroupNames($val) + { + $this->_propDict["deviceGroupNames"] = $val; + return $this; + } + + /** + * Gets the identifier + * + * @return FileEntityIdentifier|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\FileEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new FileEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param FileEntityIdentifier $val The value to assign to the identifier + * + * @return BlockFileResponseAction The BlockFileResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CollectInvestigationPackageResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CollectInvestigationPackageResponseAction.php new file mode 100644 index 00000000000..998f67bc60a --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CollectInvestigationPackageResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceIdEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceIdEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceIdEntityIdentifier $val The value to assign to the identifier + * + * @return CollectInvestigationPackageResponseAction The CollectInvestigationPackageResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php new file mode 100644 index 00000000000..455c39f3823 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php @@ -0,0 +1,218 @@ +_propDict)) { + return $this->_propDict["args"]; + } else { + return null; + } + } + + /** + * Sets the args + * + * @param string $val The value of the args + * + * @return ContainerEvidence + */ + public function setArgs($val) + { + $this->_propDict["args"] = $val; + return $this; + } + /** + * Gets the command + * + * @return string|null The command + */ + public function getCommand() + { + if (array_key_exists("command", $this->_propDict)) { + return $this->_propDict["command"]; + } else { + return null; + } + } + + /** + * Sets the command + * + * @param string $val The value of the command + * + * @return ContainerEvidence + */ + public function setCommand($val) + { + $this->_propDict["command"] = $val; + return $this; + } + /** + * Gets the containerId + * + * @return string|null The containerId + */ + public function getContainerId() + { + if (array_key_exists("containerId", $this->_propDict)) { + return $this->_propDict["containerId"]; + } else { + return null; + } + } + + /** + * Sets the containerId + * + * @param string $val The value of the containerId + * + * @return ContainerEvidence + */ + public function setContainerId($val) + { + $this->_propDict["containerId"] = $val; + return $this; + } + + /** + * Gets the image + * + * @return ContainerImageEvidence|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerImageEvidence") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new ContainerImageEvidence($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * + * @param ContainerImageEvidence $val The value to assign to the image + * + * @return ContainerEvidence The ContainerEvidence + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + /** + * Gets the isPrivileged + * + * @return bool|null The isPrivileged + */ + public function getIsPrivileged() + { + if (array_key_exists("isPrivileged", $this->_propDict)) { + return $this->_propDict["isPrivileged"]; + } else { + return null; + } + } + + /** + * Sets the isPrivileged + * + * @param bool $val The value of the isPrivileged + * + * @return ContainerEvidence + */ + public function setIsPrivileged($val) + { + $this->_propDict["isPrivileged"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ContainerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the pod + * + * @return KubernetesPodEvidence|null The pod + */ + public function getPod() + { + if (array_key_exists("pod", $this->_propDict)) { + if (is_a($this->_propDict["pod"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesPodEvidence") || is_null($this->_propDict["pod"])) { + return $this->_propDict["pod"]; + } else { + $this->_propDict["pod"] = new KubernetesPodEvidence($this->_propDict["pod"]); + return $this->_propDict["pod"]; + } + } + return null; + } + + /** + * Sets the pod + * + * @param KubernetesPodEvidence $val The value to assign to the pod + * + * @return ContainerEvidence The ContainerEvidence + */ + public function setPod($val) + { + $this->_propDict["pod"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php new file mode 100644 index 00000000000..8694c11e176 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["digestImage"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerImageEvidence") || is_null($this->_propDict["digestImage"])) { + return $this->_propDict["digestImage"]; + } else { + $this->_propDict["digestImage"] = new ContainerImageEvidence($this->_propDict["digestImage"]); + return $this->_propDict["digestImage"]; + } + } + return null; + } + + /** + * Sets the digestImage + * + * @param ContainerImageEvidence $val The value to assign to the digestImage + * + * @return ContainerImageEvidence The ContainerImageEvidence + */ + public function setDigestImage($val) + { + $this->_propDict["digestImage"] = $val; + return $this; + } + /** + * Gets the imageId + * + * @return string|null The imageId + */ + public function getImageId() + { + if (array_key_exists("imageId", $this->_propDict)) { + return $this->_propDict["imageId"]; + } else { + return null; + } + } + + /** + * Sets the imageId + * + * @param string $val The value of the imageId + * + * @return ContainerImageEvidence + */ + public function setImageId($val) + { + $this->_propDict["imageId"] = $val; + return $this; + } + + /** + * Gets the registry + * + * @return ContainerRegistryEvidence|null The registry + */ + public function getRegistry() + { + if (array_key_exists("registry", $this->_propDict)) { + if (is_a($this->_propDict["registry"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerRegistryEvidence") || is_null($this->_propDict["registry"])) { + return $this->_propDict["registry"]; + } else { + $this->_propDict["registry"] = new ContainerRegistryEvidence($this->_propDict["registry"]); + return $this->_propDict["registry"]; + } + } + return null; + } + + /** + * Sets the registry + * + * @param ContainerRegistryEvidence $val The value to assign to the registry + * + * @return ContainerImageEvidence The ContainerImageEvidence + */ + public function setRegistry($val) + { + $this->_propDict["registry"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerPortProtocol.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerPortProtocol.php new file mode 100644 index 00000000000..6385e71f60e --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerPortProtocol.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["registry"]; + } else { + return null; + } + } + + /** + * Sets the registry + * + * @param string $val The value of the registry + * + * @return ContainerRegistryEvidence + */ + public function setRegistry($val) + { + $this->_propDict["registry"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionAction.php new file mode 100644 index 00000000000..aed45cde712 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionAction.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["alertTemplate"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\AlertTemplate") || is_null($this->_propDict["alertTemplate"])) { + return $this->_propDict["alertTemplate"]; + } else { + $this->_propDict["alertTemplate"] = new AlertTemplate($this->_propDict["alertTemplate"]); + return $this->_propDict["alertTemplate"]; + } + } + return null; + } + + /** + * Sets the alertTemplate + * + * @param AlertTemplate $val The value to assign to the alertTemplate + * + * @return DetectionAction The DetectionAction + */ + public function setAlertTemplate($val) + { + $this->_propDict["alertTemplate"] = $val; + return $this; + } + + /** + * Gets the organizationalScope + * + * @return OrganizationalScope|null The organizationalScope + */ + public function getOrganizationalScope() + { + if (array_key_exists("organizationalScope", $this->_propDict)) { + if (is_a($this->_propDict["organizationalScope"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\OrganizationalScope") || is_null($this->_propDict["organizationalScope"])) { + return $this->_propDict["organizationalScope"]; + } else { + $this->_propDict["organizationalScope"] = new OrganizationalScope($this->_propDict["organizationalScope"]); + return $this->_propDict["organizationalScope"]; + } + } + return null; + } + + /** + * Sets the organizationalScope + * + * @param OrganizationalScope $val The value to assign to the organizationalScope + * + * @return DetectionAction The DetectionAction + */ + public function setOrganizationalScope($val) + { + $this->_propDict["organizationalScope"] = $val; + return $this; + } + + /** + * Gets the responseActions + * + * @return ResponseAction|null The responseActions + */ + public function getResponseActions() + { + if (array_key_exists("responseActions", $this->_propDict)) { + if (is_a($this->_propDict["responseActions"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ResponseAction") || is_null($this->_propDict["responseActions"])) { + return $this->_propDict["responseActions"]; + } else { + $this->_propDict["responseActions"] = new ResponseAction($this->_propDict["responseActions"]); + return $this->_propDict["responseActions"]; + } + } + return null; + } + + /** + * Sets the responseActions + * + * @param ResponseAction $val The value to assign to the responseActions + * + * @return DetectionAction The DetectionAction + */ + public function setResponseActions($val) + { + $this->_propDict["responseActions"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionRule.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionRule.php new file mode 100644 index 00000000000..aa6cefcf30b --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionRule.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["detectionAction"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DetectionAction") || is_null($this->_propDict["detectionAction"])) { + return $this->_propDict["detectionAction"]; + } else { + $this->_propDict["detectionAction"] = new DetectionAction($this->_propDict["detectionAction"]); + return $this->_propDict["detectionAction"]; + } + } + return null; + } + + /** + * Sets the detectionAction + * + * @param DetectionAction $val The detectionAction + * + * @return DetectionRule + */ + public function setDetectionAction($val) + { + $this->_propDict["detectionAction"] = $val; + return $this; + } + + /** + * Gets the lastRunDetails + * + * @return RunDetails|null The lastRunDetails + */ + public function getLastRunDetails() + { + if (array_key_exists("lastRunDetails", $this->_propDict)) { + if (is_a($this->_propDict["lastRunDetails"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\RunDetails") || is_null($this->_propDict["lastRunDetails"])) { + return $this->_propDict["lastRunDetails"]; + } else { + $this->_propDict["lastRunDetails"] = new RunDetails($this->_propDict["lastRunDetails"]); + return $this->_propDict["lastRunDetails"]; + } + } + return null; + } + + /** + * Sets the lastRunDetails + * + * @param RunDetails $val The lastRunDetails + * + * @return DetectionRule + */ + public function setLastRunDetails($val) + { + $this->_propDict["lastRunDetails"] = $val; + return $this; + } + + /** + * Gets the queryCondition + * + * @return QueryCondition|null The queryCondition + */ + public function getQueryCondition() + { + if (array_key_exists("queryCondition", $this->_propDict)) { + if (is_a($this->_propDict["queryCondition"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\QueryCondition") || is_null($this->_propDict["queryCondition"])) { + return $this->_propDict["queryCondition"]; + } else { + $this->_propDict["queryCondition"] = new QueryCondition($this->_propDict["queryCondition"]); + return $this->_propDict["queryCondition"]; + } + } + return null; + } + + /** + * Sets the queryCondition + * + * @param QueryCondition $val The queryCondition + * + * @return DetectionRule + */ + public function setQueryCondition($val) + { + $this->_propDict["queryCondition"] = $val; + return $this; + } + + /** + * Gets the schedule + * + * @return RuleSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\RuleSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new RuleSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * + * @param RuleSchedule $val The schedule + * + * @return DetectionRule + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceAssetIdentifier.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceAssetIdentifier.php new file mode 100644 index 00000000000..1a752744b4a --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceAssetIdentifier.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DisableUserEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DisableUserEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DisableUserEntityIdentifier $val The value to assign to the identifier + * + * @return DisableUserResponseAction The DisableUserResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailEntityIdentifier.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailEntityIdentifier.php new file mode 100644 index 00000000000..9f3314ca6c3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EmailEntityIdentifier.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["algorithm"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\FileHashAlgorithm") || is_null($this->_propDict["algorithm"])) { + return $this->_propDict["algorithm"]; + } else { + $this->_propDict["algorithm"] = new FileHashAlgorithm($this->_propDict["algorithm"]); + return $this->_propDict["algorithm"]; + } + } + return null; + } + + /** + * Sets the algorithm + * + * @param FileHashAlgorithm $val The value to assign to the algorithm + * + * @return FileHash The FileHash + */ + public function setAlgorithm($val) + { + $this->_propDict["algorithm"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return FileHash + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHashAlgorithm.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHashAlgorithm.php new file mode 100644 index 00000000000..81fe7dad639 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHashAlgorithm.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ForceUserPasswordResetEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new ForceUserPasswordResetEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param ForceUserPasswordResetEntityIdentifier $val The value to assign to the identifier + * + * @return ForceUserPasswordResetResponseAction The ForceUserPasswordResetResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HardDeleteResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HardDeleteResponseAction.php new file mode 100644 index 00000000000..4bf0ff31e02 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HardDeleteResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EmailEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new EmailEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param EmailEntityIdentifier $val The value to assign to the identifier + * + * @return HardDeleteResponseAction The HardDeleteResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HuntingRuleErrorCode.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HuntingRuleErrorCode.php new file mode 100644 index 00000000000..b1b8d7b8417 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HuntingRuleErrorCode.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceAssetIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceAssetIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceAssetIdentifier $val The value to assign to the identifier + * + * @return ImpactedDeviceAsset The ImpactedDeviceAsset + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedMailboxAsset.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedMailboxAsset.php new file mode 100644 index 00000000000..7a6fd2d355c --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedMailboxAsset.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\MailboxAssetIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new MailboxAssetIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param MailboxAssetIdentifier $val The value to assign to the identifier + * + * @return ImpactedMailboxAsset The ImpactedMailboxAsset + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedUserAsset.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedUserAsset.php new file mode 100644 index 00000000000..080c6c47d88 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ImpactedUserAsset.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\UserAssetIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new UserAssetIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param UserAssetIdentifier $val The value to assign to the identifier + * + * @return ImpactedUserAsset The ImpactedUserAsset + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InitiateInvestigationResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InitiateInvestigationResponseAction.php new file mode 100644 index 00000000000..3e7c228bf1c --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InitiateInvestigationResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceIdEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceIdEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceIdEntityIdentifier $val The value to assign to the identifier + * + * @return InitiateInvestigationResponseAction The InitiateInvestigationResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolateDeviceResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolateDeviceResponseAction.php new file mode 100644 index 00000000000..347b19c1dc1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolateDeviceResponseAction.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceIdEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceIdEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceIdEntityIdentifier $val The value to assign to the identifier + * + * @return IsolateDeviceResponseAction The IsolateDeviceResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the isolationType + * + * @return IsolationType|null The isolationType + */ + public function getIsolationType() + { + if (array_key_exists("isolationType", $this->_propDict)) { + if (is_a($this->_propDict["isolationType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\IsolationType") || is_null($this->_propDict["isolationType"])) { + return $this->_propDict["isolationType"]; + } else { + $this->_propDict["isolationType"] = new IsolationType($this->_propDict["isolationType"]); + return $this->_propDict["isolationType"]; + } + } + return null; + } + + /** + * Sets the isolationType + * + * @param IsolationType $val The value to assign to the isolationType + * + * @return IsolateDeviceResponseAction The IsolateDeviceResponseAction + */ + public function setIsolationType($val) + { + $this->_propDict["isolationType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolationType.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolationType.php new file mode 100644 index 00000000000..72579b56a15 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IsolationType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["cloudResource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\AlertEvidence") || is_null($this->_propDict["cloudResource"])) { + return $this->_propDict["cloudResource"]; + } else { + $this->_propDict["cloudResource"] = new AlertEvidence($this->_propDict["cloudResource"]); + return $this->_propDict["cloudResource"]; + } + } + return null; + } + + /** + * Sets the cloudResource + * + * @param AlertEvidence $val The value to assign to the cloudResource + * + * @return KubernetesClusterEvidence The KubernetesClusterEvidence + */ + public function setCloudResource($val) + { + $this->_propDict["cloudResource"] = $val; + return $this; + } + /** + * Gets the distribution + * + * @return string|null The distribution + */ + public function getDistribution() + { + if (array_key_exists("distribution", $this->_propDict)) { + return $this->_propDict["distribution"]; + } else { + return null; + } + } + + /** + * Sets the distribution + * + * @param string $val The value of the distribution + * + * @return KubernetesClusterEvidence + */ + public function setDistribution($val) + { + $this->_propDict["distribution"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesClusterEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the platform + * + * @return KubernetesPlatform|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesPlatform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new KubernetesPlatform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * + * @param KubernetesPlatform $val The value to assign to the platform + * + * @return KubernetesClusterEvidence The KubernetesClusterEvidence + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The value of the version + * + * @return KubernetesClusterEvidence + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php new file mode 100644 index 00000000000..20e8bcf0160 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php @@ -0,0 +1,140 @@ +_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesControllerEvidence The KubernetesControllerEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesControllerEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesControllerEvidence The KubernetesControllerEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return KubernetesControllerEvidence + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php new file mode 100644 index 00000000000..0b8855671b3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["cluster"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesClusterEvidence") || is_null($this->_propDict["cluster"])) { + return $this->_propDict["cluster"]; + } else { + $this->_propDict["cluster"] = new KubernetesClusterEvidence($this->_propDict["cluster"]); + return $this->_propDict["cluster"]; + } + } + return null; + } + + /** + * Sets the cluster + * + * @param KubernetesClusterEvidence $val The value to assign to the cluster + * + * @return KubernetesNamespaceEvidence The KubernetesNamespaceEvidence + */ + public function setCluster($val) + { + $this->_propDict["cluster"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesNamespaceEvidence The KubernetesNamespaceEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesNamespaceEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPlatform.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPlatform.php new file mode 100644 index 00000000000..e4d9e8001cc --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPlatform.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["containers"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["containers"])) { + return $this->_propDict["containers"]; + } else { + $this->_propDict["containers"] = new ContainerEvidence($this->_propDict["containers"]); + return $this->_propDict["containers"]; + } + } + return null; + } + + /** + * Sets the containers + * + * @param ContainerEvidence $val The value to assign to the containers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setContainers($val) + { + $this->_propDict["containers"] = $val; + return $this; + } + + /** + * Gets the controller + * + * @return KubernetesControllerEvidence|null The controller + */ + public function getController() + { + if (array_key_exists("controller", $this->_propDict)) { + if (is_a($this->_propDict["controller"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesControllerEvidence") || is_null($this->_propDict["controller"])) { + return $this->_propDict["controller"]; + } else { + $this->_propDict["controller"] = new KubernetesControllerEvidence($this->_propDict["controller"]); + return $this->_propDict["controller"]; + } + } + return null; + } + + /** + * Sets the controller + * + * @param KubernetesControllerEvidence $val The value to assign to the controller + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setController($val) + { + $this->_propDict["controller"] = $val; + return $this; + } + + /** + * Gets the ephemeralContainers + * + * @return ContainerEvidence|null The ephemeralContainers + */ + public function getEphemeralContainers() + { + if (array_key_exists("ephemeralContainers", $this->_propDict)) { + if (is_a($this->_propDict["ephemeralContainers"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["ephemeralContainers"])) { + return $this->_propDict["ephemeralContainers"]; + } else { + $this->_propDict["ephemeralContainers"] = new ContainerEvidence($this->_propDict["ephemeralContainers"]); + return $this->_propDict["ephemeralContainers"]; + } + } + return null; + } + + /** + * Sets the ephemeralContainers + * + * @param ContainerEvidence $val The value to assign to the ephemeralContainers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setEphemeralContainers($val) + { + $this->_propDict["ephemeralContainers"] = $val; + return $this; + } + + /** + * Gets the initContainers + * + * @return ContainerEvidence|null The initContainers + */ + public function getInitContainers() + { + if (array_key_exists("initContainers", $this->_propDict)) { + if (is_a($this->_propDict["initContainers"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerEvidence") || is_null($this->_propDict["initContainers"])) { + return $this->_propDict["initContainers"]; + } else { + $this->_propDict["initContainers"] = new ContainerEvidence($this->_propDict["initContainers"]); + return $this->_propDict["initContainers"]; + } + } + return null; + } + + /** + * Sets the initContainers + * + * @param ContainerEvidence $val The value to assign to the initContainers + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setInitContainers($val) + { + $this->_propDict["initContainers"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesPodEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + + /** + * Gets the podIp + * + * @return IpEvidence|null The podIp + */ + public function getPodIp() + { + if (array_key_exists("podIp", $this->_propDict)) { + if (is_a($this->_propDict["podIp"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["podIp"])) { + return $this->_propDict["podIp"]; + } else { + $this->_propDict["podIp"] = new IpEvidence($this->_propDict["podIp"]); + return $this->_propDict["podIp"]; + } + } + return null; + } + + /** + * Sets the podIp + * + * @param IpEvidence $val The value to assign to the podIp + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setPodIp($val) + { + $this->_propDict["podIp"] = $val; + return $this; + } + + /** + * Gets the serviceAccount + * + * @return KubernetesServiceAccountEvidence|null The serviceAccount + */ + public function getServiceAccount() + { + if (array_key_exists("serviceAccount", $this->_propDict)) { + if (is_a($this->_propDict["serviceAccount"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesServiceAccountEvidence") || is_null($this->_propDict["serviceAccount"])) { + return $this->_propDict["serviceAccount"]; + } else { + $this->_propDict["serviceAccount"] = new KubernetesServiceAccountEvidence($this->_propDict["serviceAccount"]); + return $this->_propDict["serviceAccount"]; + } + } + return null; + } + + /** + * Sets the serviceAccount + * + * @param KubernetesServiceAccountEvidence $val The value to assign to the serviceAccount + * + * @return KubernetesPodEvidence The KubernetesPodEvidence + */ + public function setServiceAccount($val) + { + $this->_propDict["serviceAccount"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php new file mode 100644 index 00000000000..39250086886 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesSecretEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesSecretEvidence The KubernetesSecretEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + /** + * Gets the secretType + * + * @return string|null The secretType + */ + public function getSecretType() + { + if (array_key_exists("secretType", $this->_propDict)) { + return $this->_propDict["secretType"]; + } else { + return null; + } + } + + /** + * Sets the secretType + * + * @param string $val The value of the secretType + * + * @return KubernetesSecretEvidence + */ + public function setSecretType($val) + { + $this->_propDict["secretType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php new file mode 100644 index 00000000000..318a3b161c6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServiceAccountEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesServiceAccountEvidence The KubernetesServiceAccountEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php new file mode 100644 index 00000000000..f96a596d5aa --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php @@ -0,0 +1,269 @@ +_propDict)) { + if (is_a($this->_propDict["clusterIP"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["clusterIP"])) { + return $this->_propDict["clusterIP"]; + } else { + $this->_propDict["clusterIP"] = new IpEvidence($this->_propDict["clusterIP"]); + return $this->_propDict["clusterIP"]; + } + } + return null; + } + + /** + * Sets the clusterIP + * + * @param IpEvidence $val The value to assign to the clusterIP + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setClusterIP($val) + { + $this->_propDict["clusterIP"] = $val; + return $this; + } + + /** + * Gets the externalIPs + * + * @return IpEvidence|null The externalIPs + */ + public function getExternalIPs() + { + if (array_key_exists("externalIPs", $this->_propDict)) { + if (is_a($this->_propDict["externalIPs"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\IpEvidence") || is_null($this->_propDict["externalIPs"])) { + return $this->_propDict["externalIPs"]; + } else { + $this->_propDict["externalIPs"] = new IpEvidence($this->_propDict["externalIPs"]); + return $this->_propDict["externalIPs"]; + } + } + return null; + } + + /** + * Sets the externalIPs + * + * @param IpEvidence $val The value to assign to the externalIPs + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setExternalIPs($val) + { + $this->_propDict["externalIPs"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Dictionary|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Dictionary($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Dictionary $val The value to assign to the labels + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServiceEvidence + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the namespace + * + * @return KubernetesNamespaceEvidence|null The namespace + */ + public function getNamespace() + { + if (array_key_exists("namespace", $this->_propDict)) { + if (is_a($this->_propDict["namespace"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { + return $this->_propDict["namespace"]; + } else { + $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); + return $this->_propDict["namespace"]; + } + } + return null; + } + + /** + * Sets the namespace + * + * @param KubernetesNamespaceEvidence $val The value to assign to the namespace + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setNamespace($val) + { + $this->_propDict["namespace"] = $val; + return $this; + } + + /** + * Gets the selector + * + * @return Dictionary|null The selector + */ + public function getSelector() + { + if (array_key_exists("selector", $this->_propDict)) { + if (is_a($this->_propDict["selector"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["selector"])) { + return $this->_propDict["selector"]; + } else { + $this->_propDict["selector"] = new Dictionary($this->_propDict["selector"]); + return $this->_propDict["selector"]; + } + } + return null; + } + + /** + * Sets the selector + * + * @param Dictionary $val The value to assign to the selector + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setSelector($val) + { + $this->_propDict["selector"] = $val; + return $this; + } + + /** + * Gets the servicePorts + * + * @return KubernetesServicePort|null The servicePorts + */ + public function getServicePorts() + { + if (array_key_exists("servicePorts", $this->_propDict)) { + if (is_a($this->_propDict["servicePorts"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesServicePort") || is_null($this->_propDict["servicePorts"])) { + return $this->_propDict["servicePorts"]; + } else { + $this->_propDict["servicePorts"] = new KubernetesServicePort($this->_propDict["servicePorts"]); + return $this->_propDict["servicePorts"]; + } + } + return null; + } + + /** + * Sets the servicePorts + * + * @param KubernetesServicePort $val The value to assign to the servicePorts + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setServicePorts($val) + { + $this->_propDict["servicePorts"] = $val; + return $this; + } + + /** + * Gets the serviceType + * + * @return KubernetesServiceType|null The serviceType + */ + public function getServiceType() + { + if (array_key_exists("serviceType", $this->_propDict)) { + if (is_a($this->_propDict["serviceType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KubernetesServiceType") || is_null($this->_propDict["serviceType"])) { + return $this->_propDict["serviceType"]; + } else { + $this->_propDict["serviceType"] = new KubernetesServiceType($this->_propDict["serviceType"]); + return $this->_propDict["serviceType"]; + } + } + return null; + } + + /** + * Sets the serviceType + * + * @param KubernetesServiceType $val The value to assign to the serviceType + * + * @return KubernetesServiceEvidence The KubernetesServiceEvidence + */ + public function setServiceType($val) + { + $this->_propDict["serviceType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php new file mode 100644 index 00000000000..f1148b2e5b2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php @@ -0,0 +1,187 @@ +_propDict)) { + return $this->_propDict["appProtocol"]; + } else { + return null; + } + } + + /** + * Sets the appProtocol + * + * @param string $val The value of the appProtocol + * + * @return KubernetesServicePort + */ + public function setAppProtocol($val) + { + $this->_propDict["appProtocol"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KubernetesServicePort + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the nodePort + * + * @return int|null The nodePort + */ + public function getNodePort() + { + if (array_key_exists("nodePort", $this->_propDict)) { + return $this->_propDict["nodePort"]; + } else { + return null; + } + } + + /** + * Sets the nodePort + * + * @param int $val The value of the nodePort + * + * @return KubernetesServicePort + */ + public function setNodePort($val) + { + $this->_propDict["nodePort"] = $val; + return $this; + } + /** + * Gets the port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * + * @param int $val The value of the port + * + * @return KubernetesServicePort + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + + /** + * Gets the protocol + * + * @return ContainerPortProtocol|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + if (is_a($this->_propDict["protocol"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContainerPortProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new ContainerPortProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * + * @param ContainerPortProtocol $val The value to assign to the protocol + * + * @return KubernetesServicePort The KubernetesServicePort + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the targetPort + * + * @return string|null The targetPort + */ + public function getTargetPort() + { + if (array_key_exists("targetPort", $this->_propDict)) { + return $this->_propDict["targetPort"]; + } else { + return null; + } + } + + /** + * Sets the targetPort + * + * @param string $val The value of the targetPort + * + * @return KubernetesServicePort + */ + public function setTargetPort($val) + { + $this->_propDict["targetPort"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceType.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceType.php new file mode 100644 index 00000000000..6fa45bf6d3b --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\MarkUserAsCompromisedEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new MarkUserAsCompromisedEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param MarkUserAsCompromisedEntityIdentifier $val The value to assign to the identifier + * + * @return MarkUserAsCompromisedResponseAction The MarkUserAsCompromisedResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToDeletedItemsResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToDeletedItemsResponseAction.php new file mode 100644 index 00000000000..ded52095d11 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToDeletedItemsResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EmailEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new EmailEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param EmailEntityIdentifier $val The value to assign to the identifier + * + * @return MoveToDeletedItemsResponseAction The MoveToDeletedItemsResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToInboxResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToInboxResponseAction.php new file mode 100644 index 00000000000..ceb138b5546 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToInboxResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EmailEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new EmailEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param EmailEntityIdentifier $val The value to assign to the identifier + * + * @return MoveToInboxResponseAction The MoveToInboxResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToJunkResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToJunkResponseAction.php new file mode 100644 index 00000000000..e7218e0c85e --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MoveToJunkResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EmailEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new EmailEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param EmailEntityIdentifier $val The value to assign to the identifier + * + * @return MoveToJunkResponseAction The MoveToJunkResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OrganizationalScope.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OrganizationalScope.php new file mode 100644 index 00000000000..2f04e5c93b6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OrganizationalScope.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["scopeNames"]; + } else { + return null; + } + } + + /** + * Sets the scopeNames + * + * @param string $val The value of the scopeNames + * + * @return OrganizationalScope + */ + public function setScopeNames($val) + { + $this->_propDict["scopeNames"] = $val; + return $this; + } + + /** + * Gets the scopeType + * + * @return ScopeType|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + if (is_a($this->_propDict["scopeType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ScopeType") || is_null($this->_propDict["scopeType"])) { + return $this->_propDict["scopeType"]; + } else { + $this->_propDict["scopeType"] = new ScopeType($this->_propDict["scopeType"]); + return $this->_propDict["scopeType"]; + } + } + return null; + } + + /** + * Sets the scopeType + * + * @param ScopeType $val The value to assign to the scopeType + * + * @return OrganizationalScope The OrganizationalScope + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectionRule.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectionRule.php new file mode 100644 index 00000000000..b9656fd6f51 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectionRule.php @@ -0,0 +1,197 @@ +_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * + * @param string $val The createdBy + * + * @return ProtectionRule + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @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 + * + * @param \DateTime $val The createdDateTime + * + * @return ProtectionRule + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @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 + * + * @param string $val The displayName + * + * @return ProtectionRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * + * @return bool|null The isEnabled + */ + public function getIsEnabled() + { + if (array_key_exists("isEnabled", $this->_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * + * @param bool $val The isEnabled + * + * @return ProtectionRule + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The lastModifiedBy + * + * @return ProtectionRule + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @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 + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ProtectionRule + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/QueryCondition.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/QueryCondition.php new file mode 100644 index 00000000000..9bc73cfe260 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/QueryCondition.php @@ -0,0 +1,83 @@ +_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 + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return QueryCondition The QueryCondition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the queryText + * + * @return string|null The queryText + */ + public function getQueryText() + { + if (array_key_exists("queryText", $this->_propDict)) { + return $this->_propDict["queryText"]; + } else { + return null; + } + } + + /** + * Sets the queryText + * + * @param string $val The value of the queryText + * + * @return QueryCondition + */ + public function setQueryText($val) + { + $this->_propDict["queryText"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ResponseAction.php new file mode 100644 index 00000000000..7206ef73014 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ResponseAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceIdEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceIdEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceIdEntityIdentifier $val The value to assign to the identifier + * + * @return RestrictAppExecutionResponseAction The RestrictAppExecutionResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RuleSchedule.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RuleSchedule.php new file mode 100644 index 00000000000..b67136c9ce9 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RuleSchedule.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["nextRunDateTime"], "\DateTime") || is_null($this->_propDict["nextRunDateTime"])) { + return $this->_propDict["nextRunDateTime"]; + } else { + $this->_propDict["nextRunDateTime"] = new \DateTime($this->_propDict["nextRunDateTime"]); + return $this->_propDict["nextRunDateTime"]; + } + } + return null; + } + + /** + * Sets the nextRunDateTime + * + * @param \DateTime $val The value to assign to the nextRunDateTime + * + * @return RuleSchedule The RuleSchedule + */ + public function setNextRunDateTime($val) + { + $this->_propDict["nextRunDateTime"] = $val; + return $this; + } + /** + * Gets the period + * + * @return string|null The period + */ + public function getPeriod() + { + if (array_key_exists("period", $this->_propDict)) { + return $this->_propDict["period"]; + } else { + return null; + } + } + + /** + * Sets the period + * + * @param string $val The value of the period + * + * @return RuleSchedule + */ + public function setPeriod($val) + { + $this->_propDict["period"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunAntivirusScanResponseAction.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunAntivirusScanResponseAction.php new file mode 100644 index 00000000000..da4936a0ab3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunAntivirusScanResponseAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DeviceIdEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new DeviceIdEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param DeviceIdEntityIdentifier $val The value to assign to the identifier + * + * @return RunAntivirusScanResponseAction The RunAntivirusScanResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunDetails.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunDetails.php new file mode 100644 index 00000000000..390b06ba3fc --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RunDetails.php @@ -0,0 +1,145 @@ +_propDict)) { + if (is_a($this->_propDict["errorCode"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\HuntingRuleErrorCode") || is_null($this->_propDict["errorCode"])) { + return $this->_propDict["errorCode"]; + } else { + $this->_propDict["errorCode"] = new HuntingRuleErrorCode($this->_propDict["errorCode"]); + return $this->_propDict["errorCode"]; + } + } + return null; + } + + /** + * Sets the errorCode + * + * @param HuntingRuleErrorCode $val The value to assign to the errorCode + * + * @return RunDetails The RunDetails + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the failureReason + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * + * @param string $val The value of the failureReason + * + * @return RunDetails + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } + + /** + * Gets the lastRunDateTime + * + * @return \DateTime|null The lastRunDateTime + */ + public function getLastRunDateTime() + { + if (array_key_exists("lastRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRunDateTime"], "\DateTime") || is_null($this->_propDict["lastRunDateTime"])) { + return $this->_propDict["lastRunDateTime"]; + } else { + $this->_propDict["lastRunDateTime"] = new \DateTime($this->_propDict["lastRunDateTime"]); + return $this->_propDict["lastRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRunDateTime + * + * @param \DateTime $val The value to assign to the lastRunDateTime + * + * @return RunDetails The RunDetails + */ + public function setLastRunDateTime($val) + { + $this->_propDict["lastRunDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return HuntingRuleRunStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\HuntingRuleRunStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new HuntingRuleRunStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param HuntingRuleRunStatus $val The value to assign to the status + * + * @return RunDetails The RunDetails + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ScopeType.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ScopeType.php new file mode 100644 index 00000000000..09a3f81ea84 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ScopeType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EmailEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new EmailEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param EmailEntityIdentifier $val The value to assign to the identifier + * + * @return SoftDeleteResponseAction The SoftDeleteResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/StopAndQuarantineFileEntityIdentifier.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/StopAndQuarantineFileEntityIdentifier.php new file mode 100644 index 00000000000..5cae33f036d --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/StopAndQuarantineFileEntityIdentifier.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["identifier"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\StopAndQuarantineFileEntityIdentifier") || is_null($this->_propDict["identifier"])) { + return $this->_propDict["identifier"]; + } else { + $this->_propDict["identifier"] = new StopAndQuarantineFileEntityIdentifier($this->_propDict["identifier"]); + return $this->_propDict["identifier"]; + } + } + return null; + } + + /** + * Sets the identifier + * + * @param StopAndQuarantineFileEntityIdentifier $val The value to assign to the identifier + * + * @return StopAndQuarantineFileResponseAction The StopAndQuarantineFileResponseAction + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAssetIdentifier.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAssetIdentifier.php new file mode 100644 index 00000000000..49bec52df39 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAssetIdentifier.php @@ -0,0 +1,51 @@ + Date: Tue, 25 Jul 2023 17:23:15 +0300 Subject: [PATCH 3/6] Bump SDK version in GraphConstants.php --- src/Core/GraphConstants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index 49141c07522..e2021bcf190 100644 --- a/src/Core/GraphConstants.php +++ b/src/Core/GraphConstants.php @@ -23,7 +23,7 @@ final class GraphConstants const REST_ENDPOINT = "https://graph.microsoft.com/"; // Define HTTP request constants - const SDK_VERSION = "1.103.0"; + const SDK_VERSION = "1.104.0"; // Define error constants const MAX_PAGE_SIZE = 999; From 937ea83a5f55cc984c08093afee8de21fd9f89bd Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 25 Jul 2023 17:23:37 +0300 Subject: [PATCH 4/6] Bump SDK version in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f433b590c25..b22976c0f1f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof ``` { "require": { - "microsoft/microsoft-graph": "^1.103.0" + "microsoft/microsoft-graph": "^1.104.0" } } ``` From 91fbff4782e7c83e9e5a79b158611c97bf1b29ff Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Aug 2023 10:10:23 +0000 Subject: [PATCH 5/6] Update generated files with build 122273 --- src/CallRecords/Model/PstnCallLogRow.php | 4 +- src/Model/AccessPackage.php | 10 ++- src/Model/AccessPackageAssignment.php | 2 + src/Model/AccessPackageAssignmentPolicy.php | 6 +- src/Model/AccessPackageAssignmentRequest.php | 2 + ...ssPackageAssignmentRequestCallbackData.php | 8 ++ ...kageAssignmentRequestWorkflowExtension.php | 10 +++ ...cessPackageAssignmentWorkflowExtension.php | 10 +++ src/Model/AccessPackageCatalog.php | 2 + src/Model/AccessPackageResource.php | 18 ++++ .../AccessPackageResourceEnvironment.php | 16 ++++ src/Model/AccessPackageResourceRequest.php | 6 ++ src/Model/AccessPackageResourceRole.php | 8 ++ src/Model/AccessPackageResourceRoleScope.php | 2 + src/Model/AccessPackageResourceScope.php | 10 +++ src/Model/ArchivedPrintJob.php | 28 +++++++ src/Model/AudioRoutingGroup.php | 6 ++ src/Model/Chat.php | 28 +++++++ src/Model/CustomExtensionCalloutInstance.php | 10 +++ src/Model/CustomExtensionStageSetting.php | 4 + src/Model/CustomSecurityAttributeValue.php | 26 ++++++ src/Model/DefaultUserRolePermissions.php | 4 +- src/Model/DirectoryAudit.php | 24 +++--- src/Model/EntitlementManagement.php | 6 ++ src/Model/IdentityProvider.php | 4 +- src/Model/LoginPageLayoutConfiguration.php | 6 ++ src/Model/LoginPageTextVisibilitySettings.php | 12 +++ src/Model/MeetingChatHistoryDefaultMode.php | 35 ++++++++ src/Model/OAuth2PermissionGrant.php | 4 +- src/Model/OnlineMeeting.php | 62 ++++++++++++++ .../OrganizationalBrandingProperties.php | 68 +++++++++++---- src/Model/PasswordProfile.php | 4 +- src/Model/Permission.php | 4 +- src/Model/PermissionGrantConditionSet.php | 4 +- src/Model/PrintUsageByPrinter.php | 29 +++++++ src/Model/ProvisionedIdentity.php | 4 +- src/Model/ProvisioningObjectSummary.php | 48 +++++------ src/Model/RegistryKeyState.php | 8 +- src/Model/ServicePrincipal.php | 35 +++++++- src/Model/SignIn.php | 84 +++++++++---------- src/Model/SocialIdentityProvider.php | 4 +- src/Model/Subscription.php | 8 +- src/Model/Team.php | 28 +++++++ src/Model/TeleconferenceDeviceQuality.php | 4 +- src/Model/TenantInformation.php | 8 ++ src/Model/User.php | 35 +++++++- src/Model/WindowsAppX.php | 4 +- src/Model/WindowsDeviceMalwareState.php | 4 +- src/Model/WindowsMalwareCategoryCount.php | 4 +- src/Model/WindowsMalwareInformation.php | 4 +- src/SecurityNamespace/Model/AlertEvidence.php | 10 ++- .../Model/BlobContainerEvidence.php | 6 ++ src/SecurityNamespace/Model/BlobEvidence.php | 10 +++ .../Model/ContainerEvidence.php | 14 ++++ .../Model/ContainerImageEvidence.php | 6 ++ .../Model/ContainerRegistryEvidence.php | 2 + .../Model/DeviceEvidence.php | 2 + src/SecurityNamespace/Model/FileHash.php | 4 + .../Model/KubernetesClusterEvidence.php | 10 +++ .../Model/KubernetesControllerEvidence.php | 8 ++ .../Model/KubernetesNamespaceEvidence.php | 6 ++ .../Model/KubernetesPodEvidence.php | 18 ++++ .../Model/KubernetesSecretEvidence.php | 6 ++ .../KubernetesServiceAccountEvidence.php | 4 + .../Model/KubernetesServiceEvidence.php | 16 ++++ .../Model/KubernetesServicePort.php | 12 +++ .../Model/RegistryValueEvidence.php | 2 + 67 files changed, 760 insertions(+), 140 deletions(-) create mode 100644 src/Model/CustomSecurityAttributeValue.php create mode 100644 src/Model/MeetingChatHistoryDefaultMode.php diff --git a/src/CallRecords/Model/PstnCallLogRow.php b/src/CallRecords/Model/PstnCallLogRow.php index c2727d6e899..d92951c106c 100644 --- a/src/CallRecords/Model/PstnCallLogRow.php +++ b/src/CallRecords/Model/PstnCallLogRow.php @@ -638,7 +638,7 @@ public function setUserDisplayName($val) } /** * Gets the userId - * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @return string|null The userId */ @@ -653,7 +653,7 @@ public function getUserId() /** * Sets the userId - * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @param string $val The value of the userId * diff --git a/src/Model/AccessPackage.php b/src/Model/AccessPackage.php index fc1588bf894..4a98015be9e 100644 --- a/src/Model/AccessPackage.php +++ b/src/Model/AccessPackage.php @@ -88,7 +88,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name of the access package. Supports $filter (eq, contains). + * Required. The display name of the access package. Supports $filter (eq, contains). * * @return string|null The displayName */ @@ -103,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the access package. Supports $filter (eq, contains). + * Required. The display name of the access package. Supports $filter (eq, contains). * * @param string $val The displayName * @@ -210,6 +210,7 @@ public function setAccessPackagesIncompatibleWith($val) /** * Gets the assignmentPolicies + * Read-only. Nullable. Supports $expand. * * @return array|null The assignmentPolicies */ @@ -224,6 +225,7 @@ public function getAssignmentPolicies() /** * Sets the assignmentPolicies + * Read-only. Nullable. Supports $expand. * * @param AccessPackageAssignmentPolicy[] $val The assignmentPolicies * @@ -237,6 +239,7 @@ public function setAssignmentPolicies($val) /** * Gets the catalog + * Required when creating the access package. Read-only. Nullable. * * @return AccessPackageCatalog|null The catalog */ @@ -255,6 +258,7 @@ public function getCatalog() /** * Sets the catalog + * Required when creating the access package. Read-only. Nullable. * * @param AccessPackageCatalog $val The catalog * @@ -329,6 +333,7 @@ public function setIncompatibleGroups($val) /** * Gets the resourceRoleScopes + * The resource roles and scopes in this access package. * * @return array|null The resourceRoleScopes */ @@ -343,6 +348,7 @@ public function getResourceRoleScopes() /** * Sets the resourceRoleScopes + * The resource roles and scopes in this access package. * * @param AccessPackageResourceRoleScope[] $val The resourceRoleScopes * diff --git a/src/Model/AccessPackageAssignment.php b/src/Model/AccessPackageAssignment.php index 9fdb7979ee7..03b53a0e881 100644 --- a/src/Model/AccessPackageAssignment.php +++ b/src/Model/AccessPackageAssignment.php @@ -27,6 +27,7 @@ class AccessPackageAssignment extends Entity /** * Gets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. * * @return array|null The customExtensionCalloutInstances */ @@ -41,6 +42,7 @@ public function getCustomExtensionCalloutInstances() /** * Sets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. * * @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances * diff --git a/src/Model/AccessPackageAssignmentPolicy.php b/src/Model/AccessPackageAssignmentPolicy.php index 315fc7b5569..dda2aaa4c31 100644 --- a/src/Model/AccessPackageAssignmentPolicy.php +++ b/src/Model/AccessPackageAssignmentPolicy.php @@ -378,7 +378,7 @@ public function setSpecificAllowedTargets($val) /** * Gets the accessPackage - * Access package containing this policy. Read-only. + * Access package containing this policy. Read-only. Supports $expand. * * @return AccessPackage|null The accessPackage */ @@ -397,7 +397,7 @@ public function getAccessPackage() /** * Sets the accessPackage - * Access package containing this policy. Read-only. + * Access package containing this policy. Read-only. Supports $expand. * * @param AccessPackage $val The accessPackage * @@ -445,6 +445,7 @@ public function setCatalog($val) /** * Gets the customExtensionStageSettings + * The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. * * @return array|null The customExtensionStageSettings */ @@ -459,6 +460,7 @@ public function getCustomExtensionStageSettings() /** * Sets the customExtensionStageSettings + * The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. * * @param CustomExtensionStageSetting[] $val The customExtensionStageSettings * diff --git a/src/Model/AccessPackageAssignmentRequest.php b/src/Model/AccessPackageAssignmentRequest.php index 6cd5b4be385..bdeb0ed6e2d 100644 --- a/src/Model/AccessPackageAssignmentRequest.php +++ b/src/Model/AccessPackageAssignmentRequest.php @@ -123,6 +123,7 @@ public function setCreatedDateTime($val) /** * Gets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. * * @return array|null The customExtensionCalloutInstances */ @@ -137,6 +138,7 @@ public function getCustomExtensionCalloutInstances() /** * Sets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. * * @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances * diff --git a/src/Model/AccessPackageAssignmentRequestCallbackData.php b/src/Model/AccessPackageAssignmentRequestCallbackData.php index b3258780ddd..9f8d2ba2a45 100644 --- a/src/Model/AccessPackageAssignmentRequestCallbackData.php +++ b/src/Model/AccessPackageAssignmentRequestCallbackData.php @@ -25,6 +25,7 @@ class AccessPackageAssignmentRequestCallbackData extends CustomExtensionData { /** * Gets the customExtensionStageInstanceDetail + * Details for the callback. * * @return string|null The customExtensionStageInstanceDetail */ @@ -39,6 +40,7 @@ public function getCustomExtensionStageInstanceDetail() /** * Sets the customExtensionStageInstanceDetail + * Details for the callback. * * @param string $val The value of the customExtensionStageInstanceDetail * @@ -51,6 +53,7 @@ public function setCustomExtensionStageInstanceDetail($val) } /** * Gets the customExtensionStageInstanceId + * Unique identifier of the callout to the custom extension. * * @return string|null The customExtensionStageInstanceId */ @@ -65,6 +68,7 @@ public function getCustomExtensionStageInstanceId() /** * Sets the customExtensionStageInstanceId + * Unique identifier of the callout to the custom extension. * * @param string $val The value of the customExtensionStageInstanceId * @@ -78,6 +82,7 @@ public function setCustomExtensionStageInstanceId($val) /** * Gets the stage + * Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @return AccessPackageCustomExtensionStage|null The stage */ @@ -96,6 +101,7 @@ public function getStage() /** * Sets the stage + * Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @param AccessPackageCustomExtensionStage $val The value to assign to the stage * @@ -108,6 +114,7 @@ public function setStage($val) } /** * Gets the state + * Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage. * * @return string|null The state */ @@ -122,6 +129,7 @@ public function getState() /** * Sets the state + * Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage. * * @param string $val The value of the state * diff --git a/src/Model/AccessPackageAssignmentRequestWorkflowExtension.php b/src/Model/AccessPackageAssignmentRequestWorkflowExtension.php index 982484d4730..d18048fadd8 100644 --- a/src/Model/AccessPackageAssignmentRequestWorkflowExtension.php +++ b/src/Model/AccessPackageAssignmentRequestWorkflowExtension.php @@ -26,6 +26,7 @@ class AccessPackageAssignmentRequestWorkflowExtension extends CustomCalloutExten { /** * Gets the callbackConfiguration + * The callback configuration for a custom extension. * * @return CustomExtensionCallbackConfiguration|null The callbackConfiguration */ @@ -44,6 +45,7 @@ public function getCallbackConfiguration() /** * Sets the callbackConfiguration + * The callback configuration for a custom extension. * * @param CustomExtensionCallbackConfiguration $val The callbackConfiguration * @@ -57,6 +59,7 @@ public function setCallbackConfiguration($val) /** * Gets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. * * @return string|null The createdBy */ @@ -71,6 +74,7 @@ public function getCreatedBy() /** * Sets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. * * @param string $val The createdBy * @@ -84,6 +88,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * When the object was created. * * @return \DateTime|null The createdDateTime */ @@ -102,6 +107,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * When the object was created. * * @param \DateTime $val The createdDateTime * @@ -115,6 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the lastModifiedBy + * The userPrincipalName of the identity that last modified the object. * * @return string|null The lastModifiedBy */ @@ -129,6 +136,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * The userPrincipalName of the identity that last modified the object. * * @param string $val The lastModifiedBy * @@ -142,6 +150,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * When the object was last modified. * * @return \DateTime|null The lastModifiedDateTime */ @@ -160,6 +169,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * When the object was last modified. * * @param \DateTime $val The lastModifiedDateTime * diff --git a/src/Model/AccessPackageAssignmentWorkflowExtension.php b/src/Model/AccessPackageAssignmentWorkflowExtension.php index 9ef5e71cdad..ab53e374a0b 100644 --- a/src/Model/AccessPackageAssignmentWorkflowExtension.php +++ b/src/Model/AccessPackageAssignmentWorkflowExtension.php @@ -26,6 +26,7 @@ class AccessPackageAssignmentWorkflowExtension extends CustomCalloutExtension { /** * Gets the callbackConfiguration + * The callback configuration for a custom extension. * * @return CustomExtensionCallbackConfiguration|null The callbackConfiguration */ @@ -44,6 +45,7 @@ public function getCallbackConfiguration() /** * Sets the callbackConfiguration + * The callback configuration for a custom extension. * * @param CustomExtensionCallbackConfiguration $val The callbackConfiguration * @@ -57,6 +59,7 @@ public function setCallbackConfiguration($val) /** * Gets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. * * @return string|null The createdBy */ @@ -71,6 +74,7 @@ public function getCreatedBy() /** * Sets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. * * @param string $val The createdBy * @@ -84,6 +88,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * When the entity was created. * * @return \DateTime|null The createdDateTime */ @@ -102,6 +107,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * When the entity was created. * * @param \DateTime $val The createdDateTime * @@ -115,6 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the lastModifiedBy + * The userPrincipalName of the identity that last modified the entity. * * @return string|null The lastModifiedBy */ @@ -129,6 +136,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * The userPrincipalName of the identity that last modified the entity. * * @param string $val The lastModifiedBy * @@ -142,6 +150,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * When the entity was last modified. * * @return \DateTime|null The lastModifiedDateTime */ @@ -160,6 +169,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * When the entity was last modified. * * @param \DateTime $val The lastModifiedDateTime * diff --git a/src/Model/AccessPackageCatalog.php b/src/Model/AccessPackageCatalog.php index 8c12367dd86..55ddbb6d8b4 100644 --- a/src/Model/AccessPackageCatalog.php +++ b/src/Model/AccessPackageCatalog.php @@ -332,6 +332,7 @@ public function setResourceRoles($val) /** * Gets the resources + * Access package resources in this catalog. * * @return array|null The resources */ @@ -346,6 +347,7 @@ public function getResources() /** * Sets the resources + * Access package resources in this catalog. * * @param AccessPackageResource[] $val The resources * diff --git a/src/Model/AccessPackageResource.php b/src/Model/AccessPackageResource.php index acc89d2881b..131ee0eec42 100644 --- a/src/Model/AccessPackageResource.php +++ b/src/Model/AccessPackageResource.php @@ -26,6 +26,7 @@ class AccessPackageResource extends Entity { /** * Gets the createdDateTime + * 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. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -44,6 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * 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. Read-only. * * @param \DateTime $val The createdDateTime * @@ -57,6 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * A description for the resource. * * @return string|null The description */ @@ -71,6 +74,7 @@ public function getDescription() /** * Sets the description + * A description for the resource. * * @param string $val The description * @@ -84,6 +88,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name of the resource, such as the application name, group name or site name. * * @return string|null The displayName */ @@ -98,6 +103,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the resource, such as the application name, group name or site name. * * @param string $val The displayName * @@ -111,6 +117,7 @@ public function setDisplayName($val) /** * Gets the modifiedDateTime + * 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. Read-only. * * @return \DateTime|null The modifiedDateTime */ @@ -129,6 +136,7 @@ public function getModifiedDateTime() /** * Sets the modifiedDateTime + * 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. Read-only. * * @param \DateTime $val The modifiedDateTime * @@ -142,6 +150,7 @@ public function setModifiedDateTime($val) /** * Gets the originId + * The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. * * @return string|null The originId */ @@ -156,6 +165,7 @@ public function getOriginId() /** * Sets the originId + * The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. * * @param string $val The originId * @@ -169,6 +179,7 @@ public function setOriginId($val) /** * Gets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. * * @return string|null The originSystem */ @@ -183,6 +194,7 @@ public function getOriginSystem() /** * Sets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. * * @param string $val The originSystem * @@ -196,6 +208,7 @@ public function setOriginSystem($val) /** * Gets the environment + * Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. * * @return AccessPackageResourceEnvironment|null The environment */ @@ -214,6 +227,7 @@ public function getEnvironment() /** * Sets the environment + * Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. * * @param AccessPackageResourceEnvironment $val The environment * @@ -228,6 +242,7 @@ public function setEnvironment($val) /** * Gets the roles + * Read-only. Nullable. Supports $expand. * * @return array|null The roles */ @@ -242,6 +257,7 @@ public function getRoles() /** * Sets the roles + * Read-only. Nullable. Supports $expand. * * @param AccessPackageResourceRole[] $val The roles * @@ -256,6 +272,7 @@ public function setRoles($val) /** * Gets the scopes + * Read-only. Nullable. Supports $expand. * * @return array|null The scopes */ @@ -270,6 +287,7 @@ public function getScopes() /** * Sets the scopes + * Read-only. Nullable. Supports $expand. * * @param AccessPackageResourceScope[] $val The scopes * diff --git a/src/Model/AccessPackageResourceEnvironment.php b/src/Model/AccessPackageResourceEnvironment.php index ff221b0ff9d..c73bfed3683 100644 --- a/src/Model/AccessPackageResourceEnvironment.php +++ b/src/Model/AccessPackageResourceEnvironment.php @@ -26,6 +26,7 @@ class AccessPackageResourceEnvironment extends Entity { /** * Gets the createdDateTime + * The date and time that this object was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -44,6 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * The date and time that this object was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -57,6 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * The description of this object. * * @return string|null The description */ @@ -71,6 +74,7 @@ public function getDescription() /** * Sets the description + * The description of this object. * * @param string $val The description * @@ -84,6 +88,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name of this object. * * @return string|null The displayName */ @@ -98,6 +103,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of this object. * * @param string $val The displayName * @@ -111,6 +117,7 @@ public function setDisplayName($val) /** * Gets the isDefaultEnvironment + * Determines whether this is default environment or not. It is set to true for all static origin systems, such as Azure AD groups and Azure AD Applications. * * @return bool|null The isDefaultEnvironment */ @@ -125,6 +132,7 @@ public function getIsDefaultEnvironment() /** * Sets the isDefaultEnvironment + * Determines whether this is default environment or not. It is set to true for all static origin systems, such as Azure AD groups and Azure AD Applications. * * @param bool $val The isDefaultEnvironment * @@ -138,6 +146,7 @@ public function setIsDefaultEnvironment($val) /** * Gets the modifiedDateTime + * The date and time that this object was last modified. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The modifiedDateTime */ @@ -156,6 +165,7 @@ public function getModifiedDateTime() /** * Sets the modifiedDateTime + * The date and time that this object was last modified. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The modifiedDateTime * @@ -169,6 +179,7 @@ public function setModifiedDateTime($val) /** * Gets the originId + * The unique identifier of this environment in the origin system. * * @return string|null The originId */ @@ -183,6 +194,7 @@ public function getOriginId() /** * Sets the originId + * The unique identifier of this environment in the origin system. * * @param string $val The originId * @@ -196,6 +208,7 @@ public function setOriginId($val) /** * Gets the originSystem + * The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq). * * @return string|null The originSystem */ @@ -210,6 +223,7 @@ public function getOriginSystem() /** * Sets the originSystem + * The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq). * * @param string $val The originSystem * @@ -224,6 +238,7 @@ public function setOriginSystem($val) /** * Gets the resources + * Read-only. Required. * * @return array|null The resources */ @@ -238,6 +253,7 @@ public function getResources() /** * Sets the resources + * Read-only. Required. * * @param AccessPackageResource[] $val The resources * diff --git a/src/Model/AccessPackageResourceRequest.php b/src/Model/AccessPackageResourceRequest.php index 6701f465164..bf6f00b198c 100644 --- a/src/Model/AccessPackageResourceRequest.php +++ b/src/Model/AccessPackageResourceRequest.php @@ -26,6 +26,7 @@ class AccessPackageResourceRequest extends Entity { /** * Gets the createdDateTime + * 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. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -44,6 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * 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. Read-only. * * @param \DateTime $val The createdDateTime * @@ -57,6 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the requestType + * The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource. * * @return AccessPackageRequestType|null The requestType */ @@ -75,6 +78,7 @@ public function getRequestType() /** * Sets the requestType + * The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource. * * @param AccessPackageRequestType $val The requestType * @@ -88,6 +92,7 @@ public function setRequestType($val) /** * Gets the state + * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only. * * @return AccessPackageRequestState|null The state */ @@ -106,6 +111,7 @@ public function getState() /** * Sets the state + * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only. * * @param AccessPackageRequestState $val The state * diff --git a/src/Model/AccessPackageResourceRole.php b/src/Model/AccessPackageResourceRole.php index 8f2d7386424..4257ff24b09 100644 --- a/src/Model/AccessPackageResourceRole.php +++ b/src/Model/AccessPackageResourceRole.php @@ -26,6 +26,7 @@ class AccessPackageResourceRole extends Entity { /** * Gets the description + * A description for the resource role. * * @return string|null The description */ @@ -40,6 +41,7 @@ public function getDescription() /** * Sets the description + * A description for the resource role. * * @param string $val The description * @@ -53,6 +55,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name of the resource role such as the role defined by the application. * * @return string|null The displayName */ @@ -67,6 +70,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the resource role such as the role defined by the application. * * @param string $val The displayName * @@ -80,6 +84,7 @@ public function setDisplayName($val) /** * Gets the originId + * The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site. * * @return string|null The originId */ @@ -94,6 +99,7 @@ public function getOriginId() /** * Sets the originId + * The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site. * * @param string $val The originId * @@ -107,6 +113,7 @@ public function setOriginId($val) /** * Gets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. * * @return string|null The originSystem */ @@ -121,6 +128,7 @@ public function getOriginSystem() /** * Sets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. * * @param string $val The originSystem * diff --git a/src/Model/AccessPackageResourceRoleScope.php b/src/Model/AccessPackageResourceRoleScope.php index 2997d6644f8..0a0ee194e23 100644 --- a/src/Model/AccessPackageResourceRoleScope.php +++ b/src/Model/AccessPackageResourceRoleScope.php @@ -26,6 +26,7 @@ class AccessPackageResourceRoleScope extends Entity { /** * Gets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @return \DateTime|null The createdDateTime */ @@ -44,6 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @param \DateTime $val The createdDateTime * diff --git a/src/Model/AccessPackageResourceScope.php b/src/Model/AccessPackageResourceScope.php index e3da594a8d3..70ed881234d 100644 --- a/src/Model/AccessPackageResourceScope.php +++ b/src/Model/AccessPackageResourceScope.php @@ -26,6 +26,7 @@ class AccessPackageResourceScope extends Entity { /** * Gets the description + * The description of the scope. * * @return string|null The description */ @@ -40,6 +41,7 @@ public function getDescription() /** * Sets the description + * The description of the scope. * * @param string $val The description * @@ -53,6 +55,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name of the scope. * * @return string|null The displayName */ @@ -67,6 +70,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the scope. * * @param string $val The displayName * @@ -80,6 +84,7 @@ public function setDisplayName($val) /** * Gets the isRootScope + * True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource. * * @return bool|null The isRootScope */ @@ -94,6 +99,7 @@ public function getIsRootScope() /** * Sets the isRootScope + * True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource. * * @param bool $val The isRootScope * @@ -107,6 +113,7 @@ public function setIsRootScope($val) /** * Gets the originId + * The unique identifier for the scope in the resource as defined in the origin system. * * @return string|null The originId */ @@ -121,6 +128,7 @@ public function getOriginId() /** * Sets the originId + * The unique identifier for the scope in the resource as defined in the origin system. * * @param string $val The originId * @@ -134,6 +142,7 @@ public function setOriginId($val) /** * Gets the originSystem + * The origin system for the scope. * * @return string|null The originSystem */ @@ -148,6 +157,7 @@ public function getOriginSystem() /** * Sets the originSystem + * The origin system for the scope. * * @param string $val The originSystem * diff --git a/src/Model/ArchivedPrintJob.php b/src/Model/ArchivedPrintJob.php index 0ca93e912a8..c175112df57 100644 --- a/src/Model/ArchivedPrintJob.php +++ b/src/Model/ArchivedPrintJob.php @@ -267,6 +267,34 @@ public function setPrinterId($val) $this->_propDict["printerId"] = $val; return $this; } + /** + * Gets the printerName + * The printer name that the job was queued for. Read-only. + * + * @return string|null The printerName + */ + public function getPrinterName() + { + if (array_key_exists("printerName", $this->_propDict)) { + return $this->_propDict["printerName"]; + } else { + return null; + } + } + + /** + * Sets the printerName + * The printer name that the job was queued for. Read-only. + * + * @param string $val The value of the printerName + * + * @return ArchivedPrintJob + */ + public function setPrinterName($val) + { + $this->_propDict["printerName"] = $val; + return $this; + } /** * Gets the processingState diff --git a/src/Model/AudioRoutingGroup.php b/src/Model/AudioRoutingGroup.php index a454f3b4957..5ec4a9ef058 100644 --- a/src/Model/AudioRoutingGroup.php +++ b/src/Model/AudioRoutingGroup.php @@ -26,6 +26,7 @@ class AudioRoutingGroup extends Entity { /** * Gets the receivers + * List of receiving participant ids. * * @return array|null The receivers */ @@ -40,6 +41,7 @@ public function getReceivers() /** * Sets the receivers + * List of receiving participant ids. * * @param string[] $val The receivers * @@ -53,6 +55,7 @@ public function setReceivers($val) /** * Gets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. * * @return RoutingMode|null The routingMode */ @@ -71,6 +74,7 @@ public function getRoutingMode() /** * Sets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. * * @param RoutingMode $val The routingMode * @@ -84,6 +88,7 @@ public function setRoutingMode($val) /** * Gets the sources + * List of source participant ids. * * @return array|null The sources */ @@ -98,6 +103,7 @@ public function getSources() /** * Sets the sources + * List of source participant ids. * * @param string[] $val The sources * diff --git a/src/Model/Chat.php b/src/Model/Chat.php index 2b7f58b48f9..2a265c94a4f 100644 --- a/src/Model/Chat.php +++ b/src/Model/Chat.php @@ -400,6 +400,34 @@ public function setMessages($val) } + /** + * Gets the permissionGrants + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Chat + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + + /** * Gets the pinnedMessages * A collection of all the pinned messages in the chat. Nullable. diff --git a/src/Model/CustomExtensionCalloutInstance.php b/src/Model/CustomExtensionCalloutInstance.php index 197201e98a5..290010f9ca7 100644 --- a/src/Model/CustomExtensionCalloutInstance.php +++ b/src/Model/CustomExtensionCalloutInstance.php @@ -25,6 +25,7 @@ class CustomExtensionCalloutInstance extends Entity { /** * Gets the customExtensionId + * Identification of the custom extension that was triggered at this instance. * * @return string|null The customExtensionId */ @@ -39,6 +40,7 @@ public function getCustomExtensionId() /** * Sets the customExtensionId + * Identification of the custom extension that was triggered at this instance. * * @param string $val The value of the customExtensionId * @@ -51,6 +53,7 @@ public function setCustomExtensionId($val) } /** * Gets the detail + * Details provided by the logic app during the callback of the request instance. * * @return string|null The detail */ @@ -65,6 +68,7 @@ public function getDetail() /** * Sets the detail + * Details provided by the logic app during the callback of the request instance. * * @param string $val The value of the detail * @@ -77,6 +81,7 @@ public function setDetail($val) } /** * Gets the externalCorrelationId + * The unique run identifier for the logic app. * * @return string|null The externalCorrelationId */ @@ -91,6 +96,7 @@ public function getExternalCorrelationId() /** * Sets the externalCorrelationId + * The unique run identifier for the logic app. * * @param string $val The value of the externalCorrelationId * @@ -103,6 +109,7 @@ public function setExternalCorrelationId($val) } /** * Gets the id + * Unique identifier for the callout instance. Read-only. * * @return string|null The id */ @@ -117,6 +124,7 @@ public function getId() /** * Sets the id + * Unique identifier for the callout instance. Read-only. * * @param string $val The value of the id * @@ -130,6 +138,7 @@ public function setId($val) /** * Gets the status + * The status of the request to the custom extension. The possible values are: calloutSent, callbackReceived, calloutFailed, callbackTimedOut, waitingForCallback, unknownFutureValue. * * @return CustomExtensionCalloutInstanceStatus|null The status */ @@ -148,6 +157,7 @@ public function getStatus() /** * Sets the status + * The status of the request to the custom extension. The possible values are: calloutSent, callbackReceived, calloutFailed, callbackTimedOut, waitingForCallback, unknownFutureValue. * * @param CustomExtensionCalloutInstanceStatus $val The value to assign to the status * diff --git a/src/Model/CustomExtensionStageSetting.php b/src/Model/CustomExtensionStageSetting.php index 4f68a0a512c..b83d1e01288 100644 --- a/src/Model/CustomExtensionStageSetting.php +++ b/src/Model/CustomExtensionStageSetting.php @@ -26,6 +26,7 @@ class CustomExtensionStageSetting extends Entity { /** * Gets the stage + * Indicates the stage of the access package assignment request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @return AccessPackageCustomExtensionStage|null The stage */ @@ -44,6 +45,7 @@ public function getStage() /** * Sets the stage + * Indicates the stage of the access package assignment request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @param AccessPackageCustomExtensionStage $val The stage * @@ -57,6 +59,7 @@ public function setStage($val) /** * Gets the customExtension + * Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. * * @return CustomCalloutExtension|null The customExtension */ @@ -75,6 +78,7 @@ public function getCustomExtension() /** * Sets the customExtension + * Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. * * @param CustomCalloutExtension $val The customExtension * diff --git a/src/Model/CustomSecurityAttributeValue.php b/src/Model/CustomSecurityAttributeValue.php new file mode 100644 index 00000000000..ccb6d974eb3 --- /dev/null +++ b/src/Model/CustomSecurityAttributeValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["allowParticipantsToChangeName"]; + } else { + return null; + } + } + + /** + * Sets the allowParticipantsToChangeName + * Specifies if participants are allowed to rename themselves in an instance of the meeting. + * + * @param bool $val The allowParticipantsToChangeName + * + * @return OnlineMeeting + */ + public function setAllowParticipantsToChangeName($val) + { + $this->_propDict["allowParticipantsToChangeName"] = boolval($val); + return $this; + } + /** * Gets the allowTeamworkReactions * Indicates whether Teams reactions are enabled for the meeting. @@ -650,6 +679,39 @@ public function setRecordAutomatically($val) return $this; } + /** + * Gets the shareMeetingChatHistoryDefault + * Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. + * + * @return MeetingChatHistoryDefaultMode|null The shareMeetingChatHistoryDefault + */ + public function getShareMeetingChatHistoryDefault() + { + if (array_key_exists("shareMeetingChatHistoryDefault", $this->_propDict)) { + if (is_a($this->_propDict["shareMeetingChatHistoryDefault"], "\Microsoft\Graph\Model\MeetingChatHistoryDefaultMode") || is_null($this->_propDict["shareMeetingChatHistoryDefault"])) { + return $this->_propDict["shareMeetingChatHistoryDefault"]; + } else { + $this->_propDict["shareMeetingChatHistoryDefault"] = new MeetingChatHistoryDefaultMode($this->_propDict["shareMeetingChatHistoryDefault"]); + return $this->_propDict["shareMeetingChatHistoryDefault"]; + } + } + return null; + } + + /** + * Sets the shareMeetingChatHistoryDefault + * Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. + * + * @param MeetingChatHistoryDefaultMode $val The shareMeetingChatHistoryDefault + * + * @return OnlineMeeting + */ + public function setShareMeetingChatHistoryDefault($val) + { + $this->_propDict["shareMeetingChatHistoryDefault"] = $val; + return $this; + } + /** * Gets the startDateTime * The meeting start time in UTC. diff --git a/src/Model/OrganizationalBrandingProperties.php b/src/Model/OrganizationalBrandingProperties.php index eb62a354113..84ae5602432 100644 --- a/src/Model/OrganizationalBrandingProperties.php +++ b/src/Model/OrganizationalBrandingProperties.php @@ -26,7 +26,7 @@ class OrganizationalBrandingProperties extends Entity { /** * Gets the backgroundColor - * Color that will appear in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. + * Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. * * @return string|null The backgroundColor */ @@ -41,7 +41,7 @@ public function getBackgroundColor() /** * Sets the backgroundColor - * Color that will appear in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. + * Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. * * @param string $val The backgroundColor * @@ -117,7 +117,7 @@ public function setBackgroundImageRelativeUrl($val) /** * Gets the bannerLogo - * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * * @return \GuzzleHttp\Psr7\Stream|null The bannerLogo */ @@ -136,7 +136,7 @@ public function getBannerLogo() /** * Sets the bannerLogo - * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * * @param \GuzzleHttp\Psr7\Stream $val The bannerLogo * @@ -150,7 +150,7 @@ public function setBannerLogo($val) /** * Gets the bannerLogoRelativeUrl - * A relative url for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. * * @return string|null The bannerLogoRelativeUrl */ @@ -165,7 +165,7 @@ public function getBannerLogoRelativeUrl() /** * Sets the bannerLogoRelativeUrl - * A relative url for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. * * @param string $val The bannerLogoRelativeUrl * @@ -208,6 +208,7 @@ public function setCdnList($val) /** * Gets the customAccountResetCredentialsUrl + * A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. * * @return string|null The customAccountResetCredentialsUrl */ @@ -222,6 +223,7 @@ public function getCustomAccountResetCredentialsUrl() /** * Sets the customAccountResetCredentialsUrl + * A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. * * @param string $val The customAccountResetCredentialsUrl * @@ -235,6 +237,7 @@ public function setCustomAccountResetCredentialsUrl($val) /** * Gets the customCannotAccessYourAccountText + * A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters. * * @return string|null The customCannotAccessYourAccountText */ @@ -249,6 +252,7 @@ public function getCustomCannotAccessYourAccountText() /** * Sets the customCannotAccessYourAccountText + * A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters. * * @param string $val The customCannotAccessYourAccountText * @@ -262,6 +266,7 @@ public function setCustomCannotAccessYourAccountText($val) /** * Gets the customCannotAccessYourAccountUrl + * A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead. * * @return string|null The customCannotAccessYourAccountUrl */ @@ -276,6 +281,7 @@ public function getCustomCannotAccessYourAccountUrl() /** * Sets the customCannotAccessYourAccountUrl + * A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead. * * @param string $val The customCannotAccessYourAccountUrl * @@ -289,6 +295,7 @@ public function setCustomCannotAccessYourAccountUrl($val) /** * Gets the customCSS + * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * * @return \GuzzleHttp\Psr7\Stream|null The customCSS */ @@ -307,6 +314,7 @@ public function getCustomCSS() /** * Sets the customCSS + * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. * * @param \GuzzleHttp\Psr7\Stream $val The customCSS * @@ -320,6 +328,7 @@ public function setCustomCSS($val) /** * Gets the customCSSRelativeUrl + * A relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @return string|null The customCSSRelativeUrl */ @@ -334,6 +343,7 @@ public function getCustomCSSRelativeUrl() /** * Sets the customCSSRelativeUrl + * A relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @param string $val The customCSSRelativeUrl * @@ -347,6 +357,7 @@ public function setCustomCSSRelativeUrl($val) /** * Gets the customForgotMyPasswordText + * A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. * * @return string|null The customForgotMyPasswordText */ @@ -361,6 +372,7 @@ public function getCustomForgotMyPasswordText() /** * Sets the customForgotMyPasswordText + * A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. * * @param string $val The customForgotMyPasswordText * @@ -374,6 +386,7 @@ public function setCustomForgotMyPasswordText($val) /** * Gets the customPrivacyAndCookiesText + * A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. * * @return string|null The customPrivacyAndCookiesText */ @@ -388,6 +401,7 @@ public function getCustomPrivacyAndCookiesText() /** * Sets the customPrivacyAndCookiesText + * A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. * * @param string $val The customPrivacyAndCookiesText * @@ -401,6 +415,7 @@ public function setCustomPrivacyAndCookiesText($val) /** * Gets the customPrivacyAndCookiesUrl + * A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. * * @return string|null The customPrivacyAndCookiesUrl */ @@ -415,6 +430,7 @@ public function getCustomPrivacyAndCookiesUrl() /** * Sets the customPrivacyAndCookiesUrl + * A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. * * @param string $val The customPrivacyAndCookiesUrl * @@ -428,6 +444,7 @@ public function setCustomPrivacyAndCookiesUrl($val) /** * Gets the customResetItNowText + * A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported. * * @return string|null The customResetItNowText */ @@ -442,6 +459,7 @@ public function getCustomResetItNowText() /** * Sets the customResetItNowText + * A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported. * * @param string $val The customResetItNowText * @@ -455,6 +473,7 @@ public function setCustomResetItNowText($val) /** * Gets the customTermsOfUseText + * A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. * * @return string|null The customTermsOfUseText */ @@ -469,6 +488,7 @@ public function getCustomTermsOfUseText() /** * Sets the customTermsOfUseText + * A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. * * @param string $val The customTermsOfUseText * @@ -482,6 +502,7 @@ public function setCustomTermsOfUseText($val) /** * Gets the customTermsOfUseUrl + * A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters. * * @return string|null The customTermsOfUseUrl */ @@ -496,6 +517,7 @@ public function getCustomTermsOfUseUrl() /** * Sets the customTermsOfUseUrl + * A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters. * * @param string $val The customTermsOfUseUrl * @@ -509,6 +531,7 @@ public function setCustomTermsOfUseUrl($val) /** * Gets the favicon + * A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. * * @return \GuzzleHttp\Psr7\Stream|null The favicon */ @@ -527,6 +550,7 @@ public function getFavicon() /** * Sets the favicon + * A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. * * @param \GuzzleHttp\Psr7\Stream $val The favicon * @@ -540,6 +564,7 @@ public function setFavicon($val) /** * Gets the faviconRelativeUrl + * A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @return string|null The faviconRelativeUrl */ @@ -554,6 +579,7 @@ public function getFaviconRelativeUrl() /** * Sets the faviconRelativeUrl + * A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @param string $val The faviconRelativeUrl * @@ -567,6 +593,7 @@ public function setFaviconRelativeUrl($val) /** * Gets the headerBackgroundColor + * The RGB color to apply to customize the color of the header. * * @return string|null The headerBackgroundColor */ @@ -581,6 +608,7 @@ public function getHeaderBackgroundColor() /** * Sets the headerBackgroundColor + * The RGB color to apply to customize the color of the header. * * @param string $val The headerBackgroundColor * @@ -594,6 +622,7 @@ public function setHeaderBackgroundColor($val) /** * Gets the headerLogo + * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * * @return \GuzzleHttp\Psr7\Stream|null The headerLogo */ @@ -612,6 +641,7 @@ public function getHeaderLogo() /** * Sets the headerLogo + * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. * * @param \GuzzleHttp\Psr7\Stream $val The headerLogo * @@ -625,6 +655,7 @@ public function setHeaderLogo($val) /** * Gets the headerLogoRelativeUrl + * A relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. * * @return string|null The headerLogoRelativeUrl */ @@ -639,6 +670,7 @@ public function getHeaderLogoRelativeUrl() /** * Sets the headerLogoRelativeUrl + * A relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. * * @param string $val The headerLogoRelativeUrl * @@ -652,6 +684,7 @@ public function setHeaderLogoRelativeUrl($val) /** * Gets the loginPageLayoutConfiguration + * Represents the layout configuration to be displayed on the login page for a tenant. * * @return LoginPageLayoutConfiguration|null The loginPageLayoutConfiguration */ @@ -670,6 +703,7 @@ public function getLoginPageLayoutConfiguration() /** * Sets the loginPageLayoutConfiguration + * Represents the layout configuration to be displayed on the login page for a tenant. * * @param LoginPageLayoutConfiguration $val The loginPageLayoutConfiguration * @@ -683,6 +717,7 @@ public function setLoginPageLayoutConfiguration($val) /** * Gets the loginPageTextVisibilitySettings + * Represents the various texts that can be hidden on the login page for a tenant. * * @return LoginPageTextVisibilitySettings|null The loginPageTextVisibilitySettings */ @@ -701,6 +736,7 @@ public function getLoginPageTextVisibilitySettings() /** * Sets the loginPageTextVisibilitySettings + * Represents the various texts that can be hidden on the login page for a tenant. * * @param LoginPageTextVisibilitySettings $val The loginPageTextVisibilitySettings * @@ -714,7 +750,7 @@ public function setLoginPageTextVisibilitySettings($val) /** * Gets the signInPageText - * Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. * * @return string|null The signInPageText */ @@ -729,7 +765,7 @@ public function getSignInPageText() /** * Sets the signInPageText - * Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. * * @param string $val The signInPageText * @@ -743,7 +779,7 @@ public function setSignInPageText($val) /** * Gets the squareLogo - * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * * @return \GuzzleHttp\Psr7\Stream|null The squareLogo */ @@ -762,7 +798,7 @@ public function getSquareLogo() /** * Sets the squareLogo - * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * * @param \GuzzleHttp\Psr7\Stream $val The squareLogo * @@ -776,6 +812,7 @@ public function setSquareLogo($val) /** * Gets the squareLogoDark + * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * * @return \GuzzleHttp\Psr7\Stream|null The squareLogoDark */ @@ -794,6 +831,7 @@ public function getSquareLogoDark() /** * Sets the squareLogoDark + * A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. * * @param \GuzzleHttp\Psr7\Stream $val The squareLogoDark * @@ -807,6 +845,7 @@ public function setSquareLogoDark($val) /** * Gets the squareLogoDarkRelativeUrl + * A relative URL for the squareLogoDark property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @return string|null The squareLogoDarkRelativeUrl */ @@ -821,6 +860,7 @@ public function getSquareLogoDarkRelativeUrl() /** * Sets the squareLogoDarkRelativeUrl + * A relative URL for the squareLogoDark property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @param string $val The squareLogoDarkRelativeUrl * @@ -834,7 +874,7 @@ public function setSquareLogoDarkRelativeUrl($val) /** * Gets the squareLogoRelativeUrl - * A relative url for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @return string|null The squareLogoRelativeUrl */ @@ -849,7 +889,7 @@ public function getSquareLogoRelativeUrl() /** * Sets the squareLogoRelativeUrl - * A relative url for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. * * @param string $val The squareLogoRelativeUrl * @@ -863,7 +903,7 @@ public function setSquareLogoRelativeUrl($val) /** * Gets the usernameHintText - * String that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. * * @return string|null The usernameHintText */ @@ -878,7 +918,7 @@ public function getUsernameHintText() /** * Sets the usernameHintText - * String that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. * * @param string $val The usernameHintText * diff --git a/src/Model/PasswordProfile.php b/src/Model/PasswordProfile.php index c85053cb24c..ab362cebf4a 100644 --- a/src/Model/PasswordProfile.php +++ b/src/Model/PasswordProfile.php @@ -81,7 +81,7 @@ public function setForceChangePasswordNextSignInWithMfa($val) } /** * Gets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @return string|null The password */ @@ -96,7 +96,7 @@ public function getPassword() /** * Sets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @param string $val The value of the password * diff --git a/src/Model/Permission.php b/src/Model/Permission.php index fe8f43b82f9..66da543f9f4 100644 --- a/src/Model/Permission.php +++ b/src/Model/Permission.php @@ -338,7 +338,7 @@ public function setRoles($val) /** * Gets the shareId - * A unique token that can be used to access this shared item via the **shares** API. Read-only. + * A unique token that can be used to access this shared item via the shares API. Read-only. * * @return string|null The shareId */ @@ -353,7 +353,7 @@ public function getShareId() /** * Sets the shareId - * A unique token that can be used to access this shared item via the **shares** API. Read-only. + * A unique token that can be used to access this shared item via the shares API. Read-only. * * @param string $val The shareId * diff --git a/src/Model/PermissionGrantConditionSet.php b/src/Model/PermissionGrantConditionSet.php index 8b662c3eeaf..1479b24a6bb 100644 --- a/src/Model/PermissionGrantConditionSet.php +++ b/src/Model/PermissionGrantConditionSet.php @@ -171,7 +171,7 @@ public function setPermissionClassification($val) /** * Gets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @return array|null The permissions */ @@ -186,7 +186,7 @@ public function getPermissions() /** * Sets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the oauth2PermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @param string[] $val The permissions * diff --git a/src/Model/PrintUsageByPrinter.php b/src/Model/PrintUsageByPrinter.php index 10b48bdd532..8bc54b452b2 100644 --- a/src/Model/PrintUsageByPrinter.php +++ b/src/Model/PrintUsageByPrinter.php @@ -51,4 +51,33 @@ public function setPrinterId($val) return $this; } + /** + * Gets the printerName + * The name of the printer represented by these statistics. + * + * @return string|null The printerName + */ + public function getPrinterName() + { + if (array_key_exists("printerName", $this->_propDict)) { + return $this->_propDict["printerName"]; + } else { + return null; + } + } + + /** + * Sets the printerName + * The name of the printer represented by these statistics. + * + * @param string $val The printerName + * + * @return PrintUsageByPrinter + */ + public function setPrinterName($val) + { + $this->_propDict["printerName"] = $val; + return $this; + } + } diff --git a/src/Model/ProvisionedIdentity.php b/src/Model/ProvisionedIdentity.php index c09c19c8e67..a850ba495cb 100644 --- a/src/Model/ProvisionedIdentity.php +++ b/src/Model/ProvisionedIdentity.php @@ -58,7 +58,7 @@ public function setDetails($val) } /** * Gets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @return string|null The identityType */ @@ -73,7 +73,7 @@ public function getIdentityType() /** * Sets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @param string $val The value of the identityType * diff --git a/src/Model/ProvisioningObjectSummary.php b/src/Model/ProvisioningObjectSummary.php index 26c294a6273..e7efcd9d1e6 100644 --- a/src/Model/ProvisioningObjectSummary.php +++ b/src/Model/ProvisioningObjectSummary.php @@ -26,7 +26,7 @@ class ProvisioningObjectSummary extends Entity { /** * Gets the activityDateTime - * 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 + * 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 $filter (eq, gt, lt) and orderby. * * @return \DateTime|null The activityDateTime */ @@ -45,7 +45,7 @@ public function getActivityDateTime() /** * Sets the activityDateTime - * 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 + * 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 $filter (eq, gt, lt) and orderby. * * @param \DateTime $val The activityDateTime * @@ -59,7 +59,7 @@ public function setActivityDateTime($val) /** * Gets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @return string|null The changeId */ @@ -74,7 +74,7 @@ public function getChangeId() /** * Sets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @param string $val The changeId * @@ -88,7 +88,7 @@ public function setChangeId($val) /** * Gets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @return string|null The cycleId */ @@ -103,7 +103,7 @@ public function getCycleId() /** * Sets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @param string $val The cycleId * @@ -146,7 +146,7 @@ public function setDurationInMilliseconds($val) /** * Gets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @return Initiator|null The initiatedBy */ @@ -165,7 +165,7 @@ public function getInitiatedBy() /** * Sets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @param Initiator $val The initiatedBy * @@ -179,7 +179,7 @@ public function setInitiatedBy($val) /** * Gets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @return string|null The jobId */ @@ -194,7 +194,7 @@ public function getJobId() /** * Sets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @param string $val The jobId * @@ -238,7 +238,7 @@ public function setModifiedProperties($val) /** * Gets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @return ProvisioningAction|null The provisioningAction */ @@ -257,7 +257,7 @@ public function getProvisioningAction() /** * Sets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @param ProvisioningAction $val The provisioningAction * @@ -334,7 +334,7 @@ public function setProvisioningSteps($val) /** * Gets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @return ProvisioningServicePrincipal|null The servicePrincipal */ @@ -353,7 +353,7 @@ public function getServicePrincipal() /** * Sets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @param ProvisioningServicePrincipal $val The servicePrincipal * @@ -367,7 +367,7 @@ public function setServicePrincipal($val) /** * Gets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The sourceIdentity */ @@ -386,7 +386,7 @@ public function getSourceIdentity() /** * Sets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The sourceIdentity * @@ -400,7 +400,7 @@ public function setSourceIdentity($val) /** * Gets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The sourceSystem */ @@ -419,7 +419,7 @@ public function getSourceSystem() /** * Sets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The sourceSystem * @@ -433,7 +433,7 @@ public function setSourceSystem($val) /** * Gets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The targetIdentity */ @@ -452,7 +452,7 @@ public function getTargetIdentity() /** * Sets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The targetIdentity * @@ -466,7 +466,7 @@ public function setTargetIdentity($val) /** * Gets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The targetSystem */ @@ -485,7 +485,7 @@ public function getTargetSystem() /** * Sets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The targetSystem * @@ -499,7 +499,7 @@ public function setTargetSystem($val) /** * Gets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @return string|null The tenantId */ @@ -514,7 +514,7 @@ public function getTenantId() /** * Sets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @param string $val The tenantId * diff --git a/src/Model/RegistryKeyState.php b/src/Model/RegistryKeyState.php index 5ca2515499f..12e422f25e1 100644 --- a/src/Model/RegistryKeyState.php +++ b/src/Model/RegistryKeyState.php @@ -26,7 +26,7 @@ class RegistryKeyState extends Entity /** * Gets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @return RegistryHive|null The hive */ @@ -45,7 +45,7 @@ public function getHive() /** * Sets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @param RegistryHive $val The value to assign to the hive * @@ -288,7 +288,7 @@ public function setValueName($val) /** * Gets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @return RegistryValueType|null The valueType */ @@ -307,7 +307,7 @@ public function getValueType() /** * Sets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @param RegistryValueType $val The value to assign to the valueType * diff --git a/src/Model/ServicePrincipal.php b/src/Model/ServicePrincipal.php index a68f28a926e..791136b4e14 100644 --- a/src/Model/ServicePrincipal.php +++ b/src/Model/ServicePrincipal.php @@ -316,6 +316,37 @@ public function setAppRoles($val) return $this; } + /** + * Gets the customSecurityAttributes + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return ServicePrincipal + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + /** * Gets the description * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. @@ -852,7 +883,7 @@ public function setServicePrincipalNames($val) /** * Gets the servicePrincipalType - * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: __Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.__ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.__Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.__SocialIdp - For internal use. + * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use. * * @return string|null The servicePrincipalType */ @@ -867,7 +898,7 @@ public function getServicePrincipalType() /** * Sets the servicePrincipalType - * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: __Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.__ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.__Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.__SocialIdp - For internal use. + * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use. * * @param string $val The servicePrincipalType * diff --git a/src/Model/SignIn.php b/src/Model/SignIn.php index 1b1c1ea4be1..fa23552de92 100644 --- a/src/Model/SignIn.php +++ b/src/Model/SignIn.php @@ -26,7 +26,7 @@ class SignIn extends Entity { /** * Gets the appDisplayName - * App name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * App name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @return string|null The appDisplayName */ @@ -41,7 +41,7 @@ public function getAppDisplayName() /** * Sets the appDisplayName - * App name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * App name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @param string $val The appDisplayName * @@ -55,7 +55,7 @@ public function setAppDisplayName($val) /** * Gets the appId - * Unique GUID representing the app ID in the Azure Active Directory. Supports $filter (eq operator only). + * Unique GUID representing the app ID in the Azure Active Directory. Supports $filter (eq). * * @return string|null The appId */ @@ -70,7 +70,7 @@ public function getAppId() /** * Sets the appId - * Unique GUID representing the app ID in the Azure Active Directory. Supports $filter (eq operator only). + * Unique GUID representing the app ID in the Azure Active Directory. Supports $filter (eq). * * @param string $val The appId * @@ -114,7 +114,7 @@ public function setAppliedConditionalAccessPolicies($val) /** * Gets the clientAppUsed - * Identifies the client used for the sign-in activity. Modern authentication clients include Browser and modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq operator only). + * Identifies the client used for the sign-in activity. Modern authentication clients include Browser, modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq). * * @return string|null The clientAppUsed */ @@ -129,7 +129,7 @@ public function getClientAppUsed() /** * Sets the clientAppUsed - * Identifies the client used for the sign-in activity. Modern authentication clients include Browser and modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq operator only). + * Identifies the client used for the sign-in activity. Modern authentication clients include Browser, modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter (eq). * * @param string $val The clientAppUsed * @@ -143,7 +143,7 @@ public function setClientAppUsed($val) /** * Gets the conditionalAccessStatus - * Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq operator only). + * Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). * * @return ConditionalAccessStatus|null The conditionalAccessStatus */ @@ -162,7 +162,7 @@ public function getConditionalAccessStatus() /** * Sets the conditionalAccessStatus - * Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq operator only). + * Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue. Supports $filter (eq). * * @param ConditionalAccessStatus $val The conditionalAccessStatus * @@ -176,7 +176,7 @@ public function setConditionalAccessStatus($val) /** * Gets the correlationId - * The request ID sent from the client when the sign-in is initiated; used to troubleshoot sign-in activity. Supports $filter (eq operator only). + * The request ID sent from the client when the sign-in is initiated; used to troubleshoot sign-in activity. Supports $filter (eq). * * @return string|null The correlationId */ @@ -191,7 +191,7 @@ public function getCorrelationId() /** * Sets the correlationId - * The request ID sent from the client when the sign-in is initiated; used to troubleshoot sign-in activity. Supports $filter (eq operator only). + * The request ID sent from the client when the sign-in is initiated; used to troubleshoot sign-in activity. Supports $filter (eq). * * @param string $val The correlationId * @@ -205,7 +205,7 @@ public function setCorrelationId($val) /** * Gets the createdDateTime - * Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @return \DateTime|null The createdDateTime */ @@ -224,7 +224,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @param \DateTime $val The createdDateTime * @@ -238,7 +238,7 @@ public function setCreatedDateTime($val) /** * Gets the deviceDetail - * Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSytem properties. + * Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq, startsWith) on browser and operatingSytem properties. * * @return DeviceDetail|null The deviceDetail */ @@ -257,7 +257,7 @@ public function getDeviceDetail() /** * Sets the deviceDetail - * Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSytem properties. + * Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter (eq, startsWith) on browser and operatingSytem properties. * * @param DeviceDetail $val The deviceDetail * @@ -271,7 +271,7 @@ public function setDeviceDetail($val) /** * Gets the ipAddress - * IP address of the client used to sign in. Supports $filter (eq and startsWith operators only). + * IP address of the client used to sign in. Supports $filter (eq, startsWith). * * @return string|null The ipAddress */ @@ -286,7 +286,7 @@ public function getIpAddress() /** * Sets the ipAddress - * IP address of the client used to sign in. Supports $filter (eq and startsWith operators only). + * IP address of the client used to sign in. Supports $filter (eq, startsWith). * * @param string $val The ipAddress * @@ -329,7 +329,7 @@ public function setIsInteractive($val) /** * Gets the location - * Provides the city, state, and country code where the sign-in originated. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * Provides the city, state, and country code where the sign-in originated. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @return SignInLocation|null The location */ @@ -348,7 +348,7 @@ public function getLocation() /** * Sets the location - * Provides the city, state, and country code where the sign-in originated. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * Provides the city, state, and country code where the sign-in originated. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @param SignInLocation $val The location * @@ -362,7 +362,7 @@ public function setLocation($val) /** * Gets the resourceDisplayName - * Name of the resource the user signed into. Supports $filter (eq operator only). + * Name of the resource the user signed into. Supports $filter (eq). * * @return string|null The resourceDisplayName */ @@ -377,7 +377,7 @@ public function getResourceDisplayName() /** * Sets the resourceDisplayName - * Name of the resource the user signed into. Supports $filter (eq operator only). + * Name of the resource the user signed into. Supports $filter (eq). * * @param string $val The resourceDisplayName * @@ -391,7 +391,7 @@ public function setResourceDisplayName($val) /** * Gets the resourceId - * ID of the resource that the user signed into. Supports $filter (eq operator only). + * ID of the resource that the user signed into. Supports $filter (eq). * * @return string|null The resourceId */ @@ -406,7 +406,7 @@ public function getResourceId() /** * Sets the resourceId - * ID of the resource that the user signed into. Supports $filter (eq operator only). + * ID of the resource that the user signed into. Supports $filter (eq). * * @param string $val The resourceId * @@ -420,7 +420,7 @@ public function setResourceId($val) /** * Gets the riskDetail - * Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only).Note: Details for this property require an Azure AD Premium P2 license. Other licenses return the value hidden. + * Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq).Note: Details for this property require an Azure AD Premium P2 license. Other licenses return the value hidden. * * @return RiskDetail|null The riskDetail */ @@ -439,7 +439,7 @@ public function getRiskDetail() /** * Sets the riskDetail - * Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only).Note: Details for this property require an Azure AD Premium P2 license. Other licenses return the value hidden. + * Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq).Note: Details for this property require an Azure AD Premium P2 license. Other licenses return the value hidden. * * @param RiskDetail $val The riskDetail * @@ -454,7 +454,7 @@ public function setRiskDetail($val) /** * Gets the riskEventTypes - * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq operator only). + * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq). * * @return array|null The riskEventTypes */ @@ -469,7 +469,7 @@ public function getRiskEventTypes() /** * Sets the riskEventTypes - * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq operator only). + * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq). * * @param RiskEventType[] $val The riskEventTypes * @@ -483,7 +483,7 @@ public function setRiskEventTypes($val) /** * Gets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @return array|null The riskEventTypesV2 */ @@ -498,7 +498,7 @@ public function getRiskEventTypesV2() /** * Sets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @param string[] $val The riskEventTypesV2 * @@ -512,7 +512,7 @@ public function setRiskEventTypesV2($val) /** * Gets the riskLevelAggregated - * Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. * * @return RiskLevel|null The riskLevelAggregated */ @@ -531,7 +531,7 @@ public function getRiskLevelAggregated() /** * Sets the riskLevelAggregated - * Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. * * @param RiskLevel $val The riskLevelAggregated * @@ -545,7 +545,7 @@ public function setRiskLevelAggregated($val) /** * Gets the riskLevelDuringSignIn - * Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. * * @return RiskLevel|null The riskLevelDuringSignIn */ @@ -564,7 +564,7 @@ public function getRiskLevelDuringSignIn() /** * Sets the riskLevelDuringSignIn - * Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. + * Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden. * * @param RiskLevel $val The riskLevelDuringSignIn * @@ -578,7 +578,7 @@ public function setRiskLevelDuringSignIn($val) /** * Gets the riskState - * Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq operator only). + * Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq). * * @return RiskState|null The riskState */ @@ -597,7 +597,7 @@ public function getRiskState() /** * Sets the riskState - * Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq operator only). + * Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq). * * @param RiskState $val The riskState * @@ -611,7 +611,7 @@ public function setRiskState($val) /** * Gets the status - * Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. * * @return SignInStatus|null The status */ @@ -630,7 +630,7 @@ public function getStatus() /** * Sets the status - * Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. * * @param SignInStatus $val The status * @@ -644,7 +644,7 @@ public function setStatus($val) /** * Gets the userDisplayName - * Display name of the user that initiated the sign-in. Supports $filter (eq and startsWith operators only). + * Display name of the user that initiated the sign-in. Supports $filter (eq, startsWith). * * @return string|null The userDisplayName */ @@ -659,7 +659,7 @@ public function getUserDisplayName() /** * Sets the userDisplayName - * Display name of the user that initiated the sign-in. Supports $filter (eq and startsWith operators only). + * Display name of the user that initiated the sign-in. Supports $filter (eq, startsWith). * * @param string $val The userDisplayName * @@ -673,7 +673,7 @@ public function setUserDisplayName($val) /** * Gets the userId - * ID of the user that initiated the sign-in. Supports $filter (eq operator only). + * ID of the user that initiated the sign-in. Supports $filter (eq). * * @return string|null The userId */ @@ -688,7 +688,7 @@ public function getUserId() /** * Sets the userId - * ID of the user that initiated the sign-in. Supports $filter (eq operator only). + * ID of the user that initiated the sign-in. Supports $filter (eq). * * @param string $val The userId * @@ -702,7 +702,7 @@ public function setUserId($val) /** * Gets the userPrincipalName - * User principal name of the user that initiated the sign-in. Supports $filter (eq and startsWith operators only). + * User principal name of the user that initiated the sign-in. Supports $filter (eq, startsWith). * * @return string|null The userPrincipalName */ @@ -717,7 +717,7 @@ public function getUserPrincipalName() /** * Sets the userPrincipalName - * User principal name of the user that initiated the sign-in. Supports $filter (eq and startsWith operators only). + * User principal name of the user that initiated the sign-in. Supports $filter (eq, startsWith). * * @param string $val The userPrincipalName * diff --git a/src/Model/SocialIdentityProvider.php b/src/Model/SocialIdentityProvider.php index be520d522e2..b75f26e03d0 100644 --- a/src/Model/SocialIdentityProvider.php +++ b/src/Model/SocialIdentityProvider.php @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @return string|null The clientSecret */ @@ -70,7 +70,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @param string $val The clientSecret * diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 44ff1ca1c1e..9fc39c42fb2 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -262,7 +262,7 @@ public function setIncludeResourceData($val) /** * Gets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @return string|null The latestSupportedTlsVersion */ @@ -277,7 +277,7 @@ public function getLatestSupportedTlsVersion() /** * Sets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @param string $val The latestSupportedTlsVersion * @@ -291,7 +291,7 @@ public function setLatestSupportedTlsVersion($val) /** * Gets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @return string|null The lifecycleNotificationUrl */ @@ -306,7 +306,7 @@ public function getLifecycleNotificationUrl() /** * Sets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @param string $val The lifecycleNotificationUrl * diff --git a/src/Model/Team.php b/src/Model/Team.php index 99993119c6f..2d50e455ef4 100644 --- a/src/Model/Team.php +++ b/src/Model/Team.php @@ -702,6 +702,34 @@ public function setOperations($val) return $this; } + + /** + * Gets the permissionGrants + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Team + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + /** * Gets the photo * The profile photo for the team. diff --git a/src/Model/TeleconferenceDeviceQuality.php b/src/Model/TeleconferenceDeviceQuality.php index 41c307de3eb..79114a3c489 100644 --- a/src/Model/TeleconferenceDeviceQuality.php +++ b/src/Model/TeleconferenceDeviceQuality.php @@ -109,7 +109,7 @@ public function setCloudServiceDeploymentId($val) } /** * Gets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @return string|null The cloudServiceInstanceName */ @@ -124,7 +124,7 @@ public function getCloudServiceInstanceName() /** * Sets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @param string $val The value of the cloudServiceInstanceName * diff --git a/src/Model/TenantInformation.php b/src/Model/TenantInformation.php index f2f37f77412..d7421f21902 100644 --- a/src/Model/TenantInformation.php +++ b/src/Model/TenantInformation.php @@ -25,6 +25,7 @@ class TenantInformation extends Entity { /** * Gets the defaultDomainName + * Primary domain name of an Azure AD tenant. * * @return string|null The defaultDomainName */ @@ -39,6 +40,7 @@ public function getDefaultDomainName() /** * Sets the defaultDomainName + * Primary domain name of an Azure AD tenant. * * @param string $val The value of the defaultDomainName * @@ -51,6 +53,7 @@ public function setDefaultDomainName($val) } /** * Gets the displayName + * Display name of an Azure AD tenant. * * @return string|null The displayName */ @@ -65,6 +68,7 @@ public function getDisplayName() /** * Sets the displayName + * Display name of an Azure AD tenant. * * @param string $val The value of the displayName * @@ -77,6 +81,7 @@ public function setDisplayName($val) } /** * Gets the federationBrandName + * Name shown to users that sign in to an Azure AD tenant. * * @return string|null The federationBrandName */ @@ -91,6 +96,7 @@ public function getFederationBrandName() /** * Sets the federationBrandName + * Name shown to users that sign in to an Azure AD tenant. * * @param string $val The value of the federationBrandName * @@ -103,6 +109,7 @@ public function setFederationBrandName($val) } /** * Gets the tenantId + * Unique identifier of an Azure AD tenant. * * @return string|null The tenantId */ @@ -117,6 +124,7 @@ public function getTenantId() /** * Sets the tenantId + * Unique identifier of an Azure AD tenant. * * @param string $val The value of the tenantId * diff --git a/src/Model/User.php b/src/Model/User.php index 0e433ef63d3..f73b6000210 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -413,6 +413,37 @@ public function setCreationType($val) return $this; } + /** + * Gets the customSecurityAttributes + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return User + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + /** * Gets the department * The name for the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). @@ -1432,7 +1463,7 @@ public function setPasswordPolicies($val) /** * Gets the passwordProfile - * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). * * @return PasswordProfile|null The passwordProfile */ @@ -1451,7 +1482,7 @@ public function getPasswordProfile() /** * Sets the passwordProfile - * Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). * * @param PasswordProfile $val The passwordProfile * diff --git a/src/Model/WindowsAppX.php b/src/Model/WindowsAppX.php index 38dddda93eb..c134f34b791 100644 --- a/src/Model/WindowsAppX.php +++ b/src/Model/WindowsAppX.php @@ -204,7 +204,7 @@ public function setIsBundle($val) /** * Gets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem */ @@ -223,7 +223,7 @@ public function getMinimumSupportedOperatingSystem() /** * Sets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem * diff --git a/src/Model/WindowsDeviceMalwareState.php b/src/Model/WindowsDeviceMalwareState.php index 2ec393c3c93..0ff368ceab8 100644 --- a/src/Model/WindowsDeviceMalwareState.php +++ b/src/Model/WindowsDeviceMalwareState.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/Model/WindowsMalwareCategoryCount.php b/src/Model/WindowsMalwareCategoryCount.php index dd135906278..c2a02c835c5 100644 --- a/src/Model/WindowsMalwareCategoryCount.php +++ b/src/Model/WindowsMalwareCategoryCount.php @@ -54,7 +54,7 @@ public function setActiveMalwareDetectionCount($val) /** * Gets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -73,7 +73,7 @@ public function getCategory() /** * Sets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The value to assign to the category * diff --git a/src/Model/WindowsMalwareInformation.php b/src/Model/WindowsMalwareInformation.php index b13bad5064f..51dd8ddc7e0 100644 --- a/src/Model/WindowsMalwareInformation.php +++ b/src/Model/WindowsMalwareInformation.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/SecurityNamespace/Model/AlertEvidence.php b/src/SecurityNamespace/Model/AlertEvidence.php index 63238847928..91622abce1f 100644 --- a/src/SecurityNamespace/Model/AlertEvidence.php +++ b/src/SecurityNamespace/Model/AlertEvidence.php @@ -58,6 +58,7 @@ public function setCreatedDateTime($val) } /** * Gets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @return string|null The detailedRoles */ @@ -72,6 +73,7 @@ public function getDetailedRoles() /** * Sets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @param string $val The value of the detailedRoles * @@ -146,7 +148,7 @@ public function setRemediationStatusDetails($val) /** * Gets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @return EvidenceRole|null The roles */ @@ -165,7 +167,7 @@ public function getRoles() /** * Sets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @param EvidenceRole $val The value to assign to the roles * @@ -178,7 +180,7 @@ public function setRoles($val) } /** * Gets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @return string|null The tags */ @@ -193,7 +195,7 @@ public function getTags() /** * Sets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @param string $val The value of the tags * diff --git a/src/SecurityNamespace/Model/BlobContainerEvidence.php b/src/SecurityNamespace/Model/BlobContainerEvidence.php index 8ea9443bc51..dff01cba014 100644 --- a/src/SecurityNamespace/Model/BlobContainerEvidence.php +++ b/src/SecurityNamespace/Model/BlobContainerEvidence.php @@ -25,6 +25,7 @@ class BlobContainerEvidence extends AlertEvidence { /** * Gets the name + * The name of the blob container. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The name of the blob container. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the storageResource + * The storage which the blob container belongs to. * * @return AzureResourceEvidence|null The storageResource */ @@ -70,6 +73,7 @@ public function getStorageResource() /** * Sets the storageResource + * The storage which the blob container belongs to. * * @param AzureResourceEvidence $val The value to assign to the storageResource * @@ -82,6 +86,7 @@ public function setStorageResource($val) } /** * Gets the url + * The full URL representation of the blob container. * * @return string|null The url */ @@ -96,6 +101,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob container. * * @param string $val The value of the url * diff --git a/src/SecurityNamespace/Model/BlobEvidence.php b/src/SecurityNamespace/Model/BlobEvidence.php index 1d05a2190bf..5fcc39f6beb 100644 --- a/src/SecurityNamespace/Model/BlobEvidence.php +++ b/src/SecurityNamespace/Model/BlobEvidence.php @@ -26,6 +26,7 @@ class BlobEvidence extends AlertEvidence /** * Gets the blobContainer + * The container which the blob belongs to. * * @return BlobContainerEvidence|null The blobContainer */ @@ -44,6 +45,7 @@ public function getBlobContainer() /** * Sets the blobContainer + * The container which the blob belongs to. * * @param BlobContainerEvidence $val The value to assign to the blobContainer * @@ -56,6 +58,7 @@ public function setBlobContainer($val) } /** * Gets the etag + * The Etag associated with this blob. * * @return string|null The etag */ @@ -70,6 +73,7 @@ public function getEtag() /** * Sets the etag + * The Etag associated with this blob. * * @param string $val The value of the etag * @@ -83,6 +87,7 @@ public function setEtag($val) /** * Gets the fileHashes + * The file hashes associated with this blob. * * @return FileHash|null The fileHashes */ @@ -101,6 +106,7 @@ public function getFileHashes() /** * Sets the fileHashes + * The file hashes associated with this blob. * * @param FileHash $val The value to assign to the fileHashes * @@ -113,6 +119,7 @@ public function setFileHashes($val) } /** * Gets the name + * The name of the blob. * * @return string|null The name */ @@ -127,6 +134,7 @@ public function getName() /** * Sets the name + * The name of the blob. * * @param string $val The value of the name * @@ -139,6 +147,7 @@ public function setName($val) } /** * Gets the url + * The full URL representation of the blob. * * @return string|null The url */ @@ -153,6 +162,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob. * * @param string $val The value of the url * diff --git a/src/SecurityNamespace/Model/ContainerEvidence.php b/src/SecurityNamespace/Model/ContainerEvidence.php index ced0b2d8575..11cb72f998c 100644 --- a/src/SecurityNamespace/Model/ContainerEvidence.php +++ b/src/SecurityNamespace/Model/ContainerEvidence.php @@ -25,6 +25,7 @@ class ContainerEvidence extends AlertEvidence { /** * Gets the args + * The list of arguments. * * @return string|null The args */ @@ -39,6 +40,7 @@ public function getArgs() /** * Sets the args + * The list of arguments. * * @param string $val The value of the args * @@ -51,6 +53,7 @@ public function setArgs($val) } /** * Gets the command + * The list of commands. * * @return string|null The command */ @@ -65,6 +68,7 @@ public function getCommand() /** * Sets the command + * The list of commands. * * @param string $val The value of the command * @@ -77,6 +81,7 @@ public function setCommand($val) } /** * Gets the containerId + * The container ID. * * @return string|null The containerId */ @@ -91,6 +96,7 @@ public function getContainerId() /** * Sets the containerId + * The container ID. * * @param string $val The value of the containerId * @@ -104,6 +110,7 @@ public function setContainerId($val) /** * Gets the image + * The image used to run the container. * * @return ContainerImageEvidence|null The image */ @@ -122,6 +129,7 @@ public function getImage() /** * Sets the image + * The image used to run the container. * * @param ContainerImageEvidence $val The value to assign to the image * @@ -134,6 +142,7 @@ public function setImage($val) } /** * Gets the isPrivileged + * The privileged status. * * @return bool|null The isPrivileged */ @@ -148,6 +157,7 @@ public function getIsPrivileged() /** * Sets the isPrivileged + * The privileged status. * * @param bool $val The value of the isPrivileged * @@ -160,6 +170,7 @@ public function setIsPrivileged($val) } /** * Gets the name + * The container name. * * @return string|null The name */ @@ -174,6 +185,7 @@ public function getName() /** * Sets the name + * The container name. * * @param string $val The value of the name * @@ -187,6 +199,7 @@ public function setName($val) /** * Gets the pod + * The pod this container belongs to. * * @return KubernetesPodEvidence|null The pod */ @@ -205,6 +218,7 @@ public function getPod() /** * Sets the pod + * The pod this container belongs to. * * @param KubernetesPodEvidence $val The value to assign to the pod * diff --git a/src/SecurityNamespace/Model/ContainerImageEvidence.php b/src/SecurityNamespace/Model/ContainerImageEvidence.php index 0401e5ce209..e182b63055c 100644 --- a/src/SecurityNamespace/Model/ContainerImageEvidence.php +++ b/src/SecurityNamespace/Model/ContainerImageEvidence.php @@ -26,6 +26,7 @@ class ContainerImageEvidence extends AlertEvidence /** * Gets the digestImage + * The digest image entity, in case this is a tag image. * * @return ContainerImageEvidence|null The digestImage */ @@ -44,6 +45,7 @@ public function getDigestImage() /** * Sets the digestImage + * The digest image entity, in case this is a tag image. * * @param ContainerImageEvidence $val The value to assign to the digestImage * @@ -56,6 +58,7 @@ public function setDigestImage($val) } /** * Gets the imageId + * The unique identifier for the container image entity. * * @return string|null The imageId */ @@ -70,6 +73,7 @@ public function getImageId() /** * Sets the imageId + * The unique identifier for the container image entity. * * @param string $val The value of the imageId * @@ -83,6 +87,7 @@ public function setImageId($val) /** * Gets the registry + * The container registry for this image. * * @return ContainerRegistryEvidence|null The registry */ @@ -101,6 +106,7 @@ public function getRegistry() /** * Sets the registry + * The container registry for this image. * * @param ContainerRegistryEvidence $val The value to assign to the registry * diff --git a/src/SecurityNamespace/Model/ContainerRegistryEvidence.php b/src/SecurityNamespace/Model/ContainerRegistryEvidence.php index fdf6b5979b4..bbc88c05a6a 100644 --- a/src/SecurityNamespace/Model/ContainerRegistryEvidence.php +++ b/src/SecurityNamespace/Model/ContainerRegistryEvidence.php @@ -25,6 +25,7 @@ class ContainerRegistryEvidence extends AlertEvidence { /** * Gets the registry + * The registry URI. * * @return string|null The registry */ @@ -39,6 +40,7 @@ public function getRegistry() /** * Sets the registry + * The registry URI. * * @param string $val The value of the registry * diff --git a/src/SecurityNamespace/Model/DeviceEvidence.php b/src/SecurityNamespace/Model/DeviceEvidence.php index 564d1b3fe6d..00091b9bed1 100644 --- a/src/SecurityNamespace/Model/DeviceEvidence.php +++ b/src/SecurityNamespace/Model/DeviceEvidence.php @@ -180,6 +180,7 @@ public function setHealthStatus($val) } /** * Gets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @return string|null The ipInterfaces */ @@ -194,6 +195,7 @@ public function getIpInterfaces() /** * Sets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @param string $val The value of the ipInterfaces * diff --git a/src/SecurityNamespace/Model/FileHash.php b/src/SecurityNamespace/Model/FileHash.php index 6f7757d3f14..94d84194104 100644 --- a/src/SecurityNamespace/Model/FileHash.php +++ b/src/SecurityNamespace/Model/FileHash.php @@ -26,6 +26,7 @@ class FileHash extends \Microsoft\Graph\Model\Entity /** * Gets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @return FileHashAlgorithm|null The algorithm */ @@ -44,6 +45,7 @@ public function getAlgorithm() /** * Sets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @param FileHashAlgorithm $val The value to assign to the algorithm * @@ -56,6 +58,7 @@ public function setAlgorithm($val) } /** * Gets the value + * The hash value. * * @return string|null The value */ @@ -70,6 +73,7 @@ public function getValue() /** * Sets the value + * The hash value. * * @param string $val The value of the value * diff --git a/src/SecurityNamespace/Model/KubernetesClusterEvidence.php b/src/SecurityNamespace/Model/KubernetesClusterEvidence.php index 88c8b42d14e..da0c626006b 100644 --- a/src/SecurityNamespace/Model/KubernetesClusterEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesClusterEvidence.php @@ -26,6 +26,7 @@ class KubernetesClusterEvidence extends AlertEvidence /** * Gets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @return AlertEvidence|null The cloudResource */ @@ -44,6 +45,7 @@ public function getCloudResource() /** * Sets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @param AlertEvidence $val The value to assign to the cloudResource * @@ -56,6 +58,7 @@ public function setCloudResource($val) } /** * Gets the distribution + * The distribution type of the cluster. * * @return string|null The distribution */ @@ -70,6 +73,7 @@ public function getDistribution() /** * Sets the distribution + * The distribution type of the cluster. * * @param string $val The value of the distribution * @@ -82,6 +86,7 @@ public function setDistribution($val) } /** * Gets the name + * The cluster name. * * @return string|null The name */ @@ -96,6 +101,7 @@ public function getName() /** * Sets the name + * The cluster name. * * @param string $val The value of the name * @@ -109,6 +115,7 @@ public function setName($val) /** * Gets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @return KubernetesPlatform|null The platform */ @@ -127,6 +134,7 @@ public function getPlatform() /** * Sets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @param KubernetesPlatform $val The value to assign to the platform * @@ -139,6 +147,7 @@ public function setPlatform($val) } /** * Gets the version + * The kubernetes version of the cluster. * * @return string|null The version */ @@ -153,6 +162,7 @@ public function getVersion() /** * Sets the version + * The kubernetes version of the cluster. * * @param string $val The value of the version * diff --git a/src/SecurityNamespace/Model/KubernetesControllerEvidence.php b/src/SecurityNamespace/Model/KubernetesControllerEvidence.php index df2aaea26ec..31fbd486585 100644 --- a/src/SecurityNamespace/Model/KubernetesControllerEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesControllerEvidence.php @@ -26,6 +26,7 @@ class KubernetesControllerEvidence extends AlertEvidence /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -44,6 +45,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -56,6 +58,7 @@ public function setLabels($val) } /** * Gets the name + * The controller name. * * @return string|null The name */ @@ -70,6 +73,7 @@ public function getName() /** * Sets the name + * The controller name. * * @param string $val The value of the name * @@ -83,6 +87,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -101,6 +106,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -113,6 +119,7 @@ public function setNamespace($val) } /** * Gets the type + * The controller type. * * @return string|null The type */ @@ -127,6 +134,7 @@ public function getType() /** * Sets the type + * The controller type. * * @param string $val The value of the type * diff --git a/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php b/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php index dd9741c520c..d2435b1a7a3 100644 --- a/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesNamespaceEvidence.php @@ -26,6 +26,7 @@ class KubernetesNamespaceEvidence extends AlertEvidence /** * Gets the cluster + * The namespace cluster. * * @return KubernetesClusterEvidence|null The cluster */ @@ -44,6 +45,7 @@ public function getCluster() /** * Sets the cluster + * The namespace cluster. * * @param KubernetesClusterEvidence $val The value to assign to the cluster * @@ -57,6 +59,7 @@ public function setCluster($val) /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -75,6 +78,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -87,6 +91,7 @@ public function setLabels($val) } /** * Gets the name + * The namespace name. * * @return string|null The name */ @@ -101,6 +106,7 @@ public function getName() /** * Sets the name + * The namespace name. * * @param string $val The value of the name * diff --git a/src/SecurityNamespace/Model/KubernetesPodEvidence.php b/src/SecurityNamespace/Model/KubernetesPodEvidence.php index eb22dbb53a4..53ffb418d3a 100644 --- a/src/SecurityNamespace/Model/KubernetesPodEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesPodEvidence.php @@ -26,6 +26,7 @@ class KubernetesPodEvidence extends AlertEvidence /** * Gets the containers + * The list of pod containers which are not init or ephemeral containers. * * @return ContainerEvidence|null The containers */ @@ -44,6 +45,7 @@ public function getContainers() /** * Sets the containers + * The list of pod containers which are not init or ephemeral containers. * * @param ContainerEvidence $val The value to assign to the containers * @@ -57,6 +59,7 @@ public function setContainers($val) /** * Gets the controller + * The pod controller. * * @return KubernetesControllerEvidence|null The controller */ @@ -75,6 +78,7 @@ public function getController() /** * Sets the controller + * The pod controller. * * @param KubernetesControllerEvidence $val The value to assign to the controller * @@ -88,6 +92,7 @@ public function setController($val) /** * Gets the ephemeralContainers + * The list of pod ephemeral containers. * * @return ContainerEvidence|null The ephemeralContainers */ @@ -106,6 +111,7 @@ public function getEphemeralContainers() /** * Sets the ephemeralContainers + * The list of pod ephemeral containers. * * @param ContainerEvidence $val The value to assign to the ephemeralContainers * @@ -119,6 +125,7 @@ public function setEphemeralContainers($val) /** * Gets the initContainers + * The list of pod init containers. * * @return ContainerEvidence|null The initContainers */ @@ -137,6 +144,7 @@ public function getInitContainers() /** * Sets the initContainers + * The list of pod init containers. * * @param ContainerEvidence $val The value to assign to the initContainers * @@ -150,6 +158,7 @@ public function setInitContainers($val) /** * Gets the labels + * The pod labels. * * @return Dictionary|null The labels */ @@ -168,6 +177,7 @@ public function getLabels() /** * Sets the labels + * The pod labels. * * @param Dictionary $val The value to assign to the labels * @@ -180,6 +190,7 @@ public function setLabels($val) } /** * Gets the name + * The pod name. * * @return string|null The name */ @@ -194,6 +205,7 @@ public function getName() /** * Sets the name + * The pod name. * * @param string $val The value of the name * @@ -207,6 +219,7 @@ public function setName($val) /** * Gets the namespace + * The pod namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -225,6 +238,7 @@ public function getNamespace() /** * Sets the namespace + * The pod namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -238,6 +252,7 @@ public function setNamespace($val) /** * Gets the podIp + * The pod IP. * * @return IpEvidence|null The podIp */ @@ -256,6 +271,7 @@ public function getPodIp() /** * Sets the podIp + * The pod IP. * * @param IpEvidence $val The value to assign to the podIp * @@ -269,6 +285,7 @@ public function setPodIp($val) /** * Gets the serviceAccount + * The pod service account. * * @return KubernetesServiceAccountEvidence|null The serviceAccount */ @@ -287,6 +304,7 @@ public function getServiceAccount() /** * Sets the serviceAccount + * The pod service account. * * @param KubernetesServiceAccountEvidence $val The value to assign to the serviceAccount * diff --git a/src/SecurityNamespace/Model/KubernetesSecretEvidence.php b/src/SecurityNamespace/Model/KubernetesSecretEvidence.php index e5e89ed6c13..07d5844e61b 100644 --- a/src/SecurityNamespace/Model/KubernetesSecretEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesSecretEvidence.php @@ -25,6 +25,7 @@ class KubernetesSecretEvidence extends AlertEvidence { /** * Gets the name + * The secret name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The secret name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The secret namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The secret namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -82,6 +86,7 @@ public function setNamespace($val) } /** * Gets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @return string|null The secretType */ @@ -96,6 +101,7 @@ public function getSecretType() /** * Sets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @param string $val The value of the secretType * diff --git a/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php b/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php index 856dd47d31e..ff589920952 100644 --- a/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php @@ -25,6 +25,7 @@ class KubernetesServiceAccountEvidence extends AlertEvidence { /** * Gets the name + * The service account name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The service account name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * diff --git a/src/SecurityNamespace/Model/KubernetesServiceEvidence.php b/src/SecurityNamespace/Model/KubernetesServiceEvidence.php index c334f35fe3c..e40e0e84472 100644 --- a/src/SecurityNamespace/Model/KubernetesServiceEvidence.php +++ b/src/SecurityNamespace/Model/KubernetesServiceEvidence.php @@ -26,6 +26,7 @@ class KubernetesServiceEvidence extends AlertEvidence /** * Gets the clusterIP + * The service cluster IP. * * @return IpEvidence|null The clusterIP */ @@ -44,6 +45,7 @@ public function getClusterIP() /** * Sets the clusterIP + * The service cluster IP. * * @param IpEvidence $val The value to assign to the clusterIP * @@ -57,6 +59,7 @@ public function setClusterIP($val) /** * Gets the externalIPs + * The service external IPs. * * @return IpEvidence|null The externalIPs */ @@ -75,6 +78,7 @@ public function getExternalIPs() /** * Sets the externalIPs + * The service external IPs. * * @param IpEvidence $val The value to assign to the externalIPs * @@ -88,6 +92,7 @@ public function setExternalIPs($val) /** * Gets the labels + * The service labels. * * @return Dictionary|null The labels */ @@ -106,6 +111,7 @@ public function getLabels() /** * Sets the labels + * The service labels. * * @param Dictionary $val The value to assign to the labels * @@ -118,6 +124,7 @@ public function setLabels($val) } /** * Gets the name + * The service name. * * @return string|null The name */ @@ -132,6 +139,7 @@ public function getName() /** * Sets the name + * The service name. * * @param string $val The value of the name * @@ -145,6 +153,7 @@ public function setName($val) /** * Gets the namespace + * The service namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -163,6 +172,7 @@ public function getNamespace() /** * Sets the namespace + * The service namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -176,6 +186,7 @@ public function setNamespace($val) /** * Gets the selector + * The service selector. * * @return Dictionary|null The selector */ @@ -194,6 +205,7 @@ public function getSelector() /** * Sets the selector + * The service selector. * * @param Dictionary $val The value to assign to the selector * @@ -207,6 +219,7 @@ public function setSelector($val) /** * Gets the servicePorts + * The list of service ports. * * @return KubernetesServicePort|null The servicePorts */ @@ -225,6 +238,7 @@ public function getServicePorts() /** * Sets the servicePorts + * The list of service ports. * * @param KubernetesServicePort $val The value to assign to the servicePorts * @@ -238,6 +252,7 @@ public function setServicePorts($val) /** * Gets the serviceType + * The service type. Possible values are: unknown, clusterIP, externalName, nodePort, loadBalancer, unknownFutureValue. * * @return KubernetesServiceType|null The serviceType */ @@ -256,6 +271,7 @@ public function getServiceType() /** * Sets the serviceType + * The service type. Possible values are: unknown, clusterIP, externalName, nodePort, loadBalancer, unknownFutureValue. * * @param KubernetesServiceType $val The value to assign to the serviceType * diff --git a/src/SecurityNamespace/Model/KubernetesServicePort.php b/src/SecurityNamespace/Model/KubernetesServicePort.php index cd62fde040b..1747ec56a3b 100644 --- a/src/SecurityNamespace/Model/KubernetesServicePort.php +++ b/src/SecurityNamespace/Model/KubernetesServicePort.php @@ -25,6 +25,7 @@ class KubernetesServicePort extends \Microsoft\Graph\Model\Entity { /** * Gets the appProtocol + * The application protocol for this port. * * @return string|null The appProtocol */ @@ -39,6 +40,7 @@ public function getAppProtocol() /** * Sets the appProtocol + * The application protocol for this port. * * @param string $val The value of the appProtocol * @@ -51,6 +53,7 @@ public function setAppProtocol($val) } /** * Gets the name + * The name of this port within the service. * * @return string|null The name */ @@ -65,6 +68,7 @@ public function getName() /** * Sets the name + * The name of this port within the service. * * @param string $val The value of the name * @@ -77,6 +81,7 @@ public function setName($val) } /** * Gets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @return int|null The nodePort */ @@ -91,6 +96,7 @@ public function getNodePort() /** * Sets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @param int $val The value of the nodePort * @@ -103,6 +109,7 @@ public function setNodePort($val) } /** * Gets the port + * The port that this service exposes. * * @return int|null The port */ @@ -117,6 +124,7 @@ public function getPort() /** * Sets the port + * The port that this service exposes. * * @param int $val The value of the port * @@ -130,6 +138,7 @@ public function setPort($val) /** * Gets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @return ContainerPortProtocol|null The protocol */ @@ -148,6 +157,7 @@ public function getProtocol() /** * Sets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @param ContainerPortProtocol $val The value to assign to the protocol * @@ -160,6 +170,7 @@ public function setProtocol($val) } /** * Gets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @return string|null The targetPort */ @@ -174,6 +185,7 @@ public function getTargetPort() /** * Sets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @param string $val The value of the targetPort * diff --git a/src/SecurityNamespace/Model/RegistryValueEvidence.php b/src/SecurityNamespace/Model/RegistryValueEvidence.php index 548aaf1d176..219ba6f44e9 100644 --- a/src/SecurityNamespace/Model/RegistryValueEvidence.php +++ b/src/SecurityNamespace/Model/RegistryValueEvidence.php @@ -25,6 +25,7 @@ class RegistryValueEvidence extends AlertEvidence { /** * Gets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @return string|null The mdeDeviceId */ @@ -39,6 +40,7 @@ public function getMdeDeviceId() /** * Sets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @param string $val The value of the mdeDeviceId * From 539948ee099c081949cbf4a7f56accc38e3429e1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Aug 2023 10:10:36 +0000 Subject: [PATCH 6/6] Update generated files with build 122273 --- .../CallRecords/Model/PstnCallLogRow.php | 4 +- .../Model/AlertImpact.php | 33 + .../Model/AlertRecord.php | 8 +- .../Model/AlertRule.php | 4 +- .../Model/AlertRuleTemplate.php | 1 + .../Model/PortalNotification.php | 4 +- .../Model/ComplianceSettings.php | 2 - .../Model/ExternalConnection.php | 6 +- .../Model/AccessPackageResourceAttribute.php | 4 +- .../Graph/Model/AgreementFileData.php | 4 +- ...ndroidDeviceOwnerDelegatedAppScopeType.php | 37 ++ ...oidDeviceOwnerDelegatedScopeAppSetting.php | 92 +++ ...dDeviceOwnerGeneralDeviceConfiguration.php | 30 + .../AndroidDeviceOwnerVpnConfiguration.php | 29 + ...droidForWorkGeneralDeviceConfiguration.php | 29 + .../Microsoft/Graph/Model/AndroidLobApp.php | 33 + .../Graph/Model/AndroidTargetedPlatforms.php | 35 ++ ...dWorkProfileGeneralDeviceConfiguration.php | 29 + .../AndroidWorkProfileVpnConfiguration.php | 29 + .../Graph/Model/AssignmentReviewSettings.php | 4 +- .../Microsoft/Graph/Model/BaseItemVersion.php | 4 +- .../Microsoft/Graph/Model/CallRecording.php | 4 + .../Microsoft/Graph/Model/CallTranscript.php | 8 +- .../Graph/Model/CloudPcProvisioningPolicy.php | 4 +- .../Graph/Model/CloudPcUserSetting.php | 2 + .../Model/CloudRealtimeCommunicationInfo.php | 52 ++ .../Model/ConditionalAccessPlatforms.php | 4 +- .../Microsoft/Graph/Model/ContentInfo.php | 4 +- ...TenantAccessPolicyConfigurationPartner.php | 27 + .../Graph/Model/CryptographySuite.php | 8 +- .../CustomExtensionClientConfiguration.php | 32 +- .../CustomExtensionOverwriteConfiguration.php | 57 ++ .../Model/DefaultUserRolePermissions.php | 4 +- .../Graph/Model/DeviceGeoLocation.php | 33 - .../Graph/Model/DeviceManagement.php | 4 +- ...onfigurationReferredSettingInformation.php | 4 +- ...ationSimpleSettingCollectionDefinition.php | 8 +- ...figurationStringSettingValueDefinition.php | 12 +- ...eManagementConfigurationTemplateFamily.php | 1 + .../Microsoft/Graph/Model/DirectoryAudit.php | 24 +- .../Graph/Model/EducationAssignment.php | 27 + .../Graph/Model/EducationChannelResource.php | 63 ++ .../Microsoft/Graph/Model/EducationClass.php | 28 + .../EducationLinkedAssignmentResource.php | 63 ++ .../Microsoft/Graph/Model/EducationModule.php | 318 ++++++++++ .../Graph/Model/EducationModuleResource.php | 58 ++ ...MdatpApp.php => EducationModuleStatus.php} | 14 +- .../Graph/Model/GovernanceRuleSetting.php | 4 +- src/Beta/Microsoft/Graph/Model/Identity.php | 8 +- .../Graph/Model/IdentityProvider.php | 4 +- .../Microsoft/Graph/Model/IdentitySet.php | 12 +- .../IosVpnSecurityAssociationParameters.php | 4 +- src/Beta/Microsoft/Graph/Model/KeyValue.php | 8 +- .../Microsoft/Graph/Model/MacOSWebClip.php | 114 ++++ .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Graph/Model/ManagedAndroidLobApp.php | 33 + .../Microsoft/Graph/Model/ManagedDevice.php | 29 + .../Model/MobileThreatPartnerTenantState.php | 3 + .../Graph/Model/MultiTenantOrganization.php | 202 +++++++ ...OrganizationIdentitySyncPolicyTemplate.php | 89 +++ ...ltiTenantOrganizationJoinRequestRecord.php | 147 +++++ ...ganizationJoinRequestTransitionDetails.php | 114 ++++ .../Model/MultiTenantOrganizationMember.php | 263 ++++++++ ...nantOrganizationMemberProcessingStatus.php | 37 ++ .../MultiTenantOrganizationMemberRole.php | 35 ++ .../MultiTenantOrganizationMemberState.php | 36 ++ ...antOrganizationMemberTransitionDetails.php | 145 +++++ ...ganizationPartnerConfigurationTemplate.php | 244 ++++++++ .../Model/MultiTenantOrganizationState.php | 35 ++ .../Graph/Model/OAuth2PermissionGrant.php | 4 +- .../Graph/Model/OnPremisesSipInfo.php | 104 ++++ ...kenIssuanceStartCustomExtensionHandler.php | 31 + .../Microsoft/Graph/Model/OnlineMeeting.php | 2 + .../Model/OpenIdConnectIdentityProvider.php | 8 +- .../Graph/Model/OpenIdConnectProvider.php | 8 +- .../Microsoft/Graph/Model/PasswordProfile.php | 4 +- .../Graph/Model/PasswordSingleSignOnField.php | 4 +- .../Model/PermissionGrantConditionSet.php | 4 +- .../Microsoft/Graph/Model/PolicyTemplate.php | 89 +++ .../Graph/Model/ProvisionedIdentity.php | 4 +- .../Graph/Model/ProvisioningObjectSummary.php | 56 +- .../Graph/Model/ProvisioningStatusInfo.php | 4 +- .../Graph/Model/RegistryKeyState.php | 8 +- .../Microsoft/Graph/Model/RemoteAction.php | 3 + .../Graph/Model/SensitivityLabelTarget.php | 2 +- src/Beta/Microsoft/Graph/Model/SignIn.php | 108 ++-- .../Graph/Model/SocialIdentityProvider.php | 4 +- src/Beta/Microsoft/Graph/Model/StatusBase.php | 4 +- .../Microsoft/Graph/Model/Subscription.php | 8 +- .../Model/TeleconferenceDeviceQuality.php | 4 +- .../Graph/Model/TemplateApplicationLevel.php | 36 ++ .../Graph/Model/TenantRelationship.php | 31 + .../Graph/Model/UnifiedRoleDefinition.php | 18 +- src/Beta/Microsoft/Graph/Model/User.php | 62 ++ ...nalyticsBatteryHealthDevicePerformance.php | 58 ++ ...AnalyticsBatteryHealthModelPerformance.php | 149 +++++ ...nceAnalyticsBatteryHealthOsPerformance.php | 178 ++++++ ...alyticsDeviceStartupProcessPerformance.php | 58 -- .../Model/Win32LobAppInstallExperience.php | 28 + .../Microsoft/Graph/Model/WindowsAppX.php | 4 +- .../WindowsAppXAppAssignmentSettings.php | 4 +- .../Graph/Model/WindowsDeviceMalwareState.php | 4 +- .../Graph/Model/WindowsDeviceType.php | 1 + .../Model/WindowsMalwareCategoryCount.php | 4 +- .../Graph/Model/WindowsMalwareInformation.php | 4 +- ...dowsUniversalAppXAppAssignmentSettings.php | 4 +- .../Microsoft/Graph/Model/WorkbookComment.php | 31 + .../Graph/Model/WorkbookCommentReply.php | 31 + .../Graph/Model/WorkbookDocumentTask.php | 350 +++++++++++ .../Model/WorkbookDocumentTaskChange.php | 344 +++++++++++ .../Model/WorkbookDocumentTaskSchedule.php | 88 +++ .../Graph/Model/WorkbookEmailIdentity.php | 104 ++++ .../Graph/Model/WorkbookWorksheet.php | 28 + .../Graph/Model/ZebraFotaConnector.php | 4 +- .../SecurityNamespace/Model/AlertEvidence.php | 10 +- .../Model/BlobContainerEvidence.php | 6 + .../SecurityNamespace/Model/BlobEvidence.php | 10 + .../Model/ContainerEvidence.php | 14 + .../Model/ContainerImageEvidence.php | 6 + .../Model/ContainerRegistryEvidence.php | 2 + .../SecurityNamespace/Model/ContentInfo.php | 4 +- .../Model/DeviceEvidence.php | 2 + .../SecurityNamespace/Model/FileHash.php | 4 + .../Graph/SecurityNamespace/Model/Host.php | 149 +++++ .../SecurityNamespace/Model/HostPair.php | 188 ++++++ .../Model/HostSslCertificate.php | 179 ++++++ .../Model/HostSslCertificatePort.php | 114 ++++ .../Model/IntelligenceProfile.php | 2 + ...lligenceProfileCountryOrRegionOfOrigin.php | 4 + .../Model/KubernetesClusterEvidence.php | 10 + .../Model/KubernetesControllerEvidence.php | 8 + .../Model/KubernetesNamespaceEvidence.php | 6 + .../Model/KubernetesPodEvidence.php | 18 + .../Model/KubernetesSecretEvidence.php | 6 + .../KubernetesServiceAccountEvidence.php | 4 + .../Model/KubernetesServiceEvidence.php | 16 + .../Model/KubernetesServicePort.php | 12 + .../Model/RegistryValueEvidence.php | 2 + .../Model/SslCertificate.php | 322 ++++++++++ .../Model/SslCertificateEntity.php | 265 ++++++++ .../Model/ThreatIntelligence.php | 114 ++++ .../SecurityNamespace/Model/WhoisContact.php | 187 ++++++ .../Model/WhoisDomainStatus.php | 38 ++ .../Model/WhoisNameserver.php | 119 ++++ .../SecurityNamespace/Model/WhoisRecord.php | 570 ++++++++++++++++++ 145 files changed, 7002 insertions(+), 329 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedScopeAppSetting.php create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationChannelResource.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationModule.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationModuleResource.php rename src/Beta/Microsoft/Graph/Model/{MacOSMdatpApp.php => EducationModuleStatus.php} (68%) create mode 100644 src/Beta/Microsoft/Graph/Model/MacOSWebClip.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberRole.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberState.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php create mode 100644 src/Beta/Microsoft/Graph/Model/PolicyTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisNameserver.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php b/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php index 7d29ac6aec4..0e1e696c06e 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php @@ -778,7 +778,7 @@ public function setUserDisplayName($val) } /** * Gets the userId - * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @return string|null The userId */ @@ -793,7 +793,7 @@ public function getUserId() /** * Sets the userId - * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @param string $val The value of the userId * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php index bd5283b102e..fd13a28aa43 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php @@ -56,6 +56,39 @@ public function setAggregationType($val) $this->_propDict["aggregationType"] = $val; return $this; } + + /** + * Gets the alertImpactDetails + * The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value. + * + * @return \Beta\Microsoft\Graph\Model\KeyValuePair|null The alertImpactDetails + */ + public function getAlertImpactDetails() + { + if (array_key_exists("alertImpactDetails", $this->_propDict)) { + if (is_a($this->_propDict["alertImpactDetails"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["alertImpactDetails"])) { + return $this->_propDict["alertImpactDetails"]; + } else { + $this->_propDict["alertImpactDetails"] = new \Beta\Microsoft\Graph\Model\KeyValuePair($this->_propDict["alertImpactDetails"]); + return $this->_propDict["alertImpactDetails"]; + } + } + return null; + } + + /** + * Sets the alertImpactDetails + * The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value. + * + * @param \Beta\Microsoft\Graph\Model\KeyValuePair $val The value to assign to the alertImpactDetails + * + * @return AlertImpact The AlertImpact + */ + public function setAlertImpactDetails($val) + { + $this->_propDict["alertImpactDetails"] = $val; + return $this; + } /** * Gets the value * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php index 292f07d0cf9..0a2b5d24462 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php @@ -26,7 +26,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the alertImpact - * The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. + * The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact. * * @return AlertImpact|null The alertImpact */ @@ -45,7 +45,7 @@ public function getAlertImpact() /** * Sets the alertImpact - * The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. + * The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact. * * @param AlertImpact $val The alertImpact * @@ -88,7 +88,7 @@ public function setAlertRuleId($val) /** * Gets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -107,7 +107,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php index 3c5898fdc23..8b117458ec4 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php @@ -26,7 +26,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -45,7 +45,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php index f5b0612f405..a8c769dc135 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php @@ -34,4 +34,5 @@ class AlertRuleTemplate extends Enum const CLOUD_PC_ON_PREMISE_NETWORK_CONNECTION_CHECK_SCENARIO = "cloudPcOnPremiseNetworkConnectionCheckScenario"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const CLOUD_PC_IN_GRACE_PERIOD_SCENARIO = "cloudPcInGracePeriodScenario"; + const CLOUD_PC_FRONTLINE_INSUFFICIENT_LICENSES_SCENARIO = "cloudPcFrontlineInsufficientLicensesScenario"; } diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php index d2315615188..971df147222 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php @@ -143,7 +143,7 @@ public function setAlertRuleName($val) /** * Gets the alertRuleTemplate - * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -162,7 +162,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The value to assign to the alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php index 67b0ffb7f06..dcb500a0b0d 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php @@ -26,7 +26,6 @@ class ComplianceSettings extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the eDiscoveryResultTemplates - * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. * * @return DisplayTemplate|null The eDiscoveryResultTemplates */ @@ -45,7 +44,6 @@ public function getEDiscoveryResultTemplates() /** * Sets the eDiscoveryResultTemplates - * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. * * @param DisplayTemplate $val The value to assign to the eDiscoveryResultTemplates * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php index daf3fad138c..8b11491221a 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php @@ -59,7 +59,6 @@ public function setActivitySettings($val) /** * Gets the complianceSettings - * The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results. * * @return ComplianceSettings|null The complianceSettings */ @@ -78,7 +77,6 @@ public function getComplianceSettings() /** * Sets the complianceSettings - * The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results. * * @param ComplianceSettings $val The complianceSettings * @@ -183,7 +181,7 @@ public function setDescription($val) /** * Gets the enabledContentExperiences - * The list of content experiences the connection will participate in. Possible values are search and compliance. + * The list of content experiences the connection will participate in. Possible values are search. * * @return ContentExperienceType|null The enabledContentExperiences */ @@ -202,7 +200,7 @@ public function getEnabledContentExperiences() /** * Sets the enabledContentExperiences - * The list of content experiences the connection will participate in. Possible values are search and compliance. + * The list of content experiences the connection will participate in. Possible values are search. * * @param ContentExperienceType $val The enabledContentExperiences * diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php b/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php index f3b52967403..db51cf79185 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php @@ -58,7 +58,7 @@ public function setAttributeDestination($val) } /** * Gets the attributeName - * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle. * * @return string|null The attributeName */ @@ -73,7 +73,7 @@ public function getAttributeName() /** * Sets the attributeName - * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle. * * @param string $val The value of the attributeName * diff --git a/src/Beta/Microsoft/Graph/Model/AgreementFileData.php b/src/Beta/Microsoft/Graph/Model/AgreementFileData.php index df8cbc9482c..ee99d5ce611 100644 --- a/src/Beta/Microsoft/Graph/Model/AgreementFileData.php +++ b/src/Beta/Microsoft/Graph/Model/AgreementFileData.php @@ -26,7 +26,7 @@ class AgreementFileData extends Entity /** * Gets the data - * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)). * * @return \GuzzleHttp\Psr7\Stream|null The data */ @@ -45,7 +45,7 @@ public function getData() /** * Sets the data - * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)). * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the data * diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php new file mode 100644 index 00000000000..cda1c92c6dd --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["appDetail"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["appDetail"])) { + return $this->_propDict["appDetail"]; + } else { + $this->_propDict["appDetail"] = new AppListItem($this->_propDict["appDetail"]); + return $this->_propDict["appDetail"]; + } + } + return null; + } + + /** + * Sets the appDetail + * Information about the app like Name, AppStoreUrl, Publisher and AppId + * + * @param AppListItem $val The value to assign to the appDetail + * + * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting + */ + public function setAppDetail($val) + { + $this->_propDict["appDetail"] = $val; + return $this; + } + + /** + * Gets the appScopes + * List of scopes an app has been assigned. + * + * @return AndroidDeviceOwnerDelegatedAppScopeType|null The appScopes + */ + public function getAppScopes() + { + if (array_key_exists("appScopes", $this->_propDict)) { + if (is_a($this->_propDict["appScopes"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDelegatedAppScopeType") || is_null($this->_propDict["appScopes"])) { + return $this->_propDict["appScopes"]; + } else { + $this->_propDict["appScopes"] = new AndroidDeviceOwnerDelegatedAppScopeType($this->_propDict["appScopes"]); + return $this->_propDict["appScopes"]; + } + } + return null; + } + + /** + * Sets the appScopes + * List of scopes an app has been assigned. + * + * @param AndroidDeviceOwnerDelegatedAppScopeType $val The value to assign to the appScopes + * + * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting + */ + public function setAppScopes($val) + { + $this->_propDict["appScopes"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php index 9034a9f9bc2..b1194b7488c 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php @@ -53,6 +53,36 @@ public function setAccountsBlockModification($val) return $this; } + + /** + * Gets the androidDeviceOwnerDelegatedScopeAppSettings + * Specifies the list of managed apps with app details and its associated delegated scope(s). This collection can contain a maximum of 500 elements. + * + * @return array|null The androidDeviceOwnerDelegatedScopeAppSettings + */ + public function getAndroidDeviceOwnerDelegatedScopeAppSettings() + { + if (array_key_exists("androidDeviceOwnerDelegatedScopeAppSettings", $this->_propDict)) { + return $this->_propDict["androidDeviceOwnerDelegatedScopeAppSettings"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceOwnerDelegatedScopeAppSettings + * Specifies the list of managed apps with app details and its associated delegated scope(s). This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerDelegatedScopeAppSetting[] $val The androidDeviceOwnerDelegatedScopeAppSettings + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAndroidDeviceOwnerDelegatedScopeAppSettings($val) + { + $this->_propDict["androidDeviceOwnerDelegatedScopeAppSettings"] = $val; + return $this; + } + /** * Gets the appsAllowInstallFromUnknownSources * Indicates whether or not the user is allowed to enable to unknown sources setting. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php index 0ded201ed5d..d9380b4093b 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php @@ -204,6 +204,35 @@ public function setMicrosoftTunnelSiteId($val) return $this; } + /** + * Gets the proxyExclusionList + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * + * @return array|null The proxyExclusionList + */ + public function getProxyExclusionList() + { + if (array_key_exists("proxyExclusionList", $this->_propDict)) { + return $this->_propDict["proxyExclusionList"]; + } else { + return null; + } + } + + /** + * Sets the proxyExclusionList + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * + * @param string[] $val The proxyExclusionList + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setProxyExclusionList($val) + { + $this->_propDict["proxyExclusionList"] = $val; + return $this; + } + /** * Gets the proxyServer * Proxy server. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php index 6fd85bc7538..0560b716246 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php @@ -53,6 +53,35 @@ public function setAllowedGoogleAccountDomains($val) return $this; } + /** + * Gets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @return bool|null The blockUnifiedPasswordForWorkProfile + */ + public function getBlockUnifiedPasswordForWorkProfile() + { + if (array_key_exists("blockUnifiedPasswordForWorkProfile", $this->_propDict)) { + return $this->_propDict["blockUnifiedPasswordForWorkProfile"]; + } else { + return null; + } + } + + /** + * Sets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @param bool $val The blockUnifiedPasswordForWorkProfile + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setBlockUnifiedPasswordForWorkProfile($val) + { + $this->_propDict["blockUnifiedPasswordForWorkProfile"] = boolval($val); + return $this; + } + /** * Gets the passwordBlockFaceUnlock * Indicates whether or not to block face unlock. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php index 81a26fd4c57..f673c9012d7 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php @@ -144,6 +144,39 @@ public function setPackageId($val) return $this; } + /** + * Gets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @return AndroidTargetedPlatforms|null The targetedPlatforms + */ + public function getTargetedPlatforms() + { + if (array_key_exists("targetedPlatforms", $this->_propDict)) { + if (is_a($this->_propDict["targetedPlatforms"], "\Beta\Microsoft\Graph\Model\AndroidTargetedPlatforms") || is_null($this->_propDict["targetedPlatforms"])) { + return $this->_propDict["targetedPlatforms"]; + } else { + $this->_propDict["targetedPlatforms"] = new AndroidTargetedPlatforms($this->_propDict["targetedPlatforms"]); + return $this->_propDict["targetedPlatforms"]; + } + } + return null; + } + + /** + * Sets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @param AndroidTargetedPlatforms $val The targetedPlatforms + * + * @return AndroidLobApp + */ + public function setTargetedPlatforms($val) + { + $this->_propDict["targetedPlatforms"] = $val; + return $this; + } + /** * Gets the versionCode * The version code of Android Line of Business (LoB) app. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php b/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php new file mode 100644 index 00000000000..ddb3b4163a4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["blockUnifiedPasswordForWorkProfile"]; + } else { + return null; + } + } + + /** + * Sets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @param bool $val The blockUnifiedPasswordForWorkProfile + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setBlockUnifiedPasswordForWorkProfile($val) + { + $this->_propDict["blockUnifiedPasswordForWorkProfile"] = boolval($val); + return $this; + } + /** * Gets the passwordBlockFaceUnlock * Indicates whether or not to block face unlock. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php index f74c0816845..bbb0a87a335 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php @@ -295,6 +295,35 @@ public function setMicrosoftTunnelSiteId($val) return $this; } + /** + * Gets the proxyExclusionList + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * + * @return array|null The proxyExclusionList + */ + public function getProxyExclusionList() + { + if (array_key_exists("proxyExclusionList", $this->_propDict)) { + return $this->_propDict["proxyExclusionList"]; + } else { + return null; + } + } + + /** + * Sets the proxyExclusionList + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * + * @param string[] $val The proxyExclusionList + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setProxyExclusionList($val) + { + $this->_propDict["proxyExclusionList"] = $val; + return $this; + } + /** * Gets the proxyServer * Proxy server. diff --git a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php index f3c451d1900..938e42f2e38 100644 --- a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php +++ b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php @@ -231,7 +231,7 @@ public function setReviewers($val) } /** * Gets the reviewerType - * Who should be asked to do the review, either Self or Reviewers. + * Who should be asked to do the review, either Self, Reviewers or Manager. * * @return string|null The reviewerType */ @@ -246,7 +246,7 @@ public function getReviewerType() /** * Sets the reviewerType - * Who should be asked to do the review, either Self or Reviewers. + * Who should be asked to do the review, either Self, Reviewers or Manager. * * @param string $val The value of the reviewerType * diff --git a/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php b/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php index 88ca8a7c124..5e939ac4bef 100644 --- a/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php +++ b/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php @@ -59,7 +59,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime - * Date and time the version was last modified. Read-only. + * Date and time when the version was last modified. Read-only. * * @return \DateTime|null The lastModifiedDateTime */ @@ -78,7 +78,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime - * Date and time the version was last modified. Read-only. + * Date and time when the version was last modified. Read-only. * * @param \DateTime $val The lastModifiedDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/CallRecording.php b/src/Beta/Microsoft/Graph/Model/CallRecording.php index eca1d98dd7e..7e3bda71860 100644 --- a/src/Beta/Microsoft/Graph/Model/CallRecording.php +++ b/src/Beta/Microsoft/Graph/Model/CallRecording.php @@ -26,6 +26,7 @@ class CallRecording extends Entity { /** * Gets the content + * The content of the recording. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The content */ @@ -44,6 +45,7 @@ public function getContent() /** * Sets the content + * The content of the recording. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The content * @@ -57,6 +59,7 @@ public function setContent($val) /** * Gets the createdDateTime + * Date and time at which the recording was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -75,6 +78,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time at which the recording was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * * @param \DateTime $val The createdDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/CallTranscript.php b/src/Beta/Microsoft/Graph/Model/CallTranscript.php index c3bab12ab49..e7397745976 100644 --- a/src/Beta/Microsoft/Graph/Model/CallTranscript.php +++ b/src/Beta/Microsoft/Graph/Model/CallTranscript.php @@ -26,7 +26,7 @@ class CallTranscript extends Entity { /** * Gets the content - * A field that represents the content of the transcript. Read-only. + * The content of the transcript. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The content */ @@ -45,7 +45,7 @@ public function getContent() /** * Sets the content - * A field that represents the content of the transcript. Read-only. + * The content of the transcript. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The content * @@ -92,7 +92,7 @@ public function setCreatedDateTime($val) /** * Gets the metadataContent - * A field that represents the time-aligned metadata of the utterances in the transcript. Read-only. + * The time-aligned metadata of the utterances in the transcript. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The metadataContent */ @@ -111,7 +111,7 @@ public function getMetadataContent() /** * Sets the metadataContent - * A field that represents the time-aligned metadata of the utterances in the transcript. Read-only. + * The time-aligned metadata of the utterances in the transcript. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The metadataContent * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php b/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php index 85be3dd659e..504754a4c0e 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php @@ -319,7 +319,7 @@ public function setImageDisplayName($val) /** * Gets the imageId - * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisheroffersku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. * * @return string|null The imageId */ @@ -334,7 +334,7 @@ public function getImageId() /** * Sets the imageId - * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisheroffersku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. * * @param string $val The imageId * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php b/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php index d427cc90cab..fc42357b6d0 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php @@ -150,6 +150,7 @@ public function setLocalAdminEnabled($val) /** * Gets the resetEnabled + * Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false. * * @return bool|null The resetEnabled */ @@ -164,6 +165,7 @@ public function getResetEnabled() /** * Sets the resetEnabled + * Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false. * * @param bool $val The resetEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php b/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php new file mode 100644 index 00000000000..935c6e7fcfc --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["isSipEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSipEnabled + * + * @param bool $val The value of the isSipEnabled + * + * @return CloudRealtimeCommunicationInfo + */ + public function setIsSipEnabled($val) + { + $this->_propDict["isSipEnabled"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php index c4e700c8bd4..f2f52e1ded9 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php @@ -59,7 +59,7 @@ public function setExcludePlatforms($val) /** * Gets the includePlatforms - * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux. * * @return ConditionalAccessDevicePlatform|null The includePlatforms */ @@ -78,7 +78,7 @@ public function getIncludePlatforms() /** * Sets the includePlatforms - * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux. * * @param ConditionalAccessDevicePlatform $val The value to assign to the includePlatforms * diff --git a/src/Beta/Microsoft/Graph/Model/ContentInfo.php b/src/Beta/Microsoft/Graph/Model/ContentInfo.php index 221b756165a..7c17e77ff6e 100644 --- a/src/Beta/Microsoft/Graph/Model/ContentInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ContentInfo.php @@ -87,7 +87,7 @@ public function setIdentifier($val) /** * Gets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIPLabelGUID_PropName. * * @return KeyValuePair|null The metadata */ @@ -106,7 +106,7 @@ public function getMetadata() /** * Sets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIPLabelGUID_PropName. * * @param KeyValuePair $val The value to assign to the metadata * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php index 42ba845c4e9..0227873fea1 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -253,6 +253,33 @@ public function setInboundTrust($val) return $this; } + /** + * Gets the isInMultiTenantOrganization + * + * @return bool|null The isInMultiTenantOrganization + */ + public function getIsInMultiTenantOrganization() + { + if (array_key_exists("isInMultiTenantOrganization", $this->_propDict)) { + return $this->_propDict["isInMultiTenantOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isInMultiTenantOrganization + * + * @param bool $val The isInMultiTenantOrganization + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setIsInMultiTenantOrganization($val) + { + $this->_propDict["isInMultiTenantOrganization"] = boolval($val); + return $this; + } + /** * Gets the isServiceProvider * Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. diff --git a/src/Beta/Microsoft/Graph/Model/CryptographySuite.php b/src/Beta/Microsoft/Graph/Model/CryptographySuite.php index 77a1a48dab6..a3c7504db4b 100644 --- a/src/Beta/Microsoft/Graph/Model/CryptographySuite.php +++ b/src/Beta/Microsoft/Graph/Model/CryptographySuite.php @@ -26,7 +26,7 @@ class CryptographySuite extends Entity /** * Gets the authenticationTransformConstants - * Authentication Transform Constants. Possible values are: md5_96, sha1_96, sha_256_128, aes128Gcm, aes192Gcm, aes256Gcm. + * Authentication Transform Constants. Possible values are: md596, sha196, sha256128, aes128Gcm, aes192Gcm, aes256Gcm. * * @return AuthenticationTransformConstant|null The authenticationTransformConstants */ @@ -45,7 +45,7 @@ public function getAuthenticationTransformConstants() /** * Sets the authenticationTransformConstants - * Authentication Transform Constants. Possible values are: md5_96, sha1_96, sha_256_128, aes128Gcm, aes192Gcm, aes256Gcm. + * Authentication Transform Constants. Possible values are: md596, sha196, sha256128, aes128Gcm, aes192Gcm, aes256Gcm. * * @param AuthenticationTransformConstant $val The value to assign to the authenticationTransformConstants * @@ -158,7 +158,7 @@ public function setEncryptionMethod($val) /** * Gets the integrityCheckMethod - * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity Check Method. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @return VpnIntegrityAlgorithmType|null The integrityCheckMethod */ @@ -177,7 +177,7 @@ public function getIntegrityCheckMethod() /** * Sets the integrityCheckMethod - * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity Check Method. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @param VpnIntegrityAlgorithmType $val The value to assign to the integrityCheckMethod * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php index f07f1977564..cdf6d2adb88 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php @@ -23,9 +23,37 @@ */ class CustomExtensionClientConfiguration extends Entity { + /** + * Gets the maximumRetries + * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * + * @return int|null The maximumRetries + */ + public function getMaximumRetries() + { + if (array_key_exists("maximumRetries", $this->_propDict)) { + return $this->_propDict["maximumRetries"]; + } else { + return null; + } + } + + /** + * Sets the maximumRetries + * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * + * @param int $val The value of the maximumRetries + * + * @return CustomExtensionClientConfiguration + */ + public function setMaximumRetries($val) + { + $this->_propDict["maximumRetries"] = $val; + return $this; + } /** * Gets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. * * @return int|null The timeoutInMilliseconds */ @@ -40,7 +68,7 @@ public function getTimeoutInMilliseconds() /** * Sets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. * * @param int $val The value of the timeoutInMilliseconds * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php new file mode 100644 index 00000000000..3901d93ba8e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["clientConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionClientConfiguration") || is_null($this->_propDict["clientConfiguration"])) { + return $this->_propDict["clientConfiguration"]; + } else { + $this->_propDict["clientConfiguration"] = new CustomExtensionClientConfiguration($this->_propDict["clientConfiguration"]); + return $this->_propDict["clientConfiguration"]; + } + } + return null; + } + + /** + * Sets the clientConfiguration + * + * @param CustomExtensionClientConfiguration $val The value to assign to the clientConfiguration + * + * @return CustomExtensionOverwriteConfiguration The CustomExtensionOverwriteConfiguration + */ + public function setClientConfiguration($val) + { + $this->_propDict["clientConfiguration"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php index 84318b9a2a6..0b496b6fbe2 100644 --- a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php +++ b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php @@ -137,7 +137,7 @@ public function setAllowedToReadBitlockerKeysForOwnedDevice($val) } /** * Gets the allowedToReadOtherUsers - * Indicates whether the default user role can read other users. + * Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false. * * @return bool|null The allowedToReadOtherUsers */ @@ -152,7 +152,7 @@ public function getAllowedToReadOtherUsers() /** * Sets the allowedToReadOtherUsers - * Indicates whether the default user role can read other users. + * Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false. * * @param bool $val The value of the allowedToReadOtherUsers * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php b/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php index a463e804a96..cb5b0bc3a4c 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php @@ -140,39 +140,6 @@ public function setLastCollectedDateTime($val) $this->_propDict["lastCollectedDateTime"] = $val; return $this; } - - /** - * Gets the lastCollectedDateTimeUtc - * Time at which location was recorded, relative to UTC - * - * @return \DateTime|null The lastCollectedDateTimeUtc - */ - public function getLastCollectedDateTimeUtc() - { - if (array_key_exists("lastCollectedDateTimeUtc", $this->_propDict)) { - if (is_a($this->_propDict["lastCollectedDateTimeUtc"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTimeUtc"])) { - return $this->_propDict["lastCollectedDateTimeUtc"]; - } else { - $this->_propDict["lastCollectedDateTimeUtc"] = new \DateTime($this->_propDict["lastCollectedDateTimeUtc"]); - return $this->_propDict["lastCollectedDateTimeUtc"]; - } - } - return null; - } - - /** - * Sets the lastCollectedDateTimeUtc - * Time at which location was recorded, relative to UTC - * - * @param \DateTime $val The value to assign to the lastCollectedDateTimeUtc - * - * @return DeviceGeoLocation The DeviceGeoLocation - */ - public function setLastCollectedDateTimeUtc($val) - { - $this->_propDict["lastCollectedDateTimeUtc"] = $val; - return $this; - } /** * Gets the latitude * Latitude coordinate of the device's location diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php index 94691883833..df6417f548d 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php @@ -439,7 +439,7 @@ public function setManagedDeviceCleanupSettings($val) /** * Gets the subscriptions - * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intuneEDU, intuneSMB. * * @return DeviceManagementSubscriptions|null The subscriptions */ @@ -458,7 +458,7 @@ public function getSubscriptions() /** * Sets the subscriptions - * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intuneEDU, intuneSMB. * * @param DeviceManagementSubscriptions $val The subscriptions * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 62f8fe8d53d..7818161a161 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity { /** * Gets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @return string|null The settingDefinitionId */ @@ -40,7 +40,7 @@ public function getSettingDefinitionId() /** * Sets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @param string $val The value of the settingDefinitionId * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php index 60995c914c7..68ed03d5cbc 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php index 4cbb970141f..323fd5206ff 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php @@ -54,7 +54,7 @@ public function setFileTypes($val) /** * Gets the format - * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. * * @return DeviceManagementConfigurationStringFormat|null The format */ @@ -73,7 +73,7 @@ public function getFormat() /** * Sets the format - * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. * * @param DeviceManagementConfigurationStringFormat $val The value to assign to the format * @@ -142,7 +142,7 @@ public function setIsSecret($val) } /** * Gets the maximumLength - * Maximum length of string. Valid values 0 to 87516 + * Maximum length of string * * @return int|null The maximumLength */ @@ -157,7 +157,7 @@ public function getMaximumLength() /** * Sets the maximumLength - * Maximum length of string. Valid values 0 to 87516 + * Maximum length of string * * @param int $val The value of the maximumLength * @@ -170,7 +170,7 @@ public function setMaximumLength($val) } /** * Gets the minimumLength - * Minimum length of string. Valid values 0 to 87516 + * Minimum length of string * * @return int|null The minimumLength */ @@ -185,7 +185,7 @@ public function getMinimumLength() /** * Sets the minimumLength - * Minimum length of string. Valid values 0 to 87516 + * Minimum length of string * * @param int $val The value of the minimumLength * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php index c40af1e9cb6..1c36f4fdba7 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php @@ -43,4 +43,5 @@ class DeviceManagementConfigurationTemplateFamily extends Enum const BASELINE = "baseline"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const DEVICE_CONFIGURATION_SCRIPTS = "deviceConfigurationScripts"; + const DEVICE_CONFIGURATION_POLICIES = "deviceConfigurationPolicies"; } diff --git a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php index 9d492ad6b69..282bd3f2fe7 100644 --- a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php +++ b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php @@ -26,7 +26,7 @@ class DirectoryAudit extends Entity { /** * Gets the activityDateTime - * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.Supports $filter (eq, ge, le) and $orderby. * * @return \DateTime|null The activityDateTime */ @@ -45,7 +45,7 @@ public function getActivityDateTime() /** * Sets the activityDateTime - * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.Supports $filter (eq, ge, le) and $orderby. * * @param \DateTime $val The activityDateTime * @@ -59,7 +59,7 @@ public function setActivityDateTime($val) /** * Gets the activityDisplayName - * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith). * * @return string|null The activityDisplayName */ @@ -74,7 +74,7 @@ public function getActivityDisplayName() /** * Sets the activityDisplayName - * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith). * * @param string $val The activityDisplayName * @@ -147,7 +147,7 @@ public function setCategory($val) /** * Gets the correlationId - * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq). * * @return string|null The correlationId */ @@ -162,7 +162,7 @@ public function getCorrelationId() /** * Sets the correlationId - * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq). * * @param string $val The correlationId * @@ -176,7 +176,7 @@ public function setCorrelationId($val) /** * Gets the initiatedBy - * Indicates information about the user or app initiated the activity. + * Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName. * * @return AuditActivityInitiator|null The initiatedBy */ @@ -195,7 +195,7 @@ public function getInitiatedBy() /** * Sets the initiatedBy - * Indicates information about the user or app initiated the activity. + * Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName. * * @param AuditActivityInitiator $val The initiatedBy * @@ -209,7 +209,7 @@ public function setInitiatedBy($val) /** * Gets the loggedByService - * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq). * * @return string|null The loggedByService */ @@ -224,7 +224,7 @@ public function getLoggedByService() /** * Sets the loggedByService - * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq). * * @param string $val The loggedByService * @@ -330,7 +330,7 @@ public function setResultReason($val) /** * Gets the targetResources - * Information about the resource that changed due to the activity. + * Information about the resource that changed due to the activity. Supports $filter (eq) for id and displayName; and $filter (startswith) for displayName. * * @return array|null The targetResources */ @@ -345,7 +345,7 @@ public function getTargetResources() /** * Sets the targetResources - * Information about the resource that changed due to the activity. + * Information about the resource that changed due to the activity. Supports $filter (eq) for id and displayName; and $filter (startswith) for displayName. * * @param TargetResource[] $val The targetResources * diff --git a/src/Beta/Microsoft/Graph/Model/EducationAssignment.php b/src/Beta/Microsoft/Graph/Model/EducationAssignment.php index 7ca11340879..a0f69f287f5 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/EducationAssignment.php @@ -598,6 +598,33 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the moduleUrl + * + * @return string|null The moduleUrl + */ + public function getModuleUrl() + { + if (array_key_exists("moduleUrl", $this->_propDict)) { + return $this->_propDict["moduleUrl"]; + } else { + return null; + } + } + + /** + * Sets the moduleUrl + * + * @param string $val The moduleUrl + * + * @return EducationAssignment + */ + public function setModuleUrl($val) + { + $this->_propDict["moduleUrl"] = $val; + return $this; + } + /** * Gets the notificationChannelUrl * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. diff --git a/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php b/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php new file mode 100644 index 00000000000..0ac984fb2ab --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.educationChannelResource"); + } + + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return EducationChannelResource + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationClass.php b/src/Beta/Microsoft/Graph/Model/EducationClass.php index f5e81006d88..2dba66907b2 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationClass.php +++ b/src/Beta/Microsoft/Graph/Model/EducationClass.php @@ -514,6 +514,34 @@ public function setAssignmentSettings($val) return $this; } + + /** + * Gets the modules + * + * @return array|null The modules + */ + public function getModules() + { + if (array_key_exists("modules", $this->_propDict)) { + return $this->_propDict["modules"]; + } else { + return null; + } + } + + /** + * Sets the modules + * + * @param EducationModule[] $val The modules + * + * @return EducationClass + */ + public function setModules($val) + { + $this->_propDict["modules"] = $val; + return $this; + } + /** * Gets the group * diff --git a/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php b/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php new file mode 100644 index 00000000000..02f9e652f28 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.educationLinkedAssignmentResource"); + } + + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return EducationLinkedAssignmentResource + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationModule.php b/src/Beta/Microsoft/Graph/Model/EducationModule.php new file mode 100644 index 00000000000..7129ae54882 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationModule.php @@ -0,0 +1,318 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param IdentitySet $val The createdBy + * + * @return EducationModule + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @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 + * + * @param \DateTime $val The createdDateTime + * + * @return EducationModule + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @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 + * + * @param string $val The description + * + * @return EducationModule + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @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 + * + * @param string $val The displayName + * + * @return EducationModule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPinned + * + * @return bool|null The isPinned + */ + public function getIsPinned() + { + if (array_key_exists("isPinned", $this->_propDict)) { + return $this->_propDict["isPinned"]; + } else { + return null; + } + } + + /** + * Sets the isPinned + * + * @param bool $val The isPinned + * + * @return EducationModule + */ + public function setIsPinned($val) + { + $this->_propDict["isPinned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationModule + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @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 + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationModule + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * + * @param string $val The resourcesFolderUrl + * + * @return EducationModule + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return EducationModuleStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationModuleStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationModuleStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param EducationModuleStatus $val The status + * + * @return EducationModule + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param EducationModuleResource[] $val The resources + * + * @return EducationModule + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php b/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php new file mode 100644 index 00000000000..6100b0620e8 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * + * @param EducationResource $val The resource + * + * @return EducationModuleResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php b/src/Beta/Microsoft/Graph/Model/EducationModuleStatus.php similarity index 68% rename from src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php rename to src/Beta/Microsoft/Graph/Model/EducationModuleStatus.php index 96bf3e945fd..60f04e659d3 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php +++ b/src/Beta/Microsoft/Graph/Model/EducationModuleStatus.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* MacOSMdatpApp File +* EducationModuleStatus File * PHP version 7 * * @category Library @@ -13,8 +13,10 @@ */ namespace Beta\Microsoft\Graph\Model; +use Microsoft\Graph\Core\Enum; + /** -* MacOSMdatpApp class +* EducationModuleStatus class * * @category Model * @package Microsoft.Graph @@ -22,6 +24,12 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class MacOSMdatpApp extends MobileApp +class EducationModuleStatus extends Enum { + /** + * The Enum EducationModuleStatus + */ + const DRAFT = "draft"; + const PUBLISHED = "published"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php b/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php index 09b146525a9..ff0b1ec8070 100644 --- a/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php +++ b/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php @@ -53,7 +53,7 @@ public function setRuleIdentifier($val) } /** * Gets the setting - * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * The settings of the rule. The value is a JSON string with a list of pairs in the format of ParameterName:ParameterValue. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} * * @return string|null The setting */ @@ -68,7 +68,7 @@ public function getSetting() /** * Sets the setting - * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * The settings of the rule. The value is a JSON string with a list of pairs in the format of ParameterName:ParameterValue. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} * * @param string $val The value of the setting * diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 03a9de8a01b..79a5705bc43 100644 --- a/src/Beta/Microsoft/Graph/Model/Identity.php +++ b/src/Beta/Microsoft/Graph/Model/Identity.php @@ -25,7 +25,7 @@ class Identity extends Entity { /** * Gets the displayName - * The display name of the identity. This property is read-only. + * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. This property is read-only. + * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @return string|null The id */ @@ -68,7 +68,7 @@ public function getId() /** * Sets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @param string $val The value of the id * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityProvider.php b/src/Beta/Microsoft/Graph/Model/IdentityProvider.php index a5507dcfde9..8dae7629af7 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityProvider.php @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable. * * @return string|null The clientSecret */ @@ -70,7 +70,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable. * * @param string $val The clientSecret * diff --git a/src/Beta/Microsoft/Graph/Model/IdentitySet.php b/src/Beta/Microsoft/Graph/Model/IdentitySet.php index 655759bfd9f..2046ffd53d1 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentitySet.php +++ b/src/Beta/Microsoft/Graph/Model/IdentitySet.php @@ -26,7 +26,7 @@ class IdentitySet extends Entity /** * Gets the application - * Optional. The application associated with this action. + * The Identity of the Application. This property is read-only. * * @return Identity|null The application */ @@ -45,7 +45,7 @@ public function getApplication() /** * Sets the application - * Optional. The application associated with this action. + * The Identity of the Application. This property is read-only. * * @param Identity $val The value to assign to the application * @@ -59,7 +59,7 @@ public function setApplication($val) /** * Gets the device - * Optional. The device associated with this action. + * The Identity of the Device. This property is read-only. * * @return Identity|null The device */ @@ -78,7 +78,7 @@ public function getDevice() /** * Sets the device - * Optional. The device associated with this action. + * The Identity of the Device. This property is read-only. * * @param Identity $val The value to assign to the device * @@ -92,7 +92,7 @@ public function setDevice($val) /** * Gets the user - * Optional. The user associated with this action. + * The Identity of the User. This property is read-only. * * @return Identity|null The user */ @@ -111,7 +111,7 @@ public function getUser() /** * Sets the user - * Optional. The user associated with this action. + * The Identity of the User. This property is read-only. * * @param Identity $val The value to assign to the user * diff --git a/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php b/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php index 6839ac31ec0..31d8b93a401 100644 --- a/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php +++ b/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php @@ -115,7 +115,7 @@ public function setSecurityEncryptionAlgorithm($val) /** * Gets the securityIntegrityAlgorithm - * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity algorithm. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @return VpnIntegrityAlgorithmType|null The securityIntegrityAlgorithm */ @@ -134,7 +134,7 @@ public function getSecurityIntegrityAlgorithm() /** * Sets the securityIntegrityAlgorithm - * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity algorithm. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @param VpnIntegrityAlgorithmType $val The value to assign to the securityIntegrityAlgorithm * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 9e797ef81ae..2dfdabba03a 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValue.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValue.php @@ -25,7 +25,7 @@ class KeyValue extends Entity { /** * Gets the key - * Contains the name of the field that a value is associated with. + * Key. * * @return string|null The key */ @@ -40,7 +40,7 @@ public function getKey() /** * Sets the key - * Contains the name of the field that a value is associated with. + * Key. * * @param string $val The value of the key * @@ -53,7 +53,7 @@ public function setKey($val) } /** * Gets the value - * Contains the corresponding value for the specified key. + * Value. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Contains the corresponding value for the specified key. + * Value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php new file mode 100644 index 00000000000..5c51897a6b2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["appUrl"]; + } else { + return null; + } + } + + /** + * Sets the appUrl + * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/en-us/mem/. + * + * @param string $val The appUrl + * + * @return MacOSWebClip + */ + public function setAppUrl($val) + { + $this->_propDict["appUrl"] = $val; + return $this; + } + + /** + * Gets the fullScreenEnabled + * Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app. + * + * @return bool|null The fullScreenEnabled + */ + public function getFullScreenEnabled() + { + if (array_key_exists("fullScreenEnabled", $this->_propDict)) { + return $this->_propDict["fullScreenEnabled"]; + } else { + return null; + } + } + + /** + * Sets the fullScreenEnabled + * Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app. + * + * @param bool $val The fullScreenEnabled + * + * @return MacOSWebClip + */ + public function setFullScreenEnabled($val) + { + $this->_propDict["fullScreenEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the preComposedIconEnabled + * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine". + * + * @return bool|null The preComposedIconEnabled + */ + public function getPreComposedIconEnabled() + { + if (array_key_exists("preComposedIconEnabled", $this->_propDict)) { + return $this->_propDict["preComposedIconEnabled"]; + } else { + return null; + } + } + + /** + * Sets the preComposedIconEnabled + * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine". + * + * @param bool $val The preComposedIconEnabled + * + * @return MacOSWebClip + */ + public function setPreComposedIconEnabled($val) + { + $this->_propDict["preComposedIconEnabled"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index a8b5c6204b4..d6de277022d 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php index dd84979c9d7..b8ca9b32949 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php @@ -144,6 +144,39 @@ public function setPackageId($val) return $this; } + /** + * Gets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @return AndroidTargetedPlatforms|null The targetedPlatforms + */ + public function getTargetedPlatforms() + { + if (array_key_exists("targetedPlatforms", $this->_propDict)) { + if (is_a($this->_propDict["targetedPlatforms"], "\Beta\Microsoft\Graph\Model\AndroidTargetedPlatforms") || is_null($this->_propDict["targetedPlatforms"])) { + return $this->_propDict["targetedPlatforms"]; + } else { + $this->_propDict["targetedPlatforms"] = new AndroidTargetedPlatforms($this->_propDict["targetedPlatforms"]); + return $this->_propDict["targetedPlatforms"]; + } + } + return null; + } + + /** + * Sets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @param AndroidTargetedPlatforms $val The targetedPlatforms + * + * @return ManagedAndroidLobApp + */ + public function setTargetedPlatforms($val) + { + $this->_propDict["targetedPlatforms"] = $val; + return $this; + } + /** * Gets the versionCode * The version code of managed Android Line of Business (LoB) app. diff --git a/src/Beta/Microsoft/Graph/Model/ManagedDevice.php b/src/Beta/Microsoft/Graph/Model/ManagedDevice.php index b8d81b0b7a0..73ab28909e0 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedDevice.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedDevice.php @@ -2084,6 +2084,35 @@ public function setRoleScopeTagIds($val) return $this; } + /** + * Gets the securityPatchLevel + * This indicates the security patch level of the operating system. These special updates contain important security fixes. For iOS/MacOS they are in (a) format. For android its in 2017-08-07 format. This property is read-only. + * + * @return string|null The securityPatchLevel + */ + public function getSecurityPatchLevel() + { + if (array_key_exists("securityPatchLevel", $this->_propDict)) { + return $this->_propDict["securityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the securityPatchLevel + * This indicates the security patch level of the operating system. These special updates contain important security fixes. For iOS/MacOS they are in (a) format. For android its in 2017-08-07 format. This property is read-only. + * + * @param string $val The securityPatchLevel + * + * @return ManagedDevice + */ + public function setSecurityPatchLevel($val) + { + $this->_propDict["securityPatchLevel"] = $val; + return $this; + } + /** * Gets the serialNumber * SerialNumber. This property is read-only. diff --git a/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php b/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php index af75158ab52..8405f34276d 100644 --- a/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php +++ b/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php @@ -33,4 +33,7 @@ class MobileThreatPartnerTenantState extends Enum const AVAILABLE = "available"; const ENABLED = "enabled"; const UNRESPONSIVE = "unresponsive"; + const NOT_SET_UP = "notSetUp"; + const ERROR = "error"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php new file mode 100644 index 00000000000..604638cbee4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php @@ -0,0 +1,202 @@ +_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 + * + * @param \DateTime $val The createdDateTime + * + * @return MultiTenantOrganization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @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 + * + * @param string $val The description + * + * @return MultiTenantOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @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 + * + * @param string $val The displayName + * + * @return MultiTenantOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return MultiTenantOrganizationState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new MultiTenantOrganizationState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param MultiTenantOrganizationState $val The state + * + * @return MultiTenantOrganization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the joinRequest + * + * @return MultiTenantOrganizationJoinRequestRecord|null The joinRequest + */ + public function getJoinRequest() + { + if (array_key_exists("joinRequest", $this->_propDict)) { + if (is_a($this->_propDict["joinRequest"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationJoinRequestRecord") || is_null($this->_propDict["joinRequest"])) { + return $this->_propDict["joinRequest"]; + } else { + $this->_propDict["joinRequest"] = new MultiTenantOrganizationJoinRequestRecord($this->_propDict["joinRequest"]); + return $this->_propDict["joinRequest"]; + } + } + return null; + } + + /** + * Sets the joinRequest + * + * @param MultiTenantOrganizationJoinRequestRecord $val The joinRequest + * + * @return MultiTenantOrganization + */ + public function setJoinRequest($val) + { + $this->_propDict["joinRequest"] = $val; + return $this; + } + + + /** + * Gets the tenants + * + * @return array|null The tenants + */ + public function getTenants() + { + if (array_key_exists("tenants", $this->_propDict)) { + return $this->_propDict["tenants"]; + } else { + return null; + } + } + + /** + * Sets the tenants + * + * @param MultiTenantOrganizationMember[] $val The tenants + * + * @return MultiTenantOrganization + */ + public function setTenants($val) + { + $this->_propDict["tenants"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php new file mode 100644 index 00000000000..17ba65fabb7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["templateApplicationLevel"], "\Beta\Microsoft\Graph\Model\TemplateApplicationLevel") || is_null($this->_propDict["templateApplicationLevel"])) { + return $this->_propDict["templateApplicationLevel"]; + } else { + $this->_propDict["templateApplicationLevel"] = new TemplateApplicationLevel($this->_propDict["templateApplicationLevel"]); + return $this->_propDict["templateApplicationLevel"]; + } + } + return null; + } + + /** + * Sets the templateApplicationLevel + * + * @param TemplateApplicationLevel $val The templateApplicationLevel + * + * @return MultiTenantOrganizationIdentitySyncPolicyTemplate + */ + public function setTemplateApplicationLevel($val) + { + $this->_propDict["templateApplicationLevel"] = $val; + return $this; + } + + /** + * Gets the userSyncInbound + * + * @return CrossTenantUserSyncInbound|null The userSyncInbound + */ + public function getUserSyncInbound() + { + if (array_key_exists("userSyncInbound", $this->_propDict)) { + if (is_a($this->_propDict["userSyncInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantUserSyncInbound") || is_null($this->_propDict["userSyncInbound"])) { + return $this->_propDict["userSyncInbound"]; + } else { + $this->_propDict["userSyncInbound"] = new CrossTenantUserSyncInbound($this->_propDict["userSyncInbound"]); + return $this->_propDict["userSyncInbound"]; + } + } + return null; + } + + /** + * Sets the userSyncInbound + * + * @param CrossTenantUserSyncInbound $val The userSyncInbound + * + * @return MultiTenantOrganizationIdentitySyncPolicyTemplate + */ + public function setUserSyncInbound($val) + { + $this->_propDict["userSyncInbound"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php new file mode 100644 index 00000000000..398d8bbfa89 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["addedByTenantId"]; + } else { + return null; + } + } + + /** + * Sets the addedByTenantId + * + * @param string $val The addedByTenantId + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setAddedByTenantId($val) + { + $this->_propDict["addedByTenantId"] = $val; + return $this; + } + + /** + * Gets the memberState + * + * @return MultiTenantOrganizationMemberState|null The memberState + */ + public function getMemberState() + { + if (array_key_exists("memberState", $this->_propDict)) { + if (is_a($this->_propDict["memberState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["memberState"])) { + return $this->_propDict["memberState"]; + } else { + $this->_propDict["memberState"] = new MultiTenantOrganizationMemberState($this->_propDict["memberState"]); + return $this->_propDict["memberState"]; + } + } + return null; + } + + /** + * Sets the memberState + * + * @param MultiTenantOrganizationMemberState $val The memberState + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setMemberState($val) + { + $this->_propDict["memberState"] = $val; + return $this; + } + + /** + * Gets the role + * + * @return MultiTenantOrganizationMemberRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new MultiTenantOrganizationMemberRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * + * @param MultiTenantOrganizationMemberRole $val The role + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the transitionDetails + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails|null The transitionDetails + */ + public function getTransitionDetails() + { + if (array_key_exists("transitionDetails", $this->_propDict)) { + if (is_a($this->_propDict["transitionDetails"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationJoinRequestTransitionDetails") || is_null($this->_propDict["transitionDetails"])) { + return $this->_propDict["transitionDetails"]; + } else { + $this->_propDict["transitionDetails"] = new MultiTenantOrganizationJoinRequestTransitionDetails($this->_propDict["transitionDetails"]); + return $this->_propDict["transitionDetails"]; + } + } + return null; + } + + /** + * Sets the transitionDetails + * + * @param MultiTenantOrganizationJoinRequestTransitionDetails $val The transitionDetails + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setTransitionDetails($val) + { + $this->_propDict["transitionDetails"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php new file mode 100644 index 00000000000..368e9d89357 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["desiredMemberState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["desiredMemberState"])) { + return $this->_propDict["desiredMemberState"]; + } else { + $this->_propDict["desiredMemberState"] = new MultiTenantOrganizationMemberState($this->_propDict["desiredMemberState"]); + return $this->_propDict["desiredMemberState"]; + } + } + return null; + } + + /** + * Sets the desiredMemberState + * + * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredMemberState + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails The MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setDesiredMemberState($val) + { + $this->_propDict["desiredMemberState"] = $val; + return $this; + } + /** + * Gets the details + * + * @return string|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param string $val The value of the details + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return MultiTenantOrganizationMemberProcessingStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberProcessingStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MultiTenantOrganizationMemberProcessingStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails The MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php new file mode 100644 index 00000000000..1052dd7aa0b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["addedByTenantId"]; + } else { + return null; + } + } + + /** + * Sets the addedByTenantId + * + * @param string $val The addedByTenantId + * + * @return MultiTenantOrganizationMember + */ + public function setAddedByTenantId($val) + { + $this->_propDict["addedByTenantId"] = $val; + return $this; + } + + /** + * Gets the addedDateTime + * + * @return \DateTime|null The addedDateTime + */ + public function getAddedDateTime() + { + if (array_key_exists("addedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["addedDateTime"], "\DateTime") || is_null($this->_propDict["addedDateTime"])) { + return $this->_propDict["addedDateTime"]; + } else { + $this->_propDict["addedDateTime"] = new \DateTime($this->_propDict["addedDateTime"]); + return $this->_propDict["addedDateTime"]; + } + } + return null; + } + + /** + * Sets the addedDateTime + * + * @param \DateTime $val The addedDateTime + * + * @return MultiTenantOrganizationMember + */ + public function setAddedDateTime($val) + { + $this->_propDict["addedDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @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 + * + * @param string $val The displayName + * + * @return MultiTenantOrganizationMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the joinedDateTime + * + * @return \DateTime|null The joinedDateTime + */ + public function getJoinedDateTime() + { + if (array_key_exists("joinedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["joinedDateTime"], "\DateTime") || is_null($this->_propDict["joinedDateTime"])) { + return $this->_propDict["joinedDateTime"]; + } else { + $this->_propDict["joinedDateTime"] = new \DateTime($this->_propDict["joinedDateTime"]); + return $this->_propDict["joinedDateTime"]; + } + } + return null; + } + + /** + * Sets the joinedDateTime + * + * @param \DateTime $val The joinedDateTime + * + * @return MultiTenantOrganizationMember + */ + public function setJoinedDateTime($val) + { + $this->_propDict["joinedDateTime"] = $val; + return $this; + } + + /** + * Gets the role + * + * @return MultiTenantOrganizationMemberRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new MultiTenantOrganizationMemberRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * + * @param MultiTenantOrganizationMemberRole $val The role + * + * @return MultiTenantOrganizationMember + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return MultiTenantOrganizationMemberState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new MultiTenantOrganizationMemberState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param MultiTenantOrganizationMemberState $val The state + * + * @return MultiTenantOrganizationMember + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the tenantId + * + * @return string|null The tenantId + */ + public function getTenantId() + { + if (array_key_exists("tenantId", $this->_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * + * @param string $val The tenantId + * + * @return MultiTenantOrganizationMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the transitionDetails + * + * @return MultiTenantOrganizationMemberTransitionDetails|null The transitionDetails + */ + public function getTransitionDetails() + { + if (array_key_exists("transitionDetails", $this->_propDict)) { + if (is_a($this->_propDict["transitionDetails"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberTransitionDetails") || is_null($this->_propDict["transitionDetails"])) { + return $this->_propDict["transitionDetails"]; + } else { + $this->_propDict["transitionDetails"] = new MultiTenantOrganizationMemberTransitionDetails($this->_propDict["transitionDetails"]); + return $this->_propDict["transitionDetails"]; + } + } + return null; + } + + /** + * Sets the transitionDetails + * + * @param MultiTenantOrganizationMemberTransitionDetails $val The transitionDetails + * + * @return MultiTenantOrganizationMember + */ + public function setTransitionDetails($val) + { + $this->_propDict["transitionDetails"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php new file mode 100644 index 00000000000..faa563476cd --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["desiredRole"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["desiredRole"])) { + return $this->_propDict["desiredRole"]; + } else { + $this->_propDict["desiredRole"] = new MultiTenantOrganizationMemberRole($this->_propDict["desiredRole"]); + return $this->_propDict["desiredRole"]; + } + } + return null; + } + + /** + * Sets the desiredRole + * + * @param MultiTenantOrganizationMemberRole $val The value to assign to the desiredRole + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setDesiredRole($val) + { + $this->_propDict["desiredRole"] = $val; + return $this; + } + + /** + * Gets the desiredState + * + * @return MultiTenantOrganizationMemberState|null The desiredState + */ + public function getDesiredState() + { + if (array_key_exists("desiredState", $this->_propDict)) { + if (is_a($this->_propDict["desiredState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["desiredState"])) { + return $this->_propDict["desiredState"]; + } else { + $this->_propDict["desiredState"] = new MultiTenantOrganizationMemberState($this->_propDict["desiredState"]); + return $this->_propDict["desiredState"]; + } + } + return null; + } + + /** + * Sets the desiredState + * + * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredState + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setDesiredState($val) + { + $this->_propDict["desiredState"] = $val; + return $this; + } + /** + * Gets the details + * + * @return string|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param string $val The value of the details + * + * @return MultiTenantOrganizationMemberTransitionDetails + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return MultiTenantOrganizationMemberProcessingStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberProcessingStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MultiTenantOrganizationMemberProcessingStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php new file mode 100644 index 00000000000..7f0b5979aec --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php @@ -0,0 +1,244 @@ +_propDict)) { + if (is_a($this->_propDict["automaticUserConsentSettings"], "\Beta\Microsoft\Graph\Model\InboundOutboundPolicyConfiguration") || is_null($this->_propDict["automaticUserConsentSettings"])) { + return $this->_propDict["automaticUserConsentSettings"]; + } else { + $this->_propDict["automaticUserConsentSettings"] = new InboundOutboundPolicyConfiguration($this->_propDict["automaticUserConsentSettings"]); + return $this->_propDict["automaticUserConsentSettings"]; + } + } + return null; + } + + /** + * Sets the automaticUserConsentSettings + * + * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setAutomaticUserConsentSettings($val) + { + $this->_propDict["automaticUserConsentSettings"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationInbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationInbound + */ + public function getB2bCollaborationInbound() + { + if (array_key_exists("b2bCollaborationInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationInbound"])) { + return $this->_propDict["b2bCollaborationInbound"]; + } else { + $this->_propDict["b2bCollaborationInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationInbound"]); + return $this->_propDict["b2bCollaborationInbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationInbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationInbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bCollaborationInbound($val) + { + $this->_propDict["b2bCollaborationInbound"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationOutbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationOutbound + */ + public function getB2bCollaborationOutbound() + { + if (array_key_exists("b2bCollaborationOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationOutbound"])) { + return $this->_propDict["b2bCollaborationOutbound"]; + } else { + $this->_propDict["b2bCollaborationOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationOutbound"]); + return $this->_propDict["b2bCollaborationOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationOutbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationOutbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bCollaborationOutbound($val) + { + $this->_propDict["b2bCollaborationOutbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectInbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectInbound + */ + public function getB2bDirectConnectInbound() + { + if (array_key_exists("b2bDirectConnectInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectInbound"])) { + return $this->_propDict["b2bDirectConnectInbound"]; + } else { + $this->_propDict["b2bDirectConnectInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectInbound"]); + return $this->_propDict["b2bDirectConnectInbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectInbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectInbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bDirectConnectInbound($val) + { + $this->_propDict["b2bDirectConnectInbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectOutbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectOutbound + */ + public function getB2bDirectConnectOutbound() + { + if (array_key_exists("b2bDirectConnectOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectOutbound"])) { + return $this->_propDict["b2bDirectConnectOutbound"]; + } else { + $this->_propDict["b2bDirectConnectOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectOutbound"]); + return $this->_propDict["b2bDirectConnectOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectOutbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectOutbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bDirectConnectOutbound($val) + { + $this->_propDict["b2bDirectConnectOutbound"] = $val; + return $this; + } + + /** + * Gets the inboundTrust + * + * @return CrossTenantAccessPolicyInboundTrust|null The inboundTrust + */ + public function getInboundTrust() + { + if (array_key_exists("inboundTrust", $this->_propDict)) { + if (is_a($this->_propDict["inboundTrust"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyInboundTrust") || is_null($this->_propDict["inboundTrust"])) { + return $this->_propDict["inboundTrust"]; + } else { + $this->_propDict["inboundTrust"] = new CrossTenantAccessPolicyInboundTrust($this->_propDict["inboundTrust"]); + return $this->_propDict["inboundTrust"]; + } + } + return null; + } + + /** + * Sets the inboundTrust + * + * @param CrossTenantAccessPolicyInboundTrust $val The inboundTrust + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setInboundTrust($val) + { + $this->_propDict["inboundTrust"] = $val; + return $this; + } + + /** + * Gets the templateApplicationLevel + * + * @return TemplateApplicationLevel|null The templateApplicationLevel + */ + public function getTemplateApplicationLevel() + { + if (array_key_exists("templateApplicationLevel", $this->_propDict)) { + if (is_a($this->_propDict["templateApplicationLevel"], "\Beta\Microsoft\Graph\Model\TemplateApplicationLevel") || is_null($this->_propDict["templateApplicationLevel"])) { + return $this->_propDict["templateApplicationLevel"]; + } else { + $this->_propDict["templateApplicationLevel"] = new TemplateApplicationLevel($this->_propDict["templateApplicationLevel"]); + return $this->_propDict["templateApplicationLevel"]; + } + } + return null; + } + + /** + * Sets the templateApplicationLevel + * + * @param TemplateApplicationLevel $val The templateApplicationLevel + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setTemplateApplicationLevel($val) + { + $this->_propDict["templateApplicationLevel"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php new file mode 100644 index 00000000000..2aacef5672b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isSipEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSipEnabled + * + * @param bool $val The value of the isSipEnabled + * + * @return OnPremisesSipInfo + */ + public function setIsSipEnabled($val) + { + $this->_propDict["isSipEnabled"] = $val; + return $this; + } + /** + * Gets the sipDeploymentLocation + * + * @return string|null The sipDeploymentLocation + */ + public function getSipDeploymentLocation() + { + if (array_key_exists("sipDeploymentLocation", $this->_propDict)) { + return $this->_propDict["sipDeploymentLocation"]; + } else { + return null; + } + } + + /** + * Sets the sipDeploymentLocation + * + * @param string $val The value of the sipDeploymentLocation + * + * @return OnPremisesSipInfo + */ + public function setSipDeploymentLocation($val) + { + $this->_propDict["sipDeploymentLocation"] = $val; + return $this; + } + /** + * Gets the sipPrimaryAddress + * + * @return string|null The sipPrimaryAddress + */ + public function getSipPrimaryAddress() + { + if (array_key_exists("sipPrimaryAddress", $this->_propDict)) { + return $this->_propDict["sipPrimaryAddress"]; + } else { + return null; + } + } + + /** + * Sets the sipPrimaryAddress + * + * @param string $val The value of the sipPrimaryAddress + * + * @return OnPremisesSipInfo + */ + public function setSipPrimaryAddress($val) + { + $this->_propDict["sipPrimaryAddress"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php b/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php index 2fba49d1747..9aa0c0311ae 100644 --- a/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php +++ b/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php @@ -35,6 +35,37 @@ public function __construct($propDict = array()) } + /** + * Gets the configuration + * + * @return CustomExtensionOverwriteConfiguration|null The configuration + */ + public function getConfiguration() + { + if (array_key_exists("configuration", $this->_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\CustomExtensionOverwriteConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new CustomExtensionOverwriteConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * + * @param CustomExtensionOverwriteConfiguration $val The value to assign to the configuration + * + * @return OnTokenIssuanceStartCustomExtensionHandler The OnTokenIssuanceStartCustomExtensionHandler + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + /** * Gets the customExtension * diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index fae5fd69313..1038381ab46 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -1206,6 +1206,7 @@ public function setRegistration($val) /** * Gets the recordings + * The recordings of an online meeting. Read-only. * * @return array|null The recordings */ @@ -1220,6 +1221,7 @@ public function getRecordings() /** * Sets the recordings + * The recordings of an online meeting. Read-only. * * @param CallRecording[] $val The recordings * diff --git a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php index d4106c574d7..3c7fcb78973 100644 --- a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php @@ -88,7 +88,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is idtoken the secret is not required because there is no code exchange. The idtoken is returned directly from the authorization response. This is write-only. A read operation returns . * * @return string|null The clientSecret */ @@ -103,7 +103,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is idtoken the secret is not required because there is no code exchange. The idtoken is returned directly from the authorization response. This is write-only. A read operation returns . * * @param string $val The clientSecret * @@ -208,7 +208,7 @@ public function setResponseMode($val) /** * Gets the responseType - * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * The response type describes the type of information sent back in the initial call to the authorizationendpoint of the custom identity provider. Possible values: code , idtoken , token. Required. * * @return OpenIdConnectResponseTypes|null The responseType */ @@ -227,7 +227,7 @@ public function getResponseType() /** * Sets the responseType - * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * The response type describes the type of information sent back in the initial call to the authorizationendpoint of the custom identity provider. Possible values: code , idtoken , token. Required. * * @param OpenIdConnectResponseTypes $val The responseType * diff --git a/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php b/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php index 4fb3c88a053..f6b86682c57 100644 --- a/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php +++ b/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php @@ -117,7 +117,7 @@ public function setMetadataUrl($val) /** * Gets the responseMode - * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: formpost, query. query response mode means the code or token is returned as a query parameter. formpost response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. * * @return OpenIdConnectResponseMode|null The responseMode */ @@ -136,7 +136,7 @@ public function getResponseMode() /** * Sets the responseMode - * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: formpost, query. query response mode means the code or token is returned as a query parameter. formpost response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. * * @param OpenIdConnectResponseMode $val The responseMode * @@ -150,7 +150,7 @@ public function setResponseMode($val) /** * Gets the responseType - * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * response type describes what kind of information is sent back in the initial call to the authorizationendpoint of the custom identity provider. The following response types can be used: code , idtoken , token. It is a required property. * * @return OpenIdConnectResponseTypes|null The responseType */ @@ -169,7 +169,7 @@ public function getResponseType() /** * Sets the responseType - * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * response type describes what kind of information is sent back in the initial call to the authorizationendpoint of the custom identity provider. The following response types can be used: code , idtoken , token. It is a required property. * * @param OpenIdConnectResponseTypes $val The responseType * diff --git a/src/Beta/Microsoft/Graph/Model/PasswordProfile.php b/src/Beta/Microsoft/Graph/Model/PasswordProfile.php index 04d89647d2c..962a7634486 100644 --- a/src/Beta/Microsoft/Graph/Model/PasswordProfile.php +++ b/src/Beta/Microsoft/Graph/Model/PasswordProfile.php @@ -81,7 +81,7 @@ public function setForceChangePasswordNextSignInWithMfa($val) } /** * Gets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @return string|null The password */ @@ -96,7 +96,7 @@ public function getPassword() /** * Sets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @param string $val The value of the password * diff --git a/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php b/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php index ff7f1f2e6f9..c939f41a610 100644 --- a/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php +++ b/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php @@ -81,7 +81,7 @@ public function setDefaultLabel($val) } /** * Gets the fieldId - * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * Id used to identity the field type. This is an internal id and possible values are param1, param2, paramuserName, parampassword. * * @return string|null The fieldId */ @@ -96,7 +96,7 @@ public function getFieldId() /** * Sets the fieldId - * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * Id used to identity the field type. This is an internal id and possible values are param1, param2, paramuserName, parampassword. * * @param string $val The value of the fieldId * diff --git a/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php b/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php index 10cafe9b19f..ecf6df57426 100644 --- a/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php +++ b/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php @@ -200,7 +200,7 @@ public function setPermissionClassification($val) /** * Gets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @return array|null The permissions */ @@ -215,7 +215,7 @@ public function getPermissions() /** * Sets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @param string[] $val The permissions * diff --git a/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php new file mode 100644 index 00000000000..f0befe7812a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["multiTenantOrganizationIdentitySynchronization"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationIdentitySyncPolicyTemplate") || is_null($this->_propDict["multiTenantOrganizationIdentitySynchronization"])) { + return $this->_propDict["multiTenantOrganizationIdentitySynchronization"]; + } else { + $this->_propDict["multiTenantOrganizationIdentitySynchronization"] = new MultiTenantOrganizationIdentitySyncPolicyTemplate($this->_propDict["multiTenantOrganizationIdentitySynchronization"]); + return $this->_propDict["multiTenantOrganizationIdentitySynchronization"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganizationIdentitySynchronization + * + * @param MultiTenantOrganizationIdentitySyncPolicyTemplate $val The multiTenantOrganizationIdentitySynchronization + * + * @return PolicyTemplate + */ + public function setMultiTenantOrganizationIdentitySynchronization($val) + { + $this->_propDict["multiTenantOrganizationIdentitySynchronization"] = $val; + return $this; + } + + /** + * Gets the multiTenantOrganizationPartnerConfiguration + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate|null The multiTenantOrganizationPartnerConfiguration + */ + public function getMultiTenantOrganizationPartnerConfiguration() + { + if (array_key_exists("multiTenantOrganizationPartnerConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["multiTenantOrganizationPartnerConfiguration"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationPartnerConfigurationTemplate") || is_null($this->_propDict["multiTenantOrganizationPartnerConfiguration"])) { + return $this->_propDict["multiTenantOrganizationPartnerConfiguration"]; + } else { + $this->_propDict["multiTenantOrganizationPartnerConfiguration"] = new MultiTenantOrganizationPartnerConfigurationTemplate($this->_propDict["multiTenantOrganizationPartnerConfiguration"]); + return $this->_propDict["multiTenantOrganizationPartnerConfiguration"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganizationPartnerConfiguration + * + * @param MultiTenantOrganizationPartnerConfigurationTemplate $val The multiTenantOrganizationPartnerConfiguration + * + * @return PolicyTemplate + */ + public function setMultiTenantOrganizationPartnerConfiguration($val) + { + $this->_propDict["multiTenantOrganizationPartnerConfiguration"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php b/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php index 148451d29c3..4b36fb814f8 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php @@ -58,7 +58,7 @@ public function setDetails($val) } /** * Gets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @return string|null The identityType */ @@ -73,7 +73,7 @@ public function getIdentityType() /** * Sets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @param string $val The value of the identityType * diff --git a/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php b/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php index bb0f1344b29..b982ecc045b 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php @@ -53,7 +53,7 @@ public function setAction($val) /** * Gets the activityDateTime - * 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 + * 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 $filter (eq, gt, lt) and orderby. * * @return \DateTime|null The activityDateTime */ @@ -72,7 +72,7 @@ public function getActivityDateTime() /** * Sets the activityDateTime - * 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 + * 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 $filter (eq, gt, lt) and orderby. * * @param \DateTime $val The activityDateTime * @@ -86,7 +86,7 @@ public function setActivityDateTime($val) /** * Gets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @return string|null The changeId */ @@ -101,7 +101,7 @@ public function getChangeId() /** * Sets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @param string $val The changeId * @@ -115,7 +115,7 @@ public function setChangeId($val) /** * Gets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @return string|null The cycleId */ @@ -130,7 +130,7 @@ public function getCycleId() /** * Sets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @param string $val The cycleId * @@ -144,7 +144,7 @@ public function setCycleId($val) /** * Gets the durationInMilliseconds - * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * Indicates how long this provisioning action took to finish. Measured in milliseconds. Supports $filter (eq, gt, lt). * * @return int|null The durationInMilliseconds */ @@ -159,7 +159,7 @@ public function getDurationInMilliseconds() /** * Sets the durationInMilliseconds - * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * Indicates how long this provisioning action took to finish. Measured in milliseconds. Supports $filter (eq, gt, lt). * * @param int $val The durationInMilliseconds * @@ -173,7 +173,7 @@ public function setDurationInMilliseconds($val) /** * Gets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @return Initiator|null The initiatedBy */ @@ -192,7 +192,7 @@ public function getInitiatedBy() /** * Sets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @param Initiator $val The initiatedBy * @@ -206,7 +206,7 @@ public function setInitiatedBy($val) /** * Gets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @return string|null The jobId */ @@ -221,7 +221,7 @@ public function getJobId() /** * Sets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @param string $val The jobId * @@ -265,7 +265,7 @@ public function setModifiedProperties($val) /** * Gets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @return ProvisioningAction|null The provisioningAction */ @@ -284,7 +284,7 @@ public function getProvisioningAction() /** * Sets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @param ProvisioningAction $val The provisioningAction * @@ -298,7 +298,7 @@ public function setProvisioningAction($val) /** * Gets the provisioningStatusInfo - * Details of provisioning status. + * Details of provisioning status. Supports $filter (eq, contains) for status. * * @return ProvisioningStatusInfo|null The provisioningStatusInfo */ @@ -317,7 +317,7 @@ public function getProvisioningStatusInfo() /** * Sets the provisioningStatusInfo - * Details of provisioning status. + * Details of provisioning status. Supports $filter (eq, contains) for status. * * @param ProvisioningStatusInfo $val The provisioningStatusInfo * @@ -361,7 +361,7 @@ public function setProvisioningSteps($val) /** * Gets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @return ProvisioningServicePrincipal|null The servicePrincipal */ @@ -380,7 +380,7 @@ public function getServicePrincipal() /** * Sets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @param ProvisioningServicePrincipal $val The servicePrincipal * @@ -394,7 +394,7 @@ public function setServicePrincipal($val) /** * Gets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The sourceIdentity */ @@ -413,7 +413,7 @@ public function getSourceIdentity() /** * Sets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The sourceIdentity * @@ -427,7 +427,7 @@ public function setSourceIdentity($val) /** * Gets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The sourceSystem */ @@ -446,7 +446,7 @@ public function getSourceSystem() /** * Sets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The sourceSystem * @@ -491,7 +491,7 @@ public function setStatusInfo($val) /** * Gets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The targetIdentity */ @@ -510,7 +510,7 @@ public function getTargetIdentity() /** * Sets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The targetIdentity * @@ -524,7 +524,7 @@ public function setTargetIdentity($val) /** * Gets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The targetSystem */ @@ -543,7 +543,7 @@ public function getTargetSystem() /** * Sets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The targetSystem * @@ -557,7 +557,7 @@ public function setTargetSystem($val) /** * Gets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @return string|null The tenantId */ @@ -572,7 +572,7 @@ public function getTenantId() /** * Sets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @param string $val The tenantId * diff --git a/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php b/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php index dfa871f3ab6..eedb0e3f677 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php @@ -59,7 +59,7 @@ public function setErrorInformation($val) /** * Gets the status - * Possible values are: success, failure, skipped, warning, unknownFutureValue. + * Possible values are: success, failure, skipped, warning, unknownFutureValue. Supports $filter (eq, contains). * * @return ProvisioningResult|null The status */ @@ -78,7 +78,7 @@ public function getStatus() /** * Sets the status - * Possible values are: success, failure, skipped, warning, unknownFutureValue. + * Possible values are: success, failure, skipped, warning, unknownFutureValue. Supports $filter (eq, contains). * * @param ProvisioningResult $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php b/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php index c96d00dfffe..dd98027c4f2 100644 --- a/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php +++ b/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php @@ -26,7 +26,7 @@ class RegistryKeyState extends Entity /** * Gets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @return RegistryHive|null The hive */ @@ -45,7 +45,7 @@ public function getHive() /** * Sets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @param RegistryHive $val The value to assign to the hive * @@ -288,7 +288,7 @@ public function setValueName($val) /** * Gets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @return RegistryValueType|null The valueType */ @@ -307,7 +307,7 @@ public function getValueType() /** * Sets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @param RegistryValueType $val The value to assign to the valueType * diff --git a/src/Beta/Microsoft/Graph/Model/RemoteAction.php b/src/Beta/Microsoft/Graph/Model/RemoteAction.php index 6b7b575fcd1..a3d1871cc30 100644 --- a/src/Beta/Microsoft/Graph/Model/RemoteAction.php +++ b/src/Beta/Microsoft/Graph/Model/RemoteAction.php @@ -61,4 +61,7 @@ class RemoteAction extends Enum const INITIATE_ON_DEMAND_PROACTIVE_REMEDIATION = "initiateOnDemandProactiveRemediation"; const ROTATE_LOCAL_ADMIN_PASSWORD = "rotateLocalAdminPassword"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const LAUNCH_REMOTE_HELP = "launchRemoteHelp"; + const REVOKE_APPLE_VPP_LICENSES = "revokeAppleVppLicenses"; + const REMOVE_DEVICE_FIRMWARE_CONFIGURATION_INTERFACE_MANAGEMENT = "removeDeviceFirmwareConfigurationInterfaceManagement"; } diff --git a/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php b/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php index 649da8b0f84..5e18c3c4ecb 100644 --- a/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php +++ b/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php @@ -32,6 +32,6 @@ class SensitivityLabelTarget extends Enum const EMAIL = "email"; const SITE = "site"; const UNIFIED_GROUP = "unifiedGroup"; - const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const TEAMWORK = "teamwork"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/SignIn.php b/src/Beta/Microsoft/Graph/Model/SignIn.php index e38f5554e63..0058430700a 100644 --- a/src/Beta/Microsoft/Graph/Model/SignIn.php +++ b/src/Beta/Microsoft/Graph/Model/SignIn.php @@ -26,7 +26,7 @@ class SignIn extends Entity { /** * Gets the appDisplayName - * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @return string|null The appDisplayName */ @@ -41,7 +41,7 @@ public function getAppDisplayName() /** * Sets the appDisplayName - * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @param string $val The appDisplayName * @@ -55,7 +55,7 @@ public function setAppDisplayName($val) /** * Gets the appId - * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * The application identifier in Azure Active Directory. Supports $filter (eq). * * @return string|null The appId */ @@ -70,7 +70,7 @@ public function getAppId() /** * Sets the appId - * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * The application identifier in Azure Active Directory. Supports $filter (eq). * * @param string $val The appId * @@ -359,7 +359,7 @@ public function setAuthenticationProtocol($val) /** * Gets the authenticationRequirement - * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). * * @return string|null The authenticationRequirement */ @@ -374,7 +374,7 @@ public function getAuthenticationRequirement() /** * Sets the authenticationRequirement - * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). * * @param string $val The authenticationRequirement * @@ -476,7 +476,7 @@ public function setAzureResourceId($val) /** * Gets the clientAppUsed - * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq). * * @return string|null The clientAppUsed */ @@ -491,7 +491,7 @@ public function getClientAppUsed() /** * Sets the clientAppUsed - * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq). * * @param string $val The clientAppUsed * @@ -538,7 +538,7 @@ public function setClientCredentialType($val) /** * Gets the conditionalAccessStatus - * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). * * @return ConditionalAccessStatus|null The conditionalAccessStatus */ @@ -557,7 +557,7 @@ public function getConditionalAccessStatus() /** * Sets the conditionalAccessStatus - * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). * * @param ConditionalAccessStatus $val The conditionalAccessStatus * @@ -571,7 +571,7 @@ public function setConditionalAccessStatus($val) /** * Gets the correlationId - * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). * * @return string|null The correlationId */ @@ -586,7 +586,7 @@ public function getCorrelationId() /** * Sets the correlationId - * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). * * @param string $val The correlationId * @@ -600,7 +600,7 @@ public function setCorrelationId($val) /** * Gets the createdDateTime - * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @return \DateTime|null The createdDateTime */ @@ -619,7 +619,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @param \DateTime $val The createdDateTime * @@ -666,7 +666,7 @@ public function setCrossTenantAccessType($val) /** * Gets the deviceDetail - * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. * * @return DeviceDetail|null The deviceDetail */ @@ -685,7 +685,7 @@ public function getDeviceDetail() /** * Sets the deviceDetail - * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. * * @param DeviceDetail $val The deviceDetail * @@ -848,7 +848,7 @@ public function setIncomingTokenType($val) /** * Gets the ipAddress - * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). * * @return string|null The ipAddress */ @@ -863,7 +863,7 @@ public function getIpAddress() /** * Sets the ipAddress - * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). * * @param string $val The ipAddress * @@ -964,7 +964,7 @@ public function setIsTenantRestricted($val) /** * Gets the location - * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @return SignInLocation|null The location */ @@ -983,7 +983,7 @@ public function getLocation() /** * Sets the location - * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @param SignInLocation $val The location * @@ -1091,7 +1091,7 @@ public function setNetworkLocationDetails($val) /** * Gets the originalRequestId - * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * The request identifier of the first request in the authentication sequence. Supports $filter (eq). * * @return string|null The originalRequestId */ @@ -1106,7 +1106,7 @@ public function getOriginalRequestId() /** * Sets the originalRequestId - * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * The request identifier of the first request in the authentication sequence. Supports $filter (eq). * * @param string $val The originalRequestId * @@ -1182,7 +1182,7 @@ public function setProcessingTimeInMilliseconds($val) /** * Gets the resourceDisplayName - * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * The name of the resource that the user signed in to. Supports $filter (eq). * * @return string|null The resourceDisplayName */ @@ -1197,7 +1197,7 @@ public function getResourceDisplayName() /** * Sets the resourceDisplayName - * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * The name of the resource that the user signed in to. Supports $filter (eq). * * @param string $val The resourceDisplayName * @@ -1211,7 +1211,7 @@ public function setResourceDisplayName($val) /** * Gets the resourceId - * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * The identifier of the resource that the user signed in to. Supports $filter (eq). * * @return string|null The resourceId */ @@ -1226,7 +1226,7 @@ public function getResourceId() /** * Sets the resourceId - * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * The identifier of the resource that the user signed in to. Supports $filter (eq). * * @param string $val The resourceId * @@ -1298,7 +1298,7 @@ public function setResourceTenantId($val) /** * Gets the riskDetail - * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskDetail|null The riskDetail */ @@ -1317,7 +1317,7 @@ public function getRiskDetail() /** * Sets the riskDetail - * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskDetail $val The riskDetail * @@ -1331,7 +1331,7 @@ public function setRiskDetail($val) /** * Gets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @return array|null The riskEventTypesV2 */ @@ -1346,7 +1346,7 @@ public function getRiskEventTypesV2() /** * Sets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @param string[] $val The riskEventTypesV2 * @@ -1360,7 +1360,7 @@ public function setRiskEventTypesV2($val) /** * Gets the riskLevelAggregated - * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskLevel|null The riskLevelAggregated */ @@ -1379,7 +1379,7 @@ public function getRiskLevelAggregated() /** * Sets the riskLevelAggregated - * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskLevel $val The riskLevelAggregated * @@ -1393,7 +1393,7 @@ public function setRiskLevelAggregated($val) /** * Gets the riskLevelDuringSignIn - * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskLevel|null The riskLevelDuringSignIn */ @@ -1412,7 +1412,7 @@ public function getRiskLevelDuringSignIn() /** * Sets the riskLevelDuringSignIn - * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskLevel $val The riskLevelDuringSignIn * @@ -1426,7 +1426,7 @@ public function setRiskLevelDuringSignIn($val) /** * Gets the riskState - * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq). * * @return RiskState|null The riskState */ @@ -1445,7 +1445,7 @@ public function getRiskState() /** * Sets the riskState - * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq). * * @param RiskState $val The riskState * @@ -1517,7 +1517,7 @@ public function setServicePrincipalCredentialThumbprint($val) /** * Gets the servicePrincipalId - * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @return string|null The servicePrincipalId */ @@ -1532,7 +1532,7 @@ public function getServicePrincipalId() /** * Sets the servicePrincipalId - * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @param string $val The servicePrincipalId * @@ -1546,7 +1546,7 @@ public function setServicePrincipalId($val) /** * Gets the servicePrincipalName - * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @return string|null The servicePrincipalName */ @@ -1561,7 +1561,7 @@ public function getServicePrincipalName() /** * Sets the servicePrincipalName - * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @param string $val The servicePrincipalName * @@ -1605,7 +1605,7 @@ public function setSessionLifetimePolicies($val) /** * Gets the signInEventTypes - * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). * * @return array|null The signInEventTypes */ @@ -1620,7 +1620,7 @@ public function getSignInEventTypes() /** * Sets the signInEventTypes - * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). * * @param string[] $val The signInEventTypes * @@ -1696,7 +1696,7 @@ public function setSignInIdentifierType($val) /** * Gets the status - * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. * * @return SignInStatus|null The status */ @@ -1715,7 +1715,7 @@ public function getStatus() /** * Sets the status - * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. * * @param SignInStatus $val The status * @@ -1729,7 +1729,7 @@ public function setStatus($val) /** * Gets the tokenIssuerName - * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq). * * @return string|null The tokenIssuerName */ @@ -1744,7 +1744,7 @@ public function getTokenIssuerName() /** * Sets the tokenIssuerName - * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq). * * @param string $val The tokenIssuerName * @@ -1820,7 +1820,7 @@ public function setUniqueTokenIdentifier($val) /** * Gets the userAgent - * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * The user agent information related to sign-in. Supports $filter (eq, startsWith). * * @return string|null The userAgent */ @@ -1835,7 +1835,7 @@ public function getUserAgent() /** * Sets the userAgent - * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * The user agent information related to sign-in. Supports $filter (eq, startsWith). * * @param string $val The userAgent * @@ -1849,7 +1849,7 @@ public function setUserAgent($val) /** * Gets the userDisplayName - * The display name of the user. Supports $filter (eq and startsWith operators only). + * The display name of the user. Supports $filter (eq, startsWith). * * @return string|null The userDisplayName */ @@ -1864,7 +1864,7 @@ public function getUserDisplayName() /** * Sets the userDisplayName - * The display name of the user. Supports $filter (eq and startsWith operators only). + * The display name of the user. Supports $filter (eq, startsWith). * * @param string $val The userDisplayName * @@ -1878,7 +1878,7 @@ public function setUserDisplayName($val) /** * Gets the userId - * The identifier of the user. Supports $filter (eq operator only). + * The identifier of the user. Supports $filter (eq). * * @return string|null The userId */ @@ -1893,7 +1893,7 @@ public function getUserId() /** * Sets the userId - * The identifier of the user. Supports $filter (eq operator only). + * The identifier of the user. Supports $filter (eq). * * @param string $val The userId * @@ -1907,7 +1907,7 @@ public function setUserId($val) /** * Gets the userPrincipalName - * The UPN of the user. Supports $filter (eq and startsWith operators only). + * The UPN of the user. Supports $filter (eq, startsWith). * * @return string|null The userPrincipalName */ @@ -1922,7 +1922,7 @@ public function getUserPrincipalName() /** * Sets the userPrincipalName - * The UPN of the user. Supports $filter (eq and startsWith operators only). + * The UPN of the user. Supports $filter (eq, startsWith). * * @param string $val The userPrincipalName * diff --git a/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php index 8b573e08707..31d36663bf9 100644 --- a/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @return string|null The clientSecret */ @@ -70,7 +70,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @param string $val The clientSecret * diff --git a/src/Beta/Microsoft/Graph/Model/StatusBase.php b/src/Beta/Microsoft/Graph/Model/StatusBase.php index 390259d5b7c..616a32768ef 100644 --- a/src/Beta/Microsoft/Graph/Model/StatusBase.php +++ b/src/Beta/Microsoft/Graph/Model/StatusBase.php @@ -26,7 +26,7 @@ class StatusBase extends Entity /** * Gets the status - * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * Possible values are: success, warning, failure, skipped, unknownFutureValue. Supports $filter (eq, contains). * * @return ProvisioningResult|null The status */ @@ -45,7 +45,7 @@ public function getStatus() /** * Sets the status - * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * Possible values are: success, warning, failure, skipped, unknownFutureValue. Supports $filter (eq, contains). * * @param ProvisioningResult $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/Subscription.php b/src/Beta/Microsoft/Graph/Model/Subscription.php index d8fa6504e1a..e3801ba5f2a 100644 --- a/src/Beta/Microsoft/Graph/Model/Subscription.php +++ b/src/Beta/Microsoft/Graph/Model/Subscription.php @@ -262,7 +262,7 @@ public function setIncludeResourceData($val) /** * Gets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @return string|null The latestSupportedTlsVersion */ @@ -277,7 +277,7 @@ public function getLatestSupportedTlsVersion() /** * Sets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @param string $val The latestSupportedTlsVersion * @@ -291,7 +291,7 @@ public function setLatestSupportedTlsVersion($val) /** * Gets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @return string|null The lifecycleNotificationUrl */ @@ -306,7 +306,7 @@ public function getLifecycleNotificationUrl() /** * Sets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @param string $val The lifecycleNotificationUrl * diff --git a/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php b/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php index bc88d54ba7b..0dd52cd8472 100644 --- a/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php +++ b/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php @@ -109,7 +109,7 @@ public function setCloudServiceDeploymentId($val) } /** * Gets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @return string|null The cloudServiceInstanceName */ @@ -124,7 +124,7 @@ public function getCloudServiceInstanceName() /** * Sets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @param string $val The value of the cloudServiceInstanceName * diff --git a/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php b/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php new file mode 100644 index 00000000000..492e5a27d38 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php @@ -0,0 +1,36 @@ +_propDict; } + /** + * Gets the multiTenantOrganization + * + * @return MultiTenantOrganization|null The multiTenantOrganization + */ + public function getMultiTenantOrganization() + { + if (array_key_exists("multiTenantOrganization", $this->_propDict)) { + if (is_a($this->_propDict["multiTenantOrganization"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganization") || is_null($this->_propDict["multiTenantOrganization"])) { + return $this->_propDict["multiTenantOrganization"]; + } else { + $this->_propDict["multiTenantOrganization"] = new MultiTenantOrganization($this->_propDict["multiTenantOrganization"]); + return $this->_propDict["multiTenantOrganization"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganization + * + * @param MultiTenantOrganization $val The multiTenantOrganization + * + * @return TenantRelationship + */ + public function setMultiTenantOrganization($val) + { + $this->_propDict["multiTenantOrganization"] = $val; + return $this; + } + /** * Gets the managedTenants * The operations available to interact with the multi-tenant management platform. diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php b/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php index fd488ca5c26..0de9671c3cb 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php @@ -26,6 +26,7 @@ class UnifiedRoleDefinition extends Entity { /** * Gets the allowedPrincipalTypes + * Types of principals that can be assigned the role. Read-only. The possible values are: user, servicePrincipal, group, unknownFutureValue. This is a multi-valued enumeration that can contain up to three values as a comma-separated string. For example, user, group. Supports $filter (eq). * * @return AllowedRolePrincipalTypes|null The allowedPrincipalTypes */ @@ -44,6 +45,7 @@ public function getAllowedPrincipalTypes() /** * Sets the allowedPrincipalTypes + * Types of principals that can be assigned the role. Read-only. The possible values are: user, servicePrincipal, group, unknownFutureValue. This is a multi-valued enumeration that can contain up to three values as a comma-separated string. For example, user, group. Supports $filter (eq). * * @param AllowedRolePrincipalTypes $val The allowedPrincipalTypes * @@ -86,7 +88,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith). * * @return string|null The displayName */ @@ -101,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith). * * @param string $val The displayName * @@ -115,7 +117,7 @@ public function setDisplayName($val) /** * Gets the isBuiltIn - * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq). * * @return bool|null The isBuiltIn */ @@ -130,7 +132,7 @@ public function getIsBuiltIn() /** * Sets the isBuiltIn - * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq). * * @param bool $val The isBuiltIn * @@ -200,7 +202,7 @@ public function setIsPrivileged($val) /** * Gets the resourceScopes - * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. * * @return array|null The resourceScopes */ @@ -215,7 +217,7 @@ public function getResourceScopes() /** * Sets the resourceScopes - * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. * * @param string[] $val The resourceScopes * @@ -288,7 +290,7 @@ public function setTemplateId($val) /** * Gets the version - * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * Indicates the version of the unifiedRoleDefinition object. Read-only when isBuiltIn is true. * * @return string|null The version */ @@ -303,7 +305,7 @@ public function getVersion() /** * Sets the version - * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * Indicates the version of the unifiedRoleDefinition object. Read-only when isBuiltIn is true. * * @param string $val The version * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 804591c4f7c..22394a4e7d1 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -266,6 +266,37 @@ public function setCity($val) return $this; } + /** + * Gets the cloudRealtimeCommunicationInfo + * + * @return CloudRealtimeCommunicationInfo|null The cloudRealtimeCommunicationInfo + */ + public function getCloudRealtimeCommunicationInfo() + { + if (array_key_exists("cloudRealtimeCommunicationInfo", $this->_propDict)) { + if (is_a($this->_propDict["cloudRealtimeCommunicationInfo"], "\Beta\Microsoft\Graph\Model\CloudRealtimeCommunicationInfo") || is_null($this->_propDict["cloudRealtimeCommunicationInfo"])) { + return $this->_propDict["cloudRealtimeCommunicationInfo"]; + } else { + $this->_propDict["cloudRealtimeCommunicationInfo"] = new CloudRealtimeCommunicationInfo($this->_propDict["cloudRealtimeCommunicationInfo"]); + return $this->_propDict["cloudRealtimeCommunicationInfo"]; + } + } + return null; + } + + /** + * Sets the cloudRealtimeCommunicationInfo + * + * @param CloudRealtimeCommunicationInfo $val The cloudRealtimeCommunicationInfo + * + * @return User + */ + public function setCloudRealtimeCommunicationInfo($val) + { + $this->_propDict["cloudRealtimeCommunicationInfo"] = $val; + return $this; + } + /** * Gets the companyName * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). @@ -1460,6 +1491,37 @@ public function setOnPremisesSecurityIdentifier($val) return $this; } + /** + * Gets the onPremisesSipInfo + * + * @return OnPremisesSipInfo|null The onPremisesSipInfo + */ + public function getOnPremisesSipInfo() + { + if (array_key_exists("onPremisesSipInfo", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesSipInfo"], "\Beta\Microsoft\Graph\Model\OnPremisesSipInfo") || is_null($this->_propDict["onPremisesSipInfo"])) { + return $this->_propDict["onPremisesSipInfo"]; + } else { + $this->_propDict["onPremisesSipInfo"] = new OnPremisesSipInfo($this->_propDict["onPremisesSipInfo"]); + return $this->_propDict["onPremisesSipInfo"]; + } + } + return null; + } + + /** + * Sets the onPremisesSipInfo + * + * @param OnPremisesSipInfo $val The onPremisesSipInfo + * + * @return User + */ + public function setOnPremisesSipInfo($val) + { + $this->_propDict["onPremisesSipInfo"] = $val; + return $this; + } + /** * Gets the onPremisesSyncEnabled * true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Azure Active Directory (Azure AD). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php index 124b5b207e6..c495f68146e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php @@ -53,6 +53,35 @@ public function setBatteryAgeInDays($val) return $this; } + /** + * Gets the deviceBatteryCount + * Number of batteries in a user device. Valid values 1 to 2147483647 + * + * @return int|null The deviceBatteryCount + */ + public function getDeviceBatteryCount() + { + if (array_key_exists("deviceBatteryCount", $this->_propDict)) { + return $this->_propDict["deviceBatteryCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceBatteryCount + * Number of batteries in a user device. Valid values 1 to 2147483647 + * + * @param int $val The deviceBatteryCount + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setDeviceBatteryCount($val) + { + $this->_propDict["deviceBatteryCount"] = intval($val); + return $this; + } + /** * Gets the deviceBatteryHealthScore * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 @@ -169,6 +198,35 @@ public function setEstimatedRuntimeInMinutes($val) return $this; } + /** + * Gets the fullBatteryDrainCount + * Number of times the battery has been discharged an amount that equals 100% of its capacity, but not necessarily by discharging it from 100% to 0%. Valid values 0 to 2147483647 + * + * @return int|null The fullBatteryDrainCount + */ + public function getFullBatteryDrainCount() + { + if (array_key_exists("fullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["fullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the fullBatteryDrainCount + * Number of times the battery has been discharged an amount that equals 100% of its capacity, but not necessarily by discharging it from 100% to 0%. Valid values 0 to 2147483647 + * + * @param int $val The fullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setFullBatteryDrainCount($val) + { + $this->_propDict["fullBatteryDrainCount"] = intval($val); + return $this; + } + /** * Gets the healthStatus * The overall battery health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php index 703500b393b..592ac7a5033 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php @@ -169,6 +169,122 @@ public function setManufacturer($val) return $this; } + /** + * Gets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The meanFullBatteryDrainCount + */ + public function getMeanFullBatteryDrainCount() + { + if (array_key_exists("meanFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["meanFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The meanFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMeanFullBatteryDrainCount($val) + { + $this->_propDict["meanFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianEstimatedRuntimeInMinutes + * The median of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values 0 to 2147483647 + * + * @return int|null The medianEstimatedRuntimeInMinutes + */ + public function getMedianEstimatedRuntimeInMinutes() + { + if (array_key_exists("medianEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["medianEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the medianEstimatedRuntimeInMinutes + * The median of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values 0 to 2147483647 + * + * @param int $val The medianEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianEstimatedRuntimeInMinutes($val) + { + $this->_propDict["medianEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The medianFullBatteryDrainCount + */ + public function getMedianFullBatteryDrainCount() + { + if (array_key_exists("medianFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["medianFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The medianFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianFullBatteryDrainCount($val) + { + $this->_propDict["medianFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianMaxCapacityPercentage + * The median of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 + * + * @return int|null The medianMaxCapacityPercentage + */ + public function getMedianMaxCapacityPercentage() + { + if (array_key_exists("medianMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["medianMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the medianMaxCapacityPercentage + * The median of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 + * + * @param int $val The medianMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianMaxCapacityPercentage($val) + { + $this->_propDict["medianMaxCapacityPercentage"] = intval($val); + return $this; + } + /** * Gets the model * The model name of the device. @@ -227,4 +343,37 @@ public function setModelBatteryHealthScore($val) return $this; } + /** + * Gets the modelHealthStatus + * The overall battery health status of a given model in a tenant. + * + * @return UserExperienceAnalyticsHealthState|null The modelHealthStatus + */ + public function getModelHealthStatus() + { + if (array_key_exists("modelHealthStatus", $this->_propDict)) { + if (is_a($this->_propDict["modelHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["modelHealthStatus"])) { + return $this->_propDict["modelHealthStatus"]; + } else { + $this->_propDict["modelHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["modelHealthStatus"]); + return $this->_propDict["modelHealthStatus"]; + } + } + return null; + } + + /** + * Sets the modelHealthStatus + * The overall battery health status of a given model in a tenant. + * + * @param UserExperienceAnalyticsHealthState $val The modelHealthStatus + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setModelHealthStatus($val) + { + $this->_propDict["modelHealthStatus"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php index ea6978dafaa..2133a4418d6 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php @@ -140,6 +140,151 @@ public function setAverageMaxCapacityPercentage($val) return $this; } + /** + * Gets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The meanFullBatteryDrainCount + */ + public function getMeanFullBatteryDrainCount() + { + if (array_key_exists("meanFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["meanFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The meanFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMeanFullBatteryDrainCount($val) + { + $this->_propDict["meanFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianEstimatedRuntimeInMinutes + * The median of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 + * + * @return int|null The medianEstimatedRuntimeInMinutes + */ + public function getMedianEstimatedRuntimeInMinutes() + { + if (array_key_exists("medianEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["medianEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the medianEstimatedRuntimeInMinutes + * The median of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 + * + * @param int $val The medianEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianEstimatedRuntimeInMinutes($val) + { + $this->_propDict["medianEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The medianFullBatteryDrainCount + */ + public function getMedianFullBatteryDrainCount() + { + if (array_key_exists("medianFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["medianFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The medianFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianFullBatteryDrainCount($val) + { + $this->_propDict["medianFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianMaxCapacityPercentage + * The median of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 + * + * @return int|null The medianMaxCapacityPercentage + */ + public function getMedianMaxCapacityPercentage() + { + if (array_key_exists("medianMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["medianMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the medianMaxCapacityPercentage + * The median of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 + * + * @param int $val The medianMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianMaxCapacityPercentage($val) + { + $this->_propDict["medianMaxCapacityPercentage"] = intval($val); + return $this; + } + + /** + * Gets the osBatteryHealthScore + * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 + * + * @return int|null The osBatteryHealthScore + */ + public function getOsBatteryHealthScore() + { + if (array_key_exists("osBatteryHealthScore", $this->_propDict)) { + return $this->_propDict["osBatteryHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the osBatteryHealthScore + * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 + * + * @param int $val The osBatteryHealthScore + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsBatteryHealthScore($val) + { + $this->_propDict["osBatteryHealthScore"] = intval($val); + return $this; + } + /** * Gets the osBuildNumber * Build number of the operating system. @@ -169,6 +314,39 @@ public function setOsBuildNumber($val) return $this; } + /** + * Gets the osHealthStatus + * The overall battery health status of a given os version in a tenant. + * + * @return UserExperienceAnalyticsHealthState|null The osHealthStatus + */ + public function getOsHealthStatus() + { + if (array_key_exists("osHealthStatus", $this->_propDict)) { + if (is_a($this->_propDict["osHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["osHealthStatus"])) { + return $this->_propDict["osHealthStatus"]; + } else { + $this->_propDict["osHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["osHealthStatus"]); + return $this->_propDict["osHealthStatus"]; + } + } + return null; + } + + /** + * Sets the osHealthStatus + * The overall battery health status of a given os version in a tenant. + * + * @param UserExperienceAnalyticsHealthState $val The osHealthStatus + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsHealthStatus($val) + { + $this->_propDict["osHealthStatus"] = $val; + return $this; + } + /** * Gets the osVersion * Version of the operating system. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php index c0c24f6c84b..7b7d9b7365e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php @@ -82,35 +82,6 @@ public function setMedianImpactInMs($val) return $this; } - /** - * Gets the medianImpactInMs2 - * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @return int|null The medianImpactInMs2 - */ - public function getMedianImpactInMs2() - { - if (array_key_exists("medianImpactInMs2", $this->_propDict)) { - return $this->_propDict["medianImpactInMs2"]; - } else { - return null; - } - } - - /** - * Sets the medianImpactInMs2 - * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @param int $val The medianImpactInMs2 - * - * @return UserExperienceAnalyticsDeviceStartupProcessPerformance - */ - public function setMedianImpactInMs2($val) - { - $this->_propDict["medianImpactInMs2"] = intval($val); - return $this; - } - /** * Gets the processName * The name of the startup process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only. @@ -227,33 +198,4 @@ public function setTotalImpactInMs($val) return $this; } - /** - * Gets the totalImpactInMs2 - * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @return int|null The totalImpactInMs2 - */ - public function getTotalImpactInMs2() - { - if (array_key_exists("totalImpactInMs2", $this->_propDict)) { - return $this->_propDict["totalImpactInMs2"]; - } else { - return null; - } - } - - /** - * Sets the totalImpactInMs2 - * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @param int $val The totalImpactInMs2 - * - * @return UserExperienceAnalyticsDeviceStartupProcessPerformance - */ - public function setTotalImpactInMs2($val) - { - $this->_propDict["totalImpactInMs2"] = intval($val); - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php b/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php index 1de9607edeb..cb78fe00ca5 100644 --- a/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php +++ b/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php @@ -56,6 +56,34 @@ public function setDeviceRestartBehavior($val) $this->_propDict["deviceRestartBehavior"] = $val; return $this; } + /** + * Gets the maxRunTimeInMinutes + * The number of minutes the system will wait for install program to finish. Default value is 60 minutes. + * + * @return int|null The maxRunTimeInMinutes + */ + public function getMaxRunTimeInMinutes() + { + if (array_key_exists("maxRunTimeInMinutes", $this->_propDict)) { + return $this->_propDict["maxRunTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the maxRunTimeInMinutes + * The number of minutes the system will wait for install program to finish. Default value is 60 minutes. + * + * @param int $val The value of the maxRunTimeInMinutes + * + * @return Win32LobAppInstallExperience + */ + public function setMaxRunTimeInMinutes($val) + { + $this->_propDict["maxRunTimeInMinutes"] = $val; + return $this; + } /** * Gets the runAsAccount diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppX.php b/src/Beta/Microsoft/Graph/Model/WindowsAppX.php index 69a7c01b6f6..b4970a6efa5 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppX.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppX.php @@ -204,7 +204,7 @@ public function setIsBundle($val) /** * Gets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem */ @@ -223,7 +223,7 @@ public function getMinimumSupportedOperatingSystem() /** * Sets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index c0565626007..35c1517fa90 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php b/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php index 2b73706ef26..8b136bf26e7 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php b/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php index 8b641b7a1c1..6bcf70127f2 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php @@ -34,4 +34,5 @@ class WindowsDeviceType extends Enum const MOBILE = "mobile"; const HOLOGRAPHIC = "holographic"; const TEAM = "team"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php b/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php index 94b6371d23d..957a3f09ba1 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php @@ -54,7 +54,7 @@ public function setActiveMalwareDetectionCount($val) /** * Gets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -73,7 +73,7 @@ public function getCategory() /** * Sets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The value to assign to the category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php b/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php index d7750dca803..8464ba6fb2b 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php index 3de3dcf3edd..afb4b2f6b75 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * Whether or not to use device execution context for Windows Universal AppX mobile app. + * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * Whether or not to use device execution context for Windows Universal AppX mobile app. + * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookComment.php b/src/Beta/Microsoft/Graph/Model/WorkbookComment.php index d48efcb3fbe..2907523570b 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookComment.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookComment.php @@ -110,4 +110,35 @@ public function setReplies($val) return $this; } + /** + * Gets the task + * + * @return WorkbookDocumentTask|null The task + */ + public function getTask() + { + if (array_key_exists("task", $this->_propDict)) { + if (is_a($this->_propDict["task"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTask") || is_null($this->_propDict["task"])) { + return $this->_propDict["task"]; + } else { + $this->_propDict["task"] = new WorkbookDocumentTask($this->_propDict["task"]); + return $this->_propDict["task"]; + } + } + return null; + } + + /** + * Sets the task + * + * @param WorkbookDocumentTask $val The task + * + * @return WorkbookComment + */ + public function setTask($val) + { + $this->_propDict["task"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php b/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php index b3dcc4841c6..265b2bf728d 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php @@ -82,4 +82,35 @@ public function setContentType($val) return $this; } + /** + * Gets the task + * + * @return WorkbookDocumentTask|null The task + */ + public function getTask() + { + if (array_key_exists("task", $this->_propDict)) { + if (is_a($this->_propDict["task"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTask") || is_null($this->_propDict["task"])) { + return $this->_propDict["task"]; + } else { + $this->_propDict["task"] = new WorkbookDocumentTask($this->_propDict["task"]); + return $this->_propDict["task"]; + } + } + return null; + } + + /** + * Sets the task + * + * @param WorkbookDocumentTask $val The task + * + * @return WorkbookCommentReply + */ + public function setTask($val) + { + $this->_propDict["task"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php new file mode 100644 index 00000000000..78559fefe17 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["assignees"]; + } else { + return null; + } + } + + /** + * Sets the assignees + * + * @param WorkbookEmailIdentity[] $val The assignees + * + * @return WorkbookDocumentTask + */ + public function setAssignees($val) + { + $this->_propDict["assignees"] = $val; + return $this; + } + + /** + * Gets the completedBy + * + * @return WorkbookEmailIdentity|null The completedBy + */ + public function getCompletedBy() + { + if (array_key_exists("completedBy", $this->_propDict)) { + if (is_a($this->_propDict["completedBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["completedBy"])) { + return $this->_propDict["completedBy"]; + } else { + $this->_propDict["completedBy"] = new WorkbookEmailIdentity($this->_propDict["completedBy"]); + return $this->_propDict["completedBy"]; + } + } + return null; + } + + /** + * Sets the completedBy + * + * @param WorkbookEmailIdentity $val The completedBy + * + * @return WorkbookDocumentTask + */ + public function setCompletedBy($val) + { + $this->_propDict["completedBy"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * + * @param \DateTime $val The completedDateTime + * + * @return WorkbookDocumentTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return WorkbookEmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new WorkbookEmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param WorkbookEmailIdentity $val The createdBy + * + * @return WorkbookDocumentTask + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @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 + * + * @param \DateTime $val The createdDateTime + * + * @return WorkbookDocumentTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * + * @param int $val The percentComplete + * + * @return WorkbookDocumentTask + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return WorkbookDocumentTask + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the startAndDueDateTime + * + * @return WorkbookDocumentTaskSchedule|null The startAndDueDateTime + */ + public function getStartAndDueDateTime() + { + if (array_key_exists("startAndDueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startAndDueDateTime"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTaskSchedule") || is_null($this->_propDict["startAndDueDateTime"])) { + return $this->_propDict["startAndDueDateTime"]; + } else { + $this->_propDict["startAndDueDateTime"] = new WorkbookDocumentTaskSchedule($this->_propDict["startAndDueDateTime"]); + return $this->_propDict["startAndDueDateTime"]; + } + } + return null; + } + + /** + * Sets the startAndDueDateTime + * + * @param WorkbookDocumentTaskSchedule $val The startAndDueDateTime + * + * @return WorkbookDocumentTask + */ + public function setStartAndDueDateTime($val) + { + $this->_propDict["startAndDueDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return WorkbookDocumentTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the changes + * + * @return array|null The changes + */ + public function getChanges() + { + if (array_key_exists("changes", $this->_propDict)) { + return $this->_propDict["changes"]; + } else { + return null; + } + } + + /** + * Sets the changes + * + * @param WorkbookDocumentTaskChange[] $val The changes + * + * @return WorkbookDocumentTask + */ + public function setChanges($val) + { + $this->_propDict["changes"] = $val; + return $this; + } + + /** + * Gets the comment + * + * @return WorkbookComment|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + if (is_a($this->_propDict["comment"], "\Beta\Microsoft\Graph\Model\WorkbookComment") || is_null($this->_propDict["comment"])) { + return $this->_propDict["comment"]; + } else { + $this->_propDict["comment"] = new WorkbookComment($this->_propDict["comment"]); + return $this->_propDict["comment"]; + } + } + return null; + } + + /** + * Sets the comment + * + * @param WorkbookComment $val The comment + * + * @return WorkbookDocumentTask + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php new file mode 100644 index 00000000000..c8e9421eca1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php @@ -0,0 +1,344 @@ +_propDict)) { + if (is_a($this->_propDict["assignee"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["assignee"])) { + return $this->_propDict["assignee"]; + } else { + $this->_propDict["assignee"] = new WorkbookEmailIdentity($this->_propDict["assignee"]); + return $this->_propDict["assignee"]; + } + } + return null; + } + + /** + * Sets the assignee + * + * @param WorkbookEmailIdentity $val The assignee + * + * @return WorkbookDocumentTaskChange + */ + public function setAssignee($val) + { + $this->_propDict["assignee"] = $val; + return $this; + } + + /** + * Gets the changedBy + * + * @return WorkbookEmailIdentity|null The changedBy + */ + public function getChangedBy() + { + if (array_key_exists("changedBy", $this->_propDict)) { + if (is_a($this->_propDict["changedBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["changedBy"])) { + return $this->_propDict["changedBy"]; + } else { + $this->_propDict["changedBy"] = new WorkbookEmailIdentity($this->_propDict["changedBy"]); + return $this->_propDict["changedBy"]; + } + } + return null; + } + + /** + * Sets the changedBy + * + * @param WorkbookEmailIdentity $val The changedBy + * + * @return WorkbookDocumentTaskChange + */ + public function setChangedBy($val) + { + $this->_propDict["changedBy"] = $val; + return $this; + } + + /** + * Gets the commentId + * + * @return string|null The commentId + */ + public function getCommentId() + { + if (array_key_exists("commentId", $this->_propDict)) { + return $this->_propDict["commentId"]; + } else { + return null; + } + } + + /** + * Sets the commentId + * + * @param string $val The commentId + * + * @return WorkbookDocumentTaskChange + */ + public function setCommentId($val) + { + $this->_propDict["commentId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @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 + * + * @param \DateTime $val The createdDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * + * @return \DateTime|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * + * @param \DateTime $val The dueDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * + * @param int $val The percentComplete + * + * @return WorkbookDocumentTaskChange + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return WorkbookDocumentTaskChange + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The startDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return WorkbookDocumentTaskChange + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return WorkbookDocumentTaskChange + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the undoChangeId + * + * @return string|null The undoChangeId + */ + public function getUndoChangeId() + { + if (array_key_exists("undoChangeId", $this->_propDict)) { + return $this->_propDict["undoChangeId"]; + } else { + return null; + } + } + + /** + * Sets the undoChangeId + * + * @param string $val The undoChangeId + * + * @return WorkbookDocumentTaskChange + */ + public function setUndoChangeId($val) + { + $this->_propDict["undoChangeId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php new file mode 100644 index 00000000000..e31af48e02e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * + * @param \DateTime $val The value to assign to the dueDateTime + * + * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php b/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php new file mode 100644 index 00000000000..f066366d368 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return WorkbookEmailIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The value of the email + * + * @return WorkbookEmailIdentity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the id + * + * @return string|null The id + */ + public function getId() + { + if (array_key_exists("id", $this->_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return WorkbookEmailIdentity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php b/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php index c399438e965..8a52bd513b2 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php @@ -264,4 +264,32 @@ public function setTables($val) return $this; } + + /** + * Gets the tasks + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * + * @param WorkbookDocumentTask[] $val The tasks + * + * @return WorkbookWorksheet + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php b/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php index cbf64323dca..2ed68a96928 100644 --- a/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php +++ b/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php @@ -26,7 +26,7 @@ class ZebraFotaConnector extends Entity { /** * Gets the enrollmentAuthorizationUrl - * Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. + * Complete account enrollment authorization URL. This corresponds to verificationuricomplete in the Zebra API documentations. * * @return string|null The enrollmentAuthorizationUrl */ @@ -41,7 +41,7 @@ public function getEnrollmentAuthorizationUrl() /** * Sets the enrollmentAuthorizationUrl - * Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. + * Complete account enrollment authorization URL. This corresponds to verificationuricomplete in the Zebra API documentations. * * @param string $val The enrollmentAuthorizationUrl * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php index 0d4e7374ed4..83bbe25b4f0 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php @@ -58,6 +58,7 @@ public function setCreatedDateTime($val) } /** * Gets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @return string|null The detailedRoles */ @@ -72,6 +73,7 @@ public function getDetailedRoles() /** * Sets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @param string $val The value of the detailedRoles * @@ -146,7 +148,7 @@ public function setRemediationStatusDetails($val) /** * Gets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @return EvidenceRole|null The roles */ @@ -165,7 +167,7 @@ public function getRoles() /** * Sets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @param EvidenceRole $val The value to assign to the roles * @@ -178,7 +180,7 @@ public function setRoles($val) } /** * Gets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @return string|null The tags */ @@ -193,7 +195,7 @@ public function getTags() /** * Sets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @param string $val The value of the tags * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php index f6d387b4308..c69dd10c857 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php @@ -25,6 +25,7 @@ class BlobContainerEvidence extends AlertEvidence { /** * Gets the name + * The name of the blob container. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The name of the blob container. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the storageResource + * The storage which the blob container belongs to. * * @return AzureResourceEvidence|null The storageResource */ @@ -70,6 +73,7 @@ public function getStorageResource() /** * Sets the storageResource + * The storage which the blob container belongs to. * * @param AzureResourceEvidence $val The value to assign to the storageResource * @@ -82,6 +86,7 @@ public function setStorageResource($val) } /** * Gets the url + * The full URL representation of the blob container. * * @return string|null The url */ @@ -96,6 +101,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob container. * * @param string $val The value of the url * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php index d1879512589..ce4e0cf6ff6 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php @@ -26,6 +26,7 @@ class BlobEvidence extends AlertEvidence /** * Gets the blobContainer + * The container which the blob belongs to. * * @return BlobContainerEvidence|null The blobContainer */ @@ -44,6 +45,7 @@ public function getBlobContainer() /** * Sets the blobContainer + * The container which the blob belongs to. * * @param BlobContainerEvidence $val The value to assign to the blobContainer * @@ -56,6 +58,7 @@ public function setBlobContainer($val) } /** * Gets the etag + * The Etag associated with this blob. * * @return string|null The etag */ @@ -70,6 +73,7 @@ public function getEtag() /** * Sets the etag + * The Etag associated with this blob. * * @param string $val The value of the etag * @@ -83,6 +87,7 @@ public function setEtag($val) /** * Gets the fileHashes + * The file hashes associated with this blob. * * @return FileHash|null The fileHashes */ @@ -101,6 +106,7 @@ public function getFileHashes() /** * Sets the fileHashes + * The file hashes associated with this blob. * * @param FileHash $val The value to assign to the fileHashes * @@ -113,6 +119,7 @@ public function setFileHashes($val) } /** * Gets the name + * The name of the blob. * * @return string|null The name */ @@ -127,6 +134,7 @@ public function getName() /** * Sets the name + * The name of the blob. * * @param string $val The value of the name * @@ -139,6 +147,7 @@ public function setName($val) } /** * Gets the url + * The full URL representation of the blob. * * @return string|null The url */ @@ -153,6 +162,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob. * * @param string $val The value of the url * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php index 455c39f3823..01ad08b5ed5 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php @@ -25,6 +25,7 @@ class ContainerEvidence extends AlertEvidence { /** * Gets the args + * The list of arguments. * * @return string|null The args */ @@ -39,6 +40,7 @@ public function getArgs() /** * Sets the args + * The list of arguments. * * @param string $val The value of the args * @@ -51,6 +53,7 @@ public function setArgs($val) } /** * Gets the command + * The list of commands. * * @return string|null The command */ @@ -65,6 +68,7 @@ public function getCommand() /** * Sets the command + * The list of commands. * * @param string $val The value of the command * @@ -77,6 +81,7 @@ public function setCommand($val) } /** * Gets the containerId + * The container ID. * * @return string|null The containerId */ @@ -91,6 +96,7 @@ public function getContainerId() /** * Sets the containerId + * The container ID. * * @param string $val The value of the containerId * @@ -104,6 +110,7 @@ public function setContainerId($val) /** * Gets the image + * The image used to run the container. * * @return ContainerImageEvidence|null The image */ @@ -122,6 +129,7 @@ public function getImage() /** * Sets the image + * The image used to run the container. * * @param ContainerImageEvidence $val The value to assign to the image * @@ -134,6 +142,7 @@ public function setImage($val) } /** * Gets the isPrivileged + * The privileged status. * * @return bool|null The isPrivileged */ @@ -148,6 +157,7 @@ public function getIsPrivileged() /** * Sets the isPrivileged + * The privileged status. * * @param bool $val The value of the isPrivileged * @@ -160,6 +170,7 @@ public function setIsPrivileged($val) } /** * Gets the name + * The container name. * * @return string|null The name */ @@ -174,6 +185,7 @@ public function getName() /** * Sets the name + * The container name. * * @param string $val The value of the name * @@ -187,6 +199,7 @@ public function setName($val) /** * Gets the pod + * The pod that this container belongs to. * * @return KubernetesPodEvidence|null The pod */ @@ -205,6 +218,7 @@ public function getPod() /** * Sets the pod + * The pod that this container belongs to. * * @param KubernetesPodEvidence $val The value to assign to the pod * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php index 8694c11e176..ec3890892ea 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php @@ -26,6 +26,7 @@ class ContainerImageEvidence extends AlertEvidence /** * Gets the digestImage + * The digest image entity, in case this is a tag image. * * @return ContainerImageEvidence|null The digestImage */ @@ -44,6 +45,7 @@ public function getDigestImage() /** * Sets the digestImage + * The digest image entity, in case this is a tag image. * * @param ContainerImageEvidence $val The value to assign to the digestImage * @@ -56,6 +58,7 @@ public function setDigestImage($val) } /** * Gets the imageId + * The unique identifier for the container image entity. * * @return string|null The imageId */ @@ -70,6 +73,7 @@ public function getImageId() /** * Sets the imageId + * The unique identifier for the container image entity. * * @param string $val The value of the imageId * @@ -83,6 +87,7 @@ public function setImageId($val) /** * Gets the registry + * The container registry for this image. * * @return ContainerRegistryEvidence|null The registry */ @@ -101,6 +106,7 @@ public function getRegistry() /** * Sets the registry + * The container registry for this image. * * @param ContainerRegistryEvidence $val The value to assign to the registry * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php index ab3ae11f4ee..cd83b67583c 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php @@ -25,6 +25,7 @@ class ContainerRegistryEvidence extends AlertEvidence { /** * Gets the registry + * The registry URI. * * @return string|null The registry */ @@ -39,6 +40,7 @@ public function getRegistry() /** * Sets the registry + * The registry URI. * * @param string $val The value of the registry * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php index aa40601563f..98c4598b888 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php @@ -82,7 +82,7 @@ public function setIdentifier($val) /** * Gets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIPLabelGUID_PropName. * * @return KeyValuePair|null The metadata */ @@ -101,7 +101,7 @@ public function getMetadata() /** * Sets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIPLabelGUID_PropName. * * @param KeyValuePair $val The value to assign to the metadata * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php index e4d123ef704..0e144c419ed 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php @@ -180,6 +180,7 @@ public function setHealthStatus($val) } /** * Gets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @return string|null The ipInterfaces */ @@ -194,6 +195,7 @@ public function getIpInterfaces() /** * Sets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @param string $val The value of the ipInterfaces * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php index 8b8092f031d..ad8f0619f62 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php @@ -26,6 +26,7 @@ class FileHash extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @return FileHashAlgorithm|null The algorithm */ @@ -44,6 +45,7 @@ public function getAlgorithm() /** * Sets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @param FileHashAlgorithm $val The value to assign to the algorithm * @@ -56,6 +58,7 @@ public function setAlgorithm($val) } /** * Gets the value + * The hash value. * * @return string|null The value */ @@ -70,6 +73,7 @@ public function getValue() /** * Sets the value + * The hash value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php index 42c53518fe2..3ec7d133574 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php @@ -91,6 +91,36 @@ public function setLastSeenDateTime($val) } + /** + * Gets the childHostPairs + * The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. + * + * @return array|null The childHostPairs + */ + public function getChildHostPairs() + { + if (array_key_exists("childHostPairs", $this->_propDict)) { + return $this->_propDict["childHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the childHostPairs + * The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. + * + * @param HostPair[] $val The childHostPairs + * + * @return Host + */ + public function setChildHostPairs($val) + { + $this->_propDict["childHostPairs"] = $val; + return $this; + } + + /** * Gets the components * The hostComponents that are associated with this host. @@ -151,6 +181,66 @@ public function setCookies($val) } + /** + * Gets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @param HostPair[] $val The hostPairs + * + * @return Host + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + + /** + * Gets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @return array|null The parentHostPairs + */ + public function getParentHostPairs() + { + if (array_key_exists("parentHostPairs", $this->_propDict)) { + return $this->_propDict["parentHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @param HostPair[] $val The parentHostPairs + * + * @return Host + */ + public function setParentHostPairs($val) + { + $this->_propDict["parentHostPairs"] = $val; + return $this; + } + + /** * Gets the passiveDns * Passive DNS retrieval about this host. @@ -244,6 +334,34 @@ public function setReputation($val) } + /** + * Gets the sslCertificates + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * + * @param HostSslCertificate[] $val The sslCertificates + * + * @return Host + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + /** * Gets the subdomains * The subdomains that are associated with this host. @@ -303,4 +421,35 @@ public function setTrackers($val) return $this; } + /** + * Gets the whois + * + * @return WhoisRecord|null The whois + */ + public function getWhois() + { + if (array_key_exists("whois", $this->_propDict)) { + if (is_a($this->_propDict["whois"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisRecord") || is_null($this->_propDict["whois"])) { + return $this->_propDict["whois"]; + } else { + $this->_propDict["whois"] = new WhoisRecord($this->_propDict["whois"]); + return $this->_propDict["whois"]; + } + } + return null; + } + + /** + * Sets the whois + * + * @param WhoisRecord $val The whois + * + * @return Host + */ + public function setWhois($val) + { + $this->_propDict["whois"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php new file mode 100644 index 00000000000..7045d5963dc --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php @@ -0,0 +1,188 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostPair + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostPair + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the linkKind + * The reason the two hosts are identified as hostPairs. + * + * @return string|null The linkKind + */ + public function getLinkKind() + { + if (array_key_exists("linkKind", $this->_propDict)) { + return $this->_propDict["linkKind"]; + } else { + return null; + } + } + + /** + * Sets the linkKind + * The reason the two hosts are identified as hostPairs. + * + * @param string $val The linkKind + * + * @return HostPair + */ + public function setLinkKind($val) + { + $this->_propDict["linkKind"] = $val; + return $this; + } + + /** + * Gets the childHost + * Host reached via the parentHost. + * + * @return Host|null The childHost + */ + public function getChildHost() + { + if (array_key_exists("childHost", $this->_propDict)) { + if (is_a($this->_propDict["childHost"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["childHost"])) { + return $this->_propDict["childHost"]; + } else { + $this->_propDict["childHost"] = new Host($this->_propDict["childHost"]); + return $this->_propDict["childHost"]; + } + } + return null; + } + + /** + * Sets the childHost + * Host reached via the parentHost. + * + * @param Host $val The childHost + * + * @return HostPair + */ + public function setChildHost($val) + { + $this->_propDict["childHost"] = $val; + return $this; + } + + /** + * Gets the parentHost + * Host used to reach the childHost. + * + * @return Host|null The parentHost + */ + public function getParentHost() + { + if (array_key_exists("parentHost", $this->_propDict)) { + if (is_a($this->_propDict["parentHost"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["parentHost"])) { + return $this->_propDict["parentHost"]; + } else { + $this->_propDict["parentHost"] = new Host($this->_propDict["parentHost"]); + return $this->_propDict["parentHost"]; + } + } + return null; + } + + /** + * Sets the parentHost + * Host used to reach the childHost. + * + * @param Host $val The parentHost + * + * @return HostPair + */ + public function setParentHost($val) + { + $this->_propDict["parentHost"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php new file mode 100644 index 00000000000..60eed7fade3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php @@ -0,0 +1,179 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostSslCertificate + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostSslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the ports + * + * @return array|null The ports + */ + public function getPorts() + { + if (array_key_exists("ports", $this->_propDict)) { + return $this->_propDict["ports"]; + } else { + return null; + } + } + + /** + * Sets the ports + * + * @param HostSslCertificatePort[] $val The ports + * + * @return HostSslCertificate + */ + public function setPorts($val) + { + $this->_propDict["ports"] = $val; + return $this; + } + + /** + * Gets the host + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * + * @param Host $val The host + * + * @return HostSslCertificate + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + + /** + * Gets the sslCertificate + * + * @return SslCertificate|null The sslCertificate + */ + public function getSslCertificate() + { + if (array_key_exists("sslCertificate", $this->_propDict)) { + if (is_a($this->_propDict["sslCertificate"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificate") || is_null($this->_propDict["sslCertificate"])) { + return $this->_propDict["sslCertificate"]; + } else { + $this->_propDict["sslCertificate"] = new SslCertificate($this->_propDict["sslCertificate"]); + return $this->_propDict["sslCertificate"]; + } + } + return null; + } + + /** + * Sets the sslCertificate + * + * @param SslCertificate $val The sslCertificate + * + * @return HostSslCertificate + */ + public function setSslCertificate($val) + { + $this->_propDict["sslCertificate"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php new file mode 100644 index 00000000000..83b997d779b --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The value to assign to the firstSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * + * @param int $val The value of the port + * + * @return HostSslCertificatePort + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php index adaaee979b9..366f67d6fe6 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php @@ -56,6 +56,7 @@ public function setAliases($val) /** * Gets the countriesOrRegionsOfOrigin + * The country/region of origin for the given actor or threat associated with this intelligenceProfile. * * @return array|null The countriesOrRegionsOfOrigin */ @@ -70,6 +71,7 @@ public function getCountriesOrRegionsOfOrigin() /** * Sets the countriesOrRegionsOfOrigin + * The country/region of origin for the given actor or threat associated with this intelligenceProfile. * * @param IntelligenceProfileCountryOrRegionOfOrigin[] $val The countriesOrRegionsOfOrigin * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php index b4f7fc657f3..d10948f56a2 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php @@ -25,6 +25,7 @@ class IntelligenceProfileCountryOrRegionOfOrigin extends \Beta\Microsoft\Graph\M { /** * Gets the code + * A codified representation for this country/region of origin. * * @return string|null The code */ @@ -39,6 +40,7 @@ public function getCode() /** * Sets the code + * A codified representation for this country/region of origin. * * @param string $val The value of the code * @@ -51,6 +53,7 @@ public function setCode($val) } /** * Gets the label + * A display label for this ountry/region of origin. * * @return string|null The label */ @@ -65,6 +68,7 @@ public function getLabel() /** * Sets the label + * A display label for this ountry/region of origin. * * @param string $val The value of the label * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php index 13208f783cf..d58eab7f9a3 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php @@ -26,6 +26,7 @@ class KubernetesClusterEvidence extends AlertEvidence /** * Gets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @return AlertEvidence|null The cloudResource */ @@ -44,6 +45,7 @@ public function getCloudResource() /** * Sets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @param AlertEvidence $val The value to assign to the cloudResource * @@ -56,6 +58,7 @@ public function setCloudResource($val) } /** * Gets the distribution + * The distribution type of the cluster. * * @return string|null The distribution */ @@ -70,6 +73,7 @@ public function getDistribution() /** * Sets the distribution + * The distribution type of the cluster. * * @param string $val The value of the distribution * @@ -82,6 +86,7 @@ public function setDistribution($val) } /** * Gets the name + * The cluster name. * * @return string|null The name */ @@ -96,6 +101,7 @@ public function getName() /** * Sets the name + * The cluster name. * * @param string $val The value of the name * @@ -109,6 +115,7 @@ public function setName($val) /** * Gets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @return KubernetesPlatform|null The platform */ @@ -127,6 +134,7 @@ public function getPlatform() /** * Sets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @param KubernetesPlatform $val The value to assign to the platform * @@ -139,6 +147,7 @@ public function setPlatform($val) } /** * Gets the version + * The kubernetes version of the cluster. * * @return string|null The version */ @@ -153,6 +162,7 @@ public function getVersion() /** * Sets the version + * The kubernetes version of the cluster. * * @param string $val The value of the version * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php index 20e8bcf0160..f74f324c2c1 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php @@ -26,6 +26,7 @@ class KubernetesControllerEvidence extends AlertEvidence /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -44,6 +45,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -56,6 +58,7 @@ public function setLabels($val) } /** * Gets the name + * The controller name. * * @return string|null The name */ @@ -70,6 +73,7 @@ public function getName() /** * Sets the name + * The controller name. * * @param string $val The value of the name * @@ -83,6 +87,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -101,6 +106,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -113,6 +119,7 @@ public function setNamespace($val) } /** * Gets the type + * The controller type. * * @return string|null The type */ @@ -127,6 +134,7 @@ public function getType() /** * Sets the type + * The controller type. * * @param string $val The value of the type * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php index 0b8855671b3..a0e2e98266f 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php @@ -26,6 +26,7 @@ class KubernetesNamespaceEvidence extends AlertEvidence /** * Gets the cluster + * The namespace cluster. * * @return KubernetesClusterEvidence|null The cluster */ @@ -44,6 +45,7 @@ public function getCluster() /** * Sets the cluster + * The namespace cluster. * * @param KubernetesClusterEvidence $val The value to assign to the cluster * @@ -57,6 +59,7 @@ public function setCluster($val) /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -75,6 +78,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -87,6 +91,7 @@ public function setLabels($val) } /** * Gets the name + * The namespace name. * * @return string|null The name */ @@ -101,6 +106,7 @@ public function getName() /** * Sets the name + * The namespace name. * * @param string $val The value of the name * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php index 45d690a0f36..6f6251383ed 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php @@ -26,6 +26,7 @@ class KubernetesPodEvidence extends AlertEvidence /** * Gets the containers + * The list of pod containers which are not init or ephemeral containers. * * @return ContainerEvidence|null The containers */ @@ -44,6 +45,7 @@ public function getContainers() /** * Sets the containers + * The list of pod containers which are not init or ephemeral containers. * * @param ContainerEvidence $val The value to assign to the containers * @@ -57,6 +59,7 @@ public function setContainers($val) /** * Gets the controller + * The pod controller. * * @return KubernetesControllerEvidence|null The controller */ @@ -75,6 +78,7 @@ public function getController() /** * Sets the controller + * The pod controller. * * @param KubernetesControllerEvidence $val The value to assign to the controller * @@ -88,6 +92,7 @@ public function setController($val) /** * Gets the ephemeralContainers + * The list of pod ephemeral containers. * * @return ContainerEvidence|null The ephemeralContainers */ @@ -106,6 +111,7 @@ public function getEphemeralContainers() /** * Sets the ephemeralContainers + * The list of pod ephemeral containers. * * @param ContainerEvidence $val The value to assign to the ephemeralContainers * @@ -119,6 +125,7 @@ public function setEphemeralContainers($val) /** * Gets the initContainers + * The list of pod init containers. * * @return ContainerEvidence|null The initContainers */ @@ -137,6 +144,7 @@ public function getInitContainers() /** * Sets the initContainers + * The list of pod init containers. * * @param ContainerEvidence $val The value to assign to the initContainers * @@ -150,6 +158,7 @@ public function setInitContainers($val) /** * Gets the labels + * The pod labels. * * @return Dictionary|null The labels */ @@ -168,6 +177,7 @@ public function getLabels() /** * Sets the labels + * The pod labels. * * @param Dictionary $val The value to assign to the labels * @@ -180,6 +190,7 @@ public function setLabels($val) } /** * Gets the name + * The pod name. * * @return string|null The name */ @@ -194,6 +205,7 @@ public function getName() /** * Sets the name + * The pod name. * * @param string $val The value of the name * @@ -207,6 +219,7 @@ public function setName($val) /** * Gets the namespace + * The pod namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -225,6 +238,7 @@ public function getNamespace() /** * Sets the namespace + * The pod namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -238,6 +252,7 @@ public function setNamespace($val) /** * Gets the podIp + * The pod IP. * * @return IpEvidence|null The podIp */ @@ -256,6 +271,7 @@ public function getPodIp() /** * Sets the podIp + * The pod IP. * * @param IpEvidence $val The value to assign to the podIp * @@ -269,6 +285,7 @@ public function setPodIp($val) /** * Gets the serviceAccount + * The pod service account. * * @return KubernetesServiceAccountEvidence|null The serviceAccount */ @@ -287,6 +304,7 @@ public function getServiceAccount() /** * Sets the serviceAccount + * The pod service account. * * @param KubernetesServiceAccountEvidence $val The value to assign to the serviceAccount * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php index 39250086886..3608dcd6801 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php @@ -25,6 +25,7 @@ class KubernetesSecretEvidence extends AlertEvidence { /** * Gets the name + * The secret name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The secret name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The secret namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The secret namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -82,6 +86,7 @@ public function setNamespace($val) } /** * Gets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @return string|null The secretType */ @@ -96,6 +101,7 @@ public function getSecretType() /** * Sets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @param string $val The value of the secretType * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php index 318a3b161c6..f1a59c6e379 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php @@ -25,6 +25,7 @@ class KubernetesServiceAccountEvidence extends AlertEvidence { /** * Gets the name + * The service account name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The service account name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php index f96a596d5aa..3daea9684bb 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php @@ -26,6 +26,7 @@ class KubernetesServiceEvidence extends AlertEvidence /** * Gets the clusterIP + * The service cluster IP. * * @return IpEvidence|null The clusterIP */ @@ -44,6 +45,7 @@ public function getClusterIP() /** * Sets the clusterIP + * The service cluster IP. * * @param IpEvidence $val The value to assign to the clusterIP * @@ -57,6 +59,7 @@ public function setClusterIP($val) /** * Gets the externalIPs + * The service external IPs. * * @return IpEvidence|null The externalIPs */ @@ -75,6 +78,7 @@ public function getExternalIPs() /** * Sets the externalIPs + * The service external IPs. * * @param IpEvidence $val The value to assign to the externalIPs * @@ -88,6 +92,7 @@ public function setExternalIPs($val) /** * Gets the labels + * The service labels. * * @return Dictionary|null The labels */ @@ -106,6 +111,7 @@ public function getLabels() /** * Sets the labels + * The service labels. * * @param Dictionary $val The value to assign to the labels * @@ -118,6 +124,7 @@ public function setLabels($val) } /** * Gets the name + * The service name. * * @return string|null The name */ @@ -132,6 +139,7 @@ public function getName() /** * Sets the name + * The service name. * * @param string $val The value of the name * @@ -145,6 +153,7 @@ public function setName($val) /** * Gets the namespace + * The service namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -163,6 +172,7 @@ public function getNamespace() /** * Sets the namespace + * The service namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -176,6 +186,7 @@ public function setNamespace($val) /** * Gets the selector + * The service selector. * * @return Dictionary|null The selector */ @@ -194,6 +205,7 @@ public function getSelector() /** * Sets the selector + * The service selector. * * @param Dictionary $val The value to assign to the selector * @@ -207,6 +219,7 @@ public function setSelector($val) /** * Gets the servicePorts + * The list of service ports. * * @return KubernetesServicePort|null The servicePorts */ @@ -225,6 +238,7 @@ public function getServicePorts() /** * Sets the servicePorts + * The list of service ports. * * @param KubernetesServicePort $val The value to assign to the servicePorts * @@ -238,6 +252,7 @@ public function setServicePorts($val) /** * Gets the serviceType + * The service type. * * @return KubernetesServiceType|null The serviceType */ @@ -256,6 +271,7 @@ public function getServiceType() /** * Sets the serviceType + * The service type. * * @param KubernetesServiceType $val The value to assign to the serviceType * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php index f1148b2e5b2..ba1574fa7bb 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php @@ -25,6 +25,7 @@ class KubernetesServicePort extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the appProtocol + * The application protocol for this port. * * @return string|null The appProtocol */ @@ -39,6 +40,7 @@ public function getAppProtocol() /** * Sets the appProtocol + * The application protocol for this port. * * @param string $val The value of the appProtocol * @@ -51,6 +53,7 @@ public function setAppProtocol($val) } /** * Gets the name + * The name of this port within the service. * * @return string|null The name */ @@ -65,6 +68,7 @@ public function getName() /** * Sets the name + * The name of this port within the service. * * @param string $val The value of the name * @@ -77,6 +81,7 @@ public function setName($val) } /** * Gets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @return int|null The nodePort */ @@ -91,6 +96,7 @@ public function getNodePort() /** * Sets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @param int $val The value of the nodePort * @@ -103,6 +109,7 @@ public function setNodePort($val) } /** * Gets the port + * The port that this service exposes. * * @return int|null The port */ @@ -117,6 +124,7 @@ public function getPort() /** * Sets the port + * The port that this service exposes. * * @param int $val The value of the port * @@ -130,6 +138,7 @@ public function setPort($val) /** * Gets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @return ContainerPortProtocol|null The protocol */ @@ -148,6 +157,7 @@ public function getProtocol() /** * Sets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @param ContainerPortProtocol $val The value to assign to the protocol * @@ -160,6 +170,7 @@ public function setProtocol($val) } /** * Gets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @return string|null The targetPort */ @@ -174,6 +185,7 @@ public function getTargetPort() /** * Sets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @param string $val The value of the targetPort * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php index d3626683b4e..ca1d4f35229 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php @@ -25,6 +25,7 @@ class RegistryValueEvidence extends AlertEvidence { /** * Gets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @return string|null The mdeDeviceId */ @@ -39,6 +40,7 @@ public function getMdeDeviceId() /** * Sets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @param string $val The value of the mdeDeviceId * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php new file mode 100644 index 00000000000..9fc741d15bb --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php @@ -0,0 +1,322 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * + * @param \DateTime $val The expirationDateTime + * + * @return SslCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * + * @param string $val The fingerprint + * + * @return SslCertificate + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return SslCertificate + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the issueDateTime + * + * @return \DateTime|null The issueDateTime + */ + public function getIssueDateTime() + { + if (array_key_exists("issueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["issueDateTime"], "\DateTime") || is_null($this->_propDict["issueDateTime"])) { + return $this->_propDict["issueDateTime"]; + } else { + $this->_propDict["issueDateTime"] = new \DateTime($this->_propDict["issueDateTime"]); + return $this->_propDict["issueDateTime"]; + } + } + return null; + } + + /** + * Sets the issueDateTime + * + * @param \DateTime $val The issueDateTime + * + * @return SslCertificate + */ + public function setIssueDateTime($val) + { + $this->_propDict["issueDateTime"] = $val; + return $this; + } + + /** + * Gets the issuer + * + * @return SslCertificateEntity|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + if (is_a($this->_propDict["issuer"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["issuer"])) { + return $this->_propDict["issuer"]; + } else { + $this->_propDict["issuer"] = new SslCertificateEntity($this->_propDict["issuer"]); + return $this->_propDict["issuer"]; + } + } + return null; + } + + /** + * Sets the issuer + * + * @param SslCertificateEntity $val The issuer + * + * @return SslCertificate + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return SslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * + * @param string $val The serialNumber + * + * @return SslCertificate + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the sha1 + * + * @return string|null The sha1 + */ + public function getSha1() + { + if (array_key_exists("sha1", $this->_propDict)) { + return $this->_propDict["sha1"]; + } else { + return null; + } + } + + /** + * Sets the sha1 + * + * @param string $val The sha1 + * + * @return SslCertificate + */ + public function setSha1($val) + { + $this->_propDict["sha1"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return SslCertificateEntity|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["subject"])) { + return $this->_propDict["subject"]; + } else { + $this->_propDict["subject"] = new SslCertificateEntity($this->_propDict["subject"]); + return $this->_propDict["subject"]; + } + } + return null; + } + + /** + * Sets the subject + * + * @param SslCertificateEntity $val The subject + * + * @return SslCertificate + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the relatedHosts + * + * @return array|null The relatedHosts + */ + public function getRelatedHosts() + { + if (array_key_exists("relatedHosts", $this->_propDict)) { + return $this->_propDict["relatedHosts"]; + } else { + return null; + } + } + + /** + * Sets the relatedHosts + * + * @param Host[] $val The relatedHosts + * + * @return SslCertificate + */ + public function setRelatedHosts($val) + { + $this->_propDict["relatedHosts"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php new file mode 100644 index 00000000000..60824bc7f2d --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php @@ -0,0 +1,265 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Beta\Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param \Beta\Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return SslCertificateEntity The SslCertificateEntity + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the alternateNames + * + * @return string|null The alternateNames + */ + public function getAlternateNames() + { + if (array_key_exists("alternateNames", $this->_propDict)) { + return $this->_propDict["alternateNames"]; + } else { + return null; + } + } + + /** + * Sets the alternateNames + * + * @param string $val The value of the alternateNames + * + * @return SslCertificateEntity + */ + public function setAlternateNames($val) + { + $this->_propDict["alternateNames"] = $val; + return $this; + } + /** + * Gets the commonName + * + * @return string|null The commonName + */ + public function getCommonName() + { + if (array_key_exists("commonName", $this->_propDict)) { + return $this->_propDict["commonName"]; + } else { + return null; + } + } + + /** + * Sets the commonName + * + * @param string $val The value of the commonName + * + * @return SslCertificateEntity + */ + public function setCommonName($val) + { + $this->_propDict["commonName"] = $val; + return $this; + } + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The value of the email + * + * @return SslCertificateEntity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the givenName + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * + * @param string $val The value of the givenName + * + * @return SslCertificateEntity + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + /** + * Gets the organizationName + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * + * @param string $val The value of the organizationName + * + * @return SslCertificateEntity + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + /** + * Gets the organizationUnitName + * + * @return string|null The organizationUnitName + */ + public function getOrganizationUnitName() + { + if (array_key_exists("organizationUnitName", $this->_propDict)) { + return $this->_propDict["organizationUnitName"]; + } else { + return null; + } + } + + /** + * Sets the organizationUnitName + * + * @param string $val The value of the organizationUnitName + * + * @return SslCertificateEntity + */ + public function setOrganizationUnitName($val) + { + $this->_propDict["organizationUnitName"] = $val; + return $this; + } + /** + * Gets the serialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * + * @param string $val The value of the serialNumber + * + * @return SslCertificateEntity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + /** + * Gets the surname + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * + * @param string $val The value of the surname + * + * @return SslCertificateEntity + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php index e24099228b5..a282e78883c 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php @@ -145,6 +145,36 @@ public function setHostCookies($val) } + /** + * Gets the hostPairs + * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * + * @param HostPair[] $val The hostPairs + * + * @return ThreatIntelligence + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + /** * Gets the hosts * Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. @@ -175,6 +205,34 @@ public function setHosts($val) } + /** + * Gets the hostSslCertificates + * + * @return array|null The hostSslCertificates + */ + public function getHostSslCertificates() + { + if (array_key_exists("hostSslCertificates", $this->_propDict)) { + return $this->_propDict["hostSslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the hostSslCertificates + * + * @param HostSslCertificate[] $val The hostSslCertificates + * + * @return ThreatIntelligence + */ + public function setHostSslCertificates($val) + { + $this->_propDict["hostSslCertificates"] = $val; + return $this; + } + + /** * Gets the hostTrackers * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. @@ -293,6 +351,34 @@ public function setPassiveDnsRecords($val) } + /** + * Gets the sslCertificates + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * + * @param SslCertificate[] $val The sslCertificates + * + * @return ThreatIntelligence + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + /** * Gets the subdomains * Retrieve details about the microsoft.graph.security.subdomain.Note: List retrieval is not yet supported. @@ -352,4 +438,32 @@ public function setVulnerabilities($val) return $this; } + + /** + * Gets the whoisRecords + * + * @return array|null The whoisRecords + */ + public function getWhoisRecords() + { + if (array_key_exists("whoisRecords", $this->_propDict)) { + return $this->_propDict["whoisRecords"]; + } else { + return null; + } + } + + /** + * Sets the whoisRecords + * + * @param WhoisRecord[] $val The whoisRecords + * + * @return ThreatIntelligence + */ + public function setWhoisRecords($val) + { + $this->_propDict["whoisRecords"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php new file mode 100644 index 00000000000..88a50195822 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php @@ -0,0 +1,187 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Beta\Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param \Beta\Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return WhoisContact The WhoisContact + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The value of the email + * + * @return WhoisContact + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the fax + * + * @return string|null The fax + */ + public function getFax() + { + if (array_key_exists("fax", $this->_propDict)) { + return $this->_propDict["fax"]; + } else { + return null; + } + } + + /** + * Sets the fax + * + * @param string $val The value of the fax + * + * @return WhoisContact + */ + public function setFax($val) + { + $this->_propDict["fax"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return WhoisContact + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the organization + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * + * @param string $val The value of the organization + * + * @return WhoisContact + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the telephone + * + * @return string|null The telephone + */ + public function getTelephone() + { + if (array_key_exists("telephone", $this->_propDict)) { + return $this->_propDict["telephone"]; + } else { + return null; + } + } + + /** + * Sets the telephone + * + * @param string $val The value of the telephone + * + * @return WhoisContact + */ + public function setTelephone($val) + { + $this->_propDict["telephone"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php new file mode 100644 index 00000000000..a54e8cb0a21 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The value to assign to the firstSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the host + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * + * @param Host $val The value to assign to the host + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php new file mode 100644 index 00000000000..c07cfd2d285 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php @@ -0,0 +1,570 @@ +_propDict)) { + if (is_a($this->_propDict["abuse"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["abuse"])) { + return $this->_propDict["abuse"]; + } else { + $this->_propDict["abuse"] = new WhoisContact($this->_propDict["abuse"]); + return $this->_propDict["abuse"]; + } + } + return null; + } + + /** + * Sets the abuse + * + * @param WhoisContact $val The abuse + * + * @return WhoisRecord + */ + public function setAbuse($val) + { + $this->_propDict["abuse"] = $val; + return $this; + } + + /** + * Gets the admin + * + * @return WhoisContact|null The admin + */ + public function getAdmin() + { + if (array_key_exists("admin", $this->_propDict)) { + if (is_a($this->_propDict["admin"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["admin"])) { + return $this->_propDict["admin"]; + } else { + $this->_propDict["admin"] = new WhoisContact($this->_propDict["admin"]); + return $this->_propDict["admin"]; + } + } + return null; + } + + /** + * Sets the admin + * + * @param WhoisContact $val The admin + * + * @return WhoisRecord + */ + public function setAdmin($val) + { + $this->_propDict["admin"] = $val; + return $this; + } + + /** + * Gets the billing + * + * @return WhoisContact|null The billing + */ + public function getBilling() + { + if (array_key_exists("billing", $this->_propDict)) { + if (is_a($this->_propDict["billing"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["billing"])) { + return $this->_propDict["billing"]; + } else { + $this->_propDict["billing"] = new WhoisContact($this->_propDict["billing"]); + return $this->_propDict["billing"]; + } + } + return null; + } + + /** + * Sets the billing + * + * @param WhoisContact $val The billing + * + * @return WhoisRecord + */ + public function setBilling($val) + { + $this->_propDict["billing"] = $val; + return $this; + } + + /** + * Gets the domainStatus + * + * @return string|null The domainStatus + */ + public function getDomainStatus() + { + if (array_key_exists("domainStatus", $this->_propDict)) { + return $this->_propDict["domainStatus"]; + } else { + return null; + } + } + + /** + * Sets the domainStatus + * + * @param string $val The domainStatus + * + * @return WhoisRecord + */ + public function setDomainStatus($val) + { + $this->_propDict["domainStatus"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * + * @param \DateTime $val The expirationDateTime + * + * @return WhoisRecord + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return WhoisRecord + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return WhoisRecord + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return WhoisRecord + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + + /** + * Gets the nameservers + * + * @return array|null The nameservers + */ + public function getNameservers() + { + if (array_key_exists("nameservers", $this->_propDict)) { + return $this->_propDict["nameservers"]; + } else { + return null; + } + } + + /** + * Sets the nameservers + * + * @param WhoisNameserver[] $val The nameservers + * + * @return WhoisRecord + */ + public function setNameservers($val) + { + $this->_propDict["nameservers"] = $val; + return $this; + } + + /** + * Gets the noc + * + * @return WhoisContact|null The noc + */ + public function getNoc() + { + if (array_key_exists("noc", $this->_propDict)) { + if (is_a($this->_propDict["noc"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["noc"])) { + return $this->_propDict["noc"]; + } else { + $this->_propDict["noc"] = new WhoisContact($this->_propDict["noc"]); + return $this->_propDict["noc"]; + } + } + return null; + } + + /** + * Sets the noc + * + * @param WhoisContact $val The noc + * + * @return WhoisRecord + */ + public function setNoc($val) + { + $this->_propDict["noc"] = $val; + return $this; + } + + /** + * Gets the rawWhoisText + * + * @return string|null The rawWhoisText + */ + public function getRawWhoisText() + { + if (array_key_exists("rawWhoisText", $this->_propDict)) { + return $this->_propDict["rawWhoisText"]; + } else { + return null; + } + } + + /** + * Sets the rawWhoisText + * + * @param string $val The rawWhoisText + * + * @return WhoisRecord + */ + public function setRawWhoisText($val) + { + $this->_propDict["rawWhoisText"] = $val; + return $this; + } + + /** + * Gets the registrant + * + * @return WhoisContact|null The registrant + */ + public function getRegistrant() + { + if (array_key_exists("registrant", $this->_propDict)) { + if (is_a($this->_propDict["registrant"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrant"])) { + return $this->_propDict["registrant"]; + } else { + $this->_propDict["registrant"] = new WhoisContact($this->_propDict["registrant"]); + return $this->_propDict["registrant"]; + } + } + return null; + } + + /** + * Sets the registrant + * + * @param WhoisContact $val The registrant + * + * @return WhoisRecord + */ + public function setRegistrant($val) + { + $this->_propDict["registrant"] = $val; + return $this; + } + + /** + * Gets the registrar + * + * @return WhoisContact|null The registrar + */ + public function getRegistrar() + { + if (array_key_exists("registrar", $this->_propDict)) { + if (is_a($this->_propDict["registrar"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrar"])) { + return $this->_propDict["registrar"]; + } else { + $this->_propDict["registrar"] = new WhoisContact($this->_propDict["registrar"]); + return $this->_propDict["registrar"]; + } + } + return null; + } + + /** + * Sets the registrar + * + * @param WhoisContact $val The registrar + * + * @return WhoisRecord + */ + public function setRegistrar($val) + { + $this->_propDict["registrar"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * + * @param \DateTime $val The registrationDateTime + * + * @return WhoisRecord + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + /** + * Gets the technical + * + * @return WhoisContact|null The technical + */ + public function getTechnical() + { + if (array_key_exists("technical", $this->_propDict)) { + if (is_a($this->_propDict["technical"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["technical"])) { + return $this->_propDict["technical"]; + } else { + $this->_propDict["technical"] = new WhoisContact($this->_propDict["technical"]); + return $this->_propDict["technical"]; + } + } + return null; + } + + /** + * Sets the technical + * + * @param WhoisContact $val The technical + * + * @return WhoisRecord + */ + public function setTechnical($val) + { + $this->_propDict["technical"] = $val; + return $this; + } + + /** + * Gets the whoisServer + * + * @return string|null The whoisServer + */ + public function getWhoisServer() + { + if (array_key_exists("whoisServer", $this->_propDict)) { + return $this->_propDict["whoisServer"]; + } else { + return null; + } + } + + /** + * Sets the whoisServer + * + * @param string $val The whoisServer + * + * @return WhoisRecord + */ + public function setWhoisServer($val) + { + $this->_propDict["whoisServer"] = $val; + return $this; + } + + /** + * Gets the zone + * + * @return WhoisContact|null The zone + */ + public function getZone() + { + if (array_key_exists("zone", $this->_propDict)) { + if (is_a($this->_propDict["zone"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["zone"])) { + return $this->_propDict["zone"]; + } else { + $this->_propDict["zone"] = new WhoisContact($this->_propDict["zone"]); + return $this->_propDict["zone"]; + } + } + return null; + } + + /** + * Sets the zone + * + * @param WhoisContact $val The zone + * + * @return WhoisRecord + */ + public function setZone($val) + { + $this->_propDict["zone"] = $val; + return $this; + } + + /** + * Gets the host + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * + * @param Host $val The host + * + * @return WhoisRecord + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + +}