_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * The service account name. * * @param string $val The value of the name * * @return KubernetesServiceAccountEvidence */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the namespace * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ public function getNamespace() { if (array_key_exists("namespace", $this->_propDict)) { if (is_a($this->_propDict["namespace"], "\Microsoft\Graph\SecurityNamespace\Model\KubernetesNamespaceEvidence") || is_null($this->_propDict["namespace"])) { return $this->_propDict["namespace"]; } else { $this->_propDict["namespace"] = new KubernetesNamespaceEvidence($this->_propDict["namespace"]); return $this->_propDict["namespace"]; } } return null; } /** * Sets the namespace * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * * @return KubernetesServiceAccountEvidence The KubernetesServiceAccountEvidence */ public function setNamespace($val) { $this->_propDict["namespace"] = $val; return $this; } }