_propDict)) { if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { return $this->_propDict["payload"]; } else { $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); return $this->_propDict["payload"]; } } return null; } /** * Sets the payload * Payload. (UTF8 encoded byte array) * * @param \GuzzleHttp\Psr7\Stream $val The payload * * @return IosCustomConfiguration */ public function setPayload($val) { $this->_propDict["payload"] = $val; return $this; } /** * Gets the payloadFileName * Payload file name (.mobileconfig * * @return string|null The payloadFileName */ public function getPayloadFileName() { if (array_key_exists("payloadFileName", $this->_propDict)) { return $this->_propDict["payloadFileName"]; } else { return null; } } /** * Sets the payloadFileName * Payload file name (.mobileconfig * * @param string $val The payloadFileName * * @return IosCustomConfiguration */ public function setPayloadFileName($val) { $this->_propDict["payloadFileName"] = $val; return $this; } /** * Gets the payloadName * Name that is displayed to the user. * * @return string|null The payloadName */ public function getPayloadName() { if (array_key_exists("payloadName", $this->_propDict)) { return $this->_propDict["payloadName"]; } else { return null; } } /** * Sets the payloadName * Name that is displayed to the user. * * @param string $val The payloadName * * @return IosCustomConfiguration */ public function setPayloadName($val) { $this->_propDict["payloadName"] = $val; return $this; } }