_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * A name representing the user's locale in natural language, for example, 'English (United States)'. * * @param string $val The value of the displayName * * @return LocaleInfo */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the locale * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. * * @return string|null The locale */ public function getLocale() { if (array_key_exists("locale", $this->_propDict)) { return $this->_propDict["locale"]; } else { return null; } } /** * Sets the locale * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. * * @param string $val The value of the locale * * @return LocaleInfo */ public function setLocale($val) { $this->_propDict["locale"] = $val; return $this; } }