%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/serverinfo/lib/Resources/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/serverinfo/lib/Resources/ThermalZone.php

<?php

declare(strict_types=1);
/**
 * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

namespace OCA\ServerInfo\Resources;

class ThermalZone implements \JsonSerializable {
	public function __construct(
		private string $zone,
		private string $type,
		private float  $temp) {
	}

	public function getZone(): string {
		return $this->zone;
	}

	public function getType(): string {
		return $this->type;
	}

	public function getTemp(): float {
		return $this->temp;
	}

	public function jsonSerialize(): array {
		return [
			'zone' => $this->zone,
			'type' => $this->type,
			'temp' => $this->temp,
		];
	}
}

Zerion Mini Shell 1.0