diff --git a/src/ExternalConnectors/Model/Acl.php b/src/ExternalConnectors/Model/Acl.php index db3d56d6a32..eaad0c3776f 100644 --- a/src/ExternalConnectors/Model/Acl.php +++ b/src/ExternalConnectors/Model/Acl.php @@ -91,7 +91,7 @@ public function setType($val) } /** * Gets the value - * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup + * The unique identifer of the identity. For Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup * * @return string|null The value */ @@ -106,7 +106,7 @@ public function getValue() /** * Sets the value - * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup + * The unique identifer of the identity. For Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup * * @param string $val The value of the value * diff --git a/src/Model/AgreementFileProperties.php b/src/Model/AgreementFileProperties.php index 394a2f264f1..95cbb7017a6 100644 --- a/src/Model/AgreementFileProperties.php +++ b/src/Model/AgreementFileProperties.php @@ -26,7 +26,7 @@ class AgreementFileProperties extends Entity { /** * Gets the createdDateTime - * The date time representing when the file 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. + * The date time representing when the file 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 */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date time representing when the file 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. + * The date time representing when the file 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 * @@ -150,7 +150,7 @@ public function setFileName($val) /** * Gets the isDefault - * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * If none of the languages matches the client preference, indicates whether this is the default agreement file. If none of the files are marked as default, the first one is treated as the default. Read-only. * * @return bool|null The isDefault */ @@ -165,7 +165,7 @@ public function getIsDefault() /** * Sets the isDefault - * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * If none of the languages matches the client preference, indicates whether this is the default agreement file. If none of the files are marked as default, the first one is treated as the default. Read-only. * * @param bool $val The isDefault * diff --git a/src/Model/ApiApplication.php b/src/Model/ApiApplication.php index 2c6d0833640..aeff3bc5c65 100644 --- a/src/Model/ApiApplication.php +++ b/src/Model/ApiApplication.php @@ -115,7 +115,7 @@ public function setOauth2PermissionScopes($val) /** * Gets the preAuthorizedApplications - * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * Lists the client applications that are preauthorized with the specified delegated permissions to access this application's APIs. Users aren't required to consent to any preauthorized application (for the permissions specified). However, any other permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. * * @return PreAuthorizedApplication|null The preAuthorizedApplications */ @@ -134,7 +134,7 @@ public function getPreAuthorizedApplications() /** * Sets the preAuthorizedApplications - * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * Lists the client applications that are preauthorized with the specified delegated permissions to access this application's APIs. Users aren't required to consent to any preauthorized application (for the permissions specified). However, any other permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. * * @param PreAuthorizedApplication $val The value to assign to the preAuthorizedApplications * diff --git a/src/Model/AppIdentity.php b/src/Model/AppIdentity.php index a44dd70d55f..f86345328ee 100644 --- a/src/Model/AppIdentity.php +++ b/src/Model/AppIdentity.php @@ -53,7 +53,7 @@ public function setAppId($val) } /** * Gets the displayName - * Refers to the Application Name displayed in the Azure Portal. + * Refers to the application name displayed in the Microsoft Entra admin center. * * @return string|null The displayName */ @@ -68,7 +68,7 @@ public function getDisplayName() /** * Sets the displayName - * Refers to the Application Name displayed in the Azure Portal. + * Refers to the application name displayed in the Microsoft Entra admin center. * * @param string $val The value of the displayName * diff --git a/src/Model/AssignmentScheduleFilterByCurrentUserOptions.php b/src/Model/AssignmentScheduleFilterByCurrentUserOptions.php new file mode 100644 index 00000000000..89f0195130b --- /dev/null +++ b/src/Model/AssignmentScheduleFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["privilegedAccess"], "\Microsoft\Graph\Model\PrivilegedAccessRoot") || is_null($this->_propDict["privilegedAccess"])) { + return $this->_propDict["privilegedAccess"]; + } else { + $this->_propDict["privilegedAccess"] = new PrivilegedAccessRoot($this->_propDict["privilegedAccess"]); + return $this->_propDict["privilegedAccess"]; + } + } + return null; + } + + /** + * Sets the privilegedAccess + * + * @param PrivilegedAccessRoot $val The privilegedAccess + * + * @return IdentityGovernance + */ + public function setPrivilegedAccess($val) + { + $this->_propDict["privilegedAccess"] = $val; + return $this; + } + /** * Gets the ODataType * diff --git a/src/Model/IdentityUserFlowAttribute.php b/src/Model/IdentityUserFlowAttribute.php index 365ee6f1936..3b2189e9427 100644 --- a/src/Model/IdentityUserFlowAttribute.php +++ b/src/Model/IdentityUserFlowAttribute.php @@ -26,7 +26,7 @@ class IdentityUserFlowAttribute extends Entity { /** * Gets the dataType - * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime. + * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). * * @return IdentityUserFlowAttributeDataType|null The dataType */ @@ -45,7 +45,7 @@ public function getDataType() /** * Sets the dataType - * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime. + * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). * * @param IdentityUserFlowAttributeDataType $val The dataType * @@ -88,7 +88,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name of the user flow attribute. + * The display name of the user flow attribute. Supports $filter (eq, ne). * * @return string|null The displayName */ @@ -103,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the user flow attribute. + * The display name of the user flow attribute. Supports $filter (eq, ne). * * @param string $val The displayName * @@ -117,7 +117,7 @@ public function setDisplayName($val) /** * Gets the userFlowAttributeType - * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). * * @return IdentityUserFlowAttributeType|null The userFlowAttributeType */ @@ -136,7 +136,7 @@ public function getUserFlowAttributeType() /** * Sets the userFlowAttributeType - * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). * * @param IdentityUserFlowAttributeType $val The userFlowAttributeType * diff --git a/src/Model/InsightIdentity.php b/src/Model/InsightIdentity.php index 269a6b0484c..ceaaa0f62bb 100644 --- a/src/Model/InsightIdentity.php +++ b/src/Model/InsightIdentity.php @@ -81,7 +81,7 @@ public function setDisplayName($val) } /** * Gets the id - * The id of the user who shared the item. + * The ID of the user who shared the item. * * @return string|null The id */ @@ -96,7 +96,7 @@ public function getId() /** * Sets the id - * The id of the user who shared the item. + * The ID of the user who shared the item. * * @param string $val The value of the id * diff --git a/src/Model/Pkcs12CertificateInformation.php b/src/Model/Pkcs12CertificateInformation.php index 60cc7aca5b5..fbb0ba36c00 100644 --- a/src/Model/Pkcs12CertificateInformation.php +++ b/src/Model/Pkcs12CertificateInformation.php @@ -25,7 +25,7 @@ class Pkcs12CertificateInformation extends Entity { /** * Gets the isActive - * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate which is not yet expired but whose notBefore time is in the past. + * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate that isn't yet expired but whose notBefore time is in the past. * * @return bool|null The isActive */ @@ -40,7 +40,7 @@ public function getIsActive() /** * Sets the isActive - * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate which is not yet expired but whose notBefore time is in the past. + * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate that isn't yet expired but whose notBefore time is in the past. * * @param bool $val The value of the isActive * diff --git a/src/Model/PlannerPlan.php b/src/Model/PlannerPlan.php index 9cb06b8e749..55b40f832ac 100644 --- a/src/Model/PlannerPlan.php +++ b/src/Model/PlannerPlan.php @@ -26,7 +26,7 @@ class PlannerPlan extends Entity { /** * Gets the container - * Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it is set, this property can’t be updated. Required. + * Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it's set, this property can’t be updated. Required. * * @return PlannerPlanContainer|null The container */ @@ -45,7 +45,7 @@ public function getContainer() /** * Sets the container - * Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it is set, this property can’t be updated. Required. + * Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it's set, this property can’t be updated. Required. * * @param PlannerPlanContainer $val The container * @@ -211,7 +211,7 @@ public function setBuckets($val) /** * Gets the details - * Read-only. Nullable. Additional details about the plan. + * Read-only. Nullable. Extra details about the plan. * * @return PlannerPlanDetails|null The details */ @@ -230,7 +230,7 @@ public function getDetails() /** * Sets the details - * Read-only. Nullable. Additional details about the plan. + * Read-only. Nullable. Extra details about the plan. * * @param PlannerPlanDetails $val The details * diff --git a/src/Model/PrintTaskTrigger.php b/src/Model/PrintTaskTrigger.php index 8ed4691036b..7b09e29482d 100644 --- a/src/Model/PrintTaskTrigger.php +++ b/src/Model/PrintTaskTrigger.php @@ -26,7 +26,7 @@ class PrintTaskTrigger extends Entity { /** * Gets the event - * The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table. + * The Universal Print event that causes a new printTask to be triggered. Valid values are described in the following table. * * @return PrintEvent|null The event */ @@ -45,7 +45,7 @@ public function getEvent() /** * Sets the event - * The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table. + * The Universal Print event that causes a new printTask to be triggered. Valid values are described in the following table. * * @param PrintEvent $val The event * @@ -59,7 +59,7 @@ public function setEvent($val) /** * Gets the definition - * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * An abstract definition that is used to create a printTask when triggered by a print event. Read-only. * * @return PrintTaskDefinition|null The definition */ @@ -78,7 +78,7 @@ public function getDefinition() /** * Sets the definition - * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * An abstract definition that is used to create a printTask when triggered by a print event. Read-only. * * @param PrintTaskDefinition $val The definition * diff --git a/src/Model/PrinterBase.php b/src/Model/PrinterBase.php index d496b8a7864..cee4a0a1c83 100644 --- a/src/Model/PrinterBase.php +++ b/src/Model/PrinterBase.php @@ -121,7 +121,7 @@ public function setDisplayName($val) /** * Gets the isAcceptingJobs - * Whether the printer/printerShare is currently accepting new print jobs. + * Specifies whether the printer/printerShare is currently accepting new print jobs. * * @return bool|null The isAcceptingJobs */ @@ -136,7 +136,7 @@ public function getIsAcceptingJobs() /** * Sets the isAcceptingJobs - * Whether the printer/printerShare is currently accepting new print jobs. + * Specifies whether the printer/printerShare is currently accepting new print jobs. * * @param bool $val The isAcceptingJobs * diff --git a/src/Model/PrivilegedAccessGroup.php b/src/Model/PrivilegedAccessGroup.php new file mode 100644 index 00000000000..ae077906743 --- /dev/null +++ b/src/Model/PrivilegedAccessGroup.php @@ -0,0 +1,223 @@ +_propDict)) { + return $this->_propDict["assignmentApprovals"]; + } else { + return null; + } + } + + /** + * Sets the assignmentApprovals + * + * @param Approval[] $val The assignmentApprovals + * + * @return PrivilegedAccessGroup + */ + public function setAssignmentApprovals($val) + { + $this->_propDict["assignmentApprovals"] = $val; + return $this; + } + + + /** + * Gets the assignmentScheduleInstances + * + * @return array|null The assignmentScheduleInstances + */ + public function getAssignmentScheduleInstances() + { + if (array_key_exists("assignmentScheduleInstances", $this->_propDict)) { + return $this->_propDict["assignmentScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the assignmentScheduleInstances + * + * @param PrivilegedAccessGroupAssignmentScheduleInstance[] $val The assignmentScheduleInstances + * + * @return PrivilegedAccessGroup + */ + public function setAssignmentScheduleInstances($val) + { + $this->_propDict["assignmentScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the assignmentScheduleRequests + * + * @return array|null The assignmentScheduleRequests + */ + public function getAssignmentScheduleRequests() + { + if (array_key_exists("assignmentScheduleRequests", $this->_propDict)) { + return $this->_propDict["assignmentScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the assignmentScheduleRequests + * + * @param PrivilegedAccessGroupAssignmentScheduleRequest[] $val The assignmentScheduleRequests + * + * @return PrivilegedAccessGroup + */ + public function setAssignmentScheduleRequests($val) + { + $this->_propDict["assignmentScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the assignmentSchedules + * + * @return array|null The assignmentSchedules + */ + public function getAssignmentSchedules() + { + if (array_key_exists("assignmentSchedules", $this->_propDict)) { + return $this->_propDict["assignmentSchedules"]; + } else { + return null; + } + } + + /** + * Sets the assignmentSchedules + * + * @param PrivilegedAccessGroupAssignmentSchedule[] $val The assignmentSchedules + * + * @return PrivilegedAccessGroup + */ + public function setAssignmentSchedules($val) + { + $this->_propDict["assignmentSchedules"] = $val; + return $this; + } + + + /** + * Gets the eligibilityScheduleInstances + * + * @return array|null The eligibilityScheduleInstances + */ + public function getEligibilityScheduleInstances() + { + if (array_key_exists("eligibilityScheduleInstances", $this->_propDict)) { + return $this->_propDict["eligibilityScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the eligibilityScheduleInstances + * + * @param PrivilegedAccessGroupEligibilityScheduleInstance[] $val The eligibilityScheduleInstances + * + * @return PrivilegedAccessGroup + */ + public function setEligibilityScheduleInstances($val) + { + $this->_propDict["eligibilityScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the eligibilityScheduleRequests + * + * @return array|null The eligibilityScheduleRequests + */ + public function getEligibilityScheduleRequests() + { + if (array_key_exists("eligibilityScheduleRequests", $this->_propDict)) { + return $this->_propDict["eligibilityScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the eligibilityScheduleRequests + * + * @param PrivilegedAccessGroupEligibilityScheduleRequest[] $val The eligibilityScheduleRequests + * + * @return PrivilegedAccessGroup + */ + public function setEligibilityScheduleRequests($val) + { + $this->_propDict["eligibilityScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the eligibilitySchedules + * + * @return array|null The eligibilitySchedules + */ + public function getEligibilitySchedules() + { + if (array_key_exists("eligibilitySchedules", $this->_propDict)) { + return $this->_propDict["eligibilitySchedules"]; + } else { + return null; + } + } + + /** + * Sets the eligibilitySchedules + * + * @param PrivilegedAccessGroupEligibilitySchedule[] $val The eligibilitySchedules + * + * @return PrivilegedAccessGroup + */ + public function setEligibilitySchedules($val) + { + $this->_propDict["eligibilitySchedules"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupAssignmentSchedule.php b/src/Model/PrivilegedAccessGroupAssignmentSchedule.php new file mode 100644 index 00000000000..f8765e78b66 --- /dev/null +++ b/src/Model/PrivilegedAccessGroupAssignmentSchedule.php @@ -0,0 +1,267 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the assignmentType + * + * @return PrivilegedAccessGroupAssignmentType|null The assignmentType + */ + public function getAssignmentType() + { + if (array_key_exists("assignmentType", $this->_propDict)) { + if (is_a($this->_propDict["assignmentType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupAssignmentType") || is_null($this->_propDict["assignmentType"])) { + return $this->_propDict["assignmentType"]; + } else { + $this->_propDict["assignmentType"] = new PrivilegedAccessGroupAssignmentType($this->_propDict["assignmentType"]); + return $this->_propDict["assignmentType"]; + } + } + return null; + } + + /** + * Sets the assignmentType + * + * @param PrivilegedAccessGroupAssignmentType $val The assignmentType + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the memberType + * + * @return PrivilegedAccessGroupMemberType|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + if (is_a($this->_propDict["memberType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) { + return $this->_propDict["memberType"]; + } else { + $this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]); + return $this->_propDict["memberType"]; + } + } + return null; + } + + /** + * Sets the memberType + * + * @param PrivilegedAccessGroupMemberType $val The memberType + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * + * @return PrivilegedAccessGroupEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * + * @param PrivilegedAccessGroupEligibilitySchedule $val The activatedUsing + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupAssignmentSchedule + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php b/src/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php new file mode 100644 index 00000000000..910e972d163 --- /dev/null +++ b/src/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php @@ -0,0 +1,294 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the assignmentScheduleId + * + * @return string|null The assignmentScheduleId + */ + public function getAssignmentScheduleId() + { + if (array_key_exists("assignmentScheduleId", $this->_propDict)) { + return $this->_propDict["assignmentScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the assignmentScheduleId + * + * @param string $val The assignmentScheduleId + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setAssignmentScheduleId($val) + { + $this->_propDict["assignmentScheduleId"] = $val; + return $this; + } + + /** + * Gets the assignmentType + * + * @return PrivilegedAccessGroupAssignmentType|null The assignmentType + */ + public function getAssignmentType() + { + if (array_key_exists("assignmentType", $this->_propDict)) { + if (is_a($this->_propDict["assignmentType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupAssignmentType") || is_null($this->_propDict["assignmentType"])) { + return $this->_propDict["assignmentType"]; + } else { + $this->_propDict["assignmentType"] = new PrivilegedAccessGroupAssignmentType($this->_propDict["assignmentType"]); + return $this->_propDict["assignmentType"]; + } + } + return null; + } + + /** + * Sets the assignmentType + * + * @param PrivilegedAccessGroupAssignmentType $val The assignmentType + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the memberType + * + * @return PrivilegedAccessGroupMemberType|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + if (is_a($this->_propDict["memberType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) { + return $this->_propDict["memberType"]; + } else { + $this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]); + return $this->_propDict["memberType"]; + } + } + return null; + } + + /** + * Sets the memberType + * + * @param PrivilegedAccessGroupMemberType $val The memberType + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilityScheduleInstance") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilityScheduleInstance($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * + * @param PrivilegedAccessGroupEligibilityScheduleInstance $val The activatedUsing + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupAssignmentScheduleInstance + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupAssignmentScheduleRequest.php b/src/Model/PrivilegedAccessGroupAssignmentScheduleRequest.php new file mode 100644 index 00000000000..2894b337684 --- /dev/null +++ b/src/Model/PrivilegedAccessGroupAssignmentScheduleRequest.php @@ -0,0 +1,263 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * + * @param string $val The targetScheduleId + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * + * @return PrivilegedAccessGroupEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * + * @param PrivilegedAccessGroupEligibilitySchedule $val The activatedUsing + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * + * @return PrivilegedAccessGroupEligibilitySchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * + * @param PrivilegedAccessGroupEligibilitySchedule $val The targetSchedule + * + * @return PrivilegedAccessGroupAssignmentScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupAssignmentType.php b/src/Model/PrivilegedAccessGroupAssignmentType.php new file mode 100644 index 00000000000..80e25ea140e --- /dev/null +++ b/src/Model/PrivilegedAccessGroupAssignmentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the memberType + * + * @return PrivilegedAccessGroupMemberType|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + if (is_a($this->_propDict["memberType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) { + return $this->_propDict["memberType"]; + } else { + $this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]); + return $this->_propDict["memberType"]; + } + } + return null; + } + + /** + * Sets the memberType + * + * @param PrivilegedAccessGroupMemberType $val The memberType + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupEligibilitySchedule + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php b/src/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php new file mode 100644 index 00000000000..e9b8a067226 --- /dev/null +++ b/src/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php @@ -0,0 +1,232 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the eligibilityScheduleId + * + * @return string|null The eligibilityScheduleId + */ + public function getEligibilityScheduleId() + { + if (array_key_exists("eligibilityScheduleId", $this->_propDict)) { + return $this->_propDict["eligibilityScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the eligibilityScheduleId + * + * @param string $val The eligibilityScheduleId + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setEligibilityScheduleId($val) + { + $this->_propDict["eligibilityScheduleId"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the memberType + * + * @return PrivilegedAccessGroupMemberType|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + if (is_a($this->_propDict["memberType"], "\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) { + return $this->_propDict["memberType"]; + } else { + $this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]); + return $this->_propDict["memberType"]; + } + } + return null; + } + + /** + * Sets the memberType + * + * @param PrivilegedAccessGroupMemberType $val The memberType + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupEligibilityScheduleInstance + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupEligibilityScheduleRequest.php b/src/Model/PrivilegedAccessGroupEligibilityScheduleRequest.php new file mode 100644 index 00000000000..5d2342b32e2 --- /dev/null +++ b/src/Model/PrivilegedAccessGroupEligibilityScheduleRequest.php @@ -0,0 +1,232 @@ +_propDict)) { + if (is_a($this->_propDict["accessId"], "\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) { + return $this->_propDict["accessId"]; + } else { + $this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]); + return $this->_propDict["accessId"]; + } + } + return null; + } + + /** + * Sets the accessId + * + * @param PrivilegedAccessGroupRelationships $val The accessId + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setAccessId($val) + { + $this->_propDict["accessId"] = $val; + return $this; + } + + /** + * Gets the groupId + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The groupId + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the principalId + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * + * @param string $val The principalId + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * + * @param string $val The targetScheduleId + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the principal + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * + * @param DirectoryObject $val The principal + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * + * @return PrivilegedAccessGroupEligibilitySchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * + * @param PrivilegedAccessGroupEligibilitySchedule $val The targetSchedule + * + * @return PrivilegedAccessGroupEligibilityScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessGroupMemberType.php b/src/Model/PrivilegedAccessGroupMemberType.php new file mode 100644 index 00000000000..812f37bb94d --- /dev/null +++ b/src/Model/PrivilegedAccessGroupMemberType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\PrivilegedAccessGroup") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new PrivilegedAccessGroup($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param PrivilegedAccessGroup $val The group + * + * @return PrivilegedAccessRoot + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessSchedule.php b/src/Model/PrivilegedAccessSchedule.php new file mode 100644 index 00000000000..239f8dd11df --- /dev/null +++ b/src/Model/PrivilegedAccessSchedule.php @@ -0,0 +1,174 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return PrivilegedAccessSchedule + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the createdUsing + * + * @return string|null The createdUsing + */ + public function getCreatedUsing() + { + if (array_key_exists("createdUsing", $this->_propDict)) { + return $this->_propDict["createdUsing"]; + } else { + return null; + } + } + + /** + * Sets the createdUsing + * + * @param string $val The createdUsing + * + * @return PrivilegedAccessSchedule + */ + public function setCreatedUsing($val) + { + $this->_propDict["createdUsing"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * + * @param \DateTime $val The modifiedDateTime + * + * @return PrivilegedAccessSchedule + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * + * @param RequestSchedule $val The scheduleInfo + * + * @return PrivilegedAccessSchedule + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return PrivilegedAccessSchedule + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessScheduleInstance.php b/src/Model/PrivilegedAccessScheduleInstance.php new file mode 100644 index 00000000000..4e96b64bf9c --- /dev/null +++ b/src/Model/PrivilegedAccessScheduleInstance.php @@ -0,0 +1,89 @@ +_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 + * + * @param \DateTime $val The endDateTime + * + * @return PrivilegedAccessScheduleInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The startDateTime + * + * @return PrivilegedAccessScheduleInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/src/Model/PrivilegedAccessScheduleRequest.php b/src/Model/PrivilegedAccessScheduleRequest.php new file mode 100644 index 00000000000..990bf19de35 --- /dev/null +++ b/src/Model/PrivilegedAccessScheduleRequest.php @@ -0,0 +1,174 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\ScheduleRequestActions") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new ScheduleRequestActions($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param ScheduleRequestActions $val The action + * + * @return PrivilegedAccessScheduleRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * + * @param bool $val The isValidationOnly + * + * @return PrivilegedAccessScheduleRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * + * @return string|null The justification + */ + public function getJustification() + { + if (array_key_exists("justification", $this->_propDict)) { + return $this->_propDict["justification"]; + } else { + return null; + } + } + + /** + * Sets the justification + * + * @param string $val The justification + * + * @return PrivilegedAccessScheduleRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * + * @param RequestSchedule $val The scheduleInfo + * + * @return PrivilegedAccessScheduleRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * + * @param TicketInfo $val The ticketInfo + * + * @return PrivilegedAccessScheduleRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + +} diff --git a/src/Model/ResellerDelegatedAdminRelationship.php b/src/Model/ResellerDelegatedAdminRelationship.php new file mode 100644 index 00000000000..bf225119d80 --- /dev/null +++ b/src/Model/ResellerDelegatedAdminRelationship.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["indirectProviderTenantId"]; + } else { + return null; + } + } + + /** + * Sets the indirectProviderTenantId + * The tenant ID of the indirect provider partner who created the relationship for the indirect reseller partner. + * + * @param string $val The indirectProviderTenantId + * + * @return ResellerDelegatedAdminRelationship + */ + public function setIndirectProviderTenantId($val) + { + $this->_propDict["indirectProviderTenantId"] = $val; + return $this; + } + + /** + * Gets the isPartnerConsentPending + * Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. + * + * @return bool|null The isPartnerConsentPending + */ + public function getIsPartnerConsentPending() + { + if (array_key_exists("isPartnerConsentPending", $this->_propDict)) { + return $this->_propDict["isPartnerConsentPending"]; + } else { + return null; + } + } + + /** + * Sets the isPartnerConsentPending + * Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. + * + * @param bool $val The isPartnerConsentPending + * + * @return ResellerDelegatedAdminRelationship + */ + public function setIsPartnerConsentPending($val) + { + $this->_propDict["isPartnerConsentPending"] = boolval($val); + return $this; + } + +} diff --git a/src/Model/ResourceVisualization.php b/src/Model/ResourceVisualization.php index 26a93f43cd1..fe942819cd5 100644 --- a/src/Model/ResourceVisualization.php +++ b/src/Model/ResourceVisualization.php @@ -109,7 +109,7 @@ public function setContainerWebUrl($val) } /** * Gets the mediaType - * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Not all Media Mime Types are supported. * * @return string|null The mediaType */ @@ -124,7 +124,7 @@ public function getMediaType() /** * Sets the mediaType - * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Not all Media Mime Types are supported. * * @param string $val The value of the mediaType * @@ -221,7 +221,7 @@ public function setTitle($val) } /** * Gets the type - * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * The item's media type. Can be used for filtering for a specific file based on a specific type. See the section Type property values for supported types. * * @return string|null The type */ @@ -236,7 +236,7 @@ public function getType() /** * Sets the type - * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * The item's media type. Can be used for filtering for a specific file based on a specific type. See the section Type property values for supported types. * * @param string $val The value of the type * diff --git a/src/Model/ScheduleRequestActions.php b/src/Model/ScheduleRequestActions.php new file mode 100644 index 00000000000..450a564bd39 --- /dev/null +++ b/src/Model/ScheduleRequestActions.php @@ -0,0 +1,42 @@ +_propDict)) { - if (is_a($this->_propDict["mailboxlocations"], "\Microsoft\Graph\Model\SubjectRightsRequestMailboxLocation") || is_null($this->_propDict["mailboxlocations"])) { - return $this->_propDict["mailboxlocations"]; + if (array_key_exists("mailboxLocations", $this->_propDict)) { + if (is_a($this->_propDict["mailboxLocations"], "\Microsoft\Graph\Model\SubjectRightsRequestMailboxLocation") || is_null($this->_propDict["mailboxLocations"])) { + return $this->_propDict["mailboxLocations"]; } else { - $this->_propDict["mailboxlocations"] = new SubjectRightsRequestMailboxLocation($this->_propDict["mailboxlocations"]); - return $this->_propDict["mailboxlocations"]; + $this->_propDict["mailboxLocations"] = new SubjectRightsRequestMailboxLocation($this->_propDict["mailboxLocations"]); + return $this->_propDict["mailboxLocations"]; } } return null; } /** - * Sets the mailboxlocations + * Sets the mailboxLocations * - * @param SubjectRightsRequestMailboxLocation $val The mailboxlocations + * @param SubjectRightsRequestMailboxLocation $val The mailboxLocations * * @return SubjectRightsRequest */ - public function setMailboxlocations($val) + public function setMailboxLocations($val) { - $this->_propDict["mailboxlocations"] = $val; + $this->_propDict["mailboxLocations"] = $val; return $this; } @@ -638,33 +638,33 @@ public function setRegulations($val) } /** - * Gets the sitelocations + * Gets the siteLocations * - * @return SubjectRightsRequestSiteLocation|null The sitelocations + * @return SubjectRightsRequestSiteLocation|null The siteLocations */ - public function getSitelocations() + public function getSiteLocations() { - if (array_key_exists("sitelocations", $this->_propDict)) { - if (is_a($this->_propDict["sitelocations"], "\Microsoft\Graph\Model\SubjectRightsRequestSiteLocation") || is_null($this->_propDict["sitelocations"])) { - return $this->_propDict["sitelocations"]; + if (array_key_exists("siteLocations", $this->_propDict)) { + if (is_a($this->_propDict["siteLocations"], "\Microsoft\Graph\Model\SubjectRightsRequestSiteLocation") || is_null($this->_propDict["siteLocations"])) { + return $this->_propDict["siteLocations"]; } else { - $this->_propDict["sitelocations"] = new SubjectRightsRequestSiteLocation($this->_propDict["sitelocations"]); - return $this->_propDict["sitelocations"]; + $this->_propDict["siteLocations"] = new SubjectRightsRequestSiteLocation($this->_propDict["siteLocations"]); + return $this->_propDict["siteLocations"]; } } return null; } /** - * Sets the sitelocations + * Sets the siteLocations * - * @param SubjectRightsRequestSiteLocation $val The sitelocations + * @param SubjectRightsRequestSiteLocation $val The siteLocations * * @return SubjectRightsRequest */ - public function setSitelocations($val) + public function setSiteLocations($val) { - $this->_propDict["sitelocations"] = $val; + $this->_propDict["siteLocations"] = $val; return $this; } diff --git a/src/Model/SynchronizationJobRestartCriteria.php b/src/Model/SynchronizationJobRestartCriteria.php index b6ee1cd4b59..82ddd7347aa 100644 --- a/src/Model/SynchronizationJobRestartCriteria.php +++ b/src/Model/SynchronizationJobRestartCriteria.php @@ -26,7 +26,7 @@ class SynchronizationJobRestartCriteria extends Entity /** * Gets the resetScope - * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Azure portal. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. + * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. * * @return SynchronizationJobRestartScope|null The resetScope */ @@ -45,7 +45,7 @@ public function getResetScope() /** * Sets the resetScope - * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Azure portal. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. + * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. * * @param SynchronizationJobRestartScope $val The value to assign to the resetScope * diff --git a/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php b/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php index 3ff2998c4f9..95813842ac1 100644 --- a/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php +++ b/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php @@ -55,7 +55,7 @@ public function setClaimValue($val) /** * Gets the isEnabled - * Whether this rule is enabled. + * Determines whether this rule is enabled. * * @return bool|null The isEnabled */ @@ -70,7 +70,7 @@ public function getIsEnabled() /** * Sets the isEnabled - * Whether this rule is enabled. + * Determines whether this rule is enabled. * * @param bool $val The isEnabled * diff --git a/src/Model/User.php b/src/Model/User.php index 0279dcf1e94..31ae331eb5f 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -2600,7 +2600,7 @@ public function setOwnedObjects($val) /** * Gets the registeredDevices - * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. * * @return array|null The registeredDevices */ @@ -2615,7 +2615,7 @@ public function getRegisteredDevices() /** * Sets the registeredDevices - * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. * * @param DirectoryObject[] $val The registeredDevices * diff --git a/src/Model/WorkbookRangeView.php b/src/Model/WorkbookRangeView.php index 6d33926044c..fd9d0057fce 100644 --- a/src/Model/WorkbookRangeView.php +++ b/src/Model/WorkbookRangeView.php @@ -258,7 +258,7 @@ public function setRowCount($val) /** * Gets the text - * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. * * @return string|null The text */ @@ -273,7 +273,7 @@ public function getText() /** * Sets the text - * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. * * @param string $val The text * @@ -287,7 +287,7 @@ public function setText($val) /** * Gets the values - * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. * * @return string|null The values */ @@ -302,7 +302,7 @@ public function getValues() /** * Sets the values - * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. * * @param string $val The values * diff --git a/src/SecurityNamespace/Model/Incident.php b/src/SecurityNamespace/Model/Incident.php index 7fe9a28fdf6..bc8f649e51d 100644 --- a/src/SecurityNamespace/Model/Incident.php +++ b/src/SecurityNamespace/Model/Incident.php @@ -178,6 +178,33 @@ public function setCustomTags($val) return $this; } + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return Incident + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** * Gets the determination * Specifies the determination of the incident. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue. @@ -424,6 +451,33 @@ public function setStatus($val) return $this; } + /** + * Gets the systemTags + * + * @return array|null The systemTags + */ + public function getSystemTags() + { + if (array_key_exists("systemTags", $this->_propDict)) { + return $this->_propDict["systemTags"]; + } else { + return null; + } + } + + /** + * Sets the systemTags + * + * @param string[] $val The systemTags + * + * @return Incident + */ + public function setSystemTags($val) + { + $this->_propDict["systemTags"] = $val; + return $this; + } + /** * Gets the tenantId * The Azure Active Directory tenant in which the alert was created. diff --git a/src/SecurityNamespace/Model/IpEvidence.php b/src/SecurityNamespace/Model/IpEvidence.php index 2bb97c3a47b..6d020bdee03 100644 --- a/src/SecurityNamespace/Model/IpEvidence.php +++ b/src/SecurityNamespace/Model/IpEvidence.php @@ -25,7 +25,7 @@ class IpEvidence extends AlertEvidence { /** * Gets the countryLetterCode - * The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc..). + * The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc. * * @return string|null The countryLetterCode */ @@ -40,7 +40,7 @@ public function getCountryLetterCode() /** * Sets the countryLetterCode - * The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc..). + * The two-letter country code according to ISO 3166 format, for example: US, UK, CA, etc. * * @param string $val The value of the countryLetterCode *