Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_www/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceGeoLocation File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* DeviceGeoLocation class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DeviceGeoLocation extends Entity
{
/**
* Gets the altitude
* Altitude, given in meters above sea level
*
* @return float|null The altitude
*/
public function getAltitude()
{
if (array_key_exists("altitude", $this->_propDict)) {
return $this->_propDict["altitude"];
} else {
return null;
}
}
/**
* Sets the altitude
* Altitude, given in meters above sea level
*
* @param float $val The value of the altitude
*
* @return DeviceGeoLocation
*/
public function setAltitude($val)
{
$this->_propDict["altitude"] = $val;
return $this;
}
/**
* Gets the heading
* Heading in degrees from true north
*
* @return float|null The heading
*/
public function getHeading()
{
if (array_key_exists("heading", $this->_propDict)) {
return $this->_propDict["heading"];
} else {
return null;
}
}
/**
* Sets the heading
* Heading in degrees from true north
*
* @param float $val The value of the heading
*
* @return DeviceGeoLocation
*/
public function setHeading($val)
{
$this->_propDict["heading"] = $val;
return $this;
}
/**
* Gets the horizontalAccuracy
* Accuracy of longitude and latitude in meters
*
* @return float|null The horizontalAccuracy
*/
public function getHorizontalAccuracy()
{
if (array_key_exists("horizontalAccuracy", $this->_propDict)) {
return $this->_propDict["horizontalAccuracy"];
} else {
return null;
}
}
/**
* Sets the horizontalAccuracy
* Accuracy of longitude and latitude in meters
*
* @param float $val The value of the horizontalAccuracy
*
* @return DeviceGeoLocation
*/
public function setHorizontalAccuracy($val)
{
$this->_propDict["horizontalAccuracy"] = $val;
return $this;
}
/**
* Gets the lastCollectedDateTime
* Time at which location was recorded, relative to UTC
*
* @return \DateTime|null The lastCollectedDateTime
*/
public function getLastCollectedDateTime()
{
if (array_key_exists("lastCollectedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastCollectedDateTime"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTime"])) {
return $this->_propDict["lastCollectedDateTime"];
} else {
$this->_propDict["lastCollectedDateTime"] = new \DateTime($this->_propDict["lastCollectedDateTime"]);
return $this->_propDict["lastCollectedDateTime"];
}
}
return null;
}
/**
* Sets the lastCollectedDateTime
* Time at which location was recorded, relative to UTC
*
* @param \DateTime $val The value to assign to the lastCollectedDateTime
*
* @return DeviceGeoLocation The DeviceGeoLocation
*/
public function setLastCollectedDateTime($val)
{
$this->_propDict["lastCollectedDateTime"] = $val;
return $this;
}
/**
* Gets the latitude
* Latitude coordinate of the device's location
*
* @return float|null The latitude
*/
public function getLatitude()
{
if (array_key_exists("latitude", $this->_propDict)) {
return $this->_propDict["latitude"];
} else {
return null;
}
}
/**
* Sets the latitude
* Latitude coordinate of the device's location
*
* @param float $val The value of the latitude
*
* @return DeviceGeoLocation
*/
public function setLatitude($val)
{
$this->_propDict["latitude"] = $val;
return $this;
}
/**
* Gets the longitude
* Longitude coordinate of the device's location
*
* @return float|null The longitude
*/
public function getLongitude()
{
if (array_key_exists("longitude", $this->_propDict)) {
return $this->_propDict["longitude"];
} else {
return null;
}
}
/**
* Sets the longitude
* Longitude coordinate of the device's location
*
* @param float $val The value of the longitude
*
* @return DeviceGeoLocation
*/
public function setLongitude($val)
{
$this->_propDict["longitude"] = $val;
return $this;
}
/**
* Gets the speed
* Speed the device is traveling in meters per second
*
* @return float|null The speed
*/
public function getSpeed()
{
if (array_key_exists("speed", $this->_propDict)) {
return $this->_propDict["speed"];
} else {
return null;
}
}
/**
* Sets the speed
* Speed the device is traveling in meters per second
*
* @param float $val The value of the speed
*
* @return DeviceGeoLocation
*/
public function setSpeed($val)
{
$this->_propDict["speed"] = $val;
return $this;
}
/**
* Gets the verticalAccuracy
* Accuracy of altitude in meters
*
* @return float|null The verticalAccuracy
*/
public function getVerticalAccuracy()
{
if (array_key_exists("verticalAccuracy", $this->_propDict)) {
return $this->_propDict["verticalAccuracy"];
} else {
return null;
}
}
/**
* Sets the verticalAccuracy
* Accuracy of altitude in meters
*
* @param float $val The value of the verticalAccuracy
*
* @return DeviceGeoLocation
*/
public function setVerticalAccuracy($val)
{
$this->_propDict["verticalAccuracy"] = $val;
return $this;
}
}