_envelopeTypeName = 'Microsoft.ApplicationInsights.Event'; $this->_dataTypeName = 'EventData'; $this->_data['ver'] = 2; $this->_data['name'] = 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 name field. */ public function getName() { if (array_key_exists('name', $this->_data)) { return $this->_data['name']; } return NULL; } /** * Sets the name field. */ public function setName($name) { $this->_data['name'] = $name; } /** * 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); } }