_envelopeTypeName = 'Microsoft.ApplicationInsights.Message'; $this->_dataTypeName = 'MessageData'; $this->_data['ver'] = 2; $this->_data['message'] = NULL; } /** * Gets the envelopeTypeName field. */ public function getEnvelopeTypeName() { return $this->_envelopeTypeName; } /** * Gets the dataTypeName field. */ public function getDataTypeName() { return $this->_dataTypeName; } /** * Gets the ver field. */ public function getVer() { if (array_key_exists('ver', $this->_data)) { return $this->_data['ver']; } return NULL; } /** * Sets the ver field. */ public function setVer($ver) { $this->_data['ver'] = $ver; } /** * Gets the message field. */ public function getMessage() { if (array_key_exists('message', $this->_data)) { return $this->_data['message']; } return NULL; } /** * Sets the message field. */ public function setMessage($message) { $this->_data['message'] = $message; } /** * Gets the severityLevel field. */ public function getSeverityLevel() { if (array_key_exists('severityLevel', $this->_data)) { return $this->_data['severityLevel']; } return NULL; } /** * Sets the severityLevel field. */ public function setSeverityLevel($severityLevel) { $this->_data['severityLevel'] = $severityLevel; } /** * Gets the properties field. */ public function getProperties() { if (array_key_exists('properties', $this->_data)) { return $this->_data['properties']; } return NULL; } /** * Sets the properties field. */ public function setProperties($properties) { $this->_data['properties'] = $properties; } /** * Overrides JSON serialization for this class. */ public function jsonSerialize() { return Utils::removeEmptyValues($this->_data); } }