_envelopeTypeName = 'Microsoft.ApplicationInsights.Exception'; $this->_dataTypeName = 'ExceptionData'; $this->_data['ver'] = 2; $this->_data['handledAt'] = NULL; $this->_data['exceptions'] = []; } /** * 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 handledAt field. */ public function getHandledAt() { if (array_key_exists('handledAt', $this->_data)) { return $this->_data['handledAt']; } return NULL; } /** * Sets the handledAt field. */ public function setHandledAt($handledAt) { $this->_data['handledAt'] = $handledAt; } /** * Gets the exceptions field. */ public function getExceptions() { if (array_key_exists('exceptions', $this->_data)) { return $this->_data['exceptions']; } return NULL; } /** * Sets the exceptions field. */ public function setExceptions($exceptions) { $this->_data['exceptions'] = $exceptions; } /** * 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; } /** * Gets the measurements field. */ public function getMeasurements() { if (array_key_exists('measurements', $this->_data)) { return $this->_data['measurements']; } return NULL; } /** * Sets the measurements field. */ public function setMeasurements($measurements) { $this->_data['measurements'] = $measurements; } /** * Overrides JSON serialization for this class. */ public function jsonSerialize() { return Utils::removeEmptyValues($this->_data); } }