_propDict)) { return $this->_propDict["status"]; } else { return null; } } /** * Sets the status * The status of the role assignment request. The value can be InProgress or Closed. * * @param string $val The value of the status * * @return GovernanceRoleAssignmentRequestStatus */ public function setStatus($val) { $this->_propDict["status"] = $val; return $this; } /** * Gets the statusDetails * The details of the status of the role assignment request. It represents the evaluation results of different rules. * * @return KeyValue|null The statusDetails */ public function getStatusDetails() { if (array_key_exists("statusDetails", $this->_propDict)) { if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["statusDetails"])) { return $this->_propDict["statusDetails"]; } else { $this->_propDict["statusDetails"] = new KeyValue($this->_propDict["statusDetails"]); return $this->_propDict["statusDetails"]; } } return null; } /** * Sets the statusDetails * The details of the status of the role assignment request. It represents the evaluation results of different rules. * * @param KeyValue $val The value to assign to the statusDetails * * @return GovernanceRoleAssignmentRequestStatus The GovernanceRoleAssignmentRequestStatus */ public function setStatusDetails($val) { $this->_propDict["statusDetails"] = $val; return $this; } /** * Gets the subStatus * The sub status of the role assignment request. The values can be Accepted, PendingEvaluation, Granted, Denied, PendingProvisioning, Provisioned, PendingRevocation, Revoked, Canceled, Failed, PendingApprovalProvisioning, PendingApproval, FailedAsResourceIsLocked, PendingAdminDecision, AdminApproved, AdminDenied, TimedOut, and ProvisioningStarted. * * @return string|null The subStatus */ public function getSubStatus() { if (array_key_exists("subStatus", $this->_propDict)) { return $this->_propDict["subStatus"]; } else { return null; } } /** * Sets the subStatus * The sub status of the role assignment request. The values can be Accepted, PendingEvaluation, Granted, Denied, PendingProvisioning, Provisioned, PendingRevocation, Revoked, Canceled, Failed, PendingApprovalProvisioning, PendingApproval, FailedAsResourceIsLocked, PendingAdminDecision, AdminApproved, AdminDenied, TimedOut, and ProvisioningStarted. * * @param string $val The value of the subStatus * * @return GovernanceRoleAssignmentRequestStatus */ public function setSubStatus($val) { $this->_propDict["subStatus"] = $val; return $this; } }