_propDict)) { return $this->_propDict["allowMultipleOccurrences"]; } else { return null; } } /** * Sets the allowMultipleOccurrences * The given parameter can be provided multiple times (for example, multiple input strings in the Concatenate(string,string,...) function). * * @param bool $val The value of the allowMultipleOccurrences * * @return AttributeMappingParameterSchema */ public function setAllowMultipleOccurrences($val) { $this->_propDict["allowMultipleOccurrences"] = $val; return $this; } /** * Gets the name * Parameter name. * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Parameter name. * * @param string $val The value of the name * * @return AttributeMappingParameterSchema */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the required * true if the parameter is required; otherwise false. * * @return bool|null The required */ public function getRequired() { if (array_key_exists("required", $this->_propDict)) { return $this->_propDict["required"]; } else { return null; } } /** * Sets the required * true if the parameter is required; otherwise false. * * @param bool $val The value of the required * * @return AttributeMappingParameterSchema */ public function setRequired($val) { $this->_propDict["required"] = $val; return $this; } /** * Gets the type * The possible values are: String, Integer, Reference, Binary, Boolean, DateTime. Default is String. * * @return AttributeType|null The type */ public function getType() { if (array_key_exists("type", $this->_propDict)) { if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttributeType") || is_null($this->_propDict["type"])) { return $this->_propDict["type"]; } else { $this->_propDict["type"] = new AttributeType($this->_propDict["type"]); return $this->_propDict["type"]; } } return null; } /** * Sets the type * The possible values are: String, Integer, Reference, Binary, Boolean, DateTime. Default is String. * * @param AttributeType $val The value to assign to the type * * @return AttributeMappingParameterSchema The AttributeMappingParameterSchema */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } }