_propDict)) { return $this->_propDict["addedByTenantId"]; } else { return null; } } /** * Sets the addedByTenantId * Tenant ID of the Microsoft Entra tenant that added a tenant to the multi-tenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required. * * @param string $val The addedByTenantId * * @return MultiTenantOrganizationJoinRequestRecord */ public function setAddedByTenantId($val) { $this->_propDict["addedByTenantId"] = $val; return $this; } /** * Gets the memberState * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @return MultiTenantOrganizationMemberState|null The memberState */ public function getMemberState() { if (array_key_exists("memberState", $this->_propDict)) { if (is_a($this->_propDict["memberState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["memberState"])) { return $this->_propDict["memberState"]; } else { $this->_propDict["memberState"] = new MultiTenantOrganizationMemberState($this->_propDict["memberState"]); return $this->_propDict["memberState"]; } } return null; } /** * Sets the memberState * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @param MultiTenantOrganizationMemberState $val The memberState * * @return MultiTenantOrganizationJoinRequestRecord */ public function setMemberState($val) { $this->_propDict["memberState"] = $val; return $this; } /** * Gets the role * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. Tenants with the member role can participate in a multi-tenant organization. * * @return MultiTenantOrganizationMemberRole|null The role */ public function getRole() { if (array_key_exists("role", $this->_propDict)) { if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["role"])) { return $this->_propDict["role"]; } else { $this->_propDict["role"] = new MultiTenantOrganizationMemberRole($this->_propDict["role"]); return $this->_propDict["role"]; } } return null; } /** * Sets the role * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. Tenants with the member role can participate in a multi-tenant organization. * * @param MultiTenantOrganizationMemberRole $val The role * * @return MultiTenantOrganizationJoinRequestRecord */ public function setRole($val) { $this->_propDict["role"] = $val; return $this; } /** * Gets the transitionDetails * Details of the processing status for a tenant joining a multi-tenant organization. Read-only. * * @return MultiTenantOrganizationJoinRequestTransitionDetails|null The transitionDetails */ public function getTransitionDetails() { if (array_key_exists("transitionDetails", $this->_propDict)) { if (is_a($this->_propDict["transitionDetails"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationJoinRequestTransitionDetails") || is_null($this->_propDict["transitionDetails"])) { return $this->_propDict["transitionDetails"]; } else { $this->_propDict["transitionDetails"] = new MultiTenantOrganizationJoinRequestTransitionDetails($this->_propDict["transitionDetails"]); return $this->_propDict["transitionDetails"]; } } return null; } /** * Sets the transitionDetails * Details of the processing status for a tenant joining a multi-tenant organization. Read-only. * * @param MultiTenantOrganizationJoinRequestTransitionDetails $val The transitionDetails * * @return MultiTenantOrganizationJoinRequestRecord */ public function setTransitionDetails($val) { $this->_propDict["transitionDetails"] = $val; return $this; } }