diff --git a/README.md b/README.md index 64d43d35d9f..de98050ee58 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.91.0" + "microsoft/microsoft-graph": "^1.92.0" } } ``` diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php index 656d760c095..c9edd4764cc 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php @@ -55,6 +55,37 @@ public function getProperties() return $this->_propDict; } + /** + * Gets the industryData + * + * @return \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot|null The industryData + */ + public function getIndustryData() + { + if (array_key_exists("industryData", $this->_propDict)) { + if (is_a($this->_propDict["industryData"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot") || is_null($this->_propDict["industryData"])) { + return $this->_propDict["industryData"]; + } else { + $this->_propDict["industryData"] = new \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot($this->_propDict["industryData"]); + return $this->_propDict["industryData"]; + } + } + return null; + } + + /** + * Sets the industryData + * + * @param \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot $val The industryData + * + * @return External + */ + public function setIndustryData($val) + { + $this->_propDict["industryData"] = $val; + return $this; + } + /** * Gets the connections diff --git a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/CustomTaskExtensionCallbackConfiguration.php b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/CustomTaskExtensionCallbackConfiguration.php index cd1ecc82ff0..7c99e03fb0e 100644 --- a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/CustomTaskExtensionCallbackConfiguration.php +++ b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/CustomTaskExtensionCallbackConfiguration.php @@ -34,4 +34,35 @@ public function __construct($propDict = array()) $this->setODataType("#microsoft.graph.identityGovernance.customTaskExtensionCallbackConfiguration"); } + + /** + * Gets the authorizedApps + * + * @return \Beta\Microsoft\Graph\Model\Application|null The authorizedApps + */ + public function getAuthorizedApps() + { + if (array_key_exists("authorizedApps", $this->_propDict)) { + if (is_a($this->_propDict["authorizedApps"], "\Beta\Microsoft\Graph\Model\Application") || is_null($this->_propDict["authorizedApps"])) { + return $this->_propDict["authorizedApps"]; + } else { + $this->_propDict["authorizedApps"] = new \Beta\Microsoft\Graph\Model\Application($this->_propDict["authorizedApps"]); + return $this->_propDict["authorizedApps"]; + } + } + return null; + } + + /** + * Sets the authorizedApps + * + * @param \Beta\Microsoft\Graph\Model\Application $val The value to assign to the authorizedApps + * + * @return CustomTaskExtensionCallbackConfiguration The CustomTaskExtensionCallbackConfiguration + */ + public function setAuthorizedApps($val) + { + $this->_propDict["authorizedApps"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/AggregatedInboundStatistics.php b/src/Beta/Microsoft/Graph/IndustryData/Model/AggregatedInboundStatistics.php new file mode 100644 index 00000000000..67bf339ef6e --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/AggregatedInboundStatistics.php @@ -0,0 +1,260 @@ +_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * The aggregate count of errors encountered by activities during this run. + * + * @param int $val The value of the errors + * + * @return AggregatedInboundStatistics + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + /** + * Gets the groups + * The aggregate count of active inbound groups processed during the run. + * + * @return int|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * The aggregate count of active inbound groups processed during the run. + * + * @param int $val The value of the groups + * + * @return AggregatedInboundStatistics + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + /** + * Gets the matchedPeopleByRole + * The aggregate count of active people matched to an Azure Active Directory user, by role. + * + * @return IndustryDataRunRoleCountMetric|null The matchedPeopleByRole + */ + public function getMatchedPeopleByRole() + { + if (array_key_exists("matchedPeopleByRole", $this->_propDict)) { + if (is_a($this->_propDict["matchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["matchedPeopleByRole"])) { + return $this->_propDict["matchedPeopleByRole"]; + } else { + $this->_propDict["matchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["matchedPeopleByRole"]); + return $this->_propDict["matchedPeopleByRole"]; + } + } + return null; + } + + /** + * Sets the matchedPeopleByRole + * The aggregate count of active people matched to an Azure Active Directory user, by role. + * + * @param IndustryDataRunRoleCountMetric $val The value to assign to the matchedPeopleByRole + * + * @return AggregatedInboundStatistics The AggregatedInboundStatistics + */ + public function setMatchedPeopleByRole($val) + { + $this->_propDict["matchedPeopleByRole"] = $val; + return $this; + } + /** + * Gets the memberships + * The aggregate count of active inbound memberships processed during the run. + * + * @return int|null The memberships + */ + public function getMemberships() + { + if (array_key_exists("memberships", $this->_propDict)) { + return $this->_propDict["memberships"]; + } else { + return null; + } + } + + /** + * Sets the memberships + * The aggregate count of active inbound memberships processed during the run. + * + * @param int $val The value of the memberships + * + * @return AggregatedInboundStatistics + */ + public function setMemberships($val) + { + $this->_propDict["memberships"] = $val; + return $this; + } + /** + * Gets the organizations + * The aggregate count of active inbound organizations processed during the run. + * + * @return int|null The organizations + */ + public function getOrganizations() + { + if (array_key_exists("organizations", $this->_propDict)) { + return $this->_propDict["organizations"]; + } else { + return null; + } + } + + /** + * Sets the organizations + * The aggregate count of active inbound organizations processed during the run. + * + * @param int $val The value of the organizations + * + * @return AggregatedInboundStatistics + */ + public function setOrganizations($val) + { + $this->_propDict["organizations"] = $val; + return $this; + } + /** + * Gets the people + * The aggregate count of active inbound people processed during the run. + * + * @return int|null The people + */ + public function getPeople() + { + if (array_key_exists("people", $this->_propDict)) { + return $this->_propDict["people"]; + } else { + return null; + } + } + + /** + * Sets the people + * The aggregate count of active inbound people processed during the run. + * + * @param int $val The value of the people + * + * @return AggregatedInboundStatistics + */ + public function setPeople($val) + { + $this->_propDict["people"] = $val; + return $this; + } + + /** + * Gets the unmatchedPeopleByRole + * The aggregate count of active people not matched to an Azure Active Directory user, by role. + * + * @return IndustryDataRunRoleCountMetric|null The unmatchedPeopleByRole + */ + public function getUnmatchedPeopleByRole() + { + if (array_key_exists("unmatchedPeopleByRole", $this->_propDict)) { + if (is_a($this->_propDict["unmatchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["unmatchedPeopleByRole"])) { + return $this->_propDict["unmatchedPeopleByRole"]; + } else { + $this->_propDict["unmatchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["unmatchedPeopleByRole"]); + return $this->_propDict["unmatchedPeopleByRole"]; + } + } + return null; + } + + /** + * Sets the unmatchedPeopleByRole + * The aggregate count of active people not matched to an Azure Active Directory user, by role. + * + * @param IndustryDataRunRoleCountMetric $val The value to assign to the unmatchedPeopleByRole + * + * @return AggregatedInboundStatistics The AggregatedInboundStatistics + */ + public function setUnmatchedPeopleByRole($val) + { + $this->_propDict["unmatchedPeopleByRole"] = $val; + return $this; + } + /** + * Gets the warnings + * The aggregate count of warnings generated by activities during this run. + * + * @return int|null The warnings + */ + public function getWarnings() + { + if (array_key_exists("warnings", $this->_propDict)) { + return $this->_propDict["warnings"]; + } else { + return null; + } + } + + /** + * Sets the warnings + * The aggregate count of warnings generated by activities during this run. + * + * @param int $val The value of the warnings + * + * @return AggregatedInboundStatistics + */ + public function setWarnings($val) + { + $this->_propDict["warnings"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/AzureDataLakeConnector.php b/src/Beta/Microsoft/Graph/IndustryData/Model/AzureDataLakeConnector.php new file mode 100644 index 00000000000..1fa21f857bc --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/AzureDataLakeConnector.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["containerExpirationDateTime"], "\DateTime") || is_null($this->_propDict["containerExpirationDateTime"])) { + return $this->_propDict["containerExpirationDateTime"]; + } else { + $this->_propDict["containerExpirationDateTime"] = new \DateTime($this->_propDict["containerExpirationDateTime"]); + return $this->_propDict["containerExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the containerExpirationDateTime + * The expiration date and time for the container. 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 value to assign to the containerExpirationDateTime + * + * @return FileUploadSession The FileUploadSession + */ + public function setContainerExpirationDateTime($val) + { + $this->_propDict["containerExpirationDateTime"] = $val; + return $this; + } + /** + * Gets the containerId + * The container ID where the files are uploaded. + * + * @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 + * The container ID where the files are uploaded. + * + * @param string $val The value of the containerId + * + * @return FileUploadSession + */ + public function setContainerId($val) + { + $this->_propDict["containerId"] = $val; + return $this; + } + + /** + * Gets the sessionExpirationDateTime + * The expiration date and time for the file upload session. 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 sessionExpirationDateTime + */ + public function getSessionExpirationDateTime() + { + if (array_key_exists("sessionExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["sessionExpirationDateTime"], "\DateTime") || is_null($this->_propDict["sessionExpirationDateTime"])) { + return $this->_propDict["sessionExpirationDateTime"]; + } else { + $this->_propDict["sessionExpirationDateTime"] = new \DateTime($this->_propDict["sessionExpirationDateTime"]); + return $this->_propDict["sessionExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the sessionExpirationDateTime + * The expiration date and time for the file upload session. 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 value to assign to the sessionExpirationDateTime + * + * @return FileUploadSession The FileUploadSession + */ + public function setSessionExpirationDateTime($val) + { + $this->_propDict["sessionExpirationDateTime"] = $val; + return $this; + } + /** + * Gets the sessionUrl + * The Azure Storage SAS URI to upload source files to. + * + * @return string|null The sessionUrl + */ + public function getSessionUrl() + { + if (array_key_exists("sessionUrl", $this->_propDict)) { + return $this->_propDict["sessionUrl"]; + } else { + return null; + } + } + + /** + * Sets the sessionUrl + * The Azure Storage SAS URI to upload source files to. + * + * @param string $val The value of the sessionUrl + * + * @return FileUploadSession + */ + public function setSessionUrl($val) + { + $this->_propDict["sessionUrl"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/FileValidateOperation.php b/src/Beta/Microsoft/Graph/IndustryData/Model/FileValidateOperation.php new file mode 100644 index 00000000000..5f903fa8308 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/FileValidateOperation.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["validatedFiles"]; + } else { + return null; + } + } + + /** + * Sets the validatedFiles + * Set of files validated by the validate operation. + * + * @param string[] $val The validatedFiles + * + * @return FileValidateOperation + */ + public function setValidatedFiles($val) + { + $this->_propDict["validatedFiles"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IdentifierTypeReferenceValue.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IdentifierTypeReferenceValue.php new file mode 100644 index 00000000000..642a8262ae7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IdentifierTypeReferenceValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * Number of errors encountered while processing the inbound flow. + * + * @param int $val The value of the errors + * + * @return InboundActivityResults + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + + /** + * Gets the groups + * Counts of active and inactive groups processed by the inbound flow. + * + * @return IndustryDataRunEntityCountMetric|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + if (is_a($this->_propDict["groups"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["groups"])) { + return $this->_propDict["groups"]; + } else { + $this->_propDict["groups"] = new IndustryDataRunEntityCountMetric($this->_propDict["groups"]); + return $this->_propDict["groups"]; + } + } + return null; + } + + /** + * Sets the groups + * Counts of active and inactive groups processed by the inbound flow. + * + * @param IndustryDataRunEntityCountMetric $val The value to assign to the groups + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + /** + * Gets the matchedPeopleByRole + * Number of people matched to an Azure Active Directory user, by role. + * + * @return IndustryDataRunRoleCountMetric|null The matchedPeopleByRole + */ + public function getMatchedPeopleByRole() + { + if (array_key_exists("matchedPeopleByRole", $this->_propDict)) { + if (is_a($this->_propDict["matchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["matchedPeopleByRole"])) { + return $this->_propDict["matchedPeopleByRole"]; + } else { + $this->_propDict["matchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["matchedPeopleByRole"]); + return $this->_propDict["matchedPeopleByRole"]; + } + } + return null; + } + + /** + * Sets the matchedPeopleByRole + * Number of people matched to an Azure Active Directory user, by role. + * + * @param IndustryDataRunRoleCountMetric $val The value to assign to the matchedPeopleByRole + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setMatchedPeopleByRole($val) + { + $this->_propDict["matchedPeopleByRole"] = $val; + return $this; + } + + /** + * Gets the memberships + * Counts of active and inactive memberships processed by the inbound flow. + * + * @return IndustryDataRunEntityCountMetric|null The memberships + */ + public function getMemberships() + { + if (array_key_exists("memberships", $this->_propDict)) { + if (is_a($this->_propDict["memberships"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["memberships"])) { + return $this->_propDict["memberships"]; + } else { + $this->_propDict["memberships"] = new IndustryDataRunEntityCountMetric($this->_propDict["memberships"]); + return $this->_propDict["memberships"]; + } + } + return null; + } + + /** + * Sets the memberships + * Counts of active and inactive memberships processed by the inbound flow. + * + * @param IndustryDataRunEntityCountMetric $val The value to assign to the memberships + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setMemberships($val) + { + $this->_propDict["memberships"] = $val; + return $this; + } + + /** + * Gets the organizations + * Counts of active and inactive organizations processed by the inbound flow. + * + * @return IndustryDataRunEntityCountMetric|null The organizations + */ + public function getOrganizations() + { + if (array_key_exists("organizations", $this->_propDict)) { + if (is_a($this->_propDict["organizations"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["organizations"])) { + return $this->_propDict["organizations"]; + } else { + $this->_propDict["organizations"] = new IndustryDataRunEntityCountMetric($this->_propDict["organizations"]); + return $this->_propDict["organizations"]; + } + } + return null; + } + + /** + * Sets the organizations + * Counts of active and inactive organizations processed by the inbound flow. + * + * @param IndustryDataRunEntityCountMetric $val The value to assign to the organizations + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setOrganizations($val) + { + $this->_propDict["organizations"] = $val; + return $this; + } + + /** + * Gets the people + * Counts of active and inactive people processed by the inbound flow. + * + * @return IndustryDataRunEntityCountMetric|null The people + */ + public function getPeople() + { + if (array_key_exists("people", $this->_propDict)) { + if (is_a($this->_propDict["people"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["people"])) { + return $this->_propDict["people"]; + } else { + $this->_propDict["people"] = new IndustryDataRunEntityCountMetric($this->_propDict["people"]); + return $this->_propDict["people"]; + } + } + return null; + } + + /** + * Sets the people + * Counts of active and inactive people processed by the inbound flow. + * + * @param IndustryDataRunEntityCountMetric $val The value to assign to the people + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setPeople($val) + { + $this->_propDict["people"] = $val; + return $this; + } + + /** + * Gets the unmatchedPeopleByRole + * Number of people not matched to an Azure Active Directory user, by role. + * + * @return IndustryDataRunRoleCountMetric|null The unmatchedPeopleByRole + */ + public function getUnmatchedPeopleByRole() + { + if (array_key_exists("unmatchedPeopleByRole", $this->_propDict)) { + if (is_a($this->_propDict["unmatchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["unmatchedPeopleByRole"])) { + return $this->_propDict["unmatchedPeopleByRole"]; + } else { + $this->_propDict["unmatchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["unmatchedPeopleByRole"]); + return $this->_propDict["unmatchedPeopleByRole"]; + } + } + return null; + } + + /** + * Sets the unmatchedPeopleByRole + * Number of people not matched to an Azure Active Directory user, by role. + * + * @param IndustryDataRunRoleCountMetric $val The value to assign to the unmatchedPeopleByRole + * + * @return InboundActivityResults The InboundActivityResults + */ + public function setUnmatchedPeopleByRole($val) + { + $this->_propDict["unmatchedPeopleByRole"] = $val; + return $this; + } + /** + * Gets the warnings + * Number of warnings encountered while processing the inbound flow. + * + * @return int|null The warnings + */ + public function getWarnings() + { + if (array_key_exists("warnings", $this->_propDict)) { + return $this->_propDict["warnings"]; + } else { + return null; + } + } + + /** + * Sets the warnings + * Number of warnings encountered while processing the inbound flow. + * + * @param int $val The value of the warnings + * + * @return InboundActivityResults + */ + public function setWarnings($val) + { + $this->_propDict["warnings"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/InboundDomain.php b/src/Beta/Microsoft/Graph/IndustryData/Model/InboundDomain.php new file mode 100644 index 00000000000..eda6f1b1b3c --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/InboundDomain.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["dataDomain"], "\Beta\Microsoft\Graph\IndustryData\Model\InboundDomain") || is_null($this->_propDict["dataDomain"])) { + return $this->_propDict["dataDomain"]; + } else { + $this->_propDict["dataDomain"] = new InboundDomain($this->_propDict["dataDomain"]); + return $this->_propDict["dataDomain"]; + } + } + return null; + } + + /** + * Sets the dataDomain + * The broad category of data that this flow imports. The possible values are: educationRostering, unknownFutureValue. + * + * @param InboundDomain $val The dataDomain + * + * @return InboundFlow + */ + public function setDataDomain($val) + { + $this->_propDict["dataDomain"] = $val; + return $this; + } + + /** + * Gets the effectiveDateTime + * The start of the time window when the flow is allowed to run. 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 effectiveDateTime + */ + public function getEffectiveDateTime() + { + if (array_key_exists("effectiveDateTime", $this->_propDict)) { + if (is_a($this->_propDict["effectiveDateTime"], "\DateTime") || is_null($this->_propDict["effectiveDateTime"])) { + return $this->_propDict["effectiveDateTime"]; + } else { + $this->_propDict["effectiveDateTime"] = new \DateTime($this->_propDict["effectiveDateTime"]); + return $this->_propDict["effectiveDateTime"]; + } + } + return null; + } + + /** + * Sets the effectiveDateTime + * The start of the time window when the flow is allowed to run. 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 effectiveDateTime + * + * @return InboundFlow + */ + public function setEffectiveDateTime($val) + { + $this->_propDict["effectiveDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The end of the time window when the flow is allowed to run. 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 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 + * The end of the time window when the flow is allowed to run. 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 expirationDateTime + * + * @return InboundFlow + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the dataConnector + * The data connector in the context of which this flow pulls in data from a source system. + * + * @return IndustryDataConnector|null The dataConnector + */ + public function getDataConnector() + { + if (array_key_exists("dataConnector", $this->_propDict)) { + if (is_a($this->_propDict["dataConnector"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataConnector") || is_null($this->_propDict["dataConnector"])) { + return $this->_propDict["dataConnector"]; + } else { + $this->_propDict["dataConnector"] = new IndustryDataConnector($this->_propDict["dataConnector"]); + return $this->_propDict["dataConnector"]; + } + } + return null; + } + + /** + * Sets the dataConnector + * The data connector in the context of which this flow pulls in data from a source system. + * + * @param IndustryDataConnector $val The dataConnector + * + * @return InboundFlow + */ + public function setDataConnector($val) + { + $this->_propDict["dataConnector"] = $val; + return $this; + } + + /** + * Gets the year + * The year that the data brought in via this flow applies to. + * + * @return YearTimePeriodDefinition|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + if (is_a($this->_propDict["year"], "\Beta\Microsoft\Graph\IndustryData\Model\YearTimePeriodDefinition") || is_null($this->_propDict["year"])) { + return $this->_propDict["year"]; + } else { + $this->_propDict["year"] = new YearTimePeriodDefinition($this->_propDict["year"]); + return $this->_propDict["year"]; + } + } + return null; + } + + /** + * Sets the year + * The year that the data brought in via this flow applies to. + * + * @param YearTimePeriodDefinition $val The year + * + * @return InboundFlow + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/InboundFlowActivity.php b/src/Beta/Microsoft/Graph/IndustryData/Model/InboundFlowActivity.php new file mode 100644 index 00000000000..fea4a00cbc6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/InboundFlowActivity.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the activity. Maximum supported length is 100 characters. + * + * @param string $val The displayName + * + * @return IndustryDataActivity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the readinessStatus + * The state of the activity from creation through to ready to do work. The possible values are: notReady, ready, failed, disabled, expired, unknownFutureValue. + * + * @return ReadinessStatus|null The readinessStatus + */ + public function getReadinessStatus() + { + if (array_key_exists("readinessStatus", $this->_propDict)) { + if (is_a($this->_propDict["readinessStatus"], "\Beta\Microsoft\Graph\IndustryData\Model\ReadinessStatus") || is_null($this->_propDict["readinessStatus"])) { + return $this->_propDict["readinessStatus"]; + } else { + $this->_propDict["readinessStatus"] = new ReadinessStatus($this->_propDict["readinessStatus"]); + return $this->_propDict["readinessStatus"]; + } + } + return null; + } + + /** + * Sets the readinessStatus + * The state of the activity from creation through to ready to do work. The possible values are: notReady, ready, failed, disabled, expired, unknownFutureValue. + * + * @param ReadinessStatus $val The readinessStatus + * + * @return IndustryDataActivity + */ + public function setReadinessStatus($val) + { + $this->_propDict["readinessStatus"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatistics.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatistics.php new file mode 100644 index 00000000000..1940bc7529a --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatistics.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["activityId"]; + } else { + return null; + } + } + + /** + * Sets the activityId + * The identifier for the activity that is being reported on. + * + * @param string $val The value of the activityId + * + * @return IndustryDataActivityStatistics + */ + public function setActivityId($val) + { + $this->_propDict["activityId"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the underlying flow. + * + * @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 + * The display name of the underlying flow. + * + * @param string $val The value of the displayName + * + * @return IndustryDataActivityStatistics + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the status + * The latest status of the activity in the run. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @return IndustryDataActivityStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new IndustryDataActivityStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The latest status of the activity in the run. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @param IndustryDataActivityStatus $val The value to assign to the status + * + * @return IndustryDataActivityStatistics The IndustryDataActivityStatistics + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatus.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatus.php new file mode 100644 index 00000000000..8a26e262a89 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataActivityStatus.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the data connector. Maximum supported length is 100 characters. + * + * @param string $val The displayName + * + * @return IndustryDataConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the sourceSystem + * The sourceSystemDefinition this connector is connected to. + * + * @return SourceSystemDefinition|null The sourceSystem + */ + public function getSourceSystem() + { + if (array_key_exists("sourceSystem", $this->_propDict)) { + if (is_a($this->_propDict["sourceSystem"], "\Beta\Microsoft\Graph\IndustryData\Model\SourceSystemDefinition") || is_null($this->_propDict["sourceSystem"])) { + return $this->_propDict["sourceSystem"]; + } else { + $this->_propDict["sourceSystem"] = new SourceSystemDefinition($this->_propDict["sourceSystem"]); + return $this->_propDict["sourceSystem"]; + } + } + return null; + } + + /** + * Sets the sourceSystem + * The sourceSystemDefinition this connector is connected to. + * + * @param SourceSystemDefinition $val The sourceSystem + * + * @return IndustryDataConnector + */ + public function setSourceSystem($val) + { + $this->_propDict["sourceSystem"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRoot.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRoot.php new file mode 100644 index 00000000000..a2e273b3564 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRoot.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["dataConnectors"]; + } else { + return null; + } + } + + /** + * Sets the dataConnectors + * Set of connectors for importing data from source systems. + * + * @param IndustryDataConnector[] $val The dataConnectors + * + * @return IndustryDataRoot + */ + public function setDataConnectors($val) + { + $this->_propDict["dataConnectors"] = $val; + return $this; + } + + + /** + * Gets the inboundFlows + * Set of data import flow activities to bring data into the canonical store via a connector. + * + * @return array|null The inboundFlows + */ + public function getInboundFlows() + { + if (array_key_exists("inboundFlows", $this->_propDict)) { + return $this->_propDict["inboundFlows"]; + } else { + return null; + } + } + + /** + * Sets the inboundFlows + * Set of data import flow activities to bring data into the canonical store via a connector. + * + * @param InboundFlow[] $val The inboundFlows + * + * @return IndustryDataRoot + */ + public function setInboundFlows($val) + { + $this->_propDict["inboundFlows"] = $val; + return $this; + } + + + /** + * Gets the operations + * Set of ephemeral operations that the system runs currently. Read-only. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Set of ephemeral operations that the system runs currently. Read-only. + * + * @param \Beta\Microsoft\Graph\Model\LongRunningOperation[] $val The operations + * + * @return IndustryDataRoot + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the referenceDefinitions + * Set of user modifiable system picker types. + * + * @return array|null The referenceDefinitions + */ + public function getReferenceDefinitions() + { + if (array_key_exists("referenceDefinitions", $this->_propDict)) { + return $this->_propDict["referenceDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the referenceDefinitions + * Set of user modifiable system picker types. + * + * @param ReferenceDefinition[] $val The referenceDefinitions + * + * @return IndustryDataRoot + */ + public function setReferenceDefinitions($val) + { + $this->_propDict["referenceDefinitions"] = $val; + return $this; + } + + + /** + * Gets the roleGroups + * Set of groups of individual roles that makes role-based admin simpler. + * + * @return array|null The roleGroups + */ + public function getRoleGroups() + { + if (array_key_exists("roleGroups", $this->_propDict)) { + return $this->_propDict["roleGroups"]; + } else { + return null; + } + } + + /** + * Sets the roleGroups + * Set of groups of individual roles that makes role-based admin simpler. + * + * @param RoleGroup[] $val The roleGroups + * + * @return IndustryDataRoot + */ + public function setRoleGroups($val) + { + $this->_propDict["roleGroups"] = $val; + return $this; + } + + + /** + * Gets the runs + * Set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. + * + * @return array|null The runs + */ + public function getRuns() + { + if (array_key_exists("runs", $this->_propDict)) { + return $this->_propDict["runs"]; + } else { + return null; + } + } + + /** + * Sets the runs + * Set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. + * + * @param IndustryDataRun[] $val The runs + * + * @return IndustryDataRoot + */ + public function setRuns($val) + { + $this->_propDict["runs"] = $val; + return $this; + } + + + /** + * Gets the sourceSystems + * Set of source definitions that represents real-world external systems. + * + * @return array|null The sourceSystems + */ + public function getSourceSystems() + { + if (array_key_exists("sourceSystems", $this->_propDict)) { + return $this->_propDict["sourceSystems"]; + } else { + return null; + } + } + + /** + * Sets the sourceSystems + * Set of source definitions that represents real-world external systems. + * + * @param SourceSystemDefinition[] $val The sourceSystems + * + * @return IndustryDataRoot + */ + public function setSourceSystems($val) + { + $this->_propDict["sourceSystems"] = $val; + return $this; + } + + + /** + * Gets the years + * Set of years represented in the system. + * + * @return array|null The years + */ + public function getYears() + { + if (array_key_exists("years", $this->_propDict)) { + return $this->_propDict["years"]; + } else { + return null; + } + } + + /** + * Sets the years + * Set of years represented in the system. + * + * @param YearTimePeriodDefinition[] $val The years + * + * @return IndustryDataRoot + */ + public function setYears($val) + { + $this->_propDict["years"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRun.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRun.php new file mode 100644 index 00000000000..b8a410fc2c4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRun.php @@ -0,0 +1,218 @@ +_propDict)) { + if (is_a($this->_propDict["blockingError"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["blockingError"])) { + return $this->_propDict["blockingError"]; + } else { + $this->_propDict["blockingError"] = new \Beta\Microsoft\Graph\Model\PublicError($this->_propDict["blockingError"]); + return $this->_propDict["blockingError"]; + } + } + return null; + } + + /** + * Sets the blockingError + * An error object to diagnose critical failures in the run. + * + * @param \Beta\Microsoft\Graph\Model\PublicError $val The blockingError + * + * @return IndustryDataRun + */ + public function setBlockingError($val) + { + $this->_propDict["blockingError"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the run for rendering in a user interface. + * + * @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 + * The name of the run for rendering in a user interface. + * + * @param string $val The displayName + * + * @return IndustryDataRun + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time when the run finished or null if the run is still in-progress. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time when the run finished or null if the run is still in-progress. 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 endDateTime + * + * @return IndustryDataRun + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time when the run started. 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 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 + * The date and time when the run started. 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 startDateTime + * + * @return IndustryDataRun + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The current status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @return IndustryDataRunStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new IndustryDataRunStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @param IndustryDataRunStatus $val The status + * + * @return IndustryDataRun + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the activities + * The set of activities performed during the run. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The set of activities performed during the run. + * + * @param IndustryDataRunActivity[] $val The activities + * + * @return IndustryDataRun + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunActivity.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunActivity.php new file mode 100644 index 00000000000..2b6558b10a4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunActivity.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["blockingError"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["blockingError"])) { + return $this->_propDict["blockingError"]; + } else { + $this->_propDict["blockingError"] = new \Beta\Microsoft\Graph\Model\PublicError($this->_propDict["blockingError"]); + return $this->_propDict["blockingError"]; + } + } + return null; + } + + /** + * Sets the blockingError + * An error object to diagnose critical failures in an activity. + * + * @param \Beta\Microsoft\Graph\Model\PublicError $val The blockingError + * + * @return IndustryDataRunActivity + */ + public function setBlockingError($val) + { + $this->_propDict["blockingError"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the running flow. + * + * @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 + * The name of the running flow. + * + * @param string $val The displayName + * + * @return IndustryDataRunActivity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the status + * The current status of the activity. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @return IndustryDataActivityStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new IndustryDataActivityStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current status of the activity. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @param IndustryDataActivityStatus $val The status + * + * @return IndustryDataRunActivity + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the activity + * The flow that was run by this activity. + * + * @return IndustryDataActivity|null The activity + */ + public function getActivity() + { + if (array_key_exists("activity", $this->_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new IndustryDataActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The flow that was run by this activity. + * + * @param IndustryDataActivity $val The activity + * + * @return IndustryDataRunActivity + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunEntityCountMetric.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunEntityCountMetric.php new file mode 100644 index 00000000000..91e1ddcdde6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunEntityCountMetric.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["active"]; + } else { + return null; + } + } + + /** + * Sets the active + * The count of entries for the entity marked as Active. + * + * @param int $val The value of the active + * + * @return IndustryDataRunEntityCountMetric + */ + public function setActive($val) + { + $this->_propDict["active"] = $val; + return $this; + } + /** + * Gets the inactive + * The count of entries for the entity marked as Inactive. + * + * @return int|null The inactive + */ + public function getInactive() + { + if (array_key_exists("inactive", $this->_propDict)) { + return $this->_propDict["inactive"]; + } else { + return null; + } + } + + /** + * Sets the inactive + * The count of entries for the entity marked as Inactive. + * + * @param int $val The value of the inactive + * + * @return IndustryDataRunEntityCountMetric + */ + public function setInactive($val) + { + $this->_propDict["inactive"] = $val; + return $this; + } + /** + * Gets the total + * Total count of the entity. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * Total count of the entity. + * + * @param int $val The value of the total + * + * @return IndustryDataRunEntityCountMetric + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunRoleCountMetric.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunRoleCountMetric.php new file mode 100644 index 00000000000..65b31252fc3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunRoleCountMetric.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * The number of people in this role. + * + * @param int $val The value of the count + * + * @return IndustryDataRunRoleCountMetric + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the role + * The role that is being measured. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * The role that is being measured. + * + * @param string $val The value of the role + * + * @return IndustryDataRunRoleCountMetric + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatistics.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatistics.php new file mode 100644 index 00000000000..369142ff075 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatistics.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["activityStatistics"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatistics") || is_null($this->_propDict["activityStatistics"])) { + return $this->_propDict["activityStatistics"]; + } else { + $this->_propDict["activityStatistics"] = new IndustryDataActivityStatistics($this->_propDict["activityStatistics"]); + return $this->_propDict["activityStatistics"]; + } + } + return null; + } + + /** + * Sets the activityStatistics + * The collection of statistics for each activity included in this run. + * + * @param IndustryDataActivityStatistics $val The value to assign to the activityStatistics + * + * @return IndustryDataRunStatistics The IndustryDataRunStatistics + */ + public function setActivityStatistics($val) + { + $this->_propDict["activityStatistics"] = $val; + return $this; + } + + /** + * Gets the inboundTotals + * The aggregate statistics for all inbound flows. + * + * @return AggregatedInboundStatistics|null The inboundTotals + */ + public function getInboundTotals() + { + if (array_key_exists("inboundTotals", $this->_propDict)) { + if (is_a($this->_propDict["inboundTotals"], "\Beta\Microsoft\Graph\IndustryData\Model\AggregatedInboundStatistics") || is_null($this->_propDict["inboundTotals"])) { + return $this->_propDict["inboundTotals"]; + } else { + $this->_propDict["inboundTotals"] = new AggregatedInboundStatistics($this->_propDict["inboundTotals"]); + return $this->_propDict["inboundTotals"]; + } + } + return null; + } + + /** + * Sets the inboundTotals + * The aggregate statistics for all inbound flows. + * + * @param AggregatedInboundStatistics $val The value to assign to the inboundTotals + * + * @return IndustryDataRunStatistics The IndustryDataRunStatistics + */ + public function setInboundTotals($val) + { + $this->_propDict["inboundTotals"] = $val; + return $this; + } + /** + * Gets the runId + * The ID of the underlying run for the statistics. + * + * @return string|null The runId + */ + public function getRunId() + { + if (array_key_exists("runId", $this->_propDict)) { + return $this->_propDict["runId"]; + } else { + return null; + } + } + + /** + * Sets the runId + * The ID of the underlying run for the statistics. + * + * @param string $val The value of the runId + * + * @return IndustryDataRunStatistics + */ + public function setRunId($val) + { + $this->_propDict["runId"] = $val; + return $this; + } + + /** + * Gets the status + * The latest status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @return IndustryDataRunStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new IndustryDataRunStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The latest status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue. + * + * @param IndustryDataRunStatus $val The value to assign to the status + * + * @return IndustryDataRunStatistics The IndustryDataRunStatistics + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatus.php b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatus.php new file mode 100644 index 00000000000..768a2f58721 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/IndustryDataRunStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The code value for the definition that must be unique within the referenceType. + * + * @param string $val The code + * + * @return ReferenceDefinition + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the definition was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the definition was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The createdDateTime + * + * @return ReferenceDefinition + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isDisabled + * Indicates whether the definition has been disabled. + * + * @return bool|null The isDisabled + */ + public function getIsDisabled() + { + if (array_key_exists("isDisabled", $this->_propDict)) { + return $this->_propDict["isDisabled"]; + } else { + return null; + } + } + + /** + * Sets the isDisabled + * Indicates whether the definition has been disabled. + * + * @param bool $val The isDisabled + * + * @return ReferenceDefinition + */ + public function setIsDisabled($val) + { + $this->_propDict["isDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the definition was most recently changed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the definition was most recently changed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ReferenceDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the referenceType + * The categorical type for a collection of enumerated values. + * + * @return string|null The referenceType + */ + public function getReferenceType() + { + if (array_key_exists("referenceType", $this->_propDict)) { + return $this->_propDict["referenceType"]; + } else { + return null; + } + } + + /** + * Sets the referenceType + * The categorical type for a collection of enumerated values. + * + * @param string $val The referenceType + * + * @return ReferenceDefinition + */ + public function setReferenceType($val) + { + $this->_propDict["referenceType"] = $val; + return $this; + } + + /** + * Gets the sortIndex + * The ordering index to present the definitions within a type consistently in user interfaces. + * + * @return int|null The sortIndex + */ + public function getSortIndex() + { + if (array_key_exists("sortIndex", $this->_propDict)) { + return $this->_propDict["sortIndex"]; + } else { + return null; + } + } + + /** + * Sets the sortIndex + * The ordering index to present the definitions within a type consistently in user interfaces. + * + * @param int $val The sortIndex + * + * @return ReferenceDefinition + */ + public function setSortIndex($val) + { + $this->_propDict["sortIndex"] = intval($val); + return $this; + } + + /** + * Gets the source + * The standards body or organization source which defined the code. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * The standards body or organization source which defined the code. + * + * @param string $val The source + * + * @return ReferenceDefinition + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/ReferenceValue.php b/src/Beta/Microsoft/Graph/IndustryData/Model/ReferenceValue.php new file mode 100644 index 00000000000..d55ee56fc89 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/ReferenceValue.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The code of the desired referenceDefinition entry. + * + * @param string $val The value of the code + * + * @return ReferenceValue + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the value + * + * @return ReferenceDefinition|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\IndustryData\Model\ReferenceDefinition") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new ReferenceDefinition($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * + * @param ReferenceDefinition $val The value to assign to the value + * + * @return ReferenceValue The ReferenceValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/RoleGroup.php b/src/Beta/Microsoft/Graph/IndustryData/Model/RoleGroup.php new file mode 100644 index 00000000000..0ab41c5b3cf --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/RoleGroup.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the role group. + * + * @param string $val The displayName + * + * @return RoleGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the roles + * The set of roles included in the role group. + * + * @return array|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * The set of roles included in the role group. + * + * @param RoleReferenceValue[] $val The roles + * + * @return RoleGroup + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/RoleReferenceValue.php b/src/Beta/Microsoft/Graph/IndustryData/Model/RoleReferenceValue.php new file mode 100644 index 00000000000..a433d9cd6ce --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/RoleReferenceValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the source system. Maximum supported length is 100 characters. + * + * @param string $val The displayName + * + * @return SourceSystemDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the userMatchingSettings + * A collection of user matching settings by roleGroup. + * + * @return array|null The userMatchingSettings + */ + public function getUserMatchingSettings() + { + if (array_key_exists("userMatchingSettings", $this->_propDict)) { + return $this->_propDict["userMatchingSettings"]; + } else { + return null; + } + } + + /** + * Sets the userMatchingSettings + * A collection of user matching settings by roleGroup. + * + * @param UserMatchingSetting[] $val The userMatchingSettings + * + * @return SourceSystemDefinition + */ + public function setUserMatchingSettings($val) + { + $this->_propDict["userMatchingSettings"] = $val; + return $this; + } + + /** + * Gets the vendor + * The name of the vendor who supplies the source system. Maximum supported length is 100 characters. + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * The name of the vendor who supplies the source system. Maximum supported length is 100 characters. + * + * @param string $val The vendor + * + * @return SourceSystemDefinition + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/UserMatchTargetReferenceValue.php b/src/Beta/Microsoft/Graph/IndustryData/Model/UserMatchTargetReferenceValue.php new file mode 100644 index 00000000000..b01f64cc495 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/UserMatchTargetReferenceValue.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["matchTarget"], "\Beta\Microsoft\Graph\IndustryData\Model\UserMatchTargetReferenceValue") || is_null($this->_propDict["matchTarget"])) { + return $this->_propDict["matchTarget"]; + } else { + $this->_propDict["matchTarget"] = new UserMatchTargetReferenceValue($this->_propDict["matchTarget"]); + return $this->_propDict["matchTarget"]; + } + } + return null; + } + + /** + * Sets the matchTarget + * The RefUserMatchTarget for matching a user from the source with an Azure Active Directory user object. + * + * @param UserMatchTargetReferenceValue $val The value to assign to the matchTarget + * + * @return UserMatchingSetting The UserMatchingSetting + */ + public function setMatchTarget($val) + { + $this->_propDict["matchTarget"] = $val; + return $this; + } + /** + * Gets the priorityOrder + * The priority order to apply when a user has multiple RefRole codes assigned. + * + * @return int|null The priorityOrder + */ + public function getPriorityOrder() + { + if (array_key_exists("priorityOrder", $this->_propDict)) { + return $this->_propDict["priorityOrder"]; + } else { + return null; + } + } + + /** + * Sets the priorityOrder + * The priority order to apply when a user has multiple RefRole codes assigned. + * + * @param int $val The value of the priorityOrder + * + * @return UserMatchingSetting + */ + public function setPriorityOrder($val) + { + $this->_propDict["priorityOrder"] = $val; + return $this; + } + + /** + * Gets the sourceIdentifier + * The RefIdentifierType that uniquely identifies a user in the source data. + * + * @return IdentifierTypeReferenceValue|null The sourceIdentifier + */ + public function getSourceIdentifier() + { + if (array_key_exists("sourceIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["sourceIdentifier"], "\Beta\Microsoft\Graph\IndustryData\Model\IdentifierTypeReferenceValue") || is_null($this->_propDict["sourceIdentifier"])) { + return $this->_propDict["sourceIdentifier"]; + } else { + $this->_propDict["sourceIdentifier"] = new IdentifierTypeReferenceValue($this->_propDict["sourceIdentifier"]); + return $this->_propDict["sourceIdentifier"]; + } + } + return null; + } + + /** + * Sets the sourceIdentifier + * The RefIdentifierType that uniquely identifies a user in the source data. + * + * @param IdentifierTypeReferenceValue $val The value to assign to the sourceIdentifier + * + * @return UserMatchingSetting The UserMatchingSetting + */ + public function setSourceIdentifier($val) + { + $this->_propDict["sourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the roleGroup + * + * @return RoleGroup|null The roleGroup + */ + public function getRoleGroup() + { + if (array_key_exists("roleGroup", $this->_propDict)) { + if (is_a($this->_propDict["roleGroup"], "\Beta\Microsoft\Graph\IndustryData\Model\RoleGroup") || is_null($this->_propDict["roleGroup"])) { + return $this->_propDict["roleGroup"]; + } else { + $this->_propDict["roleGroup"] = new RoleGroup($this->_propDict["roleGroup"]); + return $this->_propDict["roleGroup"]; + } + } + return null; + } + + /** + * Sets the roleGroup + * + * @param RoleGroup $val The value to assign to the roleGroup + * + * @return UserMatchingSetting The UserMatchingSetting + */ + public function setRoleGroup($val) + { + $this->_propDict["roleGroup"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/ValidateOperation.php b/src/Beta/Microsoft/Graph/IndustryData/Model/ValidateOperation.php new file mode 100644 index 00000000000..7e1e89bd3c3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/ValidateOperation.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * Set of errors discovered through validation. + * + * @param \Beta\Microsoft\Graph\Model\PublicError[] $val The errors + * + * @return ValidateOperation + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + + + /** + * Gets the warnings + * Set of warnings discovered through validation. + * + * @return array|null The warnings + */ + public function getWarnings() + { + if (array_key_exists("warnings", $this->_propDict)) { + return $this->_propDict["warnings"]; + } else { + return null; + } + } + + /** + * Sets the warnings + * Set of warnings discovered through validation. + * + * @param \Beta\Microsoft\Graph\Model\PublicError[] $val The warnings + * + * @return ValidateOperation + */ + public function setWarnings($val) + { + $this->_propDict["warnings"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/IndustryData/Model/YearReferenceValue.php b/src/Beta/Microsoft/Graph/IndustryData/Model/YearReferenceValue.php new file mode 100644 index 00000000000..43f683397b4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/IndustryData/Model/YearReferenceValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the year. Maximum supported length is 100 characters. + * + * @param string $val The displayName + * + * @return YearTimePeriodDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDate + * The last day of the year using ISO 8601 format for date. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * The last day of the year using ISO 8601 format for date. + * + * @param \DateTime $val The endDate + * + * @return YearTimePeriodDefinition + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + + /** + * Gets the startDate + * The first day of the year using ISO 8601 format for date. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * The first day of the year using ISO 8601 format for date. + * + * @param \DateTime $val The startDate + * + * @return YearTimePeriodDefinition + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the year + * A pointer to a year entry in the referenceDefinition collection. + * + * @return YearReferenceValue|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + if (is_a($this->_propDict["year"], "\Beta\Microsoft\Graph\IndustryData\Model\YearReferenceValue") || is_null($this->_propDict["year"])) { + return $this->_propDict["year"]; + } else { + $this->_propDict["year"] = new YearReferenceValue($this->_propDict["year"]); + return $this->_propDict["year"]; + } + } + return null; + } + + /** + * Sets the year + * A pointer to a year entry in the referenceDefinition collection. + * + * @param YearReferenceValue $val The year + * + * @return YearTimePeriodDefinition + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php index 04d2a5b416b..566703c941a 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php @@ -169,6 +169,36 @@ public function setCatalogId($val) return $this; } + + /** + * Gets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. + * + * @return array|null The customExtensionCalloutInstances + */ + public function getCustomExtensionCalloutInstances() + { + if (array_key_exists("customExtensionCalloutInstances", $this->_propDict)) { + return $this->_propDict["customExtensionCalloutInstances"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment workflow. + * + * @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances + * + * @return AccessPackageAssignment + */ + public function setCustomExtensionCalloutInstances($val) + { + $this->_propDict["customExtensionCalloutInstances"] = $val; + return $this; + } + /** * Gets the expiredDateTime * 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 diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentPolicy.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentPolicy.php index 20a34d4dfde..45682d9db78 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentPolicy.php @@ -545,4 +545,34 @@ public function setCustomExtensionHandlers($val) return $this; } + + /** + * 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 + */ + public function getCustomExtensionStageSettings() + { + if (array_key_exists("customExtensionStageSettings", $this->_propDict)) { + return $this->_propDict["customExtensionStageSettings"]; + } else { + return null; + } + } + + /** + * 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 + * + * @return AccessPackageAssignmentPolicy + */ + public function setCustomExtensionStageSettings($val) + { + $this->_propDict["customExtensionStageSettings"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php index 6b27e81aa52..414206a31b2 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php @@ -121,6 +121,36 @@ public function setCreatedDateTime($val) } + /** + * Gets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment request workflow. + * + * @return array|null The customExtensionCalloutInstances + */ + public function getCustomExtensionCalloutInstances() + { + if (array_key_exists("customExtensionCalloutInstances", $this->_propDict)) { + return $this->_propDict["customExtensionCalloutInstances"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionCalloutInstances + * Information about all the custom extension calls that were made during the access package assignment request workflow. + * + * @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances + * + * @return AccessPackageAssignmentRequest + */ + public function setCustomExtensionCalloutInstances($val) + { + $this->_propDict["customExtensionCalloutInstances"] = $val; + return $this; + } + + /** * Gets the customExtensionHandlerInstances * A collection of custom workflow extension instances being run on an assignment request. Read-only. diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php new file mode 100644 index 00000000000..057de164551 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["customExtensionStageInstanceDetail"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionStageInstanceDetail + * Details for the callback. + * + * @param string $val The value of the customExtensionStageInstanceDetail + * + * @return AccessPackageAssignmentRequestCallbackData + */ + public function setCustomExtensionStageInstanceDetail($val) + { + $this->_propDict["customExtensionStageInstanceDetail"] = $val; + return $this; + } + /** + * Gets the customExtensionStageInstanceId + * Unique identifier of the callout to the custom extension. + * + * @return string|null The customExtensionStageInstanceId + */ + public function getCustomExtensionStageInstanceId() + { + if (array_key_exists("customExtensionStageInstanceId", $this->_propDict)) { + return $this->_propDict["customExtensionStageInstanceId"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionStageInstanceId + * Unique identifier of the callout to the custom extension. + * + * @param string $val The value of the customExtensionStageInstanceId + * + * @return AccessPackageAssignmentRequestCallbackData + */ + public function setCustomExtensionStageInstanceId($val) + { + $this->_propDict["customExtensionStageInstanceId"] = $val; + return $this; + } + + /** + * 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 + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * 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 + * + * @return AccessPackageAssignmentRequestCallbackData The AccessPackageAssignmentRequestCallbackData + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + /** + * 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 + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * 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 + * + * @return AccessPackageAssignmentRequestCallbackData + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestWorkflowExtension.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestWorkflowExtension.php new file mode 100644 index 00000000000..f9bdf46833f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestWorkflowExtension.php @@ -0,0 +1,184 @@ +_propDict)) { + if (is_a($this->_propDict["callbackConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionCallbackConfiguration") || is_null($this->_propDict["callbackConfiguration"])) { + return $this->_propDict["callbackConfiguration"]; + } else { + $this->_propDict["callbackConfiguration"] = new CustomExtensionCallbackConfiguration($this->_propDict["callbackConfiguration"]); + return $this->_propDict["callbackConfiguration"]; + } + } + return null; + } + + /** + * Sets the callbackConfiguration + * The callback configuration for a custom extension. + * + * @param CustomExtensionCallbackConfiguration $val The callbackConfiguration + * + * @return AccessPackageAssignmentRequestWorkflowExtension + */ + public function setCallbackConfiguration($val) + { + $this->_propDict["callbackConfiguration"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackageAssignmentRequestWorkflowExtension + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * When the object was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * When the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessPackageAssignmentRequestWorkflowExtension + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The userPrincipalName of the identity that last modified the object. + * + * @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 + * The userPrincipalName of the identity that last modified the object. + * + * @param string $val The lastModifiedBy + * + * @return AccessPackageAssignmentRequestWorkflowExtension + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * When the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * When the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AccessPackageAssignmentRequestWorkflowExtension + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentWorkflowExtension.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentWorkflowExtension.php new file mode 100644 index 00000000000..aee23b9427b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentWorkflowExtension.php @@ -0,0 +1,184 @@ +_propDict)) { + if (is_a($this->_propDict["callbackConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionCallbackConfiguration") || is_null($this->_propDict["callbackConfiguration"])) { + return $this->_propDict["callbackConfiguration"]; + } else { + $this->_propDict["callbackConfiguration"] = new CustomExtensionCallbackConfiguration($this->_propDict["callbackConfiguration"]); + return $this->_propDict["callbackConfiguration"]; + } + } + return null; + } + + /** + * Sets the callbackConfiguration + * The callback configuration for a custom extension. + * + * @param CustomExtensionCallbackConfiguration $val The callbackConfiguration + * + * @return AccessPackageAssignmentWorkflowExtension + */ + public function setCallbackConfiguration($val) + { + $this->_propDict["callbackConfiguration"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * The userPrincipalName of the user or identity of the subject that created this resource. Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackageAssignmentWorkflowExtension + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * When the entity was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * When the entity was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessPackageAssignmentWorkflowExtension + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The userPrincipalName of the identity that last modified the entity. + * + * @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 + * The userPrincipalName of the identity that last modified the entity. + * + * @param string $val The lastModifiedBy + * + * @return AccessPackageAssignmentWorkflowExtension + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * When the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * When the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AccessPackageAssignmentWorkflowExtension + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php b/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php index a0fdb1fa564..eec4d127eef 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php @@ -294,6 +294,36 @@ public function setModifiedDateTime($val) } + /** + * Gets the accessPackageCustomWorkflowExtensions + * The attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. + * + * @return array|null The accessPackageCustomWorkflowExtensions + */ + public function getAccessPackageCustomWorkflowExtensions() + { + if (array_key_exists("accessPackageCustomWorkflowExtensions", $this->_propDict)) { + return $this->_propDict["accessPackageCustomWorkflowExtensions"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageCustomWorkflowExtensions + * The attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. + * + * @param CustomCalloutExtension[] $val The accessPackageCustomWorkflowExtensions + * + * @return AccessPackageCatalog + */ + public function setAccessPackageCustomWorkflowExtensions($val) + { + $this->_propDict["accessPackageCustomWorkflowExtensions"] = $val; + return $this; + } + + /** * Gets the accessPackageResourceRoles * The roles in each resource in a catalog. Read-only. diff --git a/src/Beta/Microsoft/Graph/Model/AzureAdPopTokenAuthentication.php b/src/Beta/Microsoft/Graph/Model/AzureAdPopTokenAuthentication.php new file mode 100644 index 00000000000..375dd78409b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAdPopTokenAuthentication.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.azureAdPopTokenAuthentication"); + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionCallbackConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionCallbackConfiguration.php index 8d6c4dbca4a..20b0ff68939 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomExtensionCallbackConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionCallbackConfiguration.php @@ -26,7 +26,7 @@ class CustomExtensionCallbackConfiguration extends Entity /** * Gets the timeoutDuration - * Callback time out in ISO 8601 time duration. Accepted time durations are between five minutes to three hours. For example, PT5M for five minutes and PT3H for three hours. + * The maximum duration in ISO 8601 format that Azure AD will wait for a resume action for the callout it sent to the logic app. The valid range for custom extensions in lifecycle workflows is five minutes to three hours. The valid range for custom extensions in entitlement management is between 5 minutes and 14 days. For example, PT3H refers to three hours, P3D refers to three days, PT10M refers to ten minutes. * * @return \DateInterval|null The timeoutDuration */ @@ -45,7 +45,7 @@ public function getTimeoutDuration() /** * Sets the timeoutDuration - * Callback time out in ISO 8601 time duration. Accepted time durations are between five minutes to three hours. For example, PT5M for five minutes and PT3H for three hours. + * The maximum duration in ISO 8601 format that Azure AD will wait for a resume action for the callout it sent to the logic app. The valid range for custom extensions in lifecycle workflows is five minutes to three hours. The valid range for custom extensions in entitlement management is between 5 minutes and 14 days. For example, PT3H refers to three hours, P3D refers to three days, PT10M refers to ten minutes. * * @param \DateInterval $val The value to assign to the timeoutDuration * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstance.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstance.php new file mode 100644 index 00000000000..0cf2447b3ed --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstance.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["customExtensionId"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionId + * Identification of the custom extension that was triggered at this instance. + * + * @param string $val The value of the customExtensionId + * + * @return CustomExtensionCalloutInstance + */ + public function setCustomExtensionId($val) + { + $this->_propDict["customExtensionId"] = $val; + return $this; + } + /** + * Gets the detail + * Details provided by the logic app during the callback of the request instance. + * + * @return string|null The detail + */ + public function getDetail() + { + if (array_key_exists("detail", $this->_propDict)) { + return $this->_propDict["detail"]; + } else { + return null; + } + } + + /** + * Sets the detail + * Details provided by the logic app during the callback of the request instance. + * + * @param string $val The value of the detail + * + * @return CustomExtensionCalloutInstance + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + /** + * Gets the externalCorrelationId + * The unique run identifier for the logic app. + * + * @return string|null The externalCorrelationId + */ + public function getExternalCorrelationId() + { + if (array_key_exists("externalCorrelationId", $this->_propDict)) { + return $this->_propDict["externalCorrelationId"]; + } else { + return null; + } + } + + /** + * Sets the externalCorrelationId + * The unique run identifier for the logic app. + * + * @param string $val The value of the externalCorrelationId + * + * @return CustomExtensionCalloutInstance + */ + public function setExternalCorrelationId($val) + { + $this->_propDict["externalCorrelationId"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the callout instance. Read-only. + * + * @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 + * Unique identifier for the callout instance. Read-only. + * + * @param string $val The value of the id + * + * @return CustomExtensionCalloutInstance + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * 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 + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CustomExtensionCalloutInstanceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CustomExtensionCalloutInstanceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * 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 + * + * @return CustomExtensionCalloutInstance The CustomExtensionCalloutInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstanceStatus.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstanceStatus.php new file mode 100644 index 00000000000..71e962ddf1c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionCalloutInstanceStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * 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 + * + * @return CustomExtensionStageSetting + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the customExtension + * Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. + * + * @return CustomCalloutExtension|null The customExtension + */ + public function getCustomExtension() + { + if (array_key_exists("customExtension", $this->_propDict)) { + if (is_a($this->_propDict["customExtension"], "\Beta\Microsoft\Graph\Model\CustomCalloutExtension") || is_null($this->_propDict["customExtension"])) { + return $this->_propDict["customExtension"]; + } else { + $this->_propDict["customExtension"] = new CustomCalloutExtension($this->_propDict["customExtension"]); + return $this->_propDict["customExtension"]; + } + } + return null; + } + + /** + * Sets the customExtension + * Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. + * + * @param CustomCalloutExtension $val The customExtension + * + * @return CustomExtensionStageSetting + */ + public function setCustomExtension($val) + { + $this->_propDict["customExtension"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php index 2012b1f11ae..f5c1aec0911 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php @@ -60,7 +60,7 @@ public function setSettingInstance($val) /** * Gets the settingDefinitions - * List of related Setting Definitions. This property is read-only. + * List of related Setting Definitions * * @return array|null The settingDefinitions */ @@ -75,7 +75,7 @@ public function getSettingDefinitions() /** * Sets the settingDefinitions - * List of related Setting Definitions. This property is read-only. + * List of related Setting Definitions * * @param DeviceManagementConfigurationSettingDefinition[] $val The settingDefinitions * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index 45dc217d3c7..6e68147cf20 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, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, 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, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * 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/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/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 7dfa6735406..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. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. + * 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. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. + * 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. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * Value. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * Value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php b/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php index f6ae2010451..821f1c26ce9 100644 --- a/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php @@ -118,4 +118,32 @@ public function setSubscriptionId($val) $this->_propDict["subscriptionId"] = $val; return $this; } + /** + * Gets the url + * The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user. + * + * @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 + * The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user. + * + * @param string $val The value of the url + * + * @return LogicAppTriggerEndpointConfiguration + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } } 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/TeamworkTag.php b/src/Beta/Microsoft/Graph/Model/TeamworkTag.php index 852bd1c8328..1812763f620 100644 --- a/src/Beta/Microsoft/Graph/Model/TeamworkTag.php +++ b/src/Beta/Microsoft/Graph/Model/TeamworkTag.php @@ -26,7 +26,7 @@ class TeamworkTag extends Entity { /** * Gets the description - * Tag description as it will appear to the user in Microsoft Teams. + * Tag description as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @return string|null The description */ @@ -41,7 +41,7 @@ public function getDescription() /** * Sets the description - * Tag description as it will appear to the user in Microsoft Teams. + * Tag description as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @param string $val The description * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 57ce18ad449..d4c22d7e2ed 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -26,7 +26,7 @@ class User extends DirectoryObject { /** * Gets the signInActivity - * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but, not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.Note: There's a known issue with retrieving this property.This property is not returned for a user who has never signed in or last signed in before April 2020. + * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.There's a known issue with retrieving this property.This property is not returned for a user who has never signed in or last signed in before April 2020. * * @return SignInActivity|null The signInActivity */ @@ -45,7 +45,7 @@ public function getSignInActivity() /** * Sets the signInActivity - * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but, not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.Note: There's a known issue with retrieving this property.This property is not returned for a user who has never signed in or last signed in before April 2020. + * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.There's a known issue with retrieving this property.This property is not returned for a user who has never signed in or last signed in before April 2020. * * @param SignInActivity $val The signInActivity * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php index c94da025313..3f9dd145562 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php @@ -26,7 +26,6 @@ class EdiscoveryExportOperation extends CaseOperation { /** * Gets the azureBlobContainer - * The name of the Azure storage location where the export will be stored. This only applies to exports stored in your own Azure storage location. * * @return string|null The azureBlobContainer */ @@ -41,7 +40,6 @@ public function getAzureBlobContainer() /** * Sets the azureBlobContainer - * The name of the Azure storage location where the export will be stored. This only applies to exports stored in your own Azure storage location. * * @param string $val The azureBlobContainer * @@ -55,7 +53,6 @@ public function setAzureBlobContainer($val) /** * Gets the azureBlobToken - * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. * * @return string|null The azureBlobToken */ @@ -70,7 +67,6 @@ public function getAzureBlobToken() /** * Sets the azureBlobToken - * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. * * @param string $val The azureBlobToken * @@ -141,7 +137,7 @@ public function setExportFileMetadata($val) /** * Gets the exportOptions - * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30th, 2023. Going forward, the summary and load file are always included. * * @return ExportOptions|null The exportOptions */ @@ -160,7 +156,7 @@ public function getExportOptions() /** * Sets the exportOptions - * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30th, 2023. Going forward, the summary and load file are always included. * * @param ExportOptions $val The exportOptions * diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index d16b40c4984..86d232c83d9 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.91.0"; + const SDK_VERSION = "1.92.0"; // Define error constants const MAX_PAGE_SIZE = 999; diff --git a/src/Model/AuthorizationPolicy.php b/src/Model/AuthorizationPolicy.php index 351cab46055..15b34bb403c 100644 --- a/src/Model/AuthorizationPolicy.php +++ b/src/Model/AuthorizationPolicy.php @@ -144,6 +144,33 @@ public function setAllowInvitesFrom($val) return $this; } + /** + * Gets the allowUserConsentForRiskyApps + * + * @return bool|null The allowUserConsentForRiskyApps + */ + public function getAllowUserConsentForRiskyApps() + { + if (array_key_exists("allowUserConsentForRiskyApps", $this->_propDict)) { + return $this->_propDict["allowUserConsentForRiskyApps"]; + } else { + return null; + } + } + + /** + * Sets the allowUserConsentForRiskyApps + * + * @param bool $val The allowUserConsentForRiskyApps + * + * @return AuthorizationPolicy + */ + public function setAllowUserConsentForRiskyApps($val) + { + $this->_propDict["allowUserConsentForRiskyApps"] = boolval($val); + return $this; + } + /** * Gets the blockMsolPowerShell * To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph. diff --git a/src/Model/DeletedTeam.php b/src/Model/DeletedTeam.php index af22e7ce869..fb697b4a316 100644 --- a/src/Model/DeletedTeam.php +++ b/src/Model/DeletedTeam.php @@ -27,6 +27,7 @@ class DeletedTeam extends Entity /** * Gets the channels + * The channels that are either shared with this deleted team or created in this deleted team. * * @return array|null The channels */ @@ -41,6 +42,7 @@ public function getChannels() /** * Sets the channels + * The channels that are either shared with this deleted team or created in this deleted team. * * @param Channel[] $val The channels * diff --git a/src/Model/Teamwork.php b/src/Model/Teamwork.php index acaa45d96e9..c0386153314 100644 --- a/src/Model/Teamwork.php +++ b/src/Model/Teamwork.php @@ -55,6 +55,7 @@ public function setWorkforceIntegrations($val) /** * Gets the deletedTeams + * The deleted team. * * @return array|null The deletedTeams */ @@ -69,6 +70,7 @@ public function getDeletedTeams() /** * Sets the deletedTeams + * The deleted team. * * @param DeletedTeam[] $val The deletedTeams * diff --git a/src/Model/TeamworkTag.php b/src/Model/TeamworkTag.php index 9b691262a51..d39b4b45a49 100644 --- a/src/Model/TeamworkTag.php +++ b/src/Model/TeamworkTag.php @@ -26,7 +26,7 @@ class TeamworkTag extends Entity { /** * Gets the description - * The description of the tag as it will appear to the user in Microsoft Teams. + * The description of the tag as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @return string|null The description */ @@ -41,7 +41,7 @@ public function getDescription() /** * Sets the description - * The description of the tag as it will appear to the user in Microsoft Teams. + * The description of the tag as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @param string $val The description *