DeviceDTO class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
DeviceDTO({int? id, String? serialNumber, String? displayName, DeviceHostDTO? deviceHost, bool? hasAcceptedPrivacyPolicy, AddressDTO? address, ProductDTO? product, String? productDisplayName, String? controllerType, String? firmwareVersion, String? currentFirmware, bool? isConnected, DateTime? lastConnectedTimestamp, ConnectionTypeDTO? connectionType, String? deviceIpAddress, String? macAddress, AlertDTO? shutdownReason, DeviceStatusDTO? status, DateTime? statusUpdateTimestamp, DateTime? latestParameterUpdateTimestamp, List<
DealerOrgDTO> ? dealerOrgs, int? alertCount, GensetModelDTO? model, String? modelDisplayName, DateTime? lastMaintenanceTimestamp, DateTime? nextMaintenanceTimestamp, int? maintenancePeriodDays, bool? hasServiceAgreement, double? totalRuntimeHours, ServiceAgreementStatusDTO? serviceAgreementStatus, DateTime? cellularExpiryDate, double? cellularDataPercentage, CellularDataStatusDTO? cellularDataStatus, CellKitPaymentStatusDTO? cellKitPaymentStatus, double? uptimePercent}) -
const
-
DeviceDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → AddressDTO?
-
final
- alertCount → int?
-
final
- cellKitPaymentStatus → CellKitPaymentStatusDTO?
-
final
- cellularDataPercentage → double?
-
final
- cellularDataStatus → CellularDataStatusDTO?
-
final
- cellularExpiryDate → DateTime?
-
final
- connectionType → ConnectionTypeDTO?
-
final
- controllerType → String?
-
final
- currentFirmware → String?
-
final
-
dealerOrgs
→ List<
DealerOrgDTO> ? -
final
- deviceHost → DeviceHostDTO?
-
final
- deviceIpAddress → String?
-
final
- displayName → String?
-
final
- firmwareVersion → String?
-
final
- hasAcceptedPrivacyPolicy → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasServiceAgreement → bool?
-
final
- id → int?
-
final
- isConnected → bool?
-
final
- lastConnectedTimestamp → DateTime?
-
final
- lastMaintenanceTimestamp → DateTime?
-
final
- latestParameterUpdateTimestamp → DateTime?
-
final
- macAddress → String?
-
final
- maintenancePeriodDays → int?
-
final
- model → GensetModelDTO?
-
final
- modelDisplayName → String?
-
final
- nextMaintenanceTimestamp → DateTime?
-
final
- product → ProductDTO?
-
final
- productDisplayName → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → String?
-
final
- serviceAgreementStatus → ServiceAgreementStatusDTO?
-
final
- shutdownReason → AlertDTO?
-
final
- status → DeviceStatusDTO?
-
final
- statusUpdateTimestamp → DateTime?
-
final
- totalRuntimeHours → double?
-
final
- uptimePercent → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const DeviceDTO Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(DeviceDTO instance)