_propDict)) { if (is_a($this->_propDict["digestImage"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerImageEvidence") || is_null($this->_propDict["digestImage"])) { return $this->_propDict["digestImage"]; } else { $this->_propDict["digestImage"] = new ContainerImageEvidence($this->_propDict["digestImage"]); return $this->_propDict["digestImage"]; } } return null; } /** * Sets the digestImage * The digest image entity, in case this is a tag image. * * @param ContainerImageEvidence $val The value to assign to the digestImage * * @return ContainerImageEvidence The ContainerImageEvidence */ public function setDigestImage($val) { $this->_propDict["digestImage"] = $val; return $this; } /** * Gets the imageId * The unique identifier for the container image entity. * * @return string|null The imageId */ public function getImageId() { if (array_key_exists("imageId", $this->_propDict)) { return $this->_propDict["imageId"]; } else { return null; } } /** * Sets the imageId * The unique identifier for the container image entity. * * @param string $val The value of the imageId * * @return ContainerImageEvidence */ public function setImageId($val) { $this->_propDict["imageId"] = $val; return $this; } /** * Gets the registry * The container registry for this image. * * @return ContainerRegistryEvidence|null The registry */ public function getRegistry() { if (array_key_exists("registry", $this->_propDict)) { if (is_a($this->_propDict["registry"], "\Microsoft\Graph\SecurityNamespace\Model\ContainerRegistryEvidence") || is_null($this->_propDict["registry"])) { return $this->_propDict["registry"]; } else { $this->_propDict["registry"] = new ContainerRegistryEvidence($this->_propDict["registry"]); return $this->_propDict["registry"]; } } return null; } /** * Sets the registry * The container registry for this image. * * @param ContainerRegistryEvidence $val The value to assign to the registry * * @return ContainerImageEvidence The ContainerImageEvidence */ public function setRegistry($val) { $this->_propDict["registry"] = $val; return $this; } }