_envelopeTypeName = 'Microsoft.ApplicationInsights.PageView'; $this->_dataTypeName = 'PageViewData'; $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 url field. */ public function getUrl() { if (array_key_exists('url', $this->_data)) { return $this->_data['url']; } return NULL; } /** * Sets the url field. */ public function setUrl($url) { $this->_data['url'] = $url; } /** * 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 duration field. */ public function getDuration() { if (array_key_exists('duration', $this->_data)) { return $this->_data['duration']; } return NULL; } /** * Sets the duration field. */ public function setDuration($duration) { $this->_data['duration'] = var_export($duration, true); } /** * 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); } }