setODataType("#microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp"); } /** * Gets the attributeCollectionPage * Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. * * @return AuthenticationAttributeCollectionPage|null The attributeCollectionPage */ public function getAttributeCollectionPage() { if (array_key_exists("attributeCollectionPage", $this->_propDict)) { if (is_a($this->_propDict["attributeCollectionPage"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionPage") || is_null($this->_propDict["attributeCollectionPage"])) { return $this->_propDict["attributeCollectionPage"]; } else { $this->_propDict["attributeCollectionPage"] = new AuthenticationAttributeCollectionPage($this->_propDict["attributeCollectionPage"]); return $this->_propDict["attributeCollectionPage"]; } } return null; } /** * Sets the attributeCollectionPage * Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. * * @param AuthenticationAttributeCollectionPage $val The value to assign to the attributeCollectionPage * * @return OnAttributeCollectionExternalUsersSelfServiceSignUp The OnAttributeCollectionExternalUsersSelfServiceSignUp */ public function setAttributeCollectionPage($val) { $this->_propDict["attributeCollectionPage"] = $val; return $this; } /** * Gets the attributes * * @return IdentityUserFlowAttribute|null The attributes */ public function getAttributes() { if (array_key_exists("attributes", $this->_propDict)) { if (is_a($this->_propDict["attributes"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttribute") || is_null($this->_propDict["attributes"])) { return $this->_propDict["attributes"]; } else { $this->_propDict["attributes"] = new IdentityUserFlowAttribute($this->_propDict["attributes"]); return $this->_propDict["attributes"]; } } return null; } /** * Sets the attributes * * @param IdentityUserFlowAttribute $val The value to assign to the attributes * * @return OnAttributeCollectionExternalUsersSelfServiceSignUp The OnAttributeCollectionExternalUsersSelfServiceSignUp */ public function setAttributes($val) { $this->_propDict["attributes"] = $val; return $this; } }